Category of partial orders #
This defines PartOrd, the category of partial orders with monotone maps.
The category of partial orders.
- of :: (
- carrier : Type u_1
The underlying partially ordered type.
- str : PartialOrder ↑self
- )
Instances For
@[implicit_reducible]
@[implicit_reducible]
instance
PartOrd.instConcreteCategoryOrderHomCarrier :
CategoryTheory.ConcreteCategory PartOrd fun (x1 x2 : PartOrd) => ↑x1 →o ↑x2
@[reducible, inline]
Typecheck a OrderHom as a morphism in PartOrd.
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)
:
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)
:
@[implicit_reducible]
Constructs an equivalence between partial orders from an order isomorphism between them.
Instances For
@[simp]
Antisymmetrization as a functor. It is the free functor.
Instances For
preordToPartOrd is left adjoint to the forgetful functor, meaning it is the free
functor from Preord to PartOrd.
Instances For
PreordToPartOrd and OrderDual commute.
Instances For
@[simp]
theorem
preordToPartOrdCompToDualIsoToDualCompPreordToPartOrd_inv_app_hom_coe'
(X : Preord)
(a : ↑(preordToPartOrd.obj (Preord.dual.obj X)))
: