AFTD Auto-Formalizing Theoretical Domains

condorcet_extremes_three_limit_ratio

theoremverified

If p 3 and q 3 are limits along odd voters 2*k + 1 of the 3-candidate impartial culture probabilities of having a Condorcet winner and having both a winner and loser respectively, and the odd-voter probabilities are equal for all k, and p 3 ≠ 0, then q 3 / (p 3 ^ 2) = 1 / p 3.

Statement

theorem condorcet_extremes_three_limit_ratio
    (p q : ℕ → ℝ)
    (h_winner : Filter.Tendsto (fun k => impartial_culture_winner_prob (2 * k + 1) 3) Filter.atTop (nhds (p 3)))
    (h_both : Filter.Tendsto (fun k => impartial_culture_winner_loser_prob (2 * k + 1) 3) Filter.atTop (nhds (q 3)))
    (h_odd : ∀ k, impartial_culture_winner_prob (2 * k + 1) 3 = impartial_culture_winner_loser_prob (2 * k + 1) 3)
    (hp : p 3 ≠ 0) :
    q 3 / (p 3 ^ 2) = 1 / p 3
Source
Guilbaud 1952
Verified
18 Nov 2026
Axioms
Classical.choiceQuot.soundpropext
Built on 3
  • condorcet_three_winner_prob_eq_both_probFor any odd number of voters k, the probability under impartial culture that a 3-candidate election has a strict Condorcet winner equals…
  • impartial_culture_winner_probFor natural numbers k and n, impartial_culture_winner_prob k n is the real probability under impartial culture that an election with k…
  • impartial_culture_winner_loser_probFor natural numbers k and n, impartial_culture_winner_loser_prob k n is the real probability under impartial culture that an election with…

Read back from the Lean

For any functions p, q : ℕ → ℝ, assume: 1. (h_winner) As k → ∞ (along Filter.atTop), the sequence of probabilities impartial_culture_winner_prob (2 * k + 1) 3 tends to p 3. 2. (h_both) As k → ∞, the sequence of probabilities impartial_culture_winner_loser_prob (2 * k + 1) 3 tends to q 3. 3. (h_odd) For every k : ℕ, impartial_culture_winner_prob (2 * k + 1) 3 = impartial_culture_winner_loser_prob (2 * k + 1) 3. 4. (hp) p 3 ≠ 0. Then q 3 / (p 3 ^ 2) = 1 / p 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 sequences of Condorcet winner probabilities and joint winner-and-loser probabilities are equal for every odd number of voters, so they must converge to the same limit. Uniqueness of limits in ℝ implies q 3 = p 3. Substituting q 3 = p 3 into q 3 / (p 3 ^ 2) yields p 3 / (p 3 ^ 2) = 1 / p 3, which simplifies directly since p 3 ≠ 0.

  1. q 3 = p 3

    We establish that the sequence of Condorcet winner probabilities converges to q 3 as well as to p 3. For any odd number of voters 2*k + 1, the probability of having a winner equals the probability of having both a winner and a loser (by h_odd). Since the joint probabilities converge to q 3 (by h_both), the sequence of winner probabilities also converges to q 3 by termwise congruence (Filter.Tendsto.congr). Because limits in ℝ are unique (tendsto_nhds_unique), comparing this with the convergence of winner probabilities to p 3 (h_winner) yields q 3 = p 3.

    lines 9–14

    uses Filter.Tendsto.congr, tendsto_nhds_unique

      have h_same : q 3 = p 3 := by
        have h1 : Filter.Tendsto (fun k => impartial_culture_winner_prob (2 * k + 1) 3) Filter.atTop (nhds (q 3)) := by
          refine Filter.Tendsto.congr ?_ h_both
          intro k
          exact (h_odd k).symm
        exact tendsto_nhds_unique h1 h_winner
  2. q 3 / (p 3 ^ 2) = 1 / p 3

    Substituting q 3 = p 3 into the goal reduces the equality to p 3 / (p 3 ^ 2) = 1 / p 3. The field_simp tactic clears denominators and cancels p 3, which is valid because p 3 ≠ 0 (hp).

    lines 15–16

      rw [h_same]
      field_simp
Filter.Tendsto.congr
If two functions are pointwise equal and one tends to a limit along a filter, then the other tends to the same limit along that filter.
tendsto_nhds_unique
In a Hausdorff topological space, a function cannot converge to two different limits along the same non-trivial filter (uniqueness of limits).

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

/-- For 3 candidates, the ratio of joint to marginal probability is 1 / p_3. -/theorem condorcet_extremes_three_limit_ratio    (p q : ℕ → ℝ)    (h_winner : Filter.Tendsto (fun k => impartial_culture_winner_prob (2 * k + 1) 3) Filter.atTop (nhds (p 3)))    (h_both : Filter.Tendsto (fun k => impartial_culture_winner_loser_prob (2 * k + 1) 3) Filter.atTop (nhds (q 3)))    (h_odd : ∀ k, impartial_culture_winner_prob (2 * k + 1) 3 = impartial_culture_winner_loser_prob (2 * k + 1) 3)    (hp : p 3 ≠ 0) :    q 3 / (p 3 ^ 2) = 1 / p 3 := by  have h_same : q 3 = p 3 := by    have h1 : Filter.Tendsto (fun k => impartial_culture_winner_prob (2 * k + 1) 3) Filter.atTop (nhds (q 3)) := by      refine Filter.Tendsto.congr ?_ h_both      intro k      exact (h_odd k).symm    exact tendsto_nhds_unique h1 h_winner  rw [h_same]  field_simp
See it in the graphDiscuss this resultChallenge it