ising_two_layer_deviation_fraction
def
The fraction of ordered pairs of d-regular graphs on Fin n on which |Φ p| is at least ε; the general form of the two-layer bad fraction for an arbitrary real observable Φ of a graph pair.
Statement
noncomputable def ising_two_layer_deviation_fraction (d n : ℕ) (ε : ℝ) (Φ : SimpleGraph (Fin n) × SimpleGraph (Fin n) → ℝ) : ℝ
- Source
- step towards critical_regular_ising_two_layer_weak_matching_quartic_crossover
- Verified
- 01 Nov 2026
- Axioms
- none listed
- Built on 1
- ising_regular_pair_baseThe finite set of ordered pairs of simple d-regular graphs on Fin n, the common base over which every bad fraction is taken.
Lean source view module on GitHub
/-- Fraction of regular pairs on which |Φ| ≥ ε; general form of the bad fraction. -/ noncomputable def ising_two_layer_deviation_fraction (d n : ℕ) (ε : ℝ) (Φ : SimpleGraph (Fin n) × SimpleGraph (Fin n) → ℝ) : ℝ := (((ising_regular_pair_base d n).filter (fun p => ε ≤ |Φ p|)).card : ℝ) / ((ising_regular_pair_base d n).card : ℝ)