The category of bounded lattices #
This file defines BddLat, the category of bounded lattices.
In literature, this is sometimes called Lat, the category of lattices, because being a lattice is
understood to entail having a bottom and a top element.
The type of morphisms in BddLat.
- hom' : BoundedLatticeHom ↑X.toLat ↑Y.toLat
The underlying
BoundedLatticeHom.
Instances For
@[implicit_reducible]
@[implicit_reducible]
instance
BddLat.instConcreteCategoryBoundedLatticeHomCarrier :
CategoryTheory.ConcreteCategory BddLat fun (x1 x2 : BddLat) => BoundedLatticeHom ↑x1.toLat ↑x2.toLat
@[reducible, inline]
abbrev
BddLat.ofHom
{X Y : Type u}
[Lattice X]
[BoundedOrder X]
[Lattice Y]
[BoundedOrder Y]
(f : BoundedLatticeHom X Y)
:
Typecheck a BoundedLatticeHom as a morphism in BddLat.
Instances For
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Instances For
@[simp]
@[simp]
theorem
BddLat.hom_comp
{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.ext
{X Y : BddLat}
{f g : X ⟶ Y}
(w : ∀ (x : ↑X.toLat), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x)
:
f = g
theorem
BddLat.ext_iff
{X Y : BddLat}
{f g : X ⟶ Y}
:
f = g ↔ ∀ (x : ↑X.toLat), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[simp]
@[simp]
theorem
BddLat.coe_forget_to_lat
(X : BddLat)
:
↑((CategoryTheory.forget₂ BddLat Lat).obj X) = ↑X.toLat
@[simp]
theorem
BddLat.coe_forget_to_semilatSup
(X : BddLat)
:
((CategoryTheory.forget₂ BddLat SemilatSupCat).obj X).X = ↑X.toLat
@[simp]
theorem
BddLat.coe_forget_to_semilatInf
(X : BddLat)
:
((CategoryTheory.forget₂ BddLat SemilatInfCat).obj X).X = ↑X.toLat
Constructs an equivalence between bounded lattices from an order isomorphism between them.
Instances For
OrderDual as a functor.
Instances For
@[simp]
theorem
BddLat.dual_map
{X✝ Y✝ : BddLat}
(f : X✝ ⟶ Y✝)
:
dual.map f = ofHom (BoundedLatticeHom.dual (Hom.hom f))
The functor that adds a bottom and a top element to a lattice. This is the free functor.
Instances For
latToBddLat is left adjoint to the forgetful functor, meaning it is the free
functor from Lat to BddLat.