The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V24. Category theory

Mathlib.Order.Category.LinOrd

42 declarations. Mathlib docs · Source

theorem OrderHomClass.toLatticeHom.congr_simp E1 #

∀ {F : Type u_1} (α : Type u_2) (β : Type u_3) [inst : FunLike F α β] [inst_1 : LinearOrder α] [inst_2 : Lattice β]
  [inst_3 : OrderHomClass F α β] (f f_1 : F),
  f = f_1 → OrderHomClass.toLatticeHom α β f = OrderHomClass.toLatticeHom α β f_1

def LinOrd.Hom.ctorIdx E1 #

{X Y : LinOrd} → X.Hom Y → ℕ

def LinOrd.delabOf E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prints LinOrd.of X as ↧X.

structure LinOrd.Hom E1 #

LinOrd → LinOrd → Type u

The type of morphisms in LinOrd R.

theorem LinOrd.Hom.ext_iff E0 #

∀ {X Y : LinOrd} {x y : X.Hom Y}, x = y ↔ x.hom' = y.hom'

theorem LinOrd.Hom.ext E1 #

∀ {X Y : LinOrd} {x y : X.Hom Y}, x.hom' = y.hom' → x = y

abbrev LinOrd.Hom.hom' E1 #

{X Y : LinOrd} → X.Hom Y → ↑X →o ↑Y

The underlying OrderHom.

instance LinOrd.instCategory E0 #

CategoryTheory.Category.{u, u + 1} LinOrd

instance LinOrd.instConcreteCategoryOrderHomCarrier E0 #

CategoryTheory.ConcreteCategory LinOrd fun x1 x2 ↦ ↑x1 →o ↑x2

abbrev LinOrd.Hom.hom E1 #

{X Y : LinOrd} → X.Hom Y → ↑X →o ↑Y

Turn a morphism in LinOrd back into a OrderHom.

abbrev LinOrd.ofHom E1 #

{X Y : Type u} → [inst : LinearOrder X] → [inst_1 : LinearOrder Y] → (X →o Y) → (↧X ⟶ ↧Y)

Typecheck a OrderHom as a morphism in LinOrd.

def LinOrd.Hom.Simps.hom E1 #

(X Y : LinOrd) → X.Hom Y → ↑X →o ↑Y

Use the ConcreteCategory.hom projection for @[simps] lemmas.

theorem LinOrd.coe_id E0 #

∀ {X : LinOrd}, ⇑(CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.id X)) = id

theorem LinOrd.coe_comp E0 #

∀ {X Y Z : LinOrd} {f : X ⟶ Y} {g : Y ⟶ Z},
  ⇑(CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.comp f g)) =
    ⇑(CategoryTheory.ConcreteCategory.hom g) ∘ ⇑(CategoryTheory.ConcreteCategory.hom f)

theorem LinOrd.forget_map E0 #

∀ {X Y : LinOrd} (f : X ⟶ Y),
  ⇑(CategoryTheory.ConcreteCategory.hom ((CategoryTheory.forget LinOrd).map f)) =
    ⇑(CategoryTheory.ConcreteCategory.hom f)

theorem LinOrd.ext_iff E0 #

∀ {X Y : LinOrd} {f g : X ⟶ Y},
  f = g ↔ ∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x

theorem LinOrd.ext E1 #

∀ {X Y : LinOrd} {f g : X ⟶ Y},
  (∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x) → f = g

theorem LinOrd.coe_of E0 #

∀ (X : Type u) [inst : LinearOrder X], ↑↧X = X

theorem LinOrd.hom_id E0 #

∀ {X : LinOrd}, LinOrd.Hom.hom (CategoryTheory.CategoryStruct.id X) = OrderHom.id

theorem LinOrd.id_apply E0 #

∀ (X : LinOrd) (x : ↑X), (CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.id X)) x = x

theorem LinOrd.hom_comp E0 #

∀ {X Y Z : LinOrd} (f : X ⟶ Y) (g : Y ⟶ Z),
  LinOrd.Hom.hom (CategoryTheory.CategoryStruct.comp f g) = (LinOrd.Hom.hom g).comp (LinOrd.Hom.hom f)

theorem LinOrd.comp_apply E0 #

