draft_enum_order
def
The linear order on objects induced by an enumeration e : Object ≃ Fin T, listing e.symm 0 as the best object and e.symm (T-1) as the worst. This is the "common ranking" of a unanimous profile written by means of a bijection.
Statement
def draft_enum_order {Object : Type*} [DecidableEq Object] {T : ℕ} (e : Object ≃ Fin T) : LinearOrder Object
- Source
- step towards draft_rule_characterization
- Verified
- 09 Nov 2026
- Axioms
- none listed
Lean source view module on GitHub
/-- The order of a unanimous profile induced by a bijection Object ≃ Fin T, best object first. -/ def draft_enum_order {Object : Type*} [DecidableEq Object] {T : ℕ} (e : Object ≃ Fin T) : LinearOrder Object := @Equiv.linearOrder Object (Fin T) (e.trans (Fin.revPerm)) _ _