The areas / V04. Order and lattices
Mathlib.Order.LatticeIntervals
57 declarations. Mathlib docs · Source
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*.orderBotSet.Ii*.semilatticeInfSet.I*c.orderTopSet.I*c.semilatticeInfSet.I**.latticeSet.Iic.boundedOrder, within anOrderBotSet.Ici.boundedOrder, within anOrderTop
instance Set.Ico.semilatticeInf E0 #
{α : Type u_1} → [inst : SemilatticeInf α] → {a b : α} → SemilatticeInf ↑(Set.Ico a b)
instance Set.Ioc.semilatticeSup E0 #
{α : Type u_1} → [inst : SemilatticeSup α] → {a b : α} → SemilatticeSup ↑(Set.Ioc b a)
theorem Set.Ico.coe_inf E0 #
∀ {α : Type u_1} [inst : SemilatticeInf α] {a b : α} {x y : ↑(Set.Ico a b)}, ↑(x ⊓ y) = ↑x ⊓ ↑y
theorem Set.Ioc.coe_sup E0 #
∀ {α : Type u_1} [inst : SemilatticeSup α] {a b : α} {x y : ↑(Set.Ioc b a)}, ↑(x ⊔ y) = ↑x ⊔ ↑y
instance Set.Ico.orderBot E0 #
{α : Type u_1} → [inst : PartialOrder α] → {a b : α} → [Fact (a < b)] → OrderBot ↑(Set.Ico a b)
Ico a b has a bottom element whenever a < b.
instance Set.Ioc.orderTop E0 #
{α : Type u_1} → [inst : PartialOrder α] → {a b : α} → [Fact (b < a)] → OrderTop ↑(Set.Ioc b a)
Ioc a b has a top element whenever a < b.
theorem Set.Ico.coe_bot E0 #
∀ {α : Type u_1} [inst : PartialOrder α] (a b : α) [inst_1 : Fact (a < b)], ↑⊥ = a
theorem Set.Ioc.coe_top E0 #
∀ {α : Type u_1} [inst : PartialOrder α] (a b : α) [inst_1 : Fact (b < a)], ↑⊤ = a
theorem Set.Ioc.codisjoint_iff E0 #
∀ {α : Type u_1} [inst : SemilatticeSup α] {a b : α} [inst_1 : Fact (b < a)] {x y : ↑(Set.Ioc b a)},
Codisjoint x y ↔ ↑x ⊔ ↑y = a
theorem Set.Ico.disjoint_iff E0 #
∀ {α : Type u_1} [inst : SemilatticeInf α] {a b : α} [inst_1 : Fact (a < b)] {x y : ↑(Set.Ico a b)},
Disjoint x y ↔ ↑x ⊓ ↑y = a
instance Set.Ioi.semilatticeSup E0 #
{α : Type u_1} → [inst : SemilatticeSup α] → {a : α} → SemilatticeSup ↑(Set.Ioi a)
instance Set.Iio.semilatticeInf E0 #
{α : Type u_1} → [inst : SemilatticeInf α] → {a : α} → SemilatticeInf ↑(Set.Iio a)
theorem Set.Ioi.coe_sup E0 #
∀ {α : Type u_1} [inst : SemilatticeSup α] {a : α} {x y : ↑(Set.Ioi a)}, ↑(x ⊔ y) = ↑x ⊔ ↑y
theorem Set.Iio.coe_inf E0 #
∀ {α : Type u_1} [inst : SemilatticeInf α] {a : α} {x y : ↑(Set.Iio a)}, ↑(x ⊓ y) = ↑x ⊓ ↑y
instance Set.Iic.semilatticeInf E0 #
{α : Type u_1} → {a : α} → [inst : SemilatticeInf α] → SemilatticeInf ↑(Set.Iic a)
instance Set.Ici.semilatticeSup E0 #
{α : Type u_1} → {a : α} → [inst : SemilatticeSup α] → SemilatticeSup ↑(Set.Ici a)
theorem Set.Iic.coe_inf E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeInf α] {x y : ↑(Set.Iic a)}, ↑(x ⊓ y) = ↑x ⊓ ↑y
theorem Set.Ici.coe_sup E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeSup α] {x y : ↑(Set.Ici a)}, ↑(x ⊔ y) = ↑x ⊔ ↑y
instance Set.Ici.semilatticeInf E0 #
{α : Type u_1} → {a : α} → [inst : SemilatticeInf α] → SemilatticeInf ↑(Set.Ici a)
instance Set.Iic.semilatticeSup E0 #
{α : Type u_1} → {a : α} → [inst : SemilatticeSup α] → SemilatticeSup ↑(Set.Iic a)
theorem Set.Ici.coe_inf E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeInf α] {x y : ↑(Set.Ici a)}, ↑(x ⊓ y) = ↑x ⊓ ↑y
theorem Set.Iic.coe_sup E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeSup α] {x y : ↑(Set.Iic a)}, ↑(x ⊔ y) = ↑x ⊔ ↑y
instance Set.Ici.instLatticeElem E0 #
{α : Type u_1} → {a : α} → [inst : Lattice α] → Lattice ↑(Set.Ici a)
instance Set.Iic.instLatticeElem E0 #
{α : Type u_1} → {a : α} → [inst : Lattice α] → Lattice ↑(Set.Iic a)
instance Set.Iic.instDistribLatticeElem E0 #
{α : Type u_1} → {a : α} → [inst : DistribLattice α] → DistribLattice ↑(Set.Iic a)
instance Set.Ici.instDistribLatticeElem E0 #
{α : Type u_1} → {a : α} → [inst : DistribLattice α] → DistribLattice ↑(Set.Ici a)
instance Set.Ici.orderBot E0 #
{α : Type u_1} → {a : α} → [inst : Preorder α] → OrderBot ↑(Set.Ici a)
instance Set.Iic.orderTop E0 #
{α : Type u_1} → {a : α} → [inst : Preorder α] → OrderTop ↑(Set.Iic a)
theorem Set.Ici.coe_bot E0 #
∀ {α : Type u_1} [inst : Preorder α] (a : α), ↑⊥ = a
theorem Set.Iic.coe_top E0 #
∀ {α : Type u_1} [inst : Preorder α] (a : α), ↑⊤ = a
instance Set.Ici.orderTop E0 #
{α : Type u_1} → {a : α} → [inst : Preorder α] → [OrderTop α] → OrderTop ↑(Set.Ici a)
instance Set.Iic.orderBot E0 #
{α : Type u_1} → {a : α} → [inst : Preorder α] → [OrderBot α] → OrderBot ↑(Set.Iic a)
theorem Set.Ici.coe_top E0 #
∀ {α : Type u_1} [inst : Preorder α] [inst_1 : OrderTop α] (a : α), ↑⊤ = ⊤
theorem Set.Iic.coe_bot E0 #
∀ {α : Type u_1} [inst : Preorder α] [inst_1 : OrderBot α] (a : α), ↑⊥ = ⊥
instance Set.Ici.instBoundedOrderElemOfOrderTop E0 #
{α : Type u_1} → {a : α} → [inst : Preorder α] → [OrderTop α] → BoundedOrder ↑(Set.Ici a)
instance Set.Iic.instBoundedOrderElemOfOrderBot E0 #
{α : Type u_1} → {a : α} → [inst : Preorder α] → [OrderBot α] → BoundedOrder ↑(Set.Iic a)
theorem Set.Iic.disjoint_iff E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeInf α] [inst_1 : OrderBot α] {x y : ↑(Set.Iic a)},
Disjoint x y ↔ Disjoint ↑x ↑y
theorem Set.Ici.codisjoint_iff E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeSup α] [inst_1 : OrderTop α] {x y : ↑(Set.Ici a)},
Codisjoint x y ↔ Codisjoint ↑x ↑y
theorem Set.Ici.disjoint_iff E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeInf α] {x y : ↑(Set.Ici a)}, Disjoint x y ↔ ↑x ⊓ ↑y = a
theorem Set.Iic.codisjoint_iff E0 #
∀ {α : Type u_1} {a : α} [inst : SemilatticeSup α] {x y : ↑(Set.Iic a)}, Codisjoint x y ↔ ↑x ⊔ ↑y = a
theorem Set.Iic.isCompl_iff E0 #
∀ {α : Type u_1} {a : α} [inst : Lattice α] [inst_1 : OrderBot α] {x y : ↑(Set.Iic a)},
IsCompl x y ↔ Disjoint ↑x ↑y ∧ ↑x ⊔ ↑y = a
theorem Set.Ici.isCompl_iff E0 #
∀ {α : Type u_1} {a : α} [inst : Lattice α] [inst_1 : OrderTop α] {x y : ↑(Set.Ici a)},
IsCompl x y ↔ Codisjoint ↑x ↑y ∧ ↑x ⊓ ↑y = a
theorem Set.Iic.complementedLattice_iff E0 #
∀ {α : Type u_1} {a : α} [inst : Lattice α] [inst_1 : OrderBot α],
ComplementedLattice ↑(Set.Iic a) ↔ ∀ b ≤ a, ∃ c ≤ a, b ⊓ c = ⊥ ∧ b ⊔ c = a
theorem Set.Ici.complementedLattice_iff E0 #
∀ {α : Type u_1} {a : α} [inst : Lattice α] [inst_1 : OrderTop α],
ComplementedLattice ↑(Set.Ici a) ↔ ∀ (b : α), a ≤ b → ∃ c, a ≤ c ∧ b ⊔ c = ⊤ ∧ b ⊓ c = a
instance Set.Icc.semilatticeInf E0 #
{α : Type u_1} → {a b : α} → [inst : SemilatticeInf α] → SemilatticeInf ↑(Set.Icc a b)
instance Set.Icc.semilatticeSup E0 #
{α : Type u_1} → {a b : α} → [inst : SemilatticeSup α] → SemilatticeSup ↑(Set.Icc b a)
theorem Set.Icc.coe_inf E0 #
∀ {α : Type u_1} {a b : α} [inst : SemilatticeInf α] {x y : ↑(Set.Icc a b)}, ↑(x ⊓ y) = ↑x ⊓ ↑y
theorem Set.Icc.coe_sup E0 #
∀ {α : Type u_1} {a b : α} [inst : SemilatticeSup α] {x y : ↑(Set.Icc b a)}, ↑(x ⊔ y) = ↑x ⊔ ↑y
instance Set.Icc.lattice E0 #
{α : Type u_1} → {a b : α} → [inst : Lattice α] → Lattice ↑(Set.Icc a b)
instance Set.Icc.instOrderBotElemOfFactLe E0 #
{α : Type u_1} → {a b : α} → [inst : Preorder α] → [Fact (a ≤ b)] → OrderBot ↑(Set.Icc a b)
Icc a b has a bottom element whenever a ≤ b.
instance Set.Icc.instOrderTopElemOfFactLe E0 #
{α : Type u_1} → {a b : α} → [inst : Preorder α] → [Fact (b ≤ a)] → OrderTop ↑(Set.Icc b a)
Icc a b has a top element whenever a ≤ b.
theorem Set.Icc.coe_bot E0 #
∀ {α : Type u_1} [inst : Preorder α] (a b : α) [inst_1 : Fact (a ≤ b)], ↑⊥ = a
theorem Set.Icc.coe_top E0 #
∀ {α : Type u_1} [inst : Preorder α] (a b : α) [inst_1 : Fact (b ≤ a)], ↑⊤ = a
instance Set.Icc.instBoundedOrderElemOfFactLe E0 #
{α : Type u_1} → {a b : α} → [inst : Preorder α] → [Fact (a ≤ b)] → BoundedOrder ↑(Set.Icc a b)
Icc a b is a BoundedOrder whenever a ≤ b.
theorem Set.Icc.disjoint_iff E0 #
∀ {α : Type u_1} {a b : α} [inst : SemilatticeInf α] [inst_1 : Fact (a ≤ b)] {x y : ↑(Set.Icc a b)},
Disjoint x y ↔ ↑x ⊓ ↑y = a
theorem Set.Icc.codisjoint_iff E0 #
∀ {α : Type u_1} {a b : α} [inst : SemilatticeSup α] [inst_1 : Fact (b ≤ a)] {x y : ↑(Set.Icc b a)},
Codisjoint x y ↔ ↑x ⊔ ↑y = a
theorem Set.Icc.isCompl_iff E0 #
∀ {α : Type u_1} {a b : α} [inst : Lattice α] [inst_1 : Fact (a ≤ b)] {x y : ↑(Set.Icc a b)},
IsCompl x y ↔ ↑x ⊓ ↑y = a ∧ ↑x ⊔ ↑y = b