@[implicit_reducible]
@[implicit_reducible]
instance
Preord.instConcreteCategoryOrderHomCarrier :
CategoryTheory.ConcreteCategory Preord fun (x1 x2 : Preord) => βx1 βo βx2
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Instances For
The results below duplicate the ConcreteCategory simp lemmas, but we can keep them for dsimp.
@[simp]
@[simp]
@[simp]
theorem
Preord.ext
{X Y : Preord}
{f g : X βΆ Y}
(w : β (x : βX), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x)
:
f = g
theorem
Preord.ext_iff
{X Y : Preord}
{f g : X βΆ Y}
:
f = g β β (x : βX), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x
@[simp]
@[simp]
theorem
Preord.hom_comp
{X Y Z : Preord}
(f : X βΆ Y)
(g : Y βΆ Z)
:
Hom.hom (CategoryTheory.CategoryStruct.comp f g) = (Hom.hom g).comp (Hom.hom f)
@[simp]
@[simp]
@[simp]
theorem
Preord.ofHom_id
{X : Type u}
[Preorder X]
:
ofHom OrderHom.id = CategoryTheory.CategoryStruct.id { carrier := X, str := instβ }
@[simp]
theorem
Preord.ofHom_apply
{X Y : Type u}
[Preorder X]
[Preorder Y]
(f : X βo Y)
(x : X)
:
(CategoryTheory.ConcreteCategory.hom (ofHom f)) x = f x
theorem
Preord.inv_hom_apply
{X Y : Preord}
(e : X β
Y)
(x : βX)
:
(CategoryTheory.ConcreteCategory.hom e.inv) ((CategoryTheory.ConcreteCategory.hom e.hom) x) = x
theorem
Preord.hom_inv_apply
{X Y : Preord}
(e : X β
Y)
(s : βY)
:
(CategoryTheory.ConcreteCategory.hom e.hom) ((CategoryTheory.ConcreteCategory.hom e.inv) s) = s
Constructs an equivalence between preorders from an order isomorphism between them.
Instances For
@[simp]
@[simp]
OrderDual as a functor.
Instances For
@[simp]
theorem
Preord.dual_map
{Xβ Yβ : Preord}
(f : Xβ βΆ Yβ)
:
dual.map f = ofHom (OrderHom.dual (Hom.hom f))
The embedding of Preord into Cat.
Instances For
@[simp]
@[simp]
theorem
preordToCat_map
{Xβ Yβ : Preord}
(f : Xβ βΆ Yβ)
:
preordToCat.map f = β―.functor.toCatHom