AFTD Auto-Formalizing Theoretical Domains

fair_lineup_matching_optimality_essential

theoremverifiedformalization

The matching-optimality condition is essential: the length-5 probability vector [5/6, 5/6, 5/6, 0, 0] has sum 5/2, but its Poisson-binomial probability of at least 3 successes is 125/216, which strictly exceeds 9/16.

Statement

theorem fair_lineup_matching_optimality_essential :
    [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0].sum = 5 / 2 ∧
    team_tail [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0] 3 = 125 / 216 ∧
    (9 : ℝ) / 16 < team_tail [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0] 3
Formalizes
arXiv:2605.21234, Team Order
Verified
19 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 1
  • team_tailPoisson-binomial upper tail: team_tail [q₁, …, qₙ] t is the probability that at least t of n independent events with success probabilities…

Read back from the Lean

The declaration asserts that for the list of real numbers L = [5/6, 5/6, 5/6, 0, 0]: 1. The sum of the elements of L is 5/2. 2. The value of team_tail L 3 is equal to 125/216. 3. 9/16 is strictly less than team_tail L 3.

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 evaluates the Poisson-binomial tail probability and sum directly for the explicit vector $[5/6, 5/6, 5/6, 0, 0]$. Expanding the recursive definition of the tail probability shows that at least 3 successes require the first three independent trials to succeed, which occurs with probability $(5/6)^3 = 125/216$. Basic arithmetic then verifies that the probabilities sum to $5/2$ and that $125/216 > 9/16$.

  1. The tail probability of obtaining at least 3 successes from the probability vector $[5/6, 5/6, 5/6, 0, 0]$ is $125/216$.

    Unfolding the recursive definition of `team_tail` on the five-element list with threshold 3 produces an explicit arithmetic expression for the tail probability. Since the last two Bernoulli parameters are 0, achieving at least 3 successes requires all three of the first trials to succeed. Ring arithmetic evaluates this expanded polynomial to $(5/6)^3 = 125/216$.

    lines 6–8

      have h : team_tail [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0] 3 = 125 / 216 := by
        dsimp [team_tail]
        ring
  2. The probability vector has sum $5/2$, tail probability $125/216$, and this tail probability strictly exceeds $9/16$.

    The three components of the conjunction are assembled: first, numerical evaluation confirms that $5/6 + 5/6 + 5/6 + 0 + 0 = 5/2$; second, the tail probability equality established in the previous step is provided; third, substituting this tail probability reduces the final inequality to $9/16 < 125/216$, which is verified by numerical comparison.

    line 9

      exact ⟨by norm_num, h, by rw [h]; 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

/-- A length-5 independent Bernoulli vector with mean 5/2 can achieve majority probability 125/216 > 9/16 without matching optimality. -/theorem fair_lineup_matching_optimality_essential :    [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0].sum = 5 / 2 ∧    team_tail [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0] 3 = 125 / 216 ∧    (9 : ℝ) / 16 < team_tail [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0] 3 := by  have h : team_tail [(5 : ℝ) / 6, 5 / 6, 5 / 6, 0, 0] 3 = 125 / 216 := by    dsimp [team_tail]    ring  exact ⟨by norm_num, h, by rw [h]; norm_num⟩
See it in the graphDiscuss this resultChallenge it