AFTD Auto-Formalizing Theoretical Domains

spatial_occupied_planes

def

For a finite point set S in ℝ³ and a vector u in ℝ³, the number of affine planes perpendicular to u meeting S is the cardinality of the image of S under the inner product map with u.

Statement

noncomputable def spatial_occupied_planes
    (S : Finset (EuclideanSpace ℝ (Fin 3)))
    (u : EuclideanSpace ℝ (Fin 3)) : ℕ
Defined in
arXiv:2610.38864, Section 1
Verified
08 Nov 2026
Axioms
none listed
Used by 1

Read back from the Lean

spatial_occupied_planes S u is defined for a finite set $S$ of points in the 3-dimensional Euclidean space $\mathbb{R}^3$ and a vector $u \in \mathbb{R}^3$ as the cardinality of the set of values attained by the inner product $\langle p, u \rangle$ as $p$ ranges over $S$ (i.e., the cardinality of the image of $S$ under $p \mapsto \langle p, u \rangle$).

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 number of affine planes perpendicular to a vector u that meet a finite set S in ℝ³. -/
noncomputable def spatial_occupied_planes
    (S : Finset (EuclideanSpace ℝ (Fin 3)))
    (u : EuclideanSpace ℝ (Fin 3)) : ℕ := (S.image (fun p => inner ℝ p u)).card
See it in the graphDiscuss this resultChallenge it