Category of partial orders #
This defines PartOrd, the category of partial orders with monotone maps.
The category of partially ordered types.
Equations
Instances For
Construct a bundled PartOrd from the underlying type and typeclass.
Equations
Instances For
Equations
- PartOrd.instInhabited = { default := PartOrd.of PUnit.{?u.3 + 1} }
Equations
- α.instPartialOrderα = α.str
Constructs an equivalence between partial orders from an order isomorphism between them.
Equations
- PartOrd.Iso.mk e = { hom := ↑e, inv := ↑e.symm, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
OrderDual as a functor.
Equations
- PartOrd.dual = { obj := fun (X : PartOrd) => PartOrd.of (↑X)ᵒᵈ, map := fun {X Y : PartOrd} => ⇑OrderHom.dual, map_id := PartOrd.dual.proof_1, map_comp := @PartOrd.dual.proof_2 }
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_coe
(X : Preord)
(a : ↑((Preord.dual.comp preordToPartOrd).obj X))
:
theorem
preordToPartOrdCompToDualIsoToDualCompPreordToPartOrd_hom_app_coe
(X : Preord)
(a : ↑((preordToPartOrd.comp PartOrd.dual).obj X))
: