@[instance_reducible]
Equations
- Preord.instCoeSortType = { coe := Preord.carrier }
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
@[instance_reducible]
instance Preord.instConcreteCategoryOrderHomCarrier :
CategoryTheory.ConcreteCategory Preord fun (x1 x2 : Preord) => ↑x1 →o ↑x2
Equations
- One or more equations did not get rendered due to their size.
Use the ConcreteCategory.hom projection for @[simps] lemmas.
Equations
- Preord.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.
theorem Preord.ext {X Y : Preord} {f g : X ⟶ Y} (w : ∀ (x : ↑X), (CategoryTheory.ConcreteCategory.hom f) x = (CategoryTheory.ConcreteCategory.hom g) x) :
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]
@[instance_reducible]
Equations
- Preord.instInhabited = { default := ↧PUnit.{?u.1 + 1} }
Constructs an equivalence between preorders from an order isomorphism between them.
Equations
- Preord.Iso.mk e = { hom := Preord.ofHom ↑e, inv := Preord.ofHom ↑e.symm, hom_inv_id := ⋯, inv_hom_id := ⋯ }
Instances For
OrderDual as a functor.
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
The embedding of Preord into Cat.
Equations
- preordToCat = { obj := fun (X : Preord) => ↧↑X, map := fun {X Y : Preord} (f : X ⟶ Y) => ⋯.functor.toCatHom, map_id := preordToCat._proof_1, map_comp := @preordToCat._proof_2 }
Instances For
@[simp]