IsPreference
classimported Lean
A weak preference relation is admissible if it is reflexive, transitive, and total.
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in class IsPreference {A : Type*} (R : A → A → Prop) : Prop
- Defined in
- EconCSLib, `IsPreference`
- 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.IsPreference← IsPreference (EconCSLib/Foundation/Preference.lean:134): verbatim
- Verified
- 08 Oct 2026
- Axioms
- none listed
- Used by 8
- SocialChoice.FairDivision.ShareInstance.toInstanceLift a no-externality fair-division instance to a fully general allocation-preference instance by comparing allocations pointwise through…
- SocialChoice.Voting.decisive_spread_forwardSocialChoice.Voting.decisive_spread_forward
- Pref.ofLinearOrderBundle an explicit linear order as a preference.
- SocialChoice.FairDivision.CardinalInstance.inducedSharePrefThe share preference induced by a cardinal utility, using the convention that higher utility means weakly better.
- Pref.ofTotalPreorderBundle an explicit total preorder as a preference.
- MatchingMarket.ofEquivDataBuild a
MatchingMarket (Fin n) (Fin n)from list-based preference data.some j ≻ some kiffjappears earlier in the list;noneis… - galeShapley_isStableGale-Shapley stability: the DA output has no blocking pair. The statement is in the *market* frame (
IsBlocking … (i : M) (j : W)).… - PrefA bundled weak preference relation. Use this interface when several agents may rank the same outcome type differently. Use…
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in /-- A weak preference relation is admissible if it is reflexive, transitive, and total. -/ class IsPreference {A : Type*} (R : A → A → Prop) : Prop where reflexive : Reflexive R transitive : Transitive R total : ∀ a b : A, R a b ∨ R b a