mathlib documentation

order.lattice_intervals

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]
def set.Ico.semilattice_inf {α : Type u_1} {a b : α} [semilattice_inf α] :
Equations
def set.Ico.order_bot {α : Type u_1} {a b : α} [partial_order α] (h : a < b) :

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

Equations
@[instance]
def set.Iio.semilattice_inf {α : Type u_1} [semilattice_inf α] {a : α} :
Equations
@[instance]
def set.Ioc.semilattice_sup {α : Type u_1} {a b : α} [semilattice_sup α] :
Equations
def set.Ioc.order_top {α : Type u_1} {a b : α} [partial_order α] (h : a < b) :

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

Equations
@[instance]
Equations
@[instance]
def set.Iic.semilattice_inf {α : Type u_1} {a : α} [semilattice_inf α] :
Equations
@[instance]
def set.Iic.semilattice_sup {α : Type u_1} {a : α} [semilattice_sup α] :
Equations
@[instance]
def set.Iic.order_top {α : Type u_1} {a : α} [partial_order α] :
Equations
@[simp]
theorem set.Iic.coe_top {α : Type u_1} [partial_order α] {a : α} :
@[instance]
def set.Iic.order_bot {α : Type u_1} {a : α} [order_bot α] :
Equations
@[simp]
theorem set.Iic.coe_bot {α : Type u_1} [order_bot α] {a : α} :
@[instance]
def set.Iic.no_bot_order {α : Type u_1} [partial_order α] [no_bot_order α] {a : α} :
@[instance]
def set.Ici.semilattice_inf {α : Type u_1} {a : α} [semilattice_inf α] :
Equations
@[instance]
def set.Ici.semilattice_sup {α : Type u_1} {a : α} [semilattice_sup α] :
Equations
@[instance]
def set.Ici.order_bot {α : Type u_1} {a : α} [partial_order α] :
Equations
@[simp]
theorem set.Ici.coe_bot {α : Type u_1} [partial_order α] {a : α} :
@[instance]
def set.Ici.order_top {α : Type u_1} {a : α} [order_top α] :
Equations
@[simp]
theorem set.Ici.coe_top {α : Type u_1} [order_top α] {a : α} :
@[instance]
def set.Ici.no_top_order {α : Type u_1} [partial_order α] [no_top_order α] {a : α} :
@[instance]
def set.Icc.semilattice_inf {α : Type u_1} [semilattice_inf α] {a b : α} :
Equations
@[instance]
def set.Icc.semilattice_sup {α : Type u_1} [semilattice_sup α] {a b : α} :
Equations
def set.Icc.order_bot {α : Type u_1} [partial_order α] {a b : α} (h : a b) :

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

Equations
def set.Icc.order_top {α : Type u_1} [partial_order α] {a b : α} (h : a b) :

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

Equations