AFTD Auto-Formalizing Theoretical Domains

dtTrace

def

The trace of a descending steep (DT) path with underlying AS coordinate function a : ℤ → ℤ on the n × n chessboard is the image of asTrace n a under the rotation rotCW n.

Statement

def dtTrace (n : ℕ) (a : ℤ → ℤ) : Finset (ℕ × ℕ)
Defined in
arXiv:2611.12329 Piercing a Chessboard with Restricted Slopes, Section 1
Verified
12 Nov 2026
Axioms
none listed
Built on 2
  • asTraceThe trace of an ascending shallow path with coordinate function a : ℤ → ℤ on the n × n chessboard is the finite set of cells in chessboard…
  • rotCWThe clockwise quarter-turn rotation on pairs of natural numbers (ℕ × ℕ) parameterized by n : ℕ maps (x, y) to (y, n - 1 - x).
Used by 1
  • as_dt_path_intersection_le_twoFor any natural number n and any coordinate functions a1 and a2 satisfying IsASPath, the intersection of asTrace n a1 and dtTrace n a2 has…

Read back from the Lean

For a natural number n and a function a : ℤ → ℤ, dtTrace n a is defined as the image under rotCW n of asTrace n a, yielding a finite set of pairs of natural numbers (Finset (ℕ × ℕ)).

Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.

Lean source view module on GitHub

/-- The trace of a descending steep (DT) path on the n x n chessboard. -/
def dtTrace (n : ℕ) (a : ℤ → ℤ) : Finset (ℕ × ℕ) := (asTrace n a).image (rotCW n)
See it in the graphDiscuss this resultChallenge it