The areas / V04. Order and lattices
Mathlib.Order.ULift
32 declarations. Mathlib docs · Source
Ordered structures on ULift.{v} α
Once these basic instances are setup, the instances of more complex typeclasses should live next to
the corresponding Prod instances.
instance ULift.instLE_mathlib E0 #
{α : Type u} → [LE α] → LE (ULift.{v, u} α)
theorem ULift.up_le E0 #
∀ {α : Type u} [inst : LE α] {a b : α}, { down := a } ≤ { down := b } ↔ a ≤ b
theorem ULift.down_le E0 #
∀ {α : Type u} [inst : LE α] {a b : ULift.{u_1, u} α}, a.down ≤ b.down ↔ a ≤ b
instance ULift.instLT_mathlib E0 #
{α : Type u} → [LT α] → LT (ULift.{v, u} α)
theorem ULift.up_lt E0 #
∀ {α : Type u} [inst : LT α] {a b : α}, { down := a } < { down := b } ↔ a < b
theorem ULift.down_lt E0 #
∀ {α : Type u} [inst : LT α] {a b : ULift.{u_1, u} α}, a.down < b.down ↔ a < b
instance ULift.instBEq_mathlib E0 #
{α : Type u} → [BEq α] → BEq (ULift.{v, u} α)
theorem ULift.up_beq E0 #
∀ {α : Type u} [inst : BEq α] (a b : α), ({ down := a } == { down := b }) = (a == b)
theorem ULift.down_beq E0 #
∀ {α : Type u} [inst : BEq α] (a b : ULift.{u_1, u} α), (a.down == b.down) = (a == b)
instance ULift.instOrd_mathlib E0 #
{α : Type u} → [Ord α] → Ord (ULift.{v, u} α)
theorem ULift.up_compare E0 #
∀ {α : Type u} [inst : Ord α] (a b : α), compare { down := a } { down := b } = compare a b
theorem ULift.down_compare E0 #
∀ {α : Type u} [inst : Ord α] (a b : ULift.{u_1, u} α), compare a.down b.down = compare a b
instance ULift.instMin_mathlib E0 #
{α : Type u} → [Min α] → Min (ULift.{v, u} α)
instance ULift.instMax_mathlib E0 #
{α : Type u} → [Max α] → Max (ULift.{v, u} α)
theorem ULift.up_sup E0 #
∀ {α : Type u} [inst : Max α] (a b : α), { down := a ⊔ b } = { down := a } ⊔ { down := b }
theorem ULift.up_inf E0 #
∀ {α : Type u} [inst : Min α] (a b : α), { down := a ⊓ b } = { down := a } ⊓ { down := b }
theorem ULift.down_inf E0 #
∀ {α : Type u} [inst : Min α] (a b : ULift.{u_1, u} α), (a ⊓ b).down = a.down ⊓ b.down
theorem ULift.down_sup E0 #
∀ {α : Type u} [inst : Max α] (a b : ULift.{u_1, u} α), (a ⊔ b).down = a.down ⊔ b.down
instance ULift.instSDiff_mathlib E0 #
{α : Type u} → [SDiff α] → SDiff (ULift.{v, u} α)
theorem ULift.up_sdiff E0 #
∀ {α : Type u} [inst : SDiff α] (a b : α), { down := a \ b } = { down := a } \ { down := b }
theorem ULift.down_sdiff E0 #
∀ {α : Type u} [inst : SDiff α] (a b : ULift.{u_1, u} α), (a \ b).down = a.down \ b.down
instance ULift.instCompl E0 #
{α : Type u} → [Compl α] → Compl (ULift.{v, u} α)
theorem ULift.up_compl E0 #
∀ {α : Type u} [inst : Compl α] (a : α), { down := aᶜ } = { down := a }ᶜ
theorem ULift.down_compl E0 #
∀ {α : Type u} [inst : Compl α] (a : ULift.{u_1, u} α), aᶜ.down = a.downᶜ
instance ULift.instOrientedOrd_mathlib E0 #
∀ {α : Type u} [inst : Ord α] [inst_1 : Std.OrientedOrd α], Std.OrientedOrd (ULift.{v, u} α)
instance ULift.instTransOrd_mathlib E0 #
∀ {α : Type u} [inst : Ord α] [inst_1 : Std.TransOrd α], Std.TransOrd (ULift.{v, u} α)
instance ULift.instLawfulBEqOrd_mathlib E0 #
∀ {α : Type u} [inst : BEq α] [inst_1 : Ord α] [inst_2 : Std.LawfulBEqOrd α], Std.LawfulBEqOrd (ULift.{v, u} α)
instance ULift.instLawfulLTOrd_mathlib E0 #
∀ {α : Type u} [inst : LT α] [inst_1 : Ord α] [inst_2 : Std.LawfulLTOrd α], Std.LawfulLTOrd (ULift.{v, u} α)
instance ULift.instLawfulLEOrd_mathlib E0 #
∀ {α : Type u} [inst : LE α] [inst_1 : Ord α] [inst_2 : Std.LawfulLEOrd α], Std.LawfulLEOrd (ULift.{v, u} α)
instance ULift.instLawfulBOrd_mathlib E0 #
∀ {α : Type u} [inst : LE α] [inst_1 : LT α] [inst_2 : BEq α] [inst_3 : Ord α] [inst_4 : Std.LawfulBOrd α],
Std.LawfulBOrd (ULift.{v, u} α)
instance ULift.instPreorder E0 #
{α : Type u} → [Preorder α] → Preorder (ULift.{v, u} α)
instance ULift.instPartialOrder E0 #
{α : Type u} → [PartialOrder α] → PartialOrder (ULift.{v, u} α)