instFunLikeIndexedLOrderLinearOrder
instanceimported Lean
instFunLikeIndexedLOrderLinearOrder
Statement
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Classical in open Finset in variable {T : Type*} [Inhabited T] in variable {I : Type*} in instance instFunLikeIndexedLOrderLinearOrder : FunLike (IndexedLOrder I T) I (LinearOrder T)
- Defined in
- EconCSLib, `instFunLikeIndexedLOrderLinearOrder`
- 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.instFunLikeIndexedLOrderLinearOrder← @EconCSLib/Math/FixedPoint/Scarf.lean:158 (EconCSLib/Math/FixedPoint/Scarf.lean:158): adapted
What was changed in
instFunLikeIndexedLOrderLinearOrder--- EconCSLib/Math/FixedPoint/Scarf.lean:158 () +++ as compiled here @@ -1,3 +1,9 @@ -instance : FunLike (IndexedLOrder I T) I (LinearOrder T) where +set_option autoImplicit true in +set_option relaxedAutoImplicit true in +open Classical in +open Finset in +variable {T : Type*} [Inhabited T] in +variable {I : Type*} in +instance instFunLikeIndexedLOrderLinearOrder : FunLike (IndexedLOrder I T) I (LinearOrder T) where coe := fun a => a.IST - coe_injective' := fun f g h => by cases f; cases g; congr + coe_injective := fun f g h => by cases f; cases g; congr - Verified
- 08 Oct 2026
- Axioms
- none listed
- Built on 1
- IndexedLOrderA family of linear orders on
Tindexed byI. Eachi : Iprovides a linear orderIST i : LinearOrder Ton the typeT. This is the…
- IndexedLOrderA family of linear orders on
- Used by 42
- IndexedLOrder.parity_lemmaIndexedLOrder.parity_lemma
- IndexedLOrder.maximal_element_uniqueIndexedLOrder.maximal_element_unique
- IndexedLOrder.image_erase_eq_erase_image_of_uniqueIndexedLOrder.image_erase_eq_erase_image_of_unique
- IndexedLOrder.empty_DominantIndexedLOrder.empty_Dominant
- IndexedLOrder.Nonempty_of_DominantIndexedLOrder.Nonempty_of_Dominant
- IndexedLOrder.isCell_of_doorIndexedLOrder.isCell_of_door
- IndexedLOrder.isDoor
(σ, C)is a door: a dominant cell with|C| = |σ| + 1. A door has one more color than points; it is adjacent to exactly two rooms… - IndexedLOrder.isDoorofIndexedLOrder.isDoorof
- IndexedLOrder.M_sets_disjointIndexedLOrder.M_sets_disjoint
- IndexedLOrder.NCdoorsIndexedLOrder.NCdoors
- TT.ILOTT.ILO
- IndexedLOrder.M_setIndexedLOrder.M_set
- IndexedLOrder.NC_of_outsidedoorIndexedLOrder.NC_of_outsidedoor
- IndexedLOrder.Dominant_of_subsetIndexedLOrder.Dominant_of_subset
- IndexedLOrder.image_erase_collision_preservesIndexedLOrder.image_erase_collision_preserves
- IndexedLOrder.Finset.eq_of_mem_of_card_oneIndexedLOrder.Finset.eq_of_mem_of_card_one
- TT.Ilt_keypropTT.Ilt_keyprop
- IndexedLOrder.isColorful
(σ, C)is colorful under coloringc : T → I: it is a dominant cell and the coloringcmapsσbijectively ontoC(i.e.,… - IndexedLOrder.Dominant_of_supsetIndexedLOrder.Dominant_of_supset
- IndexedLOrder.isInternalDoorIndexedLOrder.isInternalDoor
- IndexedLOrder.m_element_is_maximalIndexedLOrder.m_element_is_maximal
- IndexedLOrder.isTypedNC
(σ, C)is a typed nearly-colorful cell of typei: a dominant cell whereiis the unique color inCmissing fromσ.image c. - IndexedLOrder.m_elementIndexedLOrder.m_element
- IndexedLOrder.collision_door_validIndexedLOrder.collision_door_valid
- TT.Ilt_defTT.Ilt_def
- IndexedLOrder.miniIndexedLOrder.mini
- IndexedLOrder.is_maximal_in_M_setIndexedLOrder.is_maximal_in_M_set
- IndexedLOrder.isDominant
σis dominant with respect toC: for everyy : Tthere existsi ∈ Csuch that every element ofσis ≥[i] y — i.e.,σ… - IndexedLOrder.isNearlyColorful
(σ, C)is nearly colorful: a dominant cell where exactly one color inCis missing from the image ofconσ. - IndexedLOrder.outsidedoor_singletonIndexedLOrder.outsidedoor_singleton
- IndexedLOrder.isRoom_of_DoorIndexedLOrder.isRoom_of_Door
- IndexedLOrder.sigma_nonempty_of_roomIndexedLOrder.sigma_nonempty_of_room
- IndexedLOrder.isOutsideDoorIndexedLOrder.isOutsideDoor
- IndexedLOrder.not_colorful_of_TypedNCIndexedLOrder.not_colorful_of_TypedNC
- IndexedLOrder.NC_or_C_of_doorIndexedLOrder.NC_or_C_of_door
- IndexedLOrder.m_element_not_in_tauIndexedLOrder.m_element_not_in_tau
- IndexedLOrder.NCtype_of_doorIndexedLOrder.NCtype_of_door
- IndexedLOrder.outsidedoor_is_singletonIndexedLOrder.outsidedoor_is_singleton
- IndexedLOrder.three_collision_card_boundIndexedLOrder.three_collision_card_bound
- IndexedLOrder.NC_of_NCdoorIndexedLOrder.NC_of_NCdoor
- IndexedLOrder.isRoom
(σ, C)is a room: a dominant cell with|σ| = |C|. In a room, the index set and the point set have the same cardinality. Colorful… - IndexedLOrder.isCellAlias for
isDominant σ C: the cell predicate for the pair(σ, C).
Lean source view module on GitHub
set_option autoImplicit true in set_option relaxedAutoImplicit true in open Classical in open Finset in variable {T : Type*} [Inhabited T] in variable {I : Type*} in instance instFunLikeIndexedLOrderLinearOrder : FunLike (IndexedLOrder I T) I (LinearOrder T) where coe := fun a => a.IST coe_injective := fun f g h => by cases f; cases g; congr