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)
.
Equations
- Lat.instCoeSortLatType = CategoryTheory.Bundled.coeSort
Equations
- Lat.instInhabitedLat = { default := Lat.of Bool }
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
@[simp]
theorem
Lat.Iso.mk_hom_toSupHom_toFun
{α : Lat}
{β : Lat}
(e : ↑α ≃o ↑β)
(a : ↑α)
:
(Lat.Iso.mk e).hom.toSupHom a = e a
@[simp]
theorem
Lat.Iso.mk_inv_toSupHom_toFun
{α : Lat}
{β : Lat}
(e : ↑α ≃o ↑β)
(a : ↑β)
:
(Lat.Iso.mk e).inv.toSupHom a = (OrderIso.symm e) a
@[simp]
OrderDual
as a functor.
Equations
- Lat.dual = { toPrefunctor := { obj := fun (X : Lat) => Lat.of (↑X)ᵒᵈ, map := fun {X Y : Lat} => ⇑LatticeHom.dual }, map_id := Lat.dual.proof_1, map_comp := @Lat.dual.proof_2 }