@[implicit_reducible]
@[implicit_reducible]
instance
LinOrd.instConcreteCategoryOrderHomCarrier :
CategoryTheory.ConcreteCategory LinOrd fun (x1 x2 : LinOrd) => βx1 βo βx2
@[reducible, inline]
Typecheck a OrderHom as a morphism in LinOrd.
Instances For
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
LinOrd.ext
{X Y : LinOrd}
{f g : X βΆ Y}
(w : β (x : βX), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x)
:
f = g
theorem
LinOrd.ext_iff
{X Y : LinOrd}
{f g : X βΆ Y}
:
f = g β β (x : βX), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x
@[simp]
@[simp]
theorem
LinOrd.hom_comp
{X Y Z : LinOrd}
(f : X βΆ Y)
(g : Y βΆ Z)
:
Hom.hom (CategoryTheory.CategoryStruct.comp f g) = (Hom.hom g).comp (Hom.hom f)
@[simp]
@[simp]
@[simp]
theorem
LinOrd.ofHom_id
{X : Type u}
[LinearOrder X]
:
ofHom OrderHom.id = CategoryTheory.CategoryStruct.id { carrier := X, str := instβ }
@[simp]
theorem
LinOrd.ofHom_comp
{X Y Z : Type u}
[LinearOrder X]
[LinearOrder Y]
[LinearOrder Z]
(f : X βo Y)
(g : Y βo Z)
:
ofHom (g.comp f) = CategoryTheory.CategoryStruct.comp (ofHom f) (ofHom g)
theorem
LinOrd.ofHom_apply
{X Y : Type u}
[LinearOrder X]
[LinearOrder Y]
(f : X βo Y)
(x : X)
:
(CategoryTheory.ConcreteCategory.hom (ofHom f)) x = f x
theorem
LinOrd.inv_hom_apply
{X Y : LinOrd}
(e : X β
Y)
(x : βX)
:
(CategoryTheory.ConcreteCategory.hom e.inv) ((CategoryTheory.ConcreteCategory.hom e.hom) x) = x
theorem
LinOrd.hom_inv_apply
{X Y : LinOrd}
(e : X β
Y)
(s : βY)
:
(CategoryTheory.ConcreteCategory.hom e.hom) ((CategoryTheory.ConcreteCategory.hom e.inv) s) = s
@[implicit_reducible]
Constructs an equivalence between linear orders from an order isomorphism between them.
Instances For
@[simp]
@[simp]
OrderDual as a functor.
Instances For
@[simp]
theorem
LinOrd.dual_map
{Xβ Yβ : LinOrd}
(f : Xβ βΆ Yβ)
:
dual.map f = ofHom (OrderHom.dual (Hom.hom f))