SocialChoice.Voting.BallotPrefers
defimported Lean
Ballot r ranks a strictly above b.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Finset in variable {N A : Type*} in def SocialChoice.Voting.BallotPrefers (r : LinearOrder A) (a b : A) : Prop
- Defined in
- EconCSLib, `SocialChoice.Voting.BallotPrefers`
- Lean proof
- By xbei (from the file's git history), from github.com/gametheoryinlean/EconCSLib at
1a88f809b538(Copyright (c) 2026 EconCSLib contributors. All rights reserved, Apache-2.0). Compiled here against leanprover/lean4:v4.33.1, Mathlib v4.33.1; written for leanprover/lean4:v4.30.0.SocialChoice.Voting.BallotPrefers← SocialChoice.Voting.BallotPrefers (EconCSLib/SocialChoice/Voting/Basic.lean:61): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 1
- SocialChoice.Voting.ballotLTBallot
r's strict-order instance, exposed explicitly to avoid ambient typeclass search.
- SocialChoice.Voting.ballotLTBallot
- Used by 21
- SocialChoice.Voting.betweenBallot_xzSocialChoice.Voting.betweenBallot_xz
- SocialChoice.Voting.BallotPrefers_ballotFromInjectiveSocialChoice.Voting.BallotPrefers_ballotFromInjective
- SocialChoice.Voting.condorcetProfile_specSocialChoice.Voting.condorcetProfile_spec
- SocialChoice.Voting.topBallot_topSocialChoice.Voting.topBallot_top
- SocialChoice.Voting.rank_lt_of_ltSocialChoice.Voting.rank_lt_of_lt
- SocialChoice.Voting.PrefersVoter
istrictly prefersatobin profileP. - SocialChoice.Voting.topBallot_preservesSocialChoice.Voting.topBallot_preserves
- SocialChoice.Voting.rank_lt_iffSocialChoice.Voting.rank_lt_iff
- SocialChoice.Voting.modifiedForwardProfile_specSocialChoice.Voting.modifiedForwardProfile_spec
- SocialChoice.Voting.strategyproof_insert_preserves_choiceSocialChoice.Voting.strategyproof_insert_preserves_choice
- SocialChoice.Voting.BallotPrefers.total_of_neSocialChoice.Voting.BallotPrefers.total_of_ne
- SocialChoice.Voting.acyclicBallot_specSocialChoice.Voting.acyclicBallot_spec
- SocialChoice.Voting.BallotBottomA linear-order ballot ranks
alast. - SocialChoice.Voting.betweenBallot_yzSocialChoice.Voting.betweenBallot_yz
- SocialChoice.Voting.margin_selfSocialChoice.Voting.margin_self
- SocialChoice.Voting.prefers_transSocialChoice.Voting.prefers_trans
- SocialChoice.Voting.betweenBallot_xySocialChoice.Voting.betweenBallot_xy
- SocialChoice.Voting.rank
rank r ais the number of alternatives strictly aboveain ballotr. - SocialChoice.Voting.BallotPrefers.asymmSocialChoice.Voting.BallotPrefers.asymm
- SocialChoice.Voting.rank_injectiveSocialChoice.Voting.rank_injective
- SocialChoice.Voting.BallotTopA linear-order ballot ranks
afirst.
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Finset in variable {N A : Type*} in /-- Ballot `r` ranks `a` strictly above `b`. -/ def SocialChoice.Voting.BallotPrefers (r : LinearOrder A) (a b : A) : Prop := by exact @LT.lt A (ballotLT r) a b