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
Equations
- PartOrd.instCoeSortType = { coe := PartOrd.carrier }
@[reducible, inline]
Construct a bundled PartOrd from the underlying type and typeclass.
Equations
- PartOrd.of X = { carrier := X, str := inst✝ }
Equations
- One or more equations did not get rendered due to their size.
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
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)
:
theorem
PartOrd.ext_iff
{X Y : PartOrd}
{f g : X ⟶ Y}
:
f = g ↔ ∀ (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 := ⋯ }
OrderDual as a functor.
Equations
- One or more equations did not get rendered due to their size.
@[simp]
Antisymmetrization as a functor. It is the free functor.
Equations
- One or more equations did not get rendered due to their size.
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.
PreordToPartOrd and OrderDual commute.
Equations
- One or more equations did not get rendered due to their size.
@[simp]
theorem
preordToPartOrdCompToDualIsoToDualCompPreordToPartOrd_inv_app_hom_coe'
(X : Preord)
(a : ↑(preordToPartOrd.obj (Preord.dual.obj X)))
: