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.

@[protected, 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
@[protected, instance]
def set.Iio.semilattice_inf {α : Type u_1} [semilattice_inf α] {a : α} :
Equations
@[protected, 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
@[protected, instance]
Equations
@[protected, instance]
def set.Iic.semilattice_inf {α : Type u_1} {a : α} [semilattice_inf α] :
Equations
@[protected, instance]
def set.Iic.semilattice_sup {α : Type u_1} {a : α} [semilattice_sup α] :
Equations
@[protected, instance]
def set.Iic.order_top {α : Type u_1} {a : α} [preorder α] :
Equations
@[simp]
theorem set.Iic.coe_top {α : Type u_1} [partial_order α] {a : α} :
@[protected, instance]
def set.Iic.order_bot {α : Type u_1} {a : α} [preorder α] [order_bot α] :
Equations
@[simp]
theorem set.Iic.coe_bot {α : Type u_1} [preorder α] [order_bot α] {a : α} :
@[protected, instance]
def set.Iic.no_bot_order {α : Type u_1} [partial_order α] [no_bot_order α] {a : α} :
@[protected, instance]
def set.Iic.bounded_order {α : Type u_1} {a : α} [preorder α] [bounded_order α] :
Equations
@[protected, instance]
def set.Ici.semilattice_inf {α : Type u_1} {a : α} [semilattice_inf α] :
Equations
@[protected, instance]
def set.Ici.semilattice_sup {α : Type u_1} {a : α} [semilattice_sup α] :
Equations
@[protected, instance]
def set.Ici.order_bot {α : Type u_1} {a : α} [preorder α] :
Equations
@[simp]
theorem set.Ici.coe_bot {α : Type u_1} [partial_order α] {a : α} :
@[protected, instance]
def set.Ici.order_top {α : Type u_1} {a : α} [preorder α] [order_top α] :
Equations
@[simp]
theorem set.Ici.coe_top {α : Type u_1} [preorder α] [order_top α] {a : α} :
@[protected, instance]
def set.Ici.no_top_order {α : Type u_1} [partial_order α] [no_top_order α] {a : α} :
@[protected, instance]
def set.Ici.bounded_order {α : Type u_1} {a : α} [preorder α] [bounded_order α] :
Equations
@[protected, instance]
def set.Icc.semilattice_inf {α : Type u_1} [semilattice_inf α] {a b : α} :
Equations
@[protected, instance]
def set.Icc.semilattice_sup {α : Type u_1} [semilattice_sup α] {a b : α} :
Equations
def set.Icc.order_bot {α : Type u_1} [preorder α] {a b : α} (h : a b) :

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

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

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

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

Icc a b is a bounded_order whenever a ≤ b.

Equations