f2CubicConditionCount
def
The number of pairs (u, y) with u : (Fin 2)^n and y : Fin 4 → (Fin 2)^n satisfying the fourth-moment evenness condition f2CubicEdgeCondition u y.
Statement
noncomputable def f2CubicConditionCount (n : ℕ) : ℕ
- Source
- step towards op_1254_cubic_hypergraph_fluctuation_mean_zero
- Verified
- 06 Nov 2026
- Axioms
- none listed
- Built on 1
- f2CubicEdgeConditionThe F₂ 'fourth-moment evenness' predicate: given u : (Fin 2)^n and y : Fin 4 → (Fin 2)^n, one has y 3 = y 0 + y 1 + y 2 and, for every…
Lean source view module on GitHub
/-- Count of tuples satisfying the fourth-moment evenness condition. -/ noncomputable def f2CubicConditionCount (n : ℕ) : ℕ := by classical exact ((Finset.univ : Finset ((Fin n → Fin 2) × (Fin 4 → Fin n → Fin 2))).filter (fun (t : (Fin n → Fin 2) × (Fin 4 → Fin n → Fin 2)) => f2CubicEdgeCondition t.1 t.2)).card