AFTD Auto-Formalizing Theoretical Domains

affine_line

def

For a natural number p, the affine line in (ZMod p)^3 through a point P in direction v is the set of points x such that x = P + t • v for some t in ZMod p.

Statement

def affine_line {p : ℕ} (P v : Fin 3 → ZMod p) : Set (Fin 3 → ZMod p)
Defined in
arXiv:2611.12153 Section 2
Verified
10 Nov 2026
Axioms
none listed
Used by 4
  • card_affine_lineLet p be a prime. For any point P and nonzero direction vector v in (ZMod p)^3, the affine line through P in direction v has cardinality p.
  • light_plane_unique_point_outside_lineLet p be a prime, S ⊆ (ℤ/pℤ)³, and let P, v ∈ (ℤ/pℤ)³ with v ≠ 0. Suppose f is a nonzero linear functional such that the affine plane…
  • is_cylinder_in_directionLet p be a prime. A subset S of (ZMod p)^3 is a cylinder in direction v if for every point P in (ZMod p)^3, the affine line through P in…
  • admissible_plane_transverse_cardLet p be a prime, S an admissible plane set in (ZMod p)^3, and suppose S contains the affine line through P in direction v ≠ 0. Then every…

Read back from the Lean

For a natural number p and vectors P, v : Fin 3 → ZMod p, affine_line P v is defined as the set of all x : Fin 3 → ZMod p such that there exists t : ZMod p with x = P + t • v.

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 affine line through P in direction v in (ZMod p)^3. -/
def affine_line {p : ℕ} (P v : Fin 3 → ZMod p) : Set (Fin 3 → ZMod p) := {x | ∃ t : ZMod p, x = P + t • v}
See it in the graphDiscuss this resultChallenge it