← LibraryFilters, Ideals and UltrafiltersEngineering · MathematicsLesson 3/5← PrevNext →
GuidePublished 6 Aug 20266 min readBy Kevin Joginuniversal algebraabstract algebramathematicsfilter

Boolean Algebras and Stone Duality

Filters, Ideals and Ultrafilters

An ultrafilter is a consistent way of deciding every question at once. They are the points of the Stone space, the indices of ultraproducts, and the reason compactness works.

Engineering · Mathematics6 min readKV-MATH-0234
Learning objectives

01Filters and ideals

A filter on a Boolean algebra B is a non-empty subset F closed upward and closed under meet; it is proper when 0 ∉ F. An ideal is the order dual.

Filters and ideals as duals
Filter FIdeal I
Contains10
Closed underfinite meetsfinite joins
Closedupwarddownward
Proper when0 ∉ F1 ∉ I
Complement map{ x′ : x ∈ F } is an ideal{ x′ : x ∈ I } is a filter
Congruence classthe 1-classthe 0-class

Complementation exchanges the two notions exactly, so any theorem about filters has a dual about ideals and neither needs separate proof. The lattice of filters is dually isomorphic to the lattice of ideals, and both are isomorphic to Con B.

02Principal and free filters

The principal filter generated by an element a is the set of elements above a. A filter is free when it is not principal.

Principal
Generated by one element
F = { x : x ≥ a } for some a. On a finite Boolean algebra every filter is principal, because the meet of all its members lies in it.
Free
No least element
The intersection of all members is not itself a member. Requires the algebra to be infinite, and — for ultrafilters — requires a choice principle to exhibit.

The standard example of a free filter is the Fréchet filter on the power set of an infinite set: the cofinite subsets. It is a proper filter, its members have empty intersection, and it is contained in many free ultrafilters — though exhibiting even one of those needs Zorn's lemma.

03Ultrafilters

An ultrafilter is a maximal proper filter. Three characterisations coincide, and each is used in practice.

Key resultThree equivalent definitions

For a proper filter U on a Boolean algebra B, the following are equivalent: (i) U is maximal among proper filters; (ii) for every a ∈ B, exactly one of a and a′ lies in U; (iii) whenever a ∨ b ∈ U, either a ∈ U or b ∈ U.

  1. Maximality ⟹ decisiveness
    If neither a nor a′ were in U, adjoining a would give a larger proper filter, contradicting maximality. Both cannot be in U since their meet is 0.
  2. Decisiveness ⟹ primeness
    If a ∨ b ∈ U and a ∉ U then a′ ∈ U, so b ≥ (a ∨ b) ∧ a′ is in U by upward closure and meet closure.
  3. Primeness ⟹ maximality
    A proper filter properly containing a prime filter would have to contain some a with a′ already inside, forcing 0 into the filter.
  4. The quotient reading
    U is an ultrafilter exactly when B/U ≅ 2 — the corresponding congruence is a coatom of Con B. This connects to maximal ideals in the ring picture.

Characterisation (ii) is the one to carry: an ultrafilter decides every question. For every element it commits to either that element or its complement, consistently. That is what makes ultrafilters usable as a device for taking limits.

04Existence and the finite intersection property

A family with the finite intersection property — every finite subfamily has non-zero meet — generates a proper filter, and Zorn's lemma extends it to an ultrafilter.

ProcedureExtending a family to an ultrafilter
in: family with the FIP → out: an ultrafilter containing it
  1. input: family S ⊆ B with the finite intersection property
  2. F₀ := { x ∈ B : x ≥ s₁ ∧ ⋯ ∧ sₙ for some finite s₁,…,sₙ ∈ S }
  3. F₀ is a proper filter, since finite meets from S are non-zero
  4. consider the poset of proper filters containing F₀, ordered by inclusion
  5. every chain has an upper bound: the union, which is proper
  6. (0 lies in no member, so 0 lies in no union)
  7. by Zorn's lemma there is a maximal element U
  8. U is an ultrafilter containing S
Correctness: unions of chains of proper filters are proper, which is the hypothesis Zorn needs. Caveat: the construction is non-constructive. No free ultrafilter on an infinite set can be exhibited explicitly, and their existence is strictly weaker than full choice.
CautionFree ultrafilters cannot be written down

The existence of a free ultrafilter on the natural numbers is not provable in ZF alone. It follows from the Boolean Prime Ideal Theorem, which is strictly weaker than the axiom of choice but not a theorem of ZF. Any argument claiming to construct one explicitly is mistaken, and any theorem relying on one carries that choice principle as a hypothesis.

05Ultrafilters on a set

The most-used case is B = the power set of a set I. Here an ultrafilter is a family of subsets of I deciding, for each subset, whether it is 'large'.

The two kinds of ultrafilter on a set
KindDescriptionExists?
Principal at iall subsets containing the fixed point ialways, explicitly
Freecontains all cofinite sets, no finite setonly via BPI; never explicit
On a finite setprincipal onlyno free ultrafilters exist

The distinction matters immediately for ultraproducts: an ultraproduct over a principal ultrafilter collapses to a single factor and gives nothing new, whereas an ultraproduct over a free ultrafilter is the construction that yields compactness, non-standard models and Jónsson's lemma. Every interesting ultraproduct uses a free ultrafilter.

06Where ultrafilters go next

Stone duality
Points of the dual space
The Stone space of a Boolean algebra has the ultrafilters as its points, topologised so that the algebra is recovered as the clopen sets.
Ultraproducts
Indices for the quotient
The ultraproduct of a family of algebras is the direct product modulo the congruence determined by an ultrafilter on the index set. Łoś's theorem transfers first-order properties.
Compactness
The proof mechanism
The compactness theorem for first-order logic follows from the ultraproduct construction applied to a family of models of finite subsets of a theory.
Jónsson's lemma
Locating subdirect irreducibles
Ultraproducts appear in the statement precisely because they capture 'approximable by members of the generating class'.
Boolean products
Sheaf-like representations
The stalks of a Boolean product are indexed by the Stone space, hence by ultrafilters.
Boolean prime ideal theorem
The choice principle
The next page treats BPI itself, its equivalents and its strength relative to choice.

Frequently asked

Is every filter contained in an ultrafilter?

Every proper filter is, by the Zorn's lemma argument. The improper filter — the whole algebra — is not, since ultrafilters are proper by definition. The extension result is exactly the Boolean Prime Ideal Theorem in filter form.

Why does an ultraproduct over a principal ultrafilter collapse?

Because the ultrafilter concentrates all its attention on a single index. Two elements of the product are identified when they agree on a member of the ultrafilter, and every member contains the distinguished point, so agreement at that one coordinate suffices. The ultraproduct is therefore isomorphic to that single factor.

Do ultrafilters exist on every Boolean algebra?

Proper ultrafilters exist on every non-trivial Boolean algebra, by extending the principal filter of any non-zero element. On the one-element algebra there are none, since every filter contains 0. The interesting question is whether free ultrafilters exist, which requires the algebra to be infinite and requires BPI.

Sources and further reading

Original KEVOS® explanatory article. Written from the topic map of the cited works; no text is reproduced from them.

Continue learning

Boolean Rings and the Boolean Algebra-Ring CorrespondenceGuide · MathematicsNEXT LESSON →The Boolean Prime Ideal TheoremGuide · MathematicsBoolean Algebras: Axioms and StructureGuide · MathematicsStone Duality and Boolean SpacesGuide · Mathematics