Documentation

Mathlib.Order.LatticeIntervals

Intervals in Lattices #

In this file, we provide instances of lattice structures on intervals within lattices. Some of them depend on the order of the endpoints of the interval, and thus are not made global instances. These are probably not all of the lattice instances that could be placed on these intervals, but more can be added easily along the same lines when needed.

Main definitions #

In the following, * can represent either c, o, or i.

instance Set.Ico.semilatticeInf {α : Type u_1} [SemilatticeInf α] {a : α} {b : α} :
Equations
@[reducible]
def Set.Ico.orderBot {α : Type u_1} [PartialOrder α] {a : α} {b : α} (h : a < b) :
OrderBot (Set.Ico a b)

Ico a b has a bottom element whenever a < b.

Equations
Instances For
    instance Set.Iio.semilatticeInf {α : Type u_1} [SemilatticeInf α] {a : α} :
    Equations
    instance Set.Ioc.semilatticeSup {α : Type u_1} [SemilatticeSup α] {a : α} {b : α} :
    Equations
    @[reducible]
    def Set.Ioc.orderTop {α : Type u_1} [PartialOrder α] {a : α} {b : α} (h : a < b) :
    OrderTop (Set.Ioc a b)

    Ioc a b has a top element whenever a < b.

    Equations
    Instances For
      instance Set.Ioi.semilatticeSup {α : Type u_1} [SemilatticeSup α] {a : α} :
      Equations
      instance Set.Iic.semilatticeInf {α : Type u_1} [SemilatticeInf α] {a : α} :
      Equations
      instance Set.Iic.semilatticeSup {α : Type u_1} [SemilatticeSup α] {a : α} :
      Equations
      Equations
      • One or more equations did not get rendered due to their size.
      instance Set.Iic.orderTop {α : Type u_1} [Preorder α] {a : α} :
      Equations
      @[simp]
      theorem Set.Iic.coe_top {α : Type u_1} [Preorder α] {a : α} :
      = a
      instance Set.Iic.orderBot {α : Type u_1} [Preorder α] [OrderBot α] {a : α} :
      Equations
      @[simp]
      theorem Set.Iic.coe_bot {α : Type u_1} [Preorder α] [OrderBot α] {a : α} :
      =
      Equations
      • Set.Iic.instBoundedOrderElemIicLeToLEMemSetInstMembershipSet = let src := Set.Iic.orderTop; let src_1 := Set.Iic.orderBot; BoundedOrder.mk
      instance Set.Ici.semilatticeInf {α : Type u_1} [SemilatticeInf α] {a : α} :
      Equations
      instance Set.Ici.semilatticeSup {α : Type u_1} [SemilatticeSup α] {a : α} :
      Equations
      instance Set.Ici.lattice {α : Type u_1} [Lattice α] {a : α} :
      Equations
      • One or more equations did not get rendered due to their size.
      instance Set.Ici.distribLattice {α : Type u_1} [DistribLattice α] {a : α} :
      Equations
      instance Set.Ici.orderBot {α : Type u_1} [Preorder α] {a : α} :
      Equations
      @[simp]
      theorem Set.Ici.coe_bot {α : Type u_1} [Preorder α] {a : α} :
      = a
      instance Set.Ici.orderTop {α : Type u_1} [Preorder α] [OrderTop α] {a : α} :
      Equations
      @[simp]
      theorem Set.Ici.coe_top {α : Type u_1} [Preorder α] [OrderTop α] {a : α} :
      =
      instance Set.Ici.boundedOrder {α : Type u_1} [Preorder α] [OrderTop α] {a : α} :
      Equations
      • Set.Ici.boundedOrder = let src := Set.Ici.orderTop; let src_1 := Set.Ici.orderBot; BoundedOrder.mk
      instance Set.Icc.semilatticeInf {α : Type u_1} [SemilatticeInf α] {a : α} {b : α} :
      Equations
      instance Set.Icc.semilatticeSup {α : Type u_1} [SemilatticeSup α] {a : α} {b : α} :
      Equations
      instance Set.Icc.lattice {α : Type u_1} [Lattice α] {a : α} {b : α} :
      Lattice (Set.Icc a b)
      Equations
      • One or more equations did not get rendered due to their size.
      @[reducible]
      def Set.Icc.orderBot {α : Type u_1} [Preorder α] {a : α} {b : α} (h : a b) :
      OrderBot (Set.Icc a b)

      Icc a b has a bottom element whenever a ≤ b.

      Equations
      Instances For
        @[reducible]
        def Set.Icc.orderTop {α : Type u_1} [Preorder α] {a : α} {b : α} (h : a b) :
        OrderTop (Set.Icc a b)

        Icc a b has a top element whenever a ≤ b.

        Equations
        Instances For
          @[reducible]
          def Set.Icc.boundedOrder {α : Type u_1} [Preorder α] {a : α} {b : α} (h : a b) :

          Icc a b is a BoundedOrder whenever a ≤ b.

          Equations
          Instances For