sampford_rare_group_ratio_two_two_one
For partition parameters m = 2, r = 2, k = 1, the rare-group coupling deficit ratio is equal to 1/6.
Statement
theorem sampford_rare_group_ratio_two_two_one :
sampfordRareGroupRatio 2 2 1 = 1 / 6- Source
- OP-1944
- Verified
- 19 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- sampfordRareGroupRatioFor 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…
Read back from the Lean
The quantity sampfordRareGroupRatio 2 2 1 is equal to 1/6 (in the real numbers).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
The proof, explained
The proof proceeds by direct computation. It unfolds the definitions of the coupling deficit ratio and its rare-group weights for the specific parameter values $m = 2, r = 2, k = 1$, reducing the goal to a quotient of finite sums. The summation ranges $[2, 3)$ and $[0, 3)$ are identified explicitly as $\{2\}$ and $\{0, 1, 2\}$, after which the finite sums and rational arithmetic are evaluated directly to yield $1/6$.
The deficit ratio is expressed as an explicit quotient of two finite sums over integer intervals.
Unfolding the definitions of `sampfordRareGroupRatio` and `sampfordRareGroupWeight` with parameters $m = 2$, $r = 2$, and $k = 1$ writes the coupling deficit ratio as a fraction whose numerator sums over $\ell \in \mathrm{Finset.Ico}\; 2\; 3$ and whose denominator sums over $\ell \in \mathrm{Finset.range}\; 3$.
dsimp [sampfordRareGroupRatio, sampfordRareGroupWeight]The index sets are the explicit finite sets $\mathrm{Finset.Ico}\; 2\; 3 = \{2\}$ and $\mathrm{Finset.range}\; 3 = \{0, 1, 2\}$. automation
Both set equalities are verified by computational evaluation (`decide`), establishing that the half-open interval $[2, 3)$ contains only $2$ and the range of size 3 consists of $0, 1,$ and $2$.
uses
Finset.Ico,Finset.rangehave h1 : Finset.Ico 2 3 = {2} := by decide have h2 : Finset.range 3 = {0, 1, 2} := by decide
The summation domains in the deficit ratio are replaced with $\{2\}$ and $\{0, 1, 2\}$.
Rewriting with the two set equalities substitutes $\{2\}$ for $\mathrm{Finset.Ico}\; 2\; 3$ in the numerator sum and $\{0, 1, 2\}$ for $\mathrm{Finset.range}\; 3$ in the denominator sum.
rw [h1, h2]The quotient of sums evaluates to $1/6$. automation
The `norm_num` tactic computes each term of the finite sums—evaluating the binomial coefficients, powers, and linear combinations for $\ell = 2$ in the numerator and $\ell \in \{0, 1, 2\}$ in the denominator—and simplifies the resulting arithmetic $(1) / (1 + 4 + 1)$ to $1/6$.
norm_num
Finset.Ico- The half-open interval $[a, b) = \{x \in \mathbb{N} \mid a \le x < b\}$ of natural numbers.
Finset.range- The finite set $\{0, 1, \dots, n - 1\}$ of natural numbers strictly less than $n$.
- The evaluation of the finite index sets and the subsequent arithmetic calculation of the sum of weights are handled entirely by Lean's computational decision procedures (`decide` and `norm_num`).
Written by a model (gemini-3.8-flash) from the Lean proof and the goal states Lean reported at each step. Lean verified the proof; this explanation is a reading aid and is not itself machine-checked.
Lean source view module on GitHub
Choose a tactic — a marked line — to see the goals Lean had before and after it, as in Lean’s infoview. Step with ← → or j k.
/-- The rare-group coupling deficit ratio for m = 2, r = 2, k = 1 is 1/6. -/theorem sampford_rare_group_ratio_two_two_one : sampfordRareGroupRatio 2 2 1 = 1 / 6 := by dsimp [sampfordRareGroupRatio, sampfordRareGroupWeight] have h1 : Finset.Ico 2 3 = {2} := by decide have h2 : Finset.range 3 = {0, 1, 2} := by decide rw [h1, h2] norm_num