AFTD Auto-Formalizing Theoretical Domains

ternary_axis_line

def

The axis-parallel ternary line of direction i through c: the three points of (Fin n → ZMod 3) obtained from c by overwriting coordinate i with each t ∈ ZMod 3.

Statement

def ternary_axis_line (n : ℕ) (i : Fin n) (c : Fin n → ZMod 3) : Finset (Fin n → ZMod 3)
Source
step towards ternary_minimal_line_cover_first_gap_empty
Verified
31 Oct 2026
Axioms
none listed

Lean source view module on GitHub

/-- The three-point axis-parallel line of direction `i` through `c`. -/
def ternary_axis_line (n : ℕ) (i : Fin n) (c : Fin n → ZMod 3) : Finset (Fin n → ZMod 3) := Finset.univ.image (fun t : ZMod 3 => Function.update c i t)
See it in the graphDiscuss this resultChallenge it