serial_dictatorship_first_excess_match_prob_three_one
In a market with 3 unit-capacity schools and list length 1, the match probability p_3(1) of student 4 equals 8/27.
Statement
theorem serial_dictatorship_first_excess_match_prob_three_one : serial_dictatorship_first_excess_match_prob 3 1 = 8 / 27- 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…
Read back from the Lean
The theorem asserts that serial_dictatorship_first_excess_match_prob 3 1 equals 8 / 27 in ℝ.
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 evaluates the match probability of the first excess student (student 4) under serial dictatorship with 3 schools and list length 1. Unfolding the definition expresses this probability as the sum over the possible numbers of schools already occupied by the first 3 students. The summation and the Markov transition recurrence for the occupancy distribution are unrolled explicitly, and norm_num evaluates the resulting rational arithmetic to obtain 8/27.
The match probability is expressed as the expected probability of student 4 matching given k occupied schools, summed over k ∈ {0, 1, 2, 3}.
Unfolding the definition of serial_dictatorship_first_excess_match_prob with n = 3 and d = 1 expresses the 4th student's match probability as the sum ∑ k ∈ range 4, dist 3 1 3 k * (1 - (k choose 1) / (3 choose 1)).
dsimp [serial_dictatorship_first_excess_match_prob]The summation over the four possible values of k is fully unrolled into an explicit addition of four terms.
Repeatedly applying Finset.sum_range_succ, together with Finset.range_zero and Finset.sum_empty, peels off the terms for k = 3, 2, 1, 0 from the range summation.
uses
Finset.sum_range_succ,Finset.range_zero,Finset.sum_emptysimp only [Finset.sum_range_succ, Finset.range_zero, Finset.sum_empty]The occupancy probabilities dist 3 1 3 k are expanded in terms of binomial coefficients and conditional branches.
Rewriting with the inductive definition serial_dictatorship_first_excess_match_prob.dist.eq_2 and the base case serial_dictatorship_first_excess_match_prob.dist.eq_1 unfolds the 3-step Markov chain into explicit rational expressions.
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 explicit expression evaluates to 8/27. automation
Evaluating the binomial coefficients and resolving the rational arithmetic and branching conditions confirms that the sum equals 8/27.
norm_num
Finset.sum_range_succ- A sum over the first n + 1 natural numbers equals the sum over the first n numbers plus the term at index n.
Finset.range_zero- The set of natural numbers strictly less than 0 is empty.
Finset.sum_empty- The sum of any family of elements over the empty set is zero.
serial_dictatorship_first_excess_match_prob.dist.eq_2- The recurrence relation updating the distribution of the number of occupied schools after an additional student makes their choices.
serial_dictatorship_first_excess_match_prob.dist.eq_1- The base case of the occupancy distribution before any student has chosen: 0 schools are occupied with probability 1.
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 3 schools and list length 1, student 4 matches with probability 8/27. -/theorem serial_dictatorship_first_excess_match_prob_three_one : serial_dictatorship_first_excess_match_prob 3 1 = 8 / 27 := 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