AFTD Auto-Formalizing Theoretical Domains

spatial_occupied_lines

def

For a finite point set S in ℝ³ and a submodule ℓ of ℝ³, the number of affine lines parallel to ℓ meeting S is the cardinality of the image of S under the quotient map by ℓ.

Statement

open Classical in
noncomputable def spatial_occupied_lines
    (S : Finset (EuclideanSpace ℝ (Fin 3)))
    (ℓ : Submodule ℝ (EuclideanSpace ℝ (Fin 3))) : ℕ
Defined in
arXiv:2610.38864, Section 2
Verified
08 Nov 2026
Axioms
none listed
Used by 1

Read back from the Lean

Given a finite set S of points in EuclideanSpace ℝ (Fin 3) (3-dimensional real Euclidean space) and an ℝ-submodule ℓ of EuclideanSpace ℝ (Fin 3), spatial_occupied_lines S ℓ is the natural number defined as the cardinality of the image of S under the canonical quotient map Submodule.mkQ ℓ : EuclideanSpace ℝ (Fin 3) → (EuclideanSpace ℝ (Fin 3)) ⧸ ℓ (that is, the number of distinct cosets/affine translates of ℓ that intersect S).

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

open Classical in
/-- The number of affine lines parallel to a submodule ℓ that meet a finite set S in ℝ³. -/
noncomputable def spatial_occupied_lines
    (S : Finset (EuclideanSpace ℝ (Fin 3)))
    (ℓ : Submodule ℝ (EuclideanSpace ℝ (Fin 3))) : ℕ := (S.image (Submodule.mkQ ℓ)).card
See it in the graphDiscuss this resultChallenge it