Rankings of alternatives #
The preference model of social choice. A voter's preference is a Ranking A, a strict linear
order on the alternatives A. A social ranking is a WeakRanking A, a complete preorder, so
society may be indifferent. A Profile V A assigns a ranking to every voter. Arrow's theorem
(CslibFrontier.GameTheory.SocialChoice.Arrow) and the Gibbard–Satterthwaite theorem
(CslibFrontier.GameTheory.SocialChoice.GibbardSatterthwaite) are stated on this model.
Representation. Rankings are bundled structures holding one relation, not instances of
Mathlib's LinearOrder. A profile assigns different orders on the same type A to different
voters, and the proofs build new rankings pointwise (Ranking.toTop, Ranking.toBottom,
Ranking.toTopSet, Ranking.extend). Typeclass-carried orders, which also hold decidability
and min/max data, would make both awkward. Bridge instances
(IsStrictTotalOrder A r.Prefers, IsPreorder A R.AtLeast, Std.Total R.AtLeast) give access
to Mathlib's unbundled order API.
Main definitions #
Ranking: a strict linear order on the alternatives.Ranking.reversereverses it,Ranking.toTopandRanking.toBottommove one alternative to the top or the bottom, andRanking.toTopSetmoves a set of alternatives to the top ([Nis07], Definition 9.9).Ranking.IsTop,Ranking.IsBottom: an alternative is at the top or the bottom.Ranking.topis the top alternative of a ranking of a finite nonempty type.Ranking.restrict,Ranking.extend: restrict a ranking to a set of alternatives, and extend a ranking of a set to all alternatives by ranking the set above its complement.WeakRanking: a complete preorder, with strict partWeakRanking.Prefers.Ranking.toWeakRankingviews a ranking as a weak ranking with no ties.Profile V A: one ranking for each voter.
Main results #
Ranking.nonempty: every type carries a ranking, by the Szpilrajn extension theorem.Ranking.isTop_iff_eq_top: the top alternative is unique.
References #
A ranking of the alternatives A: a strict linear order, read r.Prefers a b as
"a is ranked above b".
Instances For
A weak ranking of the alternatives A: a complete preorder, read R.AtLeast a b as
"a is ranked at least as high as b". Ties are allowed.
The reverse ranking.
toTopSet S ranks x above y when x ∈ S and y ∉ S, or when x and y are on the same
side of S and r ranks x above y.
Move b to the bottom of r, keeping the order of the other alternatives.
b is ranked above every other alternative.
b is ranked below every other alternative.
Every type carries a ranking, by the Szpilrajn extension theorem
(extend_partialOrder).
The strict part of a weak ranking: a is ranked strictly above b.
b is ranked strictly above every other alternative.
b is ranked strictly below every other alternative.
A ranking, viewed as a weak ranking with no ties.
A preference profile: one ranking for each voter.