mathlib3 documentation

order.lattice_intervals

Intervals in Lattices #

THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.

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

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

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

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

Equations
@[protected, instance]
Equations
@[protected, instance]
Equations
@[protected, instance]
Equations
@[protected, instance]
def set.Iic.order_top {α : Type u_1} [preorder α] {a : α} :
Equations
@[simp]
theorem set.Iic.coe_top {α : Type u_1} [preorder α] {a : α} :
@[protected, instance]
def set.Iic.order_bot {α : Type u_1} [preorder α] [order_bot α] {a : α} :
Equations
@[simp]
theorem set.Iic.coe_bot {α : Type u_1} [preorder α] [order_bot α] {a : α} :
@[protected, instance]
Equations
@[protected, instance]
Equations
@[protected, instance]
def set.Ici.order_bot {α : Type u_1} [preorder α] {a : α} :
Equations
@[simp]
theorem set.Ici.coe_bot {α : Type u_1} [preorder α] {a : α} :
@[protected, instance]
def set.Ici.order_top {α : Type u_1} [preorder α] [order_top α] {a : α} :
Equations
@[simp]
theorem set.Ici.coe_top {α : Type u_1} [preorder α] [order_top α] {a : α} :
@[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
@[protected, reducible]
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
@[protected, reducible]
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
@[protected, reducible]
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