The areas / V24. Category theory
Mathlib.Order.Category.BddLat
56 declarations. Mathlib docs · Source
theorem BddLat.mk.injEq E0 #
∀ (toLat : Lat) [isBoundedOrder : BoundedOrder ↑toLat] (toLat_1 : Lat) (isBoundedOrder_1 : BoundedOrder ↑toLat_1),
({ toLat := toLat, isBoundedOrder := isBoundedOrder } = { toLat := toLat_1, isBoundedOrder := isBoundedOrder_1 }) =
(toLat = toLat_1 ∧ isBoundedOrder ≍ isBoundedOrder_1)
def BddLat.ctorIdx E1 #
BddLat → ℕ
def BddLat.Hom.ctorIdx E1 #
{X Y : BddLat} → X.Hom Y → ℕ
theorem BddLat.mk.inj E1 #
∀ {toLat : Lat} {isBoundedOrder : BoundedOrder ↑toLat} {toLat_1 : Lat} {isBoundedOrder_1 : BoundedOrder ↑toLat_1},
{ toLat := toLat, isBoundedOrder := isBoundedOrder } = { toLat := toLat_1, isBoundedOrder := isBoundedOrder_1 } →
toLat = toLat_1 ∧ isBoundedOrder ≍ isBoundedOrder_1
structure BddLat E1 #
Type (u_1 + 1)
The category of bounded lattices with bounded lattice morphisms.
abbrev BddLat.toLat E1 #
BddLat → Lat
The underlying lattice of a bounded lattice.
ctor BddLat.mk E0 #
(toLat : Lat) → [isBoundedOrder : BoundedOrder ↑toLat] → BddLat
instance BddLat.isBoundedOrder E0 #
(self : BddLat) → BoundedOrder ↑self.toLat
instance BddLat.instCoeSortType E0 #
CoeSort BddLat (Type u_1)
abbrev BddLat.of E1 #
(α : Type u_1) → [inst : Lattice α] → [BoundedOrder α] → BddLat
Construct a bundled BddLat from Lattice + BoundedOrder.
def BddLat.delabOf E1 #
Lean.PrettyPrinter.Delaborator.Delab
This prints BddLat.of X as ↧X.
theorem BddLat.coe_of E0 #
∀ (α : Type u_1) [inst : Lattice α] [inst_1 : BoundedOrder α], ↑(↧α).toLat = α
structure BddLat.Hom E1 #
BddLat → BddLat → Type u
The type of morphisms in BddLat.
theorem BddLat.Hom.ext E1 #
∀ {X Y : BddLat} {x y : X.Hom Y}, x.hom' = y.hom' → x = y
theorem BddLat.Hom.ext_iff E0 #
∀ {X Y : BddLat} {x y : X.Hom Y}, x = y ↔ x.hom' = y.hom'
abbrev BddLat.Hom.hom' E1 #
{X Y : BddLat} → X.Hom Y → BoundedLatticeHom ↑X.toLat ↑Y.toLat
The underlying BoundedLatticeHom.
instance BddLat.instInhabited E0 #
Inhabited BddLat
instance BddLat.instLargeCategory E0 #
CategoryTheory.LargeCategory BddLat
instance BddLat.instConcreteCategoryBoundedLatticeHomCarrier E0 #
CategoryTheory.ConcreteCategory BddLat fun x1 x2 ↦ BoundedLatticeHom ↑x1.toLat ↑x2.toLat
abbrev BddLat.Hom.hom E1 #
{X Y : BddLat} → X.Hom Y → BoundedLatticeHom ↑X.toLat ↑Y.toLat
Turn a morphism in BddLat back into a BoundedLatticeHom.
abbrev BddLat.ofHom E1 #
{X Y : Type u} →
[inst : Lattice X] →
[inst_1 : BoundedOrder X] → [inst_2 : Lattice Y] → [inst_3 : BoundedOrder Y] → BoundedLatticeHom X Y → (↧X ⟶ ↧Y)
Typecheck a BoundedLatticeHom as a morphism in BddLat.
def BddLat.Hom.Simps.hom E1 #
(X Y : BddLat) → X.Hom Y → BoundedLatticeHom ↑X.toLat ↑Y.toLat
Use the ConcreteCategory.hom projection for @[simps] lemmas.
theorem BddLat.hom_id E0 #
∀ {X : Lat}, Lat.Hom.hom (CategoryTheory.CategoryStruct.id X) = LatticeHom.id ↑X
theorem BddLat.id_apply E0 #
∀ (X : Lat) (x : ↑X), (CategoryTheory.ConcreteCategory.hom (CategoryTheory.CategoryStruct.id X)) x = x
theorem BddLat.hom_comp E0 #
∀ {X Y Z : Lat} (f : X ⟶ Y) (g : Y ⟶ Z),
Lat.Hom.hom (CategoryTheory.CategoryStruct.comp f g) = (Lat.Hom.hom g).comp (Lat.Hom.hom f)
theorem BddLat.comp_apply E0 #
∀ {X Y Z : Lat} (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 BddLat.ext E1 #
∀ {X Y : BddLat} {f g : X ⟶ Y},
(∀ (x : ↑X.toLat), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x) → f = g
theorem BddLat.ext_iff E0 #
∀ {X Y : BddLat} {f g : X ⟶ Y},
f = g ↔ ∀ (x : ↑X.toLat), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x
theorem BddLat.hom_ext E1 #
∀ {X Y : BddLat} {f g : X ⟶ Y}, BddLat.Hom.hom f = BddLat.Hom.hom g → f = g
theorem BddLat.hom_ext_iff E0 #
∀ {X Y : BddLat} {f g : X ⟶ Y}, f = g ↔ BddLat.Hom.hom f = BddLat.Hom.hom g
instance BddLat.hasForgetToBddOrd E0 #
CategoryTheory.HasForget₂ BddLat BddOrd
instance BddLat.hasForgetToLat E0 #
CategoryTheory.HasForget₂ BddLat Lat
instance BddLat.hasForgetToSemilatSup E0 #
CategoryTheory.HasForget₂ BddLat SemilatSupCat
instance BddLat.hasForgetToSemilatInf E0 #
CategoryTheory.HasForget₂ BddLat SemilatInfCat
theorem BddLat.coe_forget_to_bddOrd E0 #
∀ (X : BddLat), ↑((CategoryTheory.forget₂ BddLat BddOrd).obj X).toPartOrd = ↑X.toLat
theorem BddLat.coe_forget_to_lat E0 #
∀ (X : BddLat), ↑((CategoryTheory.forget₂ BddLat Lat).obj X) = ↑X.toLat
theorem BddLat.coe_forget_to_semilatSup E0 #
∀ (X : BddLat), ((CategoryTheory.forget₂ BddLat SemilatSupCat).obj X).X = ↑X.toLat
theorem BddLat.coe_forget_to_semilatInf E0 #
∀ (X : BddLat), ((CategoryTheory.forget₂ BddLat SemilatInfCat).obj X).X = ↑X.toLat
theorem BddLat.forget_lat_partOrd_eq_forget_bddOrd_partOrd E1 #
(CategoryTheory.forget₂ BddLat Lat).comp (CategoryTheory.forget₂ Lat PartOrd) =
(CategoryTheory.forget₂ BddLat BddOrd).comp (CategoryTheory.forget₂ BddOrd PartOrd)
theorem BddLat.forget_semilatSup_partOrd_eq_forget_bddOrd_partOrd E1 #
(CategoryTheory.forget₂ BddLat SemilatSupCat).comp (CategoryTheory.forget₂ SemilatSupCat PartOrd) =
(CategoryTheory.forget₂ BddLat BddOrd).comp (CategoryTheory.forget₂ BddOrd PartOrd)
theorem BddLat.forget_semilatInf_partOrd_eq_forget_bddOrd_partOrd E1 #
(CategoryTheory.forget₂ BddLat SemilatInfCat).comp (CategoryTheory.forget₂ SemilatInfCat PartOrd) =
(CategoryTheory.forget₂ BddLat BddOrd).comp (CategoryTheory.forget₂ BddOrd PartOrd)
def BddLat.Iso.mk E1 #
{α β : BddLat} → ↑α.toLat ≃o ↑β.toLat → (α ≅ β)
Constructs an equivalence between bounded lattices from an order isomorphism between them.
theorem BddLat.Iso.mk_hom E0 #
∀ {α β : BddLat} (e : ↑α.toLat ≃o ↑β.toLat),
(BddLat.Iso.mk e).hom =
BddLat.ofHom
(have __src := { toFun := ⇑e, map_sup' := ⋯, map_inf' := ⋯ };
{ toFun := ⇑e, map_sup' := ⋯, map_inf' := ⋯, map_top' := ⋯, map_bot' := ⋯ })
theorem BddLat.Iso.mk_inv E0 #
∀ {α β : BddLat} (e : ↑α.toLat ≃o ↑β.toLat),
(BddLat.Iso.mk e).inv =
BddLat.ofHom
(have __src := { toFun := ⇑e.symm, map_sup' := ⋯, map_inf' := ⋯ };
{ toFun := ⇑e.symm, map_sup' := ⋯, map_inf' := ⋯, map_top' := ⋯, map_bot' := ⋯ })
def BddLat.dual E1 #
CategoryTheory.Functor BddLat BddLat
OrderDual as a functor.
theorem BddLat.dual_map E0 #
∀ {X Y : BddLat} (f : X ⟶ Y), BddLat.dual.map f = BddLat.ofHom (BoundedLatticeHom.dual (BddLat.Hom.hom f))
def BddLat.dualEquiv E1 #
BddLat ≌ BddLat
The equivalence between BddLat and itself induced by OrderDual both ways.
theorem BddLat.dualEquiv_inverse E0 #
BddLat.dualEquiv.inverse = BddLat.dual
theorem BddLat.dualEquiv_functor E0 #
BddLat.dualEquiv.functor = BddLat.dual
theorem bddLat_dual_comp_forget_to_bddOrd E1 #
BddLat.dual.comp (CategoryTheory.forget₂ BddLat BddOrd) = (CategoryTheory.forget₂ BddLat BddOrd).comp BddOrd.dual
theorem bddLat_dual_comp_forget_to_lat E1 #
BddLat.dual.comp (CategoryTheory.forget₂ BddLat Lat) = (CategoryTheory.forget₂ BddLat Lat).comp Lat.dual
theorem bddLat_dual_comp_forget_to_semilatSupCat E1 #
BddLat.dual.comp (CategoryTheory.forget₂ BddLat SemilatSupCat) =
(CategoryTheory.forget₂ BddLat SemilatInfCat).comp SemilatInfCat.dual
theorem bddLat_dual_comp_forget_to_semilatInfCat E1 #
BddLat.dual.comp (CategoryTheory.forget₂ BddLat SemilatInfCat) =
(CategoryTheory.forget₂ BddLat SemilatSupCat).comp SemilatSupCat.dual
def latToBddLat E1 #
CategoryTheory.Functor Lat BddLat
The functor that adds a bottom and a top element to a lattice. This is the free functor.
def latToBddLatForgetAdjunction E1 #
latToBddLat ⊣ CategoryTheory.forget₂ BddLat Lat
latToBddLat is left adjoint to the forgetful functor, meaning it is the free
functor from Lat to BddLat.
def latToBddLatCompDualIsoDualCompLatToBddLat E1 #
latToBddLat.comp BddLat.dual ≅ Lat.dual.comp latToBddLat
latToBddLat and OrderDual commute.