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.
Equations
- BddLat.instCoeSortType = { coe := fun (X : BddLat) => ↑X.toLat }
Equations
- X.instLatticeαToLat = X.toLat.str
Construct a bundled BddLat
from Lattice
+ BoundedOrder
.
Equations
- BddLat.of α = BddLat.mk { α := α, str := inferInstance }
Instances For
Equations
- BddLat.instInhabited = { default := BddLat.of PUnit.{?u.3 + 1} }
Equations
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.
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.
Equations
- One or more equations did not get rendered due to their size.
@[simp]
@[simp]
@[simp]
@[simp]
OrderDual
as a functor.
Equations
- BddLat.dual = { obj := fun (X : BddLat) => BddLat.of (↑X.toLat)ᵒᵈ, map := fun {x x_1 : BddLat} => ⇑BoundedLatticeHom.dual, map_id := BddLat.dual.proof_1, map_comp := @BddLat.dual.proof_2 }
Instances For
@[simp]
The functor that adds a bottom and a top element to a lattice. This is the free functor.
Equations
- latToBddLat = { obj := fun (X : Lat) => BddLat.of (WithTop (WithBot ↑X)), map := fun {X Y : Lat} => LatticeHom.withTopWithBot, map_id := latToBddLat.proof_1, map_comp := @latToBddLat.proof_2 }
Instances For
latToBddLat
is left adjoint to the forgetful functor, meaning it is the free
functor from Lat
to BddLat
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
latToBddLat
and OrderDual
commute.