Documentation

Mathlib.Order.Category.NonemptyFinLinOrd

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 .

class NonemptyFiniteLinearOrder (α : Type u_1) extends Fintype , LinearOrder :
Type u_1

A typeclass for nonempty finite linear orders.

  • elems : Finset α
  • complete : ∀ (x : α), x Fintype.elems
  • le : ααProp
  • lt : ααProp
  • le_refl : ∀ (a : α), a a
  • le_trans : ∀ (a b c : α), a bb ca c
  • lt_iff_le_not_le : ∀ (a b : α), a < b a b ¬b a
  • le_antisymm : ∀ (a b : α), a bb aa = b
  • min : ααα
  • max : ααα
  • compare : ααOrdering
  • le_total : ∀ (a b : α), a b b a
  • decidableLE : DecidableRel fun (x x_1 : α) => x x_1
  • decidableEq : DecidableEq α
  • decidableLT : DecidableRel fun (x x_1 : α) => x < x_1
  • min_def : ∀ (a b : α), min a b = if a b then a else b
  • max_def : ∀ (a b : α), max a b = if a b then b else a
  • compare_eq_compareOfLessAndEq : ∀ (a b : α), compare a b = compareOfLessAndEq a b
  • Nonempty : Nonempty α
Instances
    Equations
    Equations
    def NonemptyFinLinOrd :
    Type (u_1 + 1)

    The category of nonempty finite linear orders.

    Equations
    Instances For

      Construct a bundled NonemptyFinLinOrd from the underlying type and typeclass.

      Equations
      Instances For
        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]
        def NonemptyFinLinOrd.Iso.mk {α : NonemptyFinLinOrd} {β : NonemptyFinLinOrd} (e : α ≃o β) :
        α β

        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

          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
            theorem NonemptyFinLinOrd.forget_map_apply {A : NonemptyFinLinOrd} {B : NonemptyFinLinOrd} (f : A B) (a : A) :
            (CategoryTheory.forget NonemptyFinLinOrd).toPrefunctor.map f a = f.toFun a