∀ {X Y Z : LinOrd} (f : X ⟶ Y) (g : Y ⟶ Z) (x : ↑X),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.comp f g)) x =
    (CategoryTheory.ConcreteCategory.hom g) ((CategoryTheory.ConcreteCategory.hom f) x)

theorem LinOrd.hom_ext_iff E0 #

∀ {X Y : LinOrd} {f g : X ⟶ Y}, f = g ↔ LinOrd.Hom.hom f = LinOrd.Hom.hom g

theorem LinOrd.hom_ext E1 #

∀ {X Y : LinOrd} {f g : X ⟶ Y}, LinOrd.Hom.hom f = LinOrd.Hom.hom g → f = g

theorem LinOrd.hom_ofHom E0 #

∀ {X Y : Type u} [inst : LinearOrder X] [inst_1 : LinearOrder Y] (f : X →o Y), LinOrd.Hom.hom (LinOrd.ofHom f) = f

theorem LinOrd.ofHom_hom E0 #

∀ {X Y : LinOrd} (f : X ⟶ Y), LinOrd.ofHom (LinOrd.Hom.hom f) = f

theorem LinOrd.ofHom_id E0 #

∀ {X : Type u} [inst : LinearOrder X], LinOrd.ofHom OrderHom.id = CategoryTheory.CategoryStruct.id ↧X

theorem LinOrd.ofHom_comp E0 #

∀ {X Y Z : Type u} [inst : LinearOrder X] [inst_1 : LinearOrder Y] [inst_2 : LinearOrder Z] (f : X →o Y) (g : Y →o Z),
  LinOrd.ofHom (g.comp f) = CategoryTheory.CategoryStruct.comp (LinOrd.ofHom f) (LinOrd.ofHom g)

theorem LinOrd.ofHom_apply E0 #

∀ {X Y : Type u} [inst : LinearOrder X] [inst_1 : LinearOrder Y] (f : X →o Y) (x : X),
  (CategoryTheory.ConcreteCategory.hom (LinOrd.ofHom f)) x = f x

theorem LinOrd.inv_hom_apply E0 #

∀ {X Y : LinOrd} (e : X ≅ Y) (x : ↑X),
  (CategoryTheory.ConcreteCategory.hom e.inv) ((CategoryTheory.ConcreteCategory.hom e.hom) x) = x

theorem LinOrd.hom_inv_apply E0 #

∀ {X Y : LinOrd} (e : X ≅ Y) (s : ↑Y),
  (CategoryTheory.ConcreteCategory.hom e.hom) ((CategoryTheory.ConcreteCategory.hom e.inv) s) = s

instance LinOrd.instInhabited E0 #

Inhabited LinOrd

instance LinOrd.hasForgetToLat E0 #

CategoryTheory.HasForget₂ LinOrd Lat

def LinOrd.Iso.mk E1 #

{α β : LinOrd} → ↑α ≃o ↑β → (α ≅ β)

Constructs an equivalence between linear orders from an order isomorphism between them.

theorem LinOrd.Iso.mk_hom E0 #

∀ {α β : LinOrd} (e : ↑α ≃o ↑β), (LinOrd.Iso.mk e).hom = LinOrd.ofHom ↑e

theorem LinOrd.Iso.mk_inv E0 #

∀ {α β : LinOrd} (e : ↑α ≃o ↑β), (LinOrd.Iso.mk e).inv = LinOrd.ofHom ↑e.symm

def LinOrd.dual E1 #

CategoryTheory.Functor LinOrd LinOrd

OrderDual as a functor.

theorem LinOrd.dual_map E0 #

∀ {X Y : LinOrd} (f : X ⟶ Y), LinOrd.dual.map f = LinOrd.ofHom (OrderHom.dual (LinOrd.Hom.hom f))

def LinOrd.dualEquiv E1 #

LinOrd ≌ LinOrd

The equivalence between LinOrd and itself induced by OrderDual both ways.

theorem LinOrd.dualEquiv_functor E0 #

LinOrd.dualEquiv.functor = LinOrd.dual

theorem LinOrd.dualEquiv_inverse E0 #

LinOrd.dualEquiv.inverse = LinOrd.dual

theorem linOrd_dual_comp_forget_to_Lat E1 #

LinOrd.dual.comp (CategoryTheory.forget₂ LinOrd Lat) = (CategoryTheory.forget₂ LinOrd Lat).comp Lat.dual