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.Semilat

50 declarations. Mathlib docs · Source

The categories of semilattices

This defines SemilatSupCat and SemilatInfCat, the categories of sup-semilattices with a bottom element and inf-semilattices with a top element.

References

Order dual

theorem SemilatSupCat.of.injEq E0 #

∀ (X : Type u) [isSemilatticeSup : SemilatticeSup X] [isOrderBot : OrderBot X] (X_1 : Type u)
  (isSemilatticeSup_1 : SemilatticeSup X_1) (isOrderBot_1 : OrderBot X_1),
  (↧X = ↧X_1) = (X = X_1 ∧ isSemilatticeSup ≍ isSemilatticeSup_1 ∧ isOrderBot ≍ isOrderBot_1)

theorem SemilatInfCat.of.injEq E0 #

∀ (X : Type u) [isSemilatticeInf : SemilatticeInf X] [isOrderTop : OrderTop X] (X_1 : Type u)
  (isSemilatticeInf_1 : SemilatticeInf X_1) (isOrderTop_1 : OrderTop X_1),
  (↧X = ↧X_1) = (X = X_1 ∧ isSemilatticeInf ≍ isSemilatticeInf_1 ∧ isOrderTop ≍ isOrderTop_1)

def SemilatSupCat.ctorIdx E1 #

SemilatSupCat → ℕ

theorem SemilatInfCat.of.inj E1 #

∀ {X : Type u} {isSemilatticeInf : SemilatticeInf X} {isOrderTop : OrderTop X} {X_1 : Type u}
  {isSemilatticeInf_1 : SemilatticeInf X_1} {isOrderTop_1 : OrderTop X_1},
  ↧X = ↧X_1 → X = X_1 ∧ isSemilatticeInf ≍ isSemilatticeInf_1 ∧ isOrderTop ≍ isOrderTop_1

def SemilatInfCat.ctorIdx E1 #

SemilatInfCat → ℕ

theorem SemilatSupCat.of.inj E1 #

∀ {X : Type u} {isSemilatticeSup : SemilatticeSup X} {isOrderBot : OrderBot X} {X_1 : Type u}
  {isSemilatticeSup_1 : SemilatticeSup X_1} {isOrderBot_1 : OrderBot X_1},
  ↧X = ↧X_1 → X = X_1 ∧ isSemilatticeSup ≍ isSemilatticeSup_1 ∧ isOrderBot ≍ isOrderBot_1

structure SemilatSupCat E1 #

Type (u + 1)

The category of sup-semilattices with a bottom element.

ctor SemilatSupCat.of E0 #

(X : Type u) → [isSemilatticeSup : SemilatticeSup X] → [isOrderBot : OrderBot X] → SemilatSupCat

Construct a bundled SemilatSupCat from a SemilatticeSup.

abbrev SemilatSupCat.X E1 #

SemilatSupCat → Type u

The underlying type of a sup-semilattice with a bottom element.

instance SemilatSupCat.isSemilatticeSup E0 #

(self : SemilatSupCat) → SemilatticeSup self.X

instance SemilatSupCat.isOrderBot E0 #

(self : SemilatSupCat) → OrderBot self.X

structure SemilatInfCat E1 #

Type (u + 1)

The category of inf-semilattices with a top element.

ctor SemilatInfCat.of E0 #

(X : Type u) → [isSemilatticeInf : SemilatticeInf X] → [isOrderTop : OrderTop X] → SemilatInfCat

Construct a bundled SemilatInfCat from a SemilatticeInf.

abbrev SemilatInfCat.X E1 #

SemilatInfCat → Type u

The underlying type of an inf-semilattice with a top element.

instance SemilatInfCat.isSemilatticeInf E0 #

(self : SemilatInfCat) → SemilatticeInf self.X

instance SemilatInfCat.isOrderTop E0 #

(self : SemilatInfCat) → OrderTop self.X

def SemilatSupCat.delabOf E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prints SemilatSupCat.of X as ↧X.

instance SemilatSupCat.instCoeSortType E0 #

CoeSort SemilatSupCat (Type u_1)

theorem SemilatSupCat.coe_of E0 #

∀ (α : Type u_1) [inst : SemilatticeSup α] [inst_1 : OrderBot α], (↧α).X = α

instance SemilatSupCat.instInhabited E0 #

Inhabited SemilatSupCat

instance SemilatSupCat.instLargeCategory E0 #

CategoryTheory.LargeCategory SemilatSupCat

instance SemilatSupCat.instConcreteCategorySupBotHomX E0 #

CategoryTheory.ConcreteCategory SemilatSupCat fun x1 x2 ↦ SupBotHom x1.X x2.X

instance SemilatSupCat.hasForgetToPartOrd E0 #

CategoryTheory.HasForget₂ SemilatSupCat PartOrd

theorem SemilatSupCat.coe_forget_to_partOrd E0 #

∀ (X : SemilatSupCat), ↑((CategoryTheory.forget₂ SemilatSupCat PartOrd).obj X) = X.X

