The areas / V04. Order and lattices
Mathlib.Order.Birkhoff
32 declarations. Mathlib docs · Source
Birkhoff representation
This file proves two facts which together are commonly referred to as "Birkhoff representation":
- Any nonempty finite partial order is isomorphic to the partial order of sup-irreducible elements in its lattice of lower sets.
- Any nonempty finite distributive lattice is isomorphic to the lattice of lower sets of its partial order of sup-irreducible elements.
Main declarations
For a finite nonempty partial order α:
OrderEmbedding.supIrredLowerSet:αis isomorphic to the order of its irreducible lower sets.
If α is moreover a distributive lattice:
OrderIso.lowerSetSupIrred:αis isomorphic to the lattice of lower sets of its irreducible elements.OrderEmbedding.birkhoffSet,OrderEmbedding.birkhoffFinset: Order embedding ofαinto the powerset lattice of its irreducible elements.LatticeHom.birkhoffSet,LatticeHom.birkhoffFinset: Same as the previous two, but bundled as an injective lattice homomorphism.exists_birkhoff_representation:αembeds into some powerset algebra. You should prefer using this over the explicit Birkhoff embedding because the Birkhoff embedding is littered with decidability footguns that this existential-packaged version can afford to avoid.
See also
These results form the object part of finite Stone duality: the functorial contravariant equivalence between the category of finite distributive lattices and the category of finite partial orders. TODO: extend to morphisms.
References
- [G. Birkhoff, Rings of sets][birkhoff1937]
Tags
birkhoff, representation, stone duality, lattice embedding
theorem Fintype.toOrderBot.congr_simp E1 #
∀ (α : Type u_1) [inst : Fintype α] [inst_1 : Nonempty α] [inst_2 : SemilatticeInf α],
Fintype.toOrderBot α = Fintype.toOrderBot α
theorem OrderEmbedding.ofIsEmpty.congr_simp E1 #
∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : IsEmpty α],
OrderEmbedding.ofIsEmpty = OrderEmbedding.ofIsEmpty
theorem OrderIso.supIrredLowerSet.congr_simp E1 #
∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : Finite α], OrderIso.supIrredLowerSet = OrderIso.supIrredLowerSet
theorem UpperSet.infIrred_Ici E0 #
∀ {α : Type u_1} [inst : PartialOrder α] (a : α), InfIrred (UpperSet.Ici a)
theorem LowerSet.supIrred_Iic E0 #
∀ {α : Type u_1} [inst : PartialOrder α] (a : α), SupIrred (LowerSet.Iic a)
theorem LowerSet.supIrred_iff_of_finite E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {s : LowerSet α} [Finite α], SupIrred s ↔ ∃ a, LowerSet.Iic a = s
theorem UpperSet.infIrred_iff_of_finite E0 #
∀ {α : Type u_1} [inst : PartialOrder α] {s : UpperSet α} [Finite α], InfIrred s ↔ ∃ a, UpperSet.Ici a = s
def OrderEmbedding.supIrredLowerSet E3 #
{α : Type u_1} → [inst : PartialOrder α] → α ↪o { s // SupIrred s }
The Birkhoff Embedding of a finite partial order as sup-irreducible elements in its lattice of lower sets.
def OrderEmbedding.infIrredUpperSet E1 #
{α : Type u_1} → [inst : PartialOrder α] → α ↪o { s // InfIrred s }
The Birkhoff Embedding of a finite partial order as inf-irreducible elements in its lattice of lower sets.
theorem OrderEmbedding.supIrredLowerSet_apply E0 #
∀ {α : Type u_1} [inst : PartialOrder α] (a : α), OrderEmbedding.supIrredLowerSet a = ⟨LowerSet.Iic a, ⋯⟩
theorem OrderEmbedding.infIrredUpperSet_apply E0 #
∀ {α : Type u_1} [inst : PartialOrder α] (a : α), OrderEmbedding.infIrredUpperSet a = ⟨UpperSet.Ici a, ⋯⟩
theorem OrderEmbedding.infIrredUpperSet_surjective E1 #
∀ {α : Type u_1} [inst : PartialOrder α] [Finite α], Function.Surjective ⇑OrderEmbedding.infIrredUpperSet
theorem OrderEmbedding.supIrredLowerSet_surjective E1 #
∀ {α : Type u_1} [inst : PartialOrder α] [Finite α], Function.Surjective ⇑OrderEmbedding.supIrredLowerSet
def OrderIso.supIrredLowerSet E1 #
{α : Type u_1} → [inst : PartialOrder α] → [Finite α] → α ≃o { s // SupIrred s }
Birkhoff Representation for partial orders. Any partial order is isomorphic to the partial order of sup-irreducible elements in its lattice of lower sets.
def OrderIso.infIrredUpperSet E1 #
{α : Type u_1} → [inst : PartialOrder α] → [Finite α] → α ≃o { s // InfIrred s }
Birkhoff Representation for partial orders. Any partial order is isomorphic to the partial order of inf-irreducible elements in its lattice of upper sets.
theorem OrderIso.supIrredLowerSet_apply E0 #
∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : Finite α] (a : α), OrderIso.supIrredLowerSet a = ⟨LowerSet.Iic a, ⋯⟩
theorem OrderIso.infIrredUpperSet_apply E0 #
∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : Finite α] (a : α), OrderIso.infIrredUpperSet a = ⟨UpperSet.Ici a, ⋯⟩
theorem OrderIso.infIrredUpperSet_symm_apply E0 #
∀ {α : Type u_1} [inst : SemilatticeInf α] [inst_1 : OrderTop α] [inst_2 : Finite α] (s : { s // InfIrred s })
[inst_3 : Fintype ↥↑s], OrderIso.infIrredUpperSet.symm s = (↑↑s).toFinset.inf id
theorem OrderIso.supIrredLowerSet_symm_apply E0 #
∀ {α : Type u_1} [inst : SemilatticeSup α] [inst_1 : OrderBot α] [inst_2 : Finite α] (s : { s // SupIrred s })
[inst_3 : Fintype ↥↑s], OrderIso.supIrredLowerSet.symm s = (↑↑s).toFinset.sup id
def OrderIso.lowerSetSupIrred E3 #
{α : Type u_1} →
[inst : DistribLattice α] → [Fintype α] → [DecidablePred SupIrred] → [OrderBot α] → α ≃o LowerSet { a // SupIrred a }
Birkhoff Representation for finite distributive lattices. Any nonempty finite distributive lattice is isomorphic to the lattice of lower sets of its sup-irreducible elements.
def OrderEmbedding.birkhoffSet E3 #
{α : Type u_1} → [inst : DistribLattice α] → [Fintype α] → [DecidablePred SupIrred] → α ↪o Set { a // SupIrred a }
Birkhoff's Representation Theorem. Any finite distributive lattice can be embedded in a powerset lattice.
def OrderEmbedding.birkhoffFinset E3 #
{α : Type u_1} → [inst : DistribLattice α] → [Fintype α] → [DecidablePred SupIrred] → α ↪o Finset { a // SupIrred a }
Birkhoff's Representation Theorem. Any finite distributive lattice can be embedded in a powerset lattice.
theorem OrderEmbedding.coe_birkhoffFinset E0 #
∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : Fintype α] [inst_2 : DecidablePred SupIrred] (a : α),
↑(OrderEmbedding.birkhoffFinset a) = OrderEmbedding.birkhoffSet a
theorem OrderEmbedding.birkhoffSet_sup E0 #
∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : Fintype α] [inst_2 : DecidablePred SupIrred] (a b : α),
OrderEmbedding.birkhoffSet (a ⊔ b) = OrderEmbedding.birkhoffSet a ∪ OrderEmbedding.birkhoffSet b
theorem OrderEmbedding.birkhoffSet_inf E0 #
∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : Fintype α] [inst_2 : DecidablePred SupIrred] (a b : α),
OrderEmbedding.birkhoffSet (a ⊓ b) = OrderEmbedding.birkhoffSet a ∩ OrderEmbedding.birkhoffSet b
theorem OrderEmbedding.birkhoffSet_apply E0 #
∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : Fintype α] [inst_2 : DecidablePred SupIrred] [inst_3 : OrderBot α]
(a : α), OrderEmbedding.birkhoffSet a = ↑(OrderIso.lowerSetSupIrred a)
theorem OrderEmbedding.birkhoffFinset_sup E0 #
∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : Fintype α] [inst_2 : DecidablePred SupIrred]
[inst_3 : DecidableEq α] (a b : α),
OrderEmbedding.birkhoffFinset (a ⊔ b) = OrderEmbedding.birkhoffFinset a ∪ OrderEmbedding.birkhoffFinset b
theorem OrderEmbedding.birkhoffFinset_inf E0 #
∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : Fintype α] [inst_2 : DecidablePred SupIrred]
[inst_3 : DecidableEq α] (a b : α),
OrderEmbedding.birkhoffFinset (a ⊓ b) = OrderEmbedding.birkhoffFinset a ∩ OrderEmbedding.birkhoffFinset b
def LatticeHom.birkhoffSet E3 #
{α : Type u_1} →
[inst : DistribLattice α] → [Fintype α] → [DecidablePred SupIrred] → LatticeHom α (Set { a // SupIrred a })
Birkhoff's Representation Theorem. Any finite distributive lattice can be embedded in a powerset lattice.
def LatticeHom.birkhoffFinset E3 #
{α : Type u_1} →
[inst : DistribLattice α] → [Fintype α] → [DecidablePred SupIrred] → LatticeHom α (Finset { a // SupIrred a })
Birkhoff's Representation Theorem. Any finite distributive lattice can be embedded in a powerset lattice.
theorem LatticeHom.birkhoffFinset_injective E1 #
∀ {α : Type u_1} [inst : DistribLattice α] [inst_1 : Fintype α] [inst_2 : DecidablePred SupIrred],
Function.Injective ⇑LatticeHom.birkhoffFinset
theorem exists_birkhoff_representation E3 #
∀ (α : Type u) [Finite α] [inst : DistribLattice α], ∃ β x x_1 f, Function.Injective ⇑f