# 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.

• Set.Ic*.orderBot
• Set.Ii*.semillaticeInf
• Set.I*c.orderTop
• Set.I*c.semillaticeInf
• Set.I**.lattice
• Set.Iic.boundedOrder, within an OrderBot
• Set.Ici.boundedOrder, within an OrderTop
instance Set.Ico.semilatticeInf {α : Type u_1} [] {a : α} {b : α} :
Equations
• Set.Ico.semilatticeInf =
@[reducible, inline]
abbrev Set.Ico.orderBot {α : Type u_1} [] {a : α} {b : α} (h : a < b) :
OrderBot (Set.Ico a b)

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

Equations
• = .orderBot
Instances For
instance Set.Iio.semilatticeInf {α : Type u_1} [] {a : α} :
Equations
• Set.Iio.semilatticeInf =
instance Set.Ioc.semilatticeSup {α : Type u_1} [] {a : α} {b : α} :
Equations
• Set.Ioc.semilatticeSup =
@[reducible, inline]
abbrev Set.Ioc.orderTop {α : Type u_1} [] {a : α} {b : α} (h : a < b) :
OrderTop (Set.Ioc a b)

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

Equations
• = .orderTop
Instances For
instance Set.Ioi.semilatticeSup {α : Type u_1} [] {a : α} :
Equations
• Set.Ioi.semilatticeSup =
instance Set.Iic.semilatticeInf {α : Type u_1} {a : α} [] :
Equations
• Set.Iic.semilatticeInf =
@[simp]
theorem Set.Iic.coe_inf {α : Type u_1} {a : α} [] {x : ()} {y : ()} :
(x y) = x y
instance Set.Iic.semilatticeSup {α : Type u_1} {a : α} [] :
Equations
• Set.Iic.semilatticeSup =
@[simp]
theorem Set.Iic.coe_sup {α : Type u_1} {a : α} [] {x : ()} {y : ()} :
(x y) = x y
instance Set.Iic.instLatticeElem {α : Type u_1} {a : α} [] :
Lattice ()
Equations
• Set.Iic.instLatticeElem = let __src := Set.Iic.semilatticeInf; let __src_1 := Set.Iic.semilatticeSup; Lattice.mk
instance Set.Iic.orderTop {α : Type u_1} {a : α} [] :
OrderTop ()
Equations
• Set.Iic.orderTop =
@[simp]
theorem Set.Iic.coe_top {α : Type u_1} {a : α} [] :
= a
theorem Set.Iic.eq_top_iff {α : Type u_1} {a : α} [] {x : ()} :
x = x = a
instance Set.Iic.orderBot {α : Type u_1} {a : α} [] [] :
OrderBot ()
Equations
• Set.Iic.orderBot =
@[simp]
theorem Set.Iic.coe_bot {α : Type u_1} {a : α} [] [] :
=
instance Set.Iic.instBoundedOrderElemOfOrderBot {α : Type u_1} {a : α} [] [] :
Equations
• Set.Iic.instBoundedOrderElemOfOrderBot = let __src := Set.Iic.orderTop; let __src_1 := Set.Iic.orderBot; BoundedOrder.mk
theorem Set.Iic.disjoint_iff {α : Type u_1} {a : α} [] [] {x : ()} {y : ()} :
Disjoint x y Disjoint x y
theorem Set.Iic.codisjoint_iff {α : Type u_1} {a : α} [] {x : ()} {y : ()} :
x y = a
theorem Set.Iic.isCompl_iff {α : Type u_1} {a : α} [] [] {x : ()} {y : ()} :
IsCompl x y Disjoint x y x y = a
instance Set.Ici.semilatticeInf {α : Type u_1} [] {a : α} :
Equations
• Set.Ici.semilatticeInf =
instance Set.Ici.semilatticeSup {α : Type u_1} [] {a : α} :
Equations
• Set.Ici.semilatticeSup =
instance Set.Ici.lattice {α : Type u_1} [] {a : α} :
Lattice ()
Equations
• Set.Ici.lattice = let __src := Set.Ici.semilatticeInf; let __src_1 := Set.Ici.semilatticeSup; Lattice.mk
instance Set.Ici.distribLattice {α : Type u_1} [] {a : α} :
Equations
• Set.Ici.distribLattice = let __src := Set.Ici.lattice;
instance Set.Ici.orderBot {α : Type u_1} [] {a : α} :
OrderBot ()
Equations
• Set.Ici.orderBot =
@[simp]
theorem Set.Ici.coe_bot {α : Type u_1} [] {a : α} :
= a
instance Set.Ici.orderTop {α : Type u_1} [] [] {a : α} :
OrderTop ()
Equations
• Set.Ici.orderTop =
@[simp]
theorem Set.Ici.coe_top {α : Type u_1} [] [] {a : α} :
=
instance Set.Ici.boundedOrder {α : Type u_1} [] [] {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} [] {a : α} {b : α} :
Equations
• Set.Icc.semilatticeInf =
instance Set.Icc.semilatticeSup {α : Type u_1} [] {a : α} {b : α} :
Equations
• Set.Icc.semilatticeSup =
instance Set.Icc.lattice {α : Type u_1} [] {a : α} {b : α} :
Lattice (Set.Icc a b)
Equations
• Set.Icc.lattice = let __src := Set.Icc.semilatticeInf; let __src_1 := Set.Icc.semilatticeSup; Lattice.mk
@[reducible, inline]
abbrev Set.Icc.orderBot {α : Type u_1} [] {a : α} {b : α} (h : a b) :
OrderBot (Set.Icc a b)

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

Equations
• = .orderBot
Instances For
@[reducible, inline]
abbrev Set.Icc.orderTop {α : Type u_1} [] {a : α} {b : α} (h : a b) :
OrderTop (Set.Icc a b)

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

Equations
• = .orderTop
Instances For
@[reducible, inline]
abbrev Set.Icc.boundedOrder {α : Type u_1} [] {a : α} {b : α} (h : a b) :

Icc a b is a BoundedOrder whenever a ≤ b.

Equations
• = let __src := ; let __src_1 := ; BoundedOrder.mk
Instances For