The even and odd integers are both absent from the cofinite filter, but their union is present. Thus its filter quantifier need not turn a disjunction into the disjunction of quantified assertions, and failure of a quantified assertion need not imply truth of its quantified negation. An ultrafilter restores both laws by deciding each set against its complement.
Cofinite set Created 2026-10-05 Updated 2026-10-14
A subset of a set is cofinite in when its complement is a finite set. For infinite , the cofinite subsets form the cofinite filter. A nonprincipal ultrafilter on contains every cofinite subset: it contains no singleton, hence no finite set, and decides between each set and its complement.
Nonprincipal ultrafilter Created 2026-09-24 Updated 2026-10-06
We take . An ultrafilter on is a proper filter on a set which decides every subset: it contains but not , is closed under finite intersections and passage to supersets, and contains exactly one of and for every . A principal ultrafilter has the form ; all other ultrafilters are nonprincipal ultrafilters.
To prove existence, start with the cofinite filter and order its proper filter extensions by inclusion. The union of a chain is again a proper filter on a set: the finitely many sets involved in an intersection all belong to one member of the chain, and no member contains the empty set. Thus Zorn's lemma supplies a maximal proper filter . If , adjoining must make the generated filter improper; equivalently, some has . Then , so . This proves that is an ultrafilter. It contains the complement of every finite set and hence no finite set. In particular, it contains no singleton and is nonprincipal.
The Stone-Čech compactification of the natural numbers is the set of all ultrafilters with basic open sets
We have and , so these basic sets define a topology and are clopen sets. If , choose . The disjoint basic neighbourhoods and separate them. Thus the space is Hausdorff.
For compactness, it suffices to show every basic open cover has a finite subcover, since an arbitrary open cover can be refined by basic open sets. Suppose has no finite subcover. The complements have the finite intersection property: if a finite intersection were empty, the corresponding finite family of would cover every ultrafilter. Their generated proper filter on a set extends to an ultrafilter, by the same Zorn's lemma argument. This ultrafilter contains every , and therefore belongs to none of the alleged cover members, a contradiction. We have proved that is a compact Hausdorff space. The map embeds the discrete natural numbers densely: any nonempty contains for some .
For addition on the Stone-Čech compactification of the natural numbers, define
and put
The map preserves intersections and complements, because translation does and is an ultrafilter. It also sends to and the empty set to itself. Consequently the displayed rule defines an ultrafilter . On principal points it satisfies , so it extends ordinary addition.
Write to mean that . The ultrafilter addition rule is then an iterated quantifier, with its order fixed. Expansion gives
Ordinary addition is an associative operation, and the quantifiers are in the same order on both lines. Thus . This argument does not interchange ultrafilter quantifiers and does not assert that this extended addition is commutative.
For fixed , the translation has
a basic clopen set. Therefore addition is continuous in its left variable. This is the left-continuity convention used here: right translations are continuous, giving a left-topological semigroup. Continuity in both variables jointly is not part of the assertion.
Hindman's theorem says that every finite colouring of the positive integers has an increasing sequence whose finite-sums set
is monochromatic. Assume, as permitted, that the addition just defined has an idempotent ultrafilter , so . This ultrafilter is nonprincipal: a principal would satisfy for positive . Hence every member of is infinite and every cofinite set belongs to .
Exactly one cell of the finite colour partition belongs to . Define its star set by
Since , we have and therefore . Moreover, for each , the set belongs to . Idempotence gives , and translation of the defining formula shows
This proves the idempotent-ultrafilter star-set lemma rather than merely invoking it.
Choose . Suppose have been chosen with every nonempty finite sum in . Choose from
This is a finite intersection of members of the ultrafilter , and so it is nonempty. The new sums are and ; all lie in by the choice. Mathematical induction yields an increasing infinite sequence with
Thus the assumed idempotent gives the full Hindman theorem, with distinct increasing generators and all their nonempty finite sums of one colour.
An ultrafilter on is a family satisfying the proper filter axioms: , , closure under finite intersections, and upward closure under inclusion. In addition, for every , exactly one of and belongs to . Equivalently, an ultrafilter is a maximal proper filter. The principal ultrafilter at consists of all subsets containing ; an ultrafilter not of this form is a nonprincipal ultrafilter.
To prove existence, start with the cofinite filter and order the proper filters containing it by inclusion. The union of a chain is still a proper filter: finitely many of its members lie in one filter of the chain, and no constituent contains the empty set. Thus Zorn lemma supplies a maximal such filter . If , adjoining cannot generate a proper filter; otherwise maximality fails. Consequently some has , so by upward closure. This proves the ultrafilter alternative. No finite can belong to , because is cofinite and already belongs to . In particular contains no singleton and is a nonprincipal ultrafilter. The same argument, starting from any proper filter, proves the ultrafilter lemma used below.
Define to be the set of all ultrafilters on , with basic open sets
They form a topological basis because and . Moreover , so they are clopen sets. This is the compact Hausdorff topology on ultrafilters. If , some belongs to but not , and then and are disjoint open neighbourhoods of the two points. Thus is Hausdorff.
For compactness, take an open cover and refine it by basic open sets . If no finite subfamily covers, then for every finite collection of indices the intersection is nonempty. Indeed, if that intersection were empty, the corresponding would cover , and every ultrafilter would contain at least one of them by the finite ultrafilter alternative. The complements therefore have the finite intersection property and generate a proper filter. Extend it to an ultrafilter by the proved ultrafilter lemma. Then for every , so belongs to none of the covering , a contradiction. A finite basic subcover lies inside a finite subcover of the original cover. Hence
The map , where is the principal ultrafilter at , identifies the discrete natural numbers with a dense subset: any nonempty has and contains for .
Hindman theorem states that every finite colouring of the positive integers admits an increasing sequence whose finite-sums set
is monochromatic. We now give the Idempotent-ultrafilter proof of Hindman's theorem. For , write . The addition on is defined by
Take an idempotent ultrafilter on the natural numbers , whose existence is allowed, so . It is a nonprincipal ultrafilter: addition of principal points is , whereas no positive integer satisfies .
Exactly one colour class belongs to . Define
By idempotence, . The idempotent-ultrafilter star-set lemma needed for the recursion is that whenever . To prove it, put . Idempotence again gives
For , we have and , hence . Thus , proving the lemma by upward closure.
Choose . Suppose has been constructed. Every factor of
belongs to : the translate factors do by the just-proved lemma, and the last factor does because it is cofinite and is a nonprincipal ultrafilter. The finite intersection is therefore nonempty. Choose in it. Then and every with lie in , so . This constructs a strictly increasing sequence, indeed , and proves Hindman theorem.
Finally apply Hindman theorem to obtain a monochromatic finite-sums set . We construct a divisibility chain inside a finite-sums set using disjoint successive blocks of indices. Start with . If , take unused terms after all indices used so far, and split them into two groups of consecutive terms. In each group its partial sums, including , contain two in the same congruence class modulo by the pigeonhole principle. Their difference is a nonempty consecutive sum divisible by , and positivity makes it at least . Let be the sum of these two selected sums. Then and .
The index set defining lies strictly after all previous index sets. Discard the other terms in these two groups before continuing. Because the chosen index sets are disjoint, every finite sum of distinct is a finite sum of distinct , retaining the same colour. Therefore
Let be a full Skolem expansion of an infinite structure , choose distinct for , and extend the cofinite filter to a nonprincipal ultrafilter on . For a finite subset of the desired index order , define the ordered Fubini product of ultrafilters on by
where means . These nested tests decide complements and preserve intersections by induction on , so is indeed an ultrafilter. For the empty set use the one-point index set and its principal ultrafilter.
Put . If , projection of coordinates induces
A truth test independent of a coordinate is unchanged by its dummy ultrafilter quantifier. Consequently pullback preserves exactly the -large subsets, proving that the map is well defined and injective. The Łoś theorem, applied to every formula rather than just to equality, proves that it is an elementary embedding. Projections compose, so these elementary maps form a coherent directed system.
Take its directed limit of elementary embeddings . Explicitly identify two stage elements when their images agree at a common larger stage, and interpret functions and relations there. For an existential formula true in the limit, its parameters and a witness occur at a common stage; elementarity then pulls truth back to the stage of the original parameters. This verifies that all stage maps into the limit are elementary.
Let be the image in this limit of the coordinate class . These elements are distinct: in , equality would require , whose inner-coordinate section is a singleton and hence not in the nonprincipal . For , the truth of any expanded-language formula on is exactly
This expression depends on the formula and the tuple length, not on the chosen increasing indices. Thus is an order-indiscernible sequence. The empty-coordinate stage embeds elementarily into .
Their Skolem hull is elementary by the witness-function argument, and an order automorphism of extends to it by transporting the generators in every term. Equality and relation preservation follow from the displayed uniform truth test, and the inverse order automorphism gives the inverse map. Therefore this proves the Ehrenfeucht-Mostowski theorem through ultrapowers and their directed limit, with no Ramsey-theoretic step.
If the complement of a truth set belongs to a proper filter on a set, the truth set itself cannot belong: their intersection is empty. Hence the right side always implies the left side.
The reverse implication can fail. In the cofinite filter, the set of even integers is absent, but its odd complement is absent as well. The filter-quantified evenness assertion is false, while the filter-quantified assertion of oddness is also false. Therefore (iii) can be false.
For an ultrafilter the equivalence is true, precisely because it contains exactly one of any set and its complement. The filter quantifier preserves conjunction for arbitrary proper filters, but its full classical Boolean behaviour requires the ultrafilter property.
Membership of either truth set in a filter on a set implies membership of its union, by upward closure. The converse need not hold. For the cofinite filter, take to mean that is even and that is odd. The union of their truth sets is all of , while neither truth set is cofinite.
Thus the left side of the printed equivalence is true and its right side false: (ii) can be false. An ultrafilter does satisfy the equivalence, because its dichotomy forces one member of a finite union into the ultrafilter. General filters need not have that dichotomy. This is one aspect of the Boolean failure of the cofinite-filter quantifier.
A proper filter on a set on contains , excludes the empty set, is closed under finite intersections and is upward closed under inclusion. An ultrafilter is a maximal proper filter. Equivalently, for every it contains exactly one of . To see maximality implies this dichotomy, if is absent then adjoining it must make the generated filter improper; hence some filter member is disjoint from , forcing into the filter. Conversely, a filter with this dichotomy cannot be properly enlarged without acquiring disjoint members.
Extend the cofinite filter to a maximal proper filter using Zorn's lemma. Every chain of proper extensions has its union as a proper filter upper bound: any finite collection of its members lies in one member of the chain, and the empty set never enters. The resulting ultrafilter contains no finite set, because it already contains that set's cofinite complement. It is therefore a free ultrafilter, or nonprincipal ultrafilter. This proves the required existence with the usual choice principle explicit.
Define the Stone-Čech compactification of the natural numbers as the set of all ultrafilters, with basic open sets
They form a basis because is the whole space and . Also , so each basic set is clopen. Distinct ultrafilters disagree on some , putting them in the disjoint open sets and . Thus this space is Hausdorff.
To prove compactness, suppose an open cover has no finite subcover and refine it by basic sets . Their complements have the finite intersection property: otherwise finitely many would cover every ultrafilter. Here a nonempty finite intersection of the has a principal ultrafilter containing it, whereas an empty intersection cannot belong to any proper filter. The therefore generate a proper filter, which extends to an ultrafilter by the same Zorn argument. That ultrafilter lies outside every , contradicting the cover. Hence is compact and Hausdorff. Natural number is identified with its principal ultrafilter.
Hindman's theorem asserts that every finite colouring of the positive integers has an increasing sequence for which all nonempty finite sums of distinct terms have one colour. Let be the given idempotent ultrafilter. Since is positive, a principal ultrafilter cannot be idempotent: its sum with itself is principal at , not . Thus is nonprincipal and contains every cofinite tail. In a convention including zero, one instead uses an idempotent in the nonprincipal part, excluding the trivial principal idempotent at zero.
For define . Addition on the Stone-Čech compactification of the natural numbers is characterized by
One cell of the finite colour partition belongs to . Put
Idempotence makes . Moreover, if , then . Indeed, write so . We have , and idempotence applied to that set gives
Their intersection is . This is the idempotent-ultrafilter star-set lemma.
Choose . If the finite-sums set of the first choices lies in , select
Every factor belongs to , so this finite intersection is nonempty. Its choice preserves . Therefore
This proves the requested Idempotent-ultrafilter proof of Hindman's theorem, without assuming an idempotent-existence proof.
Finally, for the first logical assertion put and . A proper filter contains if and only if it contains both and : one direction is finite-intersection closure and the other is upward closure. Thus (i) is always true. This is the conjunction law for filter quantifiers.
A proper filter on a set contains , excludes , is upward closed, and is closed under finite intersections. Order its proper extensions by inclusion. The union of a nonempty chain is again a proper filter: finitely many members lie together in one chain member. Zorn lemma, and hence the axiom of choice, gives a maximal extension . If neither nor belongs to , maximality of says adjoining either one produces the improper filter. There are therefore with and , contradicting . Thus is an ultrafilter.
For Łoś theorem, interpret the ultraproduct using when , with functions and relations interpreted coordinatewise. These interpretations are well defined because changing finitely many argument representatives changes them only outside the intersection of their agreement sets, which belongs to . For any first-order formula and sequences of parameters,
Prove this by structural induction. Atomic formulas follow from the interpretation of terms. Conjunction uses finite intersections; negation uses the ultrafilter dichotomy between a set and its complement. If holds in the ultraproduct, a witness sequence gives a subset of in . Conversely, choose a witness for in every factor where one exists, and an arbitrary element in every other factor. This is the second explicit use of the axiom of choice; all factors have nonempty carriers. The inductive hypothesis applied to supplies the ultraproduct witness. The other connectives and universal quantification follow from these cases.
For the possible worlds, use free filters, equivalently proper filters extending the cofinite filter . Here “nonprincipal” must have this free-filter meaning: merely saying that a filter has no single generating subset need not make an accessible least world. The designated world is , and all worlds have carrier . Atoms, including equality, are forced by
Equality may identify distinct sequences at a world; it is a persistent congruence, and at an ultrafilter world its quotient is the ordinary ultraproduct.
The required equivalence with all ultraproducts uses dense-extension filter semantics. Its recursive clauses are
Every extension in these clauses is a free proper filter. The dense clause for disjunction is essential; for propositional formulas, local disjunction would instead give a Kripke model for intuitionistic propositional logic and would invalidate the claimed equivalence.
The useful separation fact is membership in a free filter is detected by its ultrafilter extensions:
Indeed, if , every has infinite intersection with : a finite intersection would imply after intersecting with a suitable cofinite set. Hence adjoining generates a free proper filter, which extends to a nonprincipal ultrafilter by the ultrafilter lemma.
Induction on formulas now gives . Negation and implication follow by adjoining the positive set on which their classical truth conditions fail. For disjunction, membership of lets every extension be refined to an ultrafilter containing one of the two sets. If that union is absent from , an ultrafilter extending contains its complement and has no further proper extension, contradicting the dense clause. For existence, choose coordinate witnesses on as in Łoś theorem. For universality, if , choose a counterexample in every factor outside it and arbitrary elements elsewhere. The resulting sequence has , so cannot force that instance. The converse follows from upward closure and persistence.
At the designated world, therefore,
This semantics validates classical first-order logic, including law of excluded middle. For example, every free filter has an ultrafilter refinement deciding an atomic formula, so its excluded middle is forced even when neither disjunct is forced at the original world. To see concretely why local disjunction fails, take and an atom true exactly at even indices: neither its truth set nor its complement is cofinite, although every ultraproduct satisfies its excluded middle.
Yes. Order the proper filters containing the cofinite filter by inclusion. The union of every chain is again a proper filter containing : any finite collection of its members already lies in one filter in the chain. Zorn lemma gives a maximal proper filter .
A maximal proper filter is an ultrafilter. Indeed, if , adjoining cannot generate another proper filter, so some has . Thus , and upward closure gives . Finally, cannot equal any principal ultrafilter , because it contains the cofinite set whereas does not. Thus is a nonprincipal ultrafilter on .
The cofinite filter is nonempty, because ; finite unions of finite complements show closure under intersections, and taking a superset can only shrink the complement. The empty set is excluded because its complement is infinite. It is not an ultrafilter: the even numbers and the odd numbers both have infinite complements, so neither belongs to . Finally, is cofinite but does not belong to , proving for every .
Let be a nonprincipal ultrafilter on an infinite set . It contains no finite set, so a finite does not belong to . An ultrafilter contains exactly one of a set and its complement; hence . Equivalently, every nonprincipal ultrafilter contains the cofinite filter.
For structures and a first-order formula , the Łoś theorem says
Fix a prime number , take , and choose a nonprincipal ultrafilter on . The ultraproduct
is a field because each factor is a finite field, and it has characteristic because each factor satisfies and for . For every natural number , all sufficiently large factors contain at least distinct elements. The first-order sentence asserting the existence of distinct elements therefore holds in . Thus is infinite, as summarized by infinite field of positive characteristic from an ultraproduct.
If contains no finite set, then every cofinite set belongs to it: for a finite , one has , so the ultrafilter alternative forces . Thus contains the cofinite filter.