Category of partial orders #
This defines PartOrd
, the category of partial orders with monotone maps.
The category of partial orders.
- carrier : Type u_1
The underlying partially ordered type.
- str : PartialOrder ↑self
Instances For
Equations
- PartOrd.instCoeSortType = { coe := PartOrd.carrier }
@[reducible, inline]
Construct a bundled PartOrd
from the underlying type and typeclass.
Equations
- PartOrd.of X = PartOrd.mk X
Instances For
instance
PartOrd.instConcreteCategoryOrderHomCarrier :
CategoryTheory.ConcreteCategory PartOrd fun (x1 x2 : PartOrd) => ↑x1 →o ↑x2
Equations
- One or more equations did not get rendered due to their size.
Use the ConcreteCategory.hom
projection for @[simps]
lemmas.
Equations
- PartOrd.Hom.Simps.hom X Y f = f.hom
Instances For
The results below duplicate the ConcreteCategory
simp lemmas, but we can keep them for dsimp
.
@[simp]
@[simp]
@[simp]
theorem
PartOrd.ext
{X Y : PartOrd}
{f g : X ⟶ Y}
(w : ∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x)
:
@[simp]
@[simp]
@[simp]
@[simp]
theorem
PartOrd.ofHom_comp
{X Y Z : Type u}
[PartialOrder X]
[PartialOrder Y]
[PartialOrder Z]
(f : X →o Y)
(g : Y →o Z)
:
Equations
- One or more equations did not get rendered due to their size.
Constructs an equivalence between partial orders from an order isomorphism between them.
Equations
- PartOrd.Iso.mk e = { hom := PartOrd.ofHom ↑e, inv := PartOrd.ofHom ↑e.symm, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
OrderDual
as a functor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
Antisymmetrization
as a functor. It is the free functor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
preordToPartOrd
is left adjoint to the forgetful functor, meaning it is the free
functor from Preord
to PartOrd
.
Equations
- One or more equations did not get rendered due to their size.
Instances For
PreordToPartOrd
and OrderDual
commute.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
theorem
preordToPartOrdCompToDualIsoToDualCompPreordToPartOrd_inv_app_hom_coe
(X : Preord)
(a : ↑((Preord.dual.comp preordToPartOrd).obj X))
: