line_active_coord_count
def
For a combinatorial line l of type Combinatorics.Line α ι over an arbitrary finite type ι, line_active_coord_count l is the number of active coordinates, defined as the number of indices i : ι such that (l.idxFun i).isNone is true.
Statement
def line_active_coord_count {α ι : Type*} [Fintype ι] (l : Combinatorics.Line α ι) : ℕ
- Defined in
- arXiv:2611.22205 Section 2
- Verified
- 20 Nov 2026
- Axioms
- none listed
Read back from the Lean
For types α and ι with [Fintype ι], and a combinatorial line l : Combinatorics.Line α ι, line_active_coord_count l is defined to be the natural number equal to the cardinality of the set of indices i : ι such that (l.idxFun i).isNone is true (i.e., l.idxFun i = none).
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 active coordinates of a combinatorial line. -/ def line_active_coord_count {α ι : Type*} [Fintype ι] (l : Combinatorics.Line α ι) : ℕ := (Finset.univ.filter fun i => (l.idxFun i).isNone).card