Category of partial orders, with order embeddings as morphisms #
This defines PartOrdEmb, the category of partial orders with order embeddings
as morphisms.
The category of partial orders.
- carrier : Type u_1
The underlying partially ordered type.
- str : PartialOrder ↑self
Instances For
Equations
@[reducible, inline]
Construct a bundled PartOrdEmb from the underlying type and typeclass.
Equations
- PartOrdEmb.of X = { carrier := X, str := inst✝ }
Instances For
Equations
- One or more equations did not get rendered due to their size.
instance
PartOrdEmb.instConcreteCategoryOrderEmbeddingCarrier :
CategoryTheory.ConcreteCategory PartOrdEmb fun (x1 x2 : PartOrdEmb) => ↑x1 ↪o ↑x2
Equations
- One or more equations did not get rendered due to their size.
@[reducible, inline]
Turn a morphism in PartOrdEmb back into a OrderEmbedding.
Equations
Instances For
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Equations
- PartOrdEmb.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
PartOrdEmb.ext
{X Y : PartOrdEmb}
{f g : X ⟶ Y}
(w : ∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x)
:
theorem
PartOrdEmb.ext_iff
{X Y : PartOrdEmb}
{f g : X ⟶ Y}
:
f = g ↔ ∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x
@[simp]
@[simp]
@[simp]
@[simp]
theorem
PartOrdEmb.ofHom_comp
{X Y Z : Type u}
[PartialOrder X]
[PartialOrder Y]
[PartialOrder Z]
(f : X ↪o Y)
(g : Y ↪o Z)
:
theorem
PartOrdEmb.ofHom_apply
{X Y : Type u}
[PartialOrder X]
[PartialOrder Y]
(f : X ↪o Y)
(x : X)
:
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
- PartOrdEmb.Iso.mk e = { hom := PartOrdEmb.ofHom (RelIso.toRelEmbedding e), inv := PartOrdEmb.ofHom (RelIso.toRelEmbedding e.symm), hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
@[simp]
@[simp]
OrderDual as a functor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
The equivalence between PartOrdEmb and itself induced by OrderDual both ways.
Equations
- One or more equations did not get rendered due to their size.