mathlib documentation

order.complete_boolean_algebra

Completely distributive lattices and Boolean algebras #

In this file there are definitions and an API for completely distributive lattices and completely distributive Boolean algebras.

Typeclasses #

@[class]
structure complete_distrib_lattice (α : Type u_1) :
Type u_1

A complete distributive lattice is a bit stronger than the name might suggest; perhaps completely distributive lattice is more descriptive, as this class includes a requirement that the lattice join distribute over arbitrary infima, and similarly for the dual.

Instances
theorem sup_Inf_eq {α : Type u} [complete_distrib_lattice α] {a : α} {s : set α} :
a ⊔ Inf s = ⨅ (b : α) (H : b ∈ s), a ⊔ b
theorem Inf_sup_eq {α : Type u} [complete_distrib_lattice α] {b : α} {s : set α} :
Inf s ⊔ b = ⨅ (a : α) (H : a ∈ s), a ⊔ b
theorem inf_Sup_eq {α : Type u} [complete_distrib_lattice α] {a : α} {s : set α} :
a ⊓ Sup s = ⨆ (b : α) (H : b ∈ s), a ⊓ b
theorem Sup_inf_eq {α : Type u} [complete_distrib_lattice α] {b : α} {s : set α} :
Sup s ⊓ b = ⨆ (a : α) (H : a ∈ s), a ⊓ b
theorem supr_inf_eq {α : Type u} {ι : Sort w} [complete_distrib_lattice α] (f : ι → α) (a : α) :
(⨆ (i : ι), f i) ⊓ a = ⨆ (i : ι), f i ⊓ a
theorem inf_supr_eq {α : Type u} {ι : Sort w} [complete_distrib_lattice α] (a : α) (f : ι → α) :
(a ⊓ ⨆ (i : ι), f i) = ⨆ (i : ι), a ⊓ f i
theorem infi_sup_eq {α : Type u} {ι : Sort w} [complete_distrib_lattice α] (f : ι → α) (a : α) :
(⨅ (i : ι), f i) ⊔ a = ⨅ (i : ι), f i ⊔ a
theorem sup_infi_eq {α : Type u} {ι : Sort w} [complete_distrib_lattice α] (a : α) (f : ι → α) :
(a ⊔ ⨅ (i : ι), f i) = ⨅ (i : ι), a ⊔ f i
theorem bsupr_inf_eq {α : Type u} [complete_distrib_lattice α] {p : α → Prop} {f : Π (i : α), p i → α} (a : α) :
(⨆ (i : α) (hi : p i), f i hi) ⊓ a = ⨆ (i : α) (hi : p i), f i hi ⊓ a
theorem inf_bsupr_eq {α : Type u} [complete_distrib_lattice α] (a : α) {p : α → Prop} {f : Π (i : α), p i → α} :
(a ⊓ ⨆ (i : α) (hi : p i), f i hi) = ⨆ (i : α) (hi : p i), a ⊓ f i hi
theorem binfi_sup_eq {α : Type u} [complete_distrib_lattice α] {p : α → Prop} {f : Π (i : α), p i → α} (a : α) :
(⨅ (i : α) (hi : p i), f i hi) ⊔ a = ⨅ (i : α) (hi : p i), f i hi ⊔ a
theorem sup_binfi_eq {α : Type u} [complete_distrib_lattice α] (a : α) {p : α → Prop} {f : Π (i : α), p i → α} :
(a ⊔ ⨅ (i : α) (hi : p i), f i hi) = ⨅ (i : α) (hi : p i), a ⊔ f i hi
theorem Inf_sup_Inf {α : Type u} [complete_distrib_lattice α] {s t : set α} :
Inf s ⊔ Inf t = ⨅ (p : α × α) (H : p ∈ s.prod t), p.fst ⊔ p.snd
theorem Sup_inf_Sup {α : Type u} [complete_distrib_lattice α] {s t : set α} :
Sup s ⊓ Sup t = ⨆ (p : α × α) (H : p ∈ s.prod t), p.fst ⊓ p.snd
theorem supr_disjoint_iff {α : Type u} {ι : Sort w} [complete_distrib_lattice α] {a : α} {f : ι → α} :
disjoint (⨆ (i : ι), f i) a ↔ ∀ (i : ι), disjoint (f i) a
theorem disjoint_supr_iff {α : Type u} {ι : Sort w} [complete_distrib_lattice α] {a : α} {f : ι → α} :
disjoint a (⨆ (i : ι), f i) ↔ ∀ (i : ι), disjoint a (f i)
@[class]
structure complete_boolean_algebra (α : Type u_1) :
Type u_1

A complete Boolean algebra is a completely distributive Boolean algebra.

Instances
@[protected, instance]
Equations
theorem compl_infi {α : Type u} {ι : Sort w} [complete_boolean_algebra α] {f : ι → α} :
(infi f)ᶜ = ⨆ (i : ι), (f i)ᶜ
theorem compl_supr {α : Type u} {ι : Sort w} [complete_boolean_algebra α] {f : ι → α} :
(supr f)ᶜ = ⨅ (i : ι), (f i)ᶜ
theorem compl_Inf {α : Type u} [complete_boolean_algebra α] {s : set α} :
(Inf s)ᶜ = ⨆ (i : α) (H : i ∈ s), iᶜ
theorem compl_Sup {α : Type u} [complete_boolean_algebra α] {s : set α} :
(Sup s)ᶜ = ⨅ (i : α) (H : i ∈ s), iᶜ