def SemilatInfCat.delabOf E1 #

Lean.PrettyPrinter.Delaborator.Delab

This prints SemilatInfCat.of X as ↧X.

instance SemilatInfCat.instCoeSortType E0 #

CoeSort SemilatInfCat (Type u_1)

theorem SemilatInfCat.coe_of E0 #

∀ (α : Type u_1) [inst : SemilatticeInf α] [inst_1 : OrderTop α], (↧α).X = α

instance SemilatInfCat.instInhabited E0 #

Inhabited SemilatInfCat

instance SemilatInfCat.instLargeCategory E0 #

CategoryTheory.LargeCategory SemilatInfCat

instance SemilatInfCat.instConcreteCategoryInfTopHomX E0 #

CategoryTheory.ConcreteCategory SemilatInfCat fun x1 x2 ↦ InfTopHom x1.X x2.X

instance SemilatInfCat.hasForgetToPartOrd E0 #

CategoryTheory.HasForget₂ SemilatInfCat PartOrd

theorem SemilatInfCat.coe_forget_to_partOrd E0 #

∀ (X : SemilatInfCat), ↑((CategoryTheory.forget₂ SemilatInfCat PartOrd).obj X) = X.X

def SemilatSupCat.Iso.mk E1 #

{α β : SemilatSupCat} → α.X ≃o β.X → (α ≅ β)

Constructs an isomorphism of lattices from an order isomorphism between them.

theorem SemilatSupCat.Iso.mk_inv_toFun E0 #

∀ {α β : SemilatSupCat} (e : α.X ≃o β.X) (a : β.X), (SemilatSupCat.Iso.mk e).inv a = e.symm a

theorem SemilatSupCat.Iso.mk_hom_toFun E0 #

∀ {α β : SemilatSupCat} (e : α.X ≃o β.X) (a : α.X), (SemilatSupCat.Iso.mk e).hom a = e a

def SemilatSupCat.dual E1 #

CategoryTheory.Functor SemilatSupCat SemilatInfCat

OrderDual as a functor.

theorem SemilatSupCat.dual_map E0 #

∀ {x x_1 : SemilatSupCat} (a : SupBotHom x.X x_1.X), SemilatSupCat.dual.map a = SupBotHom.dual a

def SemilatInfCat.Iso.mk E1 #

{α β : SemilatInfCat} → α.X ≃o β.X → (α ≅ β)

Constructs an isomorphism of lattices from an order isomorphism between them.

theorem SemilatInfCat.Iso.mk_inv_toFun E0 #

∀ {α β : SemilatInfCat} (e : α.X ≃o β.X) (a : β.X), (SemilatInfCat.Iso.mk e).inv a = e.symm a

theorem SemilatInfCat.Iso.mk_hom_toFun E0 #

∀ {α β : SemilatInfCat} (e : α.X ≃o β.X) (a : α.X), (SemilatInfCat.Iso.mk e).hom a = e a

def SemilatInfCat.dual E1 #

CategoryTheory.Functor SemilatInfCat SemilatSupCat

OrderDual as a functor.

theorem SemilatInfCat.dual_obj_isOrderBot E0 #

∀ (X : SemilatInfCat), (SemilatInfCat.dual.obj X).isOrderBot = OrderDual.instOrderBotOfOrderTop X.X

theorem SemilatInfCat.dual_obj_X E0 #

∀ (X : SemilatInfCat), (SemilatInfCat.dual.obj X).X = X.Xᵒᵈ

theorem SemilatInfCat.dual_map E0 #

∀ {x x_1 : SemilatInfCat} (a : InfTopHom x.X x_1.X), SemilatInfCat.dual.map a = InfTopHom.dual a

theorem SemilatInfCat.dual_obj_isSemilatticeSup E0 #

∀ (X : SemilatInfCat), (SemilatInfCat.dual.obj X).isSemilatticeSup = OrderDual.instSemilatticeSup X.X

def SemilatSupCatEquivSemilatInfCat E1 #

SemilatSupCat ≌ SemilatInfCat

The equivalence between SemilatSupCat and SemilatInfCat induced by OrderDual both ways.

theorem SemilatSupCatEquivSemilatInfCat_functor E0 #

SemilatSupCatEquivSemilatInfCat.functor = SemilatSupCat.dual

theorem SemilatSupCatEquivSemilatInfCat_inverse E0 #

SemilatSupCatEquivSemilatInfCat.inverse = SemilatInfCat.dual

theorem SemilatSupCat_dual_comp_forget_to_partOrd E1 #

SemilatSupCat.dual.comp (CategoryTheory.forget₂ SemilatInfCat PartOrd) =
  (CategoryTheory.forget₂ SemilatSupCat PartOrd).comp PartOrd.dual

theorem SemilatInfCat_dual_comp_forget_to_partOrd E1 #

SemilatInfCat.dual.comp (CategoryTheory.forget₂ SemilatSupCat PartOrd) =
  (CategoryTheory.forget₂ SemilatInfCat PartOrd).comp PartOrd.dual