bapat_sunder_fibreCount
def
For a function phi : Fin m -> Fin 3 and a value k : Fin 3, the fibre count of phi at k is the number of indices i with phi i = k.
Statement
def bapat_sunder_fibreCount {m : ℕ} (φ : Fin m → Fin 3) (k : Fin 3) : ℕ- Source
- step towards op_1992_real_bapat_sunder_counterexample_rank_two_or_three
- Verified
- 22 Nov 2026
- Axioms
- none listed
- Used by 1
- bapat_sunder_triCoeffFor a 3 x m integer matrix M with columns v_i, the trinomial coefficient c(M,a,b,c) is the coefficient of X^a Y^b Z^c in the product over…
Lean source view module on GitHub
/-- The number of indices at which a map `Fin m → Fin 3` takes the value `k`. -/ def bapat_sunder_fibreCount {m : ℕ} (φ : Fin m → Fin 3) (k : Fin 3) : ℕ := (Finset.univ.filter (fun i => φ i = k)).card