impartial_culture_winner_loser_prob
For natural numbers k and n, impartial_culture_winner_loser_prob k n is the real probability under impartial culture that an election with k voters and n candidates has both a strict Condorcet winner and a strict Condorcet loser.
Statement
noncomputable def impartial_culture_winner_loser_prob (k n : ℕ) : ℝ
- Defined in
- Guilbaud 1952; Gehrlein & Fishburn 1976
- Verified
- 17 Nov 2026
- Axioms
- none listed
- Built on 3
- 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…
- condorcet_loserIn 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 2
- 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…
- 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
For two natural numbers $k$ (number of voters) and $n$ (number of candidates), impartial_culture_winner_loser_prob k n defines the real number representing the probability under the impartial culture model (where each voter independently and uniformly chooses a permutation of $n$ candidates) that a preference profile has both a Condorcet winner and a Condorcet loser.
A candidate $w : Fin\ n$ is a Condorcet winner if for every candidate $y \ne w$, strictly more voters rank $w$ ahead of $y$ (i.e., $P(v)(w) < P(v)(y)$) than rank $y$ ahead of $w$.
Similarly, a candidate $l : Fin\ n$ is a Condorcet loser if for every candidate $y \ne l$, strictly more voters rank $y$ ahead of $l$ than rank $l$ ahead of $y$.
The value is computed as the number of profiles $P : Fin\ k \to Equiv.Perm (Fin\ n)$ satisfying both conditions, divided by the total number of profiles $(n!)^k$, cast to $\mathbb{R}$.
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 both a strict Condorcet winner and a strict Condorcet loser. -/ noncomputable def impartial_culture_winner_loser_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) ∧ (∃ l : Fin n, condorcet_loser (fun (v : Fin k) (x y : Fin n) => P v x < P v y) l))