serial_dictatorship_first_excess_match_prob_two_two
In a market with 2 unit-capacity schools and list length 2, the match probability p_2(2) of student 3 equals 0.
Statement
theorem serial_dictatorship_first_excess_match_prob_two_two : serial_dictatorship_first_excess_match_prob 2 2 = 0- Source
- arXiv:2506.06217, Section 2.1 (Longer Lists Yield Better Matchings)
- Verified
- 19 Nov 2026
- Axioms
Classical.choiceQuot.soundpropext- Built on 1
- serial_dictatorship_first_excess_match_probThe real-valued match probability p_n(d) in ℝ of student n+1 in serial dictatorship with n unit-capacity schools and preference lists of…
- Used by 1
- serial_dictatorship_first_excess_match_prob_zeroWith an empty preference list a student lists no school at all, hence is never matched: p_n(0) = 0 for every n.
Read back from the Lean
The value of serial_dictatorship_first_excess_match_prob evaluated at $n = 2$ and $d = 2$ is equal to $0$ (in $\mathbb{R}$).
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 theorem is proved by directly computing the match probability formula for $n = 2$ schools and list length $d = 2$. The proof expands the definition into an explicit sum over the three possible states $k \in \{0, 1, 2\}$, unfolds the recurrence relation for the state distribution at step 2, and concludes with numerical evaluation showing the resulting probability is 0.
The match probability is expressed as the summation $\sum_{k=0}^2 \mathrm{dist}(2, 2, 2, k) \cdot \left(1 - \frac{\binom{k}{2}}{\binom{2}{2}}\right)$.
Unfolding the definition of `serial_dictatorship_first_excess_match_prob` for $n = 2$ schools and list length $d = 2$ expresses the match probability of the first excess student as a sum over $k \in \{0, 1, 2\}$ of the state probability $\mathrm{dist}(2, 2, 2, k)$ weighted by the probability of successfully drawing an available school.
dsimp [serial_dictatorship_first_excess_match_prob]The summation over $\{0, 1, 2\}$ is expanded into an explicit sum of three terms corresponding to $k = 0, 1, 2$.
Repeatedly applying `Finset.sum_range_succ` peels off the terms for $k = 2$, $k = 1$, and $k = 0$, while `Finset.range_zero` and `Finset.sum_empty` evaluate the empty base summation to 0.
uses
Finset.sum_range_succ,Finset.range_zero,Finset.sum_emptysimp only [Finset.sum_range_succ, Finset.range_zero, Finset.sum_empty]The distribution values $\mathrm{dist}(2, 2, 2, k)$ are expanded using their recurrence relation and base values.
Rewriting with `serial_dictatorship_first_excess_match_prob.dist.eq_2` unfolds the two successive transition steps of the underlying Markov chain, and rewriting with `serial_dictatorship_first_excess_match_prob.dist.eq_1` substitutes the initial distribution at step 0.
uses
serial_dictatorship_first_excess_match_prob.dist.eq_2,serial_dictatorship_first_excess_match_prob.dist.eq_1simp only [serial_dictatorship_first_excess_match_prob.dist.eq_2, serial_dictatorship_first_excess_match_prob.dist.eq_1]The overall match probability evaluates to 0. automation
The expression is now an explicit rational formula involving binomial coefficients, simple conditionals, and basic arithmetic; `norm_num` evaluates each term and verifies that the sum equals 0.
norm_num
Finset.sum_range_succ- The sum of a function over the range $\{0, \dots, n\}$ equals the sum over $\{0, \dots, n-1\}$ plus the value at $n$.
Finset.range_zero- The range of length 0 is the empty set.
Finset.sum_empty- The sum of any function over the empty set is 0.
serial_dictatorship_first_excess_match_prob.dist.eq_2- The recurrence step for the probability distribution `dist`: the distribution at step $m + 1$ is determined from the distribution at step $m$ by the transition probabilities of the serial dictatorship process.
serial_dictatorship_first_excess_match_prob.dist.eq_1- The base case for `dist`: at step 0, the process starts in state 0 with probability 1 and probability 0 for all other states.
- Rather than using a conceptual argument (that two students with preferences of length 2 must fill all 2 seats, leaving zero capacity for the third student), the Lean proof verifies the result by mechanically unfolding the general formula and computing the resulting rational expression.
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.
/-- For 2 schools and list length 2, student 3 matches with probability 0. -/theorem serial_dictatorship_first_excess_match_prob_two_two : serial_dictatorship_first_excess_match_prob 2 2 = 0 := by dsimp [serial_dictatorship_first_excess_match_prob] simp only [Finset.sum_range_succ, Finset.range_zero, Finset.sum_empty] simp only [serial_dictatorship_first_excess_match_prob.dist.eq_2, serial_dictatorship_first_excess_match_prob.dist.eq_1] norm_num