sampfordRareGroupRatio
def
For partition parameters m, r, k with m + r = n, r ≥ 2, 1 ≤ k < m, the rare-group coupling deficit ratio is the quotient of the sum of weights W_ℓ for ℓ ≥ 2 over the total sum of weights W_ℓ for ℓ ≥ 0.
Statement
noncomputable def sampfordRareGroupRatio (m r k : ℕ) : ℝ
- Defined in
- OP-1944
- Verified
- 18 Nov 2026
- Axioms
- none listed
- Built on 1
- sampfordRareGroupWeightFor integers m, r, k, ℓ with m + r = n, r ≥ 2, 1 ≤ k < m, the rare-group weight W_ℓ is defined as binom(m, k + 1 - ℓ) * binom(r, ℓ) * [k /…
- Used by 3
- sampford_rare_group_ratio_four_two_twoFor partition parameters m = 4, r = 2, k = 2, the rare-group coupling deficit ratio is equal to 1/5.
- sampford_rare_group_ratio_two_two_oneFor partition parameters m = 2, r = 2, k = 1, the rare-group coupling deficit ratio is equal to 1/6.
- sampfordRareGroupFrontierThe rare-group coupling obstruction frontier for n parties, defined as the supremum over all valid partition parameters m + r = n with r ≥…
Read back from the Lean
sampfordRareGroupRatio m r k is defined for natural numbers m, r, and k as the ratio of two sums:
The numerator is the sum over ℓ from 2 to k + 1 (inclusive, i.e., ℓ ∈ Finset.Ico 2 (k + 2)) of sampfordRareGroupWeight m r k ℓ.
The denominator is the sum over ℓ from 0 to k + 1 (inclusive, i.e., ℓ ∈ Finset.range (k + 2)) of sampfordRareGroupWeight m r k ℓ.
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 rare-group coupling deficit ratio sum_{ℓ ≥ 2} W_ℓ / sum_{ℓ ≥ 0} W_ℓ. -/ noncomputable def sampfordRareGroupRatio (m r k : ℕ) : ℝ := (∑ ℓ ∈ Finset.Ico 2 (k + 2), sampfordRareGroupWeight m r k ℓ) / (∑ ℓ ∈ Finset.range (k + 2), sampfordRareGroupWeight m r k ℓ)