In the mathematical field of set theory, an ultrafilter on a set X is a maximal filter on the set X. In other words, it is a collection of subsets of X that satisfies the definition of a filter on X and that is maximal with respect to inclusion, in the sense that there does not exist a strictly larger collection of subsets of X that is also a filter. (In the above, by definition a filter on a set does not contain the empty set.) Equivalently, an ultrafilter on the set X can also be characterized as a filter on X with the property that for every subset A of X either A or its complement X∖A belongs to the ultrafilter. Ultrafilters on sets are an important special instance of ultrafilters on partially ordered sets, where the partially ordered set consists of the power set 𝒫(X) and the partial order is subset inclusion ⊆. This article deals specifically with ultrafilters on a set and does not cover the more general notion. There are two types of ultrafilter on a set. A principal ultrafilter on X is the collection of all subsets of X that contain a fixed element x∈X. The ultrafilters that are not principal are the free ultrafilters. The existence of free ultrafilters on any infinite set is implied by the ultrafilter lemma, which can be proven in ZFC. On the other hand, there exist models of ZF where every ultrafilter on a set is principal. Ultrafilters have many applications in set theory, model theory, and topology. Usually, only free ultrafilters lead to non-trivial constructions. For example, an ultraproduct modulo a principal ultrafilter is always isomorphic to one of the factors, while an ultraproduct modulo a free ultrafilter usually has a more complex structure.
Definitions
Given an arbitrary set X, an ultrafilter on X is a non-empty family U of subsets of X such that:
Proper or non-degenerate: The empty set is not an element of U. Upward closed in X: If A∈U and if B⊆X is any superset of A (that is, if A⊆B⊆X) then B∈U. π−system: If A and B are elements of U then so is their intersection A∩B. If A⊆X then either A or its complement X∖A is an element of U. Properties (1), (2), and (3) are the defining properties of a filter on X. Some authors do not include non-degeneracy (which is property (1) above) in their definition of "filter". However, the definition of "ultrafilter" (and also of "prefilter" and "filter subbase") always includes non-degeneracy as a defining condition. This article requires that all filters be proper although a filter might be described as "proper" for emphasis. A filter subbase is a non-empty family of sets that has the finite intersection property (i.e. all finite intersections are non-empty). Equivalently, a filter subbase is a non-empty family of sets that is contained in some (proper) filter. The smallest (relative to ⊆) filter containing a given filter subbase is said to be generated by the filter subbase. The upward closure in X of a family of sets P is the set
P↑X:={S:A⊆S⊆X for some A∈P}. A prefilter or filter base is a non-empty and proper (i.e. ∅∉P) family of sets P that is downward directed, which means that if B,C∈P then there exists some A∈P such that A⊆B∩C. Equivalently, a prefilter is any family of sets P whose upward closure P↑X is a filter, in which case this filter is called the filter generated by P and P is said to be a filter base for P↑X. The dual in X of a family of sets P is the set X∖P:={X∖B:B∈P}. For example, the dual of the power set 𝒫(X) is itself: X∖𝒫(X)=𝒫(X). A family of sets is a proper filter on X if and only if its dual is a proper ideal on X ("proper" means not equal to the power set).
Generalization to ultra prefilters A family U≠∅ of subsets of X is called ultra if ∅∉U and any of the following equivalent conditions are satisfied:
For every set S⊆X there exists some set B∈U such that B⊆S or B⊆X∖S (or equivalently, such that B∩S equals B or ∅). For every set S⊆⋃B∈UB there exists some set B∈U such that B∩S equals B or ∅. Here, ⋃B∈UB is defined to be the union of all sets in U. This characterization of "U is ultra" does not depend on the set X, so mentioning the set X is optional when using the term "ultra." For every set S (not necessarily even a subset of X) there exists some set B∈U such that B∩S equals B or ∅. If U satisfies this condition then so does every superset V⊇U. In particular, a set V is ultra if and only if ∅∉V and V contains as a subset some ultra family of sets.
A filter subbase that is ultra is necessarily a prefilter. The ultra property can now be used to define both ultrafilters and ultra prefilters:
An ultra prefilter is a prefilter that is ultra. Equivalently, it is a filter subbase that is ultra. An ultrafilter on X is a (proper) filter on X that is ultra. Equivalently, it is any filter on X that is generated by an ultra prefilter. Ultra prefilters as maximal prefilters To characterize ultra prefilters in terms of "maximality," the following relation is needed.
Given two families of sets M and N, the family M is said to be coarser than N, and N is finer than and subordinate to M, written M≤N or N ⊢ M, if for every C∈M, there is some F∈N such that F⊆C. The families M and N are called equivalent if M≤N and N≤M. The families M and N are comparable if one of these sets is finer than the other. The subordination relationship, i.e. ≥, is a preorder so the above definition of "equivalent" does form an equivalence relation. If M⊆N then M≤N but the converse does not hold in general. However, if N is upward closed, such as a filter, then M≤N if and only if M⊆N. Every prefilter is equivalent to the filter that it generates. This shows that it is possible for filters to be equivalent to sets that are not filters. If two families of sets M and N are equivalent then either both M and N are ultra (resp. prefilters, filter subbases) or otherwise neither one of them is ultra (resp. a prefilter, a filter subbase). In particular, if a filter subbase is not also a prefilter, then it is not equivalent to the filter or prefilter that it generates. If M and N are both filters on X then M and N are equivalent if and only if M=N. If a proper filter (resp. ultrafilter) is equivalent to a family of sets M then M is necessarily a prefilter (resp. ultra prefilter). Using the following characterization, it is possible to define prefilters (resp. ultra prefilters) using only the concept of filters (resp. ultrafilters) and subordination:
… excerpt ends here. Continue reading the full article.

