impartial_culture_winner_prob
For natural numbers k and n, impartial_culture_winner_prob k n is the real probability under impartial culture that an election with k voters and n candidates has a strict Condorcet winner.
Statement
noncomputable def impartial_culture_winner_prob (k n : ℕ) : ℝ
- Defined in
- Guilbaud 1952; Gehrlein & Fishburn 1976
- Verified
- 17 Nov 2026
- Axioms
- none listed
- Built on 2
- condorcet_winnerIn a profile of preferences P where a finite set of voters V have pairwise preferences over alternatives A, an alternative x : A is a…
- impartial_culture_probGiven natural numbers k and n, and a predicate E on profiles Fin k → Equiv.Perm (Fin n), impartial_culture_prob k n E is the real number…
- Used by 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_borda_condorcet_disagreement_probUnder impartial culture with k voters and n candidates, the conditional probability that the strict Condorcet winner is not a Borda winner…
- condorcet_extremes_three_limit_ratioIf 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…
Read back from the Lean
Given natural numbers k (the number of voters) and n (the number of candidates/alternatives), impartial_culture_winner_prob k n is the real number defined as the probability under the impartial culture model that a Condorcet winner exists.
Specifically, it is the ratio of:
1. The number of voter preference profiles P : Fin k → Equiv.Perm (Fin n) such that there exists a candidate w : Fin n who is a strict Condorcet winner—meaning that for every other candidate y : Fin n with y ≠ w, the number of voters v : Fin k for which P v w < P v y is strictly greater than the number of voters for which P v y < P v w;
divided by:
2. The total number of preference profiles, Fintype.card (Fin k → Equiv.Perm (Fin n)) (which is (n!)^k).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- Probability that an impartial-culture election has a strict Condorcet winner. -/ noncomputable def impartial_culture_winner_prob (k n : ℕ) : ℝ := open Classical in impartial_culture_prob k n (fun P => ∃ w : Fin n, condorcet_winner (fun (v : Fin k) (x y : Fin n) => P v x < P v y) w)