The category of lattices #
This defines Lat
, the category of lattices.
Note that Lat
doesn't correspond to the literature definition of [Lat
]
(https://ncatlab.org/nlab/show/Lat) as we don't require bottom or top elements. Instead, Lat
corresponds to BddLat
.
TODO #
The free functor from Lat
to BddLat
is X → WithTop (WithBot X)
.
instance
Lat.instConcreteCategoryLatticeHomCarrier :
CategoryTheory.ConcreteCategory Lat fun (x1 x2 : Lat) => LatticeHom ↑x1 ↑x2
Equations
The results below duplicate the ConcreteCategory
simp lemmas, but we can keep them for dsimp
.
@[simp]
@[simp]
@[simp]
theorem
Lat.ext
{X Y : Lat}
{f g : X ⟶ Y}
(w : ∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x)
:
theorem
Lat.ext_iff
{X Y : Lat}
{f g : X ⟶ Y}
:
f = g ↔ ∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x
@[simp]
@[simp]
@[simp]
@[simp]
theorem
Lat.ofHom_comp
{X Y Z : Type u}
[Lattice X]
[Lattice Y]
[Lattice Z]
(f : LatticeHom X Y)
(g : LatticeHom Y Z)
:
Constructs an isomorphism of lattices from an order isomorphism between them.
Equations
Instances For
@[simp]