Lably
Skip to content

Free lattice

  • 6 min read
  • 3 chapters

Related on Lably

Through Mathematics, Category (mathematics) and Mathematical induction

Formal definition

Because the concept of a lattice can be axiomatised in terms of two operations ∧ and ∨ satisfying certain identities, the category of all lattices constitute a variety (universal algebra), and thus there exist (by general principles of universal algebra) free objects within this category: lattices where only those relations hold which follow from the general axioms.

These free lattices may be characterised using the relevant universal property. Concretely, free lattice is a functor F from sets to lattices, assigning to each set X the free lattice F(X) equipped with a set map η:X⟶F(X) assigning to each x∈X the corresponding element η(x)∈F(X). The universal property of these is that there for any map f:X⟶L from X to some arbitrary lattice L exists a unique lattice homomorphism f~:F(X)⟶L satisfying f=f~∘η, or as a commutative diagram: X⟶ηF(X)∀f↘↓∃1f~L The functor F is left adjoint to the forgetful functor from lattices to their underlying sets.

It is frequently possible to prove things about the free lattice directly using the universal property, but such arguments tend to be rather abstract, so a concrete construction provides a valuable alternative presentation.

Semilattices

In the case of semilattices, an explicit construction of the free semilattice F∨(X) is straightforward to give; this helps illustrate several features of the definition by way of universal property. Concretely, the free semilattice F∨(X) may be realised as the set of all finite nonempty subsets of X, with ordinary set union as the join operation ∨. The map η:X⟶F∨(X) maps elements of X to singleton sets, i.e., η(x)={x} for all x∈X. For any semilattice L and any set map f:X⟶L, the corresponding universal morphism f~:F∨(X)⟶L is given by f~(S)=⋁x∈Sf(x)for all S∈F∨(X) where ⋁ denotes the semilattice operation in L.

This form of f~ is forced by the universal property: any S∈F∨(X) can be written as a finite union of elements on the form η(x) for some x∈X, the equality in the universal property says f~(η(x))=f(x), and finally the homomorphism status of f~ implies f~(S1∪S2)=f~(S1)∨f~(S2) for all S1,S2∈F∨(X). Any extension of f~ to infinite subsets of X (if there even is one) need however not be uniquely determined by these conditions, so there cannot in F∨(X) be any elements corresponding to infinite subsets of X.

Lower semilattices

It is similarly possible to define a free functor F∧ for lower semilattices, but the combination F∧(F∨(X)) fails to produce the free lattice F(X) in several ways, because F∧ treats F∨(X) as just a set:

  • the join operation ∨ is not extended to the new elements of F∧(F∨(X)),
  • the existing partial order on F∨(X) is not respected; F∧ views a and a∨b as unrelated, not understanding it should make a∧(a∨b)=a.

The actual structure of the free lattice F(X) is considerably more intricate than that of the free semilattice.

Sign in to keep reading

2 more chapters are free with a Lably account.

More in Foundations