Nonempty finite linear orders #
This defines NonemptyFinLinOrd
, the category of nonempty finite linear
orders with monotone maps. This is the index category for simplicial objects.
Note: NonemptyFinLinOrd
is not a subcategory of FinBddDistLat
because its morphisms do not
preserve ⊥
and ⊤
.
A typeclass for nonempty finite linear orders.
- elems : Finset α
- complete : ∀ (x : α), x ∈ Fintype.elems
- le : α → α → Prop
- lt : α → α → Prop
- le_refl : ∀ (a : α), a ≤ a
- min : α → α → α
- max : α → α → α
- compare : α → α → Ordering
- decidableLE : DecidableRel fun (x x_1 : α) => x ≤ x_1
- decidableEq : DecidableEq α
- decidableLT : DecidableRel fun (x x_1 : α) => x < x_1
- compare_eq_compareOfLessAndEq : ∀ (a b : α), compare a b = compareOfLessAndEq a b
- Nonempty : Nonempty α
Instances
Equations
- PUnit.nonemptyFiniteLinearOrder = NonemptyFiniteLinearOrder.mk
Equations
- Fin.nonemptyFiniteLinearOrder n = NonemptyFiniteLinearOrder.mk
Equations
- ULift.nonemptyFiniteLinearOrder α = let src := LinearOrder.lift' ⇑Equiv.ulift (_ : Function.Injective ⇑Equiv.ulift); NonemptyFiniteLinearOrder.mk
Equations
- instNonemptyFiniteLinearOrderOrderDual α = let src := OrderDual.fintype α; NonemptyFiniteLinearOrder.mk
The category of nonempty finite linear orders.
Instances For
instance
NonemptyFinLinOrd.instConcreteCategoryNonemptyFinLinOrdInstNonemptyFinLinOrdLargeCategory :
Equations
- One or more equations did not get rendered due to their size.
Equations
- NonemptyFinLinOrd.instCoeSortNonemptyFinLinOrdType = CategoryTheory.Bundled.coeSort
@[simp]
theorem
NonemptyFinLinOrd.coe_of
(α : Type u_1)
[NonemptyFiniteLinearOrder α]
:
↑(NonemptyFinLinOrd.of α) = α
Equations
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
@[simp]
theorem
NonemptyFinLinOrd.Iso.mk_hom
{α : NonemptyFinLinOrd}
{β : NonemptyFinLinOrd}
(e : ↑α ≃o ↑β)
:
(NonemptyFinLinOrd.Iso.mk e).hom = ↑e
@[simp]
theorem
NonemptyFinLinOrd.Iso.mk_inv
{α : NonemptyFinLinOrd}
{β : NonemptyFinLinOrd}
(e : ↑α ≃o ↑β)
:
(NonemptyFinLinOrd.Iso.mk e).inv = ↑(OrderIso.symm e)
Constructs an equivalence between nonempty finite linear orders from an order isomorphism between them.
Equations
Instances For
@[simp]
theorem
NonemptyFinLinOrd.dual_map :
∀ {X Y : NonemptyFinLinOrd} (a : ↑X →o ↑Y), NonemptyFinLinOrd.dual.toPrefunctor.map a = OrderHom.dual a
@[simp]
theorem
NonemptyFinLinOrd.dual_obj
(X : NonemptyFinLinOrd)
:
NonemptyFinLinOrd.dual.toPrefunctor.obj X = NonemptyFinLinOrd.of (↑X)ᵒᵈ
OrderDual
as a functor.
Equations
- NonemptyFinLinOrd.dual = CategoryTheory.Functor.mk { obj := fun (X : NonemptyFinLinOrd) => NonemptyFinLinOrd.of (↑X)ᵒᵈ, map := fun {X Y : NonemptyFinLinOrd} => ⇑OrderHom.dual }
Instances For
@[simp]
@[simp]
The equivalence between NonemptyFinLinOrd
and itself induced by OrderDual
both ways.
Equations
- One or more equations did not get rendered due to their size.
Instances For
instance
NonemptyFinLinOrd.instFunLikeHomNonemptyFinLinOrdToQuiverToCategoryStructInstNonemptyFinLinOrdLargeCategoryαNonemptyFiniteLinearOrder
{A : NonemptyFinLinOrd}
{B : NonemptyFinLinOrd}
:
Equations
- One or more equations did not get rendered due to their size.
instance
NonemptyFinLinOrd.instOrderHomClassHomNonemptyFinLinOrdToQuiverToCategoryStructInstNonemptyFinLinOrdLargeCategoryαNonemptyFiniteLinearOrderToLEToPreorderToPartialOrderToSemilatticeInfToLatticeInstDistribLatticeToLinearOrderInstNonemptyFiniteLinearOrderαInstFunLikeHomNonemptyFinLinOrdToQuiverToCategoryStructInstNonemptyFinLinOrdLargeCategoryαNonemptyFiniteLinearOrder
{A : NonemptyFinLinOrd}
{B : NonemptyFinLinOrd}
:
OrderHomClass (A ⟶ B) ↑A ↑B
Equations
- (_ : OrderHomClass (A ⟶ B) ↑A ↑B) = (_ : RelHomClass (A ⟶ B) (fun (x x_1 : ↑A) => x ≤ x_1) fun (x x_1 : ↑B) => x ≤ x_1)
theorem
NonemptyFinLinOrd.mono_iff_injective
{A : NonemptyFinLinOrd}
{B : NonemptyFinLinOrd}
(f : A ⟶ B)
:
theorem
NonemptyFinLinOrd.forget_map_apply
{A : NonemptyFinLinOrd}
{B : NonemptyFinLinOrd}
(f : A ⟶ B)
(a : ↑A)
:
(CategoryTheory.forget NonemptyFinLinOrd).toPrefunctor.map f a = f.toFun a
theorem
NonemptyFinLinOrd.epi_iff_surjective
{A : NonemptyFinLinOrd}
{B : NonemptyFinLinOrd}
(f : A ⟶ B)
:
The forgetful functor NonemptyFinLinOrd ⥤ FinPartOrd
and order_dual
commute.
Equations
- One or more equations did not get rendered due to their size.