Filters in topology

Filters in topology, a subfield of mathematics, can be used to study topological spaces and define all basic topological notions such as convergence, continuity, compactness, and more. Filters, which are special families of subsets of some given set, also provide a common framework for defining various types of limits of functions such as limits from the left/right, to infinity, to a point or a set, and many others. Special types of filters called have many useful technical properties and they may often be used in place of arbitrary filters.

Filters have generalizations called (also known as ) and, all of which appear naturally and repeatedly throughout topology. Examples include neighborhood filters/bases/subbases and uniformities. Every filter is a prefilter and both are filter subbases. Every prefilter and filter subbase is contained in a unique smallest filter, which they are said to. This establishes a relationship between filters and prefilters that may often be exploited to allow one to use whichever of these two notions is more technically convenient. There is a certain preorder on families of sets, denoted by $$\,\leq,\,$$ that helps to determine exactly when and how one notion (filter, prefilter, etc.) can or cannot be used in place of another. This preorder's importance is amplified by the fact that it also defines the notion of filter convergence, where by definition, a filter (or prefilter) $$\mathcal{B}$$ to a point if and only if $$\mathcal{N} \leq \mathcal{B},$$ where $$\mathcal{N}$$ is that point's neighborhood filter. Consequently, subordination also plays an important role in many concepts that are related to convergence, such as cluster points and limits of functions. In addition, the relation $$\mathcal{S} \geq \mathcal{B},$$ which denotes $$\mathcal{B} \leq \mathcal{S}$$ and is expressed by saying that $$\mathcal{S}$$ $$\mathcal{B},$$ also establishes a relationship in which $$\mathcal{S}$$ is to $$\mathcal{B}$$ as a subsequence is to a sequence (that is, the relation $$\geq,$$ which is called, is for filters the analog of "is a subsequence of").

Filters were introduced by Henri Cartan in 1937 and subsequently used by Bourbaki in their book as an alternative to the similar notion of a net developed in 1922 by E. H. Moore and H. L. Smith. Filters can also be used to characterize the notions of sequence and net convergence. But unlike sequence and net convergence, filter convergence is defined in terms of subsets of the topological space $$X$$ and so it provides a notion of convergence that is completely intrinsic to the topological space; indeed, the category of topological spaces can be equivalently defined entirely in terms of filters. Every net induces a canonical filter and dually, every filter induces a canonical net, where this induced net (resp. induced filter) converges to a point if and only if the same is true of the original filter (resp. net). This characterization also holds for many other definitions such as cluster points. These relationships make it possible to switch between filters and nets, and they often also allow one to choose whichever of these two notions (filter or net) is more convenient for the problem at hand. However, assuming that "subnet" is defined using either of its most popular definitions (which are those given by Willard and by Kelley), then in general, this relationship does extend to subordinate filters and subnets because as detailed below, there exist subordinate filters whose filter/subordinate–filter relationship cannot be described in terms of the corresponding net/subnet relationship; this issue can however be resolved by using a less commonly encountered definition of "subnet", which is that of an AA–subnet.

Thus filters/prefilters and this single preorder $$\,\leq\,$$ provide a framework that seamlessly ties together fundamental topological concepts such as topological spaces (via neighborhood filters), neighborhood bases, convergence, various limits of functions, continuity, compactness, sequences (via sequential filters), the filter equivalent of "subsequence" (subordination), uniform spaces, and more; concepts that otherwise seem relatively disparate and whose relationships are less clear.

Motivation
Archetypical example of a filter

The archetypical example of a filter is the Neighbourhood filter $$\mathcal{N}(x)$$ at a point $$x$$ in a topological space $$(X, \tau),$$ which is the family of sets consisting of all neighborhoods of $$x.$$ By definition, a neighborhood of some given point $$x$$ is any subset $$B \subseteq X$$ whose topological interior contains this point; that is, such that $$x \in \operatorname{Int}_X B.$$ Importantly, neighborhoods are required to be open sets; those are called. Listed below are those fundamental properties of neighborhood filters that ultimately became the definition of a "filter." A is a set $$\mathcal{B}$$ of subsets of $$X$$ that satisfies all of the following conditions:  :  $$X \in \mathcal{B}$$ &thinsp;–&thinsp; just as $$X \in \mathcal{N}(x),$$ since $$X$$ is always a neighborhood of $$x$$ (and of anything else that it contains); :  $$\varnothing \not\in \mathcal{B}$$ &thinsp;–&thinsp; just as no neighborhood of $$x$$ is empty; :  If $$B, C \in \mathcal{B} \text{ then } B \cap C \in \mathcal{B}$$ &thinsp;–&thinsp; just as the intersection of any two neighborhoods of $$x$$ is again a neighborhood of $$x$$; :  If $$B \in \mathcal{B} \text{ and } B \subseteq S \subseteq X$$ then $$S \in \mathcal{B}$$ &thinsp;–&thinsp; just as any subset of $$X$$ that contains a neighborhood of $$x$$ will necessarily  a neighborhood of $$x$$ (this follows from $$\operatorname{Int}_X B \subseteq \operatorname{Int}_X S$$ and the definition of "a neighborhood of $$x$$"). 

Generalizing sequence convergence by using sets − determining sequence convergence without the sequence

A is by definition a map $$\N \to X$$ from the natural numbers into the space $$X.$$ The original notion of convergence in a topological space was that of a sequence converging to some given point in a space, such as a metric space. With metrizable spaces (or more generally first–countable spaces or Fréchet–Urysohn spaces), sequences usually suffices to characterize, or "describe", most topological properties, such as the closures of subsets or continuity of functions. But there are many spaces where sequences can be used to describe even basic topological properties like closure or continuity. This failure of sequences was the motivation for defining notions such as nets and filters, which fail to characterize topological properties.

Nets directly generalize the notion of a sequence since nets are, by definition, maps $$I \to X$$ from an arbitrary directed set $$(I, \leq)$$ into the space $$X.$$ A sequence is just a net whose domain is $$I = \N$$ with the natural ordering. Nets have their own notion of convergence, which is a direct generalization of sequence convergence.

Filters generalize sequence convergence in a different way by considering the values of a sequence. To see how this is done, consider a sequence $$x_\bull = \left(x_i\right)_{i=1}^\infty \text{ in } X,$$ which is by definition just a function $$x_{\bullet} : \N \to X$$ whose value at $$i \in \N$$ is denoted by $$x_i$$ rather than by the usual parentheses notation $$x_\bull(i)$$ that is commonly used for arbitrary functions. Knowing only the image (sometimes called "the range") $$\operatorname{Im} x_\bull := \left\{x_i : i \in \N\right\} = \left\{x_1, x_2, \ldots\right\}$$ of the sequence is not enough to characterize its convergence; multiple sets are needed. It turns out that the needed sets are the following, which are called the of the sequence $$x_\bull$$: $$\begin{alignat}{8} x_{\geq 1} =\; &\{&&x_1, &&x_2, &&x_3,      &&x_4,       &&\ldots&& \,\} \\[0.3ex] x_{\geq 2} =\; &\{&&x_2, &&x_3, &&x_4,      &&x_5,       &&\ldots&& \,\} \\[0.3ex] x_{\geq 3} =\; &\{&&x_3, &&x_4, &&x_5,      &&x_6,       &&\ldots&& \,\} \\[0.3ex] & &&     &&     &&\;\,\vdots &&           &&      &&      \\[0.3ex] x_{\geq n} =\; &\{&&x_n, \;\;\,&&x_{n+1}, \;&&x_{n+2}, \;&&x_{n+3},&&\ldots&& \,\} \\[0.3ex] & &&     &&     &&\;\,\vdots &&           &&      &&      \\[0.3ex] \end{alignat}$$

These sets completely determine this sequence's convergence (or non–convergence) because given any point, this sequence converges to it if and only if for every neighborhood $$U$$ (of this point), there is some integer $$n$$ such that $$U$$ contains all of the points $$x_n, x_{n+1}, \ldots .$$ This can be reworded as:

every neighborhood $$U$$ must contain some set of the form $$\{x_n, x_{n+1}, \ldots\}$$ as a subset.

Or more briefly: every neighborhood must contain some tail $$x_{\geq n}$$ as a subset. It is this characterization that can be used with the above family of tails to determine convergence (or non–convergence) of the sequence $$x_\bull : \N \to X.$$ Specifically, with the family of ' $$\{x_{\geq 1}, x_{\geq 2}, \ldots\}$$ in hand, the ' $$x_\bull : \N \to X$$ is no longer needed to determine convergence of this sequence (no matter what topology is placed on $$X$$). By generalizing this observation, the notion of "convergence" can be extended from sequences/functions to families of sets.

The above set of tails of a sequence is in general not a filter but it does "" a filter via taking its (which consists of all supersets of all tails). The same is true of other important families of sets such as any neighborhood basis at a given point, which in general is also not a filter but does generate a filter via its upward closure (in particular, it generates the neighborhood filter at that point). The properties that these families share led to the notion of a, also called a , which by definition is any family having the minimal properties necessary and sufficient for it to generate a filter via taking its upward closure.

Nets versus filters − advantages and disadvantages

Filters and nets each have their own advantages and drawbacks and there's no reason to use one notion exclusively over the other. Depending on what is being proved, a proof may be made significantly easier by using one of these notions instead of the other. Both filters and nets can be used to completely characterize any given topology. Nets are direct generalizations of sequences and can often be used similarly to sequences, so the learning curve for nets is typically much less steep than that for filters. However, filters, and especially ultrafilters, have many more uses outside of topology, such as in set theory, mathematical logic, model theory (ultraproducts, for example), abstract algebra, combinatorics, dynamics, order theory, generalized convergence spaces, Cauchy spaces, and in the definition and use of hyperreal numbers.

Like sequences, nets are  and so they have the. For example, like sequences, nets can be "plugged into" other functions, where "plugging in" is just function composition. Theorems related to functions and function composition may then be applied to nets. One example is the universal property of inverse limits, which is defined in terms of composition of functions rather than sets and it is more readily applied to functions like nets than to sets like filters (a prominent example of an inverse limit is the Cartesian product). Filters may be awkward to use in certain situations, such as when switching between a filter on a space $$X$$ and a filter on a dense subspace $$S \subseteq X.$$

In contrast to nets, filters (and prefilters) are families of  and so they have the. For example, if $$f$$ is surjective then the $$f^{-1}(\mathcal{B}) := \left\{f^{-1}(B) ~:~ B \in \mathcal{B}\right\}$$ under $$f^{-1}$$ of an arbitrary filter or prefilter $$\mathcal{B}$$ is both easily defined and guaranteed to be a prefilter on $$f$$'s domain, whereas it is less clear how to pullback (unambiguously/without choice) an arbitrary sequence (or net) $$y_\bull$$ so as to obtain a sequence or net in the domain (unless $$f$$ is also injective and consequently a bijection, which is a stringent requirement). Similarly, the intersection of any collection of filters is once again a filter whereas it is not clear what this could mean for sequences or nets. Because filters are composed of subsets of the very topological space $$X$$ that is under consideration, topological set operations (such as closure or interior) may be applied to the sets that constitute the filter. Taking the closure of all the sets in a filter is sometimes useful in functional analysis for instance. Theorems and results about images or preimages of sets under a function may also be applied to the sets that constitute a filter; an example of such a result might be one of continuity's characterizations in terms of preimages of open/closed sets or in terms of the interior/closure operators. Special types of filters called have many useful properties that can significantly help in proving results. One downside of nets is their dependence on the directed sets that constitute their domains, which in general may be entirely unrelated to the space $$X.$$ In fact, the class of nets in a given set $$X$$ is too large to even be a set (it is a proper class); this is because nets in $$X$$ can have domains of cardinality. In contrast, the collection of all filters (and of all prefilters) on $$X$$ is a set whose cardinality is no larger than that of $\wp(\wp(X)).$ Similar to a topology on $$X,$$ a filter on $$X$$ is "intrinsic to $$X$$" in the sense that both structures consist of subsets of $$X$$ and neither definition requires any set that cannot be constructed from $$X$$ (such as $$\N$$ or other directed sets, which sequences and nets require).

Preliminaries, notation, and basic notions
In this article, upper case Roman letters like $$S \text{ and } X$$ denote sets (but not families unless indicated otherwise) and $$\wp(X)$$ will denote the power set of $$X.$$ A subset of a power set is called (or simply, ) where it is  if it is a subset of $$\wp(X).$$ Families of sets will be denoted by upper case calligraphy letters such as $$\mathcal{B}, \mathcal{C}, \text{ and } \mathcal{F}.$$ Whenever these assumptions are needed, then it should be assumed that $$X$$ is non–empty and that $$\mathcal{B}, \mathcal{F},$$ etc. are families of sets over $$X.$$

The terms "prefilter" and "filter base" are synonyms and will be used interchangeably.

Warning about competing definitions and notation

There are unfortunately several terms in the theory of filters that are defined differently by different authors. These include some of the most important terms such as "filter." While different definitions of the same term usually have significant overlap, due to the very technical nature of filters (and point–set topology), these differences in definitions nevertheless often have important consequences. When reading mathematical literature, it is recommended that readers check how the terminology related to filters is defined by the author. For this reason, this article will clearly state all definitions as they are used. Unfortunately, not all notation related to filters is well established and some notation varies greatly across the literature (for example, the notation for the set of all prefilters on a set) so in such cases this article uses whatever notation is most self describing or easily remembered.

The theory of filters and prefilters is well developed and has a plethora of definitions and notations, many of which are now unceremoniously listed to prevent this article from becoming prolix and to allow for the easy look up of notation and definitions. Their important properties are described later.

Sets operations

The or  in $$X$$ of a family of sets $$\mathcal{B} \subseteq \wp(X)$$ is

and similarly the of $$\mathcal{B}$$ is $$\mathcal{B}^{\downarrow} := \{S \subseteq B ~:~ B \in \mathcal{B} \,\} = {\textstyle\bigcup\limits_{B \in \mathcal{B}}} \wp(B).$$

Throughout, $$f$$ is a map.

Topology notation

Denote the set of all topologies on a set $$X \text{ by } \operatorname{Top}(X).$$ Suppose $$\tau \in \operatorname{Top}(X),$$ $$S \subseteq X$$ is any subset, and $$x \in X$$ is any point.

If $$\varnothing \neq S \subseteq X$$ then $$\tau(S) = {\textstyle\bigcap\limits_{s \in S}} \tau(s) \text{ and } \mathcal{N}_{\tau}(S) = {\textstyle\bigcap\limits_{s \in S}} \mathcal{N}_{\tau}(s).$$

Nets and their tails

A is a set $$I$$ together with a preorder, which will be denoted by $$\,\leq\,$$ (unless explicitly indicated otherwise), that makes $$(I, \leq)$$ into an  ; this means that for all $$i, j \in I,$$ there exists some $$k \in I$$ such that $$i \leq k \text{ and } j \leq k.$$ For any indices $$i \text{ and } j,$$ the notation $$j \geq i$$ is defined to mean $$i \leq j$$ while $$i < j$$ is defined to mean that $$i \leq j$$ holds but it is  true that $$j \leq i$$ (if $$\,\leq\,$$ is antisymmetric then this is equivalent to $$i \leq j \text{ and } i \neq j$$).

A is a map from a non–empty directed set into $$X.$$ The notation $$x_\bull = \left(x_i\right)_{i \in I}$$ will be used to denote a net with domain $$I.$$

Warning about using strict comparison

If $$x_\bull = \left(x_i\right)_{i \in I}$$ is a net and $$i \in I$$ then it is possible for the set $$x_{> i} = \left\{x_j ~:~ j > i \text{ and } j \in I\right\},$$ which is called, to be empty (for example, this happens if $$i$$ is an upper bound of the directed set $$I$$). In this case, the family $$\left\{x_{> i} ~:~ i \in I\right\}$$ would contain the empty set, which would prevent it from being a prefilter (defined later). This is the (important) reason for defining $$\operatorname{Tails}\left(x_\bull\right)$$ as $$\left\{x_{\geq i} ~:~ i \in I\right\}$$ rather than $$\left\{x_{> i} ~:~ i \in I\right\}$$ or even $$\left\{x_{> i} ~:~ i \in I\right\}\cup \left\{x_{\geq i} ~:~ i \in I\right\}$$ and it is for this reason that in general, when dealing with the prefilter of tails of a net, the strict inequality $$\,<\,$$ may not be used interchangeably with the inequality $$\,\leq.$$

Filters and prefilters
The following is a list of properties that a family $$\mathcal{B}$$ of sets may possess and they form the defining properties of filters, prefilters, and filter subbases. Whenever it is necessary, it should be assumed that $$\mathcal{B} \subseteq \wp(X).$$

Many of the properties of $$\mathcal{B}$$ defined above and below, such as "proper" and "directed downward," do not depend on $$X,$$ so mentioning the set $$X$$ is optional when using such terms. Definitions involving being "upward closed in $$X,$$" such as that of "filter on $$X,$$" do depend on $$X$$ so the set $$X$$ should be mentioned if it is not clear from context.

There are no prefilters on $$X = \varnothing$$ (nor are there any nets valued in $$\varnothing$$), which is why this article, like most authors, will automatically assume without comment that $$X \neq \varnothing$$ whenever this assumption is needed.

Basic examples
Named examples

 The singleton set $$\mathcal{B} = \{X\}$$ is called the or  It is the unique  filter on $$X$$ because it is a subset of every filter on $$X$$; however, it need not be a subset of every prefilter on $$X.$$

The dual ideal $$\wp(X)$$ is also called (despite not actually being a filter). It is the only dual ideal on $$X$$ that is not a filter on $$X.$$

If $$(X, \tau)$$ is a topological space and $$x \in X,$$ then the neighborhood filter $$\mathcal{N}(x)$$ at $$x$$ is a filter on $$X.$$ By definition, a family $$\mathcal{B} \subseteq \wp(X)$$ is called a (resp. a ) at $$x \text{ for } (X, \tau)$$ if and only if $$\mathcal{B}$$ is a prefilter (resp. $$\mathcal{B}$$ is a filter subbase) and the filter on $$X$$ that $$\mathcal{B}$$ generates is equal to the neighborhood filter $$\mathcal{N}(x).$$ The subfamily $$\tau(x) \subseteq \mathcal{N}(x)$$ of open neighborhoods is a filter base for $$\mathcal{N}(x).$$ Both prefilters $$\mathcal{N}(x) \text{ and } \tau(x)$$ also form a bases for topologies on $$X,$$ with the topology generated $$\tau(x)$$ being coarser than $$\tau.$$ This example immediately generalizes from neighborhoods of points to neighborhoods of non–empty subsets $$S \subseteq X.$$</li>

<li>$$\mathcal{B}$$ is an if $$\mathcal{B} = \operatorname{Tails}\left(x_\bull\right)$$ for some sequence of points $$x_\bull = \left(x_i\right)_{i=1}^\infty.$$</li>

<li>$$\mathcal{B}$$ is an or a  on $$X$$ if $$\mathcal{B}$$ is a filter on $$X$$ generated by some elementary prefilter. The filter of tails generated by a sequence that is not eventually constant is necessarily an ultrafilter. Every principal filter on a countable set is sequential as is every cofinite filter on a countably infinite set. The intersection of finitely many sequential filters is again sequential.</li>

<li>The set $$\mathcal{F}$$ of all cofinite subsets of $$X$$ (meaning those sets whose complement in $$X$$ is finite) is proper if and only if $$\mathcal{F}$$ is infinite (or equivalently, $$X$$ is infinite), in which case $$\mathcal{F}$$ is a filter on $$X$$ known as the or the  on $$X.$$ If $$X$$ is finite then $$\mathcal{F}$$ is equal to the dual ideal $$\wp(X),$$ which is not a filter. If $$X$$ is infinite then the family $$\{X \setminus \{x\} ~:~ x \in X\}$$ of complements of singleton sets is a filter subbase that generates the Fréchet filter on $$X.$$ As with any family of sets over $$X$$ that contains $$\{X \setminus \{x\} ~:~ x \in X\},$$ the kernel of the Fréchet filter on $$X$$ is the empty set: $$\ker \mathcal{F} = \varnothing.$$</li>

<li>The intersection of all elements in any non–empty family $$\mathbb{F} \subseteq \operatorname{Filters}(X)$$ is itself a filter on $$X$$ called the or  of $$\mathbb{F} \text{ in } \operatorname{Filters}(X),$$ which is why it may be denoted by $${\textstyle\bigwedge\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F}.$$ Said differently, $$\ker \mathbb{F} = {\textstyle\bigcap\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F} \in \operatorname{Filters}(X).$$ Because every filter on $$X$$ has $$\{X\}$$ as a subset, this intersection is never empty. By definition, the infimum is the finest/largest (relative to $$\,\subseteq\, \text{ and } \,\leq\,$$) filter contained as a subset of each member of $$\mathbb{F}.$$
 * If $$\mathcal{B} \text{ and } \mathcal{F}$$ are filters then their infimum in $$\operatorname{Filters}(X)$$ is the filter $$\mathcal{B} \,(\cup)\, \mathcal{F}.$$ If $$\mathcal{B} \text{ and } \mathcal{F}$$ are prefilters then $$\mathcal{B} \,(\cup)\, \mathcal{F}$$ is a prefilter that is coarser than both $$\mathcal{B} \text{ and } \mathcal{F}$$ (that is, $$\mathcal{B} \,(\cup)\, \mathcal{F} \leq \mathcal{B} \text{ and } \mathcal{B} \,(\cup)\, \mathcal{F} \leq \mathcal{F}$$); indeed, it is one of the finest such prefilters, meaning that if $$\mathcal{S}$$ is a prefilter such that $$\mathcal{S} \leq \mathcal{B} \text{ and } \mathcal{S} \leq \mathcal{F}$$ then necessarily $$\mathcal{S} \leq \mathcal{B} \,(\cup)\, \mathcal{F}.$$ More generally, if $$\mathcal{B} \text{ and } \mathcal{F}$$ are non−empty families and if $$\mathbb{S} := \{\mathcal{S} \subseteq \wp(X) ~:~ \mathcal{S} \leq \mathcal{B} \text{ and } \mathcal{S} \leq \mathcal{F}\}$$ then $$\mathcal{B} \,(\cup)\, \mathcal{F} \in \mathbb{S}$$ and $$\mathcal{B} \,(\cup)\, \mathcal{F}$$ is a greatest element of $$(\mathbb{S}, \leq).$$</li>

<li>Let $$\varnothing \neq \mathbb{F} \subseteq \operatorname{DualIdeals}(X)$$ and let $$\cup \mathbb{F} = {\textstyle\bigcup\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F}.$$ The or  of $$\mathbb{F} \text{ in } \operatorname{DualIdeals}(X),$$ denoted by $${\textstyle\bigvee\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F},$$ is the smallest (relative to $$\subseteq$$) dual ideal on $$X$$ containing every element of $$\mathbb{F}$$ as a subset; that is, it is the smallest (relative to $$\subseteq$$) dual ideal on $$X$$ containing $$\cup \mathbb{F}$$ as a subset. This dual ideal is $${\textstyle\bigvee\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F} = \pi\left(\cup \mathbb{F}\right)^{\uparrow X},$$ where $$\pi\left(\cup \mathbb{F}\right) := \left\{F_1 \cap \cdots \cap F_n ~:~ n \in \N \text{ and every } F_i \text{ belongs to some } \mathcal{F} \in \mathbb{F}\right\}$$ is the π–system generated by $$\cup \mathbb{F}.$$ As with any non–empty family of sets, $$\cup \mathbb{F}$$ is contained in filter on $$X$$ if and only if it is a filter subbase, or equivalently, if and only if $${\textstyle\bigvee\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F} = \pi\left(\cup \mathbb{F}\right)^{\uparrow X}$$ is a filter on $$X,$$ in which case this family is the smallest (relative to $$\subseteq$$) filter on $$X$$ containing every element of $$\mathbb{F}$$ as a subset and necessarily $$\mathbb{F} \subseteq \operatorname{Filters}(X).$$ </li>

<li>Let $$\varnothing \neq \mathbb{F} \subseteq \operatorname{Filters}(X)$$ and let $$\cup \mathbb{F} = {\textstyle\bigcup\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F}.$$ The or  of $$\mathbb{F} \text{ in } \operatorname{Filters}(X),$$ denoted by $${\textstyle\bigvee\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F}$$ if it exists, is by definition the smallest (relative to $$\subseteq$$) filter on $$X$$ containing every element of $$\mathbb{F}$$ as a subset. If it exists then necessarily $${\textstyle\bigvee\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F} = \pi\left(\cup \mathbb{F}\right)^{\uparrow X}$$ (as defined above) and $${\textstyle\bigvee\limits_{\mathcal{F} \in \mathbb{F}}} \mathcal{F}$$ will also be equal to the intersection of all filters on $$X$$ containing $$\cup \mathbb{F}.$$ This supremum of $$\mathbb{F} \text{ in } \operatorname{Filters}(X)$$ exists if and only if the dual ideal $$\pi\left(\cup \mathbb{F}\right)^{\uparrow X}$$ is a filter on $$X.$$ The least upper bound of a family of filters $$\mathbb{F}$$ may fail to be a filter. Indeed, if $$X$$ contains at least 2 distinct elements then there exist filters $$\mathcal{B} \text{ and } \mathcal{C} \text{ on } X$$ for which there does exist a filter $$\mathcal{F} \text{ on } X$$ that contains both $$\mathcal{B} \text{ and } \mathcal{C}.$$ If $$\cup \mathbb{F}$$ is not a filter subbase then the supremum of $$\mathbb{F} \text{ in } \operatorname{Filters}(X)$$ does not exist and the same is true of its supremum in $$\operatorname{Prefilters}(X)$$ but their supremum in the set of all dual ideals on $$X$$ will exist (it being the degenerate filter $$\wp(X)$$). </li> </ul>
 * If $$\mathcal{B} \text{ and } \mathcal{F}$$ are prefilters (resp. filters on $$X$$) then $$\mathcal{B} \,(\cap)\, \mathcal{F}$$ is a prefilter (resp. a filter) if and only if it is non–degenerate (or said differently, if and only if $$\mathcal{B} \text{ and } \mathcal{F}$$ mesh), in which case it is coarsest prefilters (resp.  coarsest filter) on $$X$$ that is finer (with respect to $$\,\leq$$) than both $$\mathcal{B} \text{ and } \mathcal{F};$$ this means that if $$\mathcal{S}$$ is any prefilter (resp. any filter) such that $$\mathcal{B} \leq \mathcal{S} \text{ and } \mathcal{F} \leq \mathcal{S}$$ then necessarily $$\mathcal{B} \,(\cap)\, \mathcal{F} \leq \mathcal{S},$$ in which case it is denoted by $$\mathcal{B} \vee \mathcal{F}.$$

Other examples

<ul> <li>Let $$X = \{p,1,2,3\}$$ and let $$\mathcal{B} = \{\{p\}, \{p,1,2\}, \{p,1,3\}\},$$ which makes $$\mathcal{B}$$ a prefilter and a filter subbase that is not closed under finite intersections. Because $$\mathcal{B}$$ is a prefilter, the smallest prefilter containing $$\mathcal{B}$$ is $$\mathcal{B}.$$ The π–system generated by $$\mathcal{B}$$ is $$\{\{p,1\}\} \cup \mathcal{B}.$$ In particular, the smallest prefilter containing the filter subbase $$\mathcal{B}$$ is equal to the set of all finite intersections of sets in $$\mathcal{B}.$$ The filter on $$X$$ generated by $$\mathcal{B}$$ is $$\mathcal{B}^{\uparrow X} = \{S \subseteq X : p \in S\} = \{\{p\} \cup T ~:~ T \subseteq \{1,2,3\}\}.$$ All three of $$\mathcal{B},$$ the π–system $$\mathcal{B}$$ generates, and $$\mathcal{B}^{\uparrow X}$$ are examples of fixed, principal, ultra prefilters that are principal at the point $$p; \mathcal{B}^{\uparrow X}$$ is also an ultrafilter on $$X.$$</li>

<li>Let $$(X, \tau)$$ be a topological space, $$\mathcal{B} \subseteq \wp(X),$$ and define $$\overline{\mathcal{B}} := \left\{\operatorname{cl}_X B ~:~ B \in \mathcal{B}\right\},$$ where $$\mathcal{B}$$ is necessarily finer than $$\overline{\mathcal{B}}.$$ If $$\mathcal{B}$$ is non–empty (resp. non–degenerate, a filter subbase, a prefilter, closed under finite unions) then the same is true of $$\overline{\mathcal{B}}.$$ If $$\mathcal{B}$$ is a filter on $$X$$ then $$\overline{\mathcal{B}}$$ is a prefilter but not necessarily a filter on $$X$$ although $$\left(\overline{\mathcal{B}}\right)^{\uparrow X}$$ is a filter on $$X$$ equivalent to $$\overline{\mathcal{B}}.$$</li>

<li>The set $$\mathcal{B}$$ of all dense open subsets of a (non–empty) topological space $$X$$ is a proper π–system and so also a prefilter. If the space is a Baire space, then the set of all countable intersections of dense open subsets is a π–system and a prefilter that is finer than $$\mathcal{B}.$$ If $$X = \R^n$$ (with $$1 \leq n \in \N$$) then the set $$\mathcal{B}_{\operatorname{LebFinite}}$$ of all $$B \in \mathcal{B}$$ such that $$B$$ has finite Lebesgue measure is a proper π–system and a free prefilter that is also a proper subset of $$\mathcal{B}.$$ The prefilters $$\mathcal{B}_{\operatorname{LebFinite}}$$ and $$\mathcal{B}$$ are equivalent and so generate the same filter on $$X.$$ The prefilter $$\mathcal{B}_{\operatorname{LebFinite}}$$ is properly contained in, and not equivalent to, the prefilter consisting of all dense open subsets of $$\R.$$ Since $$X$$ is a Baire space, every countable intersection of sets in $$\mathcal{B}_{\operatorname{LebFinite}}$$ is dense in $$X$$ (and also comeagre and non–meager) so the set of all countable intersections of elements of $$\mathcal{B}_{\operatorname{LebFinite}}$$ is a prefilter and π–system; it is also finer than, and not equivalent to, $$\mathcal{B}_{\operatorname{LebFinite}}.$$</li>

</ul>

Ultrafilters
There are many other characterizations of "ultrafilter" and "ultra prefilter," which are listed in the article on ultrafilters. Important properties of ultrafilters are also described in that article.

The ultrafilter lemma

The following important theorem is due to Alfred Tarski (1930).

$$

A consequence of the ultrafilter lemma is that every filter is equal to the intersection of all ultrafilters containing it. Assuming the axioms of Zermelo–Fraenkel (ZF), the ultrafilter lemma follows from the Axiom of choice (in particular from Zorn's lemma) but is strictly weaker than it. The ultrafilter lemma implies the Axiom of choice for finite sets. If dealing with Hausdorff spaces, then most basic results (as encountered in introductory courses) in Topology (such as Tychonoff's theorem for compact Hausdorff spaces and the Alexander subbase theorem) and in functional analysis (such as the Hahn–Banach theorem) can be proven using only the ultrafilter lemma; the full strength of the axiom of choice might not be needed.

Kernels
The kernel is useful in classifying properties of prefilters and other families of sets.

If $$\mathcal{B} \subseteq \wp(X)$$ then $$\ker \left(\mathcal{B}^{\uparrow X}\right) = \ker \mathcal{B}$$ and this set is also equal to the kernel of the π–system that is generated by $$\mathcal{B}.$$ In particular, if $$\mathcal{B}$$ is a filter subbase then the kernels of all of the following sets are equal:
 * (1) $$\mathcal{B},$$ (2) the π–system generated by $$\mathcal{B},$$ and (3) the filter generated by $$\mathcal{B}.$$

If $$f$$ is a map then $$f(\ker \mathcal{B}) \subseteq \ker f(\mathcal{B}) \text{ and } f^{-1}(\ker \mathcal{B}) = \ker f^{-1}(\mathcal{B}).$$ Equivalent families have equal kernels. Two principal families are equivalent if and only if their kernels are equal.

Classifying families by their kernels
If $$\mathcal{B}$$ is a principal filter on $$X$$ then $$\varnothing \neq \ker \mathcal{B} \in \mathcal{B}$$ and $$\mathcal{B} = \{\ker \mathcal{B}\}^{\uparrow X}$$ and $$\{\ker \mathcal{B}\}$$ is also the smallest prefilter that generates $$\mathcal{B}.$$

Family of examples: For any non–empty $$C \subseteq \R,$$ the family $$\mathcal{B}_C = \{\R \setminus (r + C) ~:~ r \in \R\}$$ is free but it is a filter subbase if and only if no finite union of the form $$\left(r_1 + C\right) \cup \cdots \cup \left(r_n + C\right)$$ covers $$\R,$$ in which case the filter that it generates will also be free. In particular, $$\mathcal{B}_C$$ is a filter subbase if $$C$$ is countable (for example, $$C = \Q, \Z,$$ the primes), a meager set in $$\R,$$ a set of finite measure, or a bounded subset of $$\R.$$ If $$C$$ is a singleton set then $$\mathcal{B}_C$$ is a subbase for the Fréchet filter on $$\R.$$

Characterizing fixed ultra prefilters
If a family of sets $$\mathcal{B}$$ is fixed (that is, $$\ker \mathcal{B} \neq \varnothing$$) then $$\mathcal{B}$$ is ultra if and only if some element of $$\mathcal{B}$$ is a singleton set, in which case $$\mathcal{B}$$ will necessarily be a prefilter. Every principal prefilter is fixed, so a principal prefilter $$\mathcal{B}$$ is ultra if and only if $$\ker \mathcal{B}$$ is a singleton set.

Every filter on $$X$$ that is principal at a single point is an ultrafilter, and if in addition $$X$$ is finite, then there are no ultrafilters on $$X$$ other than these.

The next theorem shows that every ultrafilter falls into one of two categories: either it is free or else it is a principal filter generated by a single point.

$$

Finer/coarser, subordination, and meshing
The preorder $$\,\leq\,$$ that is defined below is of fundamental importance for the use of prefilters (and filters) in topology. For instance, this preorder is used to define the prefilter equivalent of "subsequence", where "$$\mathcal{F} \geq \mathcal{C}$$" can be interpreted as "$$\mathcal{F}$$ is a subsequence of $$\mathcal{C}$$" (so "subordinate to" is the prefilter equivalent of "subsequence of"). It is also used to define prefilter convergence in a topological space. The definition of $$\mathcal{B}$$ meshes with $$\mathcal{C},$$ which is closely related to the preorder $$\,\leq,$$ is used in topology to define cluster points.

Two families of sets $$\mathcal{B} \text{ and } \mathcal{C}$$ and are, indicated by writing $$\mathcal{B} \# \mathcal{C},$$ if $$B \cap C \neq \varnothing \text{ for all } B \in \mathcal{B} \text{ and } C \in \mathcal{C}.$$ If $$\mathcal{B} \text{ and } \mathcal{C}$$ do not mesh then they are. If $$S \subseteq X \text{ and } \mathcal{B} \subseteq \wp(X)$$ then $$\mathcal{B} \text{ and } S$$ are said to if $$\mathcal{B} \text{ and } \{S\}$$ mesh, or equivalently, if the  of $$\mathcal{B} \text{ on } S,$$ which is the family $$\mathcal{B}\big\vert_S = \{B \cap S ~:~ B \in \mathcal{B}\},$$ does not contain the empty set, where the trace is also called the of $$\mathcal{B} \text{ to } S.$$

Example: If $$x_{i_\bull} = \left(x_{i_n}\right)_{n=1}^\infty$$ is a subsequence of $$x_\bull = \left(x_i\right)_{i=1}^\infty$$ then $$\operatorname{Tails}\left(x_{i_\bull}\right)$$ is subordinate to $$\operatorname{Tails}\left(x_\bull\right);$$ in symbols: $$\operatorname{Tails}\left(x_{i_\bull}\right) \vdash \operatorname{Tails}\left(x_\bull\right)$$ and also $$\operatorname{Tails}\left(x_\bull\right) \leq \operatorname{Tails}\left(x_{i_\bull}\right).$$ Stated in plain English, the prefilter of tails of a subsequence is always subordinate to that of the original sequence. To see this, let $$C := x_{\geq i} \in \operatorname{Tails}\left(x_\bull\right)$$ be arbitrary (or equivalently, let $$i \in \N$$ be arbitrary) and it remains to show that this set contains some $$F := x_{i_{\geq n}} \in \operatorname{Tails}\left(x_{i_\bull}\right).$$ For the set $$x_{\geq i} = \left\{x_i, x_{i+1}, \ldots\right\}$$ to contain $$x_{i_{\geq n}} = \left\{x_{i_n}, x_{i_{n+1}}, \ldots\right\},$$ it is sufficient to have $$i \leq i_n.$$ Since $$i_1 < i_2 < \cdots$$ are strictly increasing integers, there exists $$n \in \N$$ such that $$i_n \geq i,$$ and so $$x_{\geq i} \supseteq x_{i_{\geq n}}$$ holds, as desired. Consequently, $$\operatorname{TailsFilter}\left(x_\bull\right) \subseteq \operatorname{TailsFilter}\left(x_{i_\bull}\right).$$ The left hand side will be a subset of the right hand side if (for instance) every point of $$x_\bull$$ is unique (that is, when $$x_\bull : \N \to X$$ is injective) and $$x_{i_\bull}$$ is the even-indexed subsequence $$\left(x_2, x_4, x_6, \ldots\right)$$ because under these conditions, every tail $$x_{i_{\geq n}} = \left\{x_{2n}, x_{2n + 2}, x_{2n + 4}, \ldots\right\}$$ (for every $$n \in \N$$) of the subsequence will belong to the right hand side filter but not to the left hand side filter.

For another example, if $$\mathcal{B}$$ is any family then $$\varnothing \leq \mathcal{B} \leq \mathcal{B} \leq \{\varnothing\}$$ always holds and furthermore, $$\{\varnothing\} \leq \mathcal{B} \text{ if and only if } \varnothing \in \mathcal{B}.$$

A non-empty family that is coarser than a filter subbase must itself be a filter subbase. Every filter subbase is coarser than both the π–system that it generates and the filter that it generates.

If $$\mathcal{C} \text{ and } \mathcal{F}$$ are families such that $$\mathcal{C} \leq \mathcal{F},$$ the family $$\mathcal{C}$$ is ultra, and $$\varnothing \not\in \mathcal{F},$$ then $$\mathcal{F}$$ is necessarily ultra. It follows that any family that is equivalent to an ultra family will necessarily ultra. In particular, if $$\mathcal{C}$$ is a prefilter then either both $$\mathcal{C}$$ and the filter $$\mathcal{C}^{\uparrow X}$$ it generates are ultra or neither one is ultra.

The relation $$\,\leq\,$$ is reflexive and transitive, which makes it into a preorder on $$\wp(\wp(X)).$$ The relation $$\,\leq\, \text{ on } \operatorname{Filters}(X)$$ is antisymmetric but if $$X$$ has more than one point then it is symmetric.

Equivalent families of sets
The preorder $$\,\leq\,$$ induces its canonical equivalence relation on $$\wp(\wp(X)),$$ where for all $$\mathcal{B}, \mathcal{C} \in \wp(\wp(X)),$$ $$\mathcal{B}$$ is to $$\mathcal{C}$$ if any of the following equivalent conditions hold:

<ol style="list-style-type:lower-latin;"> <li>$$\mathcal{C} \leq \mathcal{B} \text{ and } \mathcal{B} \leq \mathcal{C}.$$</li> <li>The upward closures of $$\mathcal{C} \text{ and } \mathcal{B}$$ are equal.</li> </ol>

Two upward closed (in $$X$$) subsets of $$\wp(X)$$ are equivalent if and only if they are equal. If $$\mathcal{B} \subseteq \wp(X)$$ then necessarily $$\varnothing \leq \mathcal{B} \leq \wp(X)$$ and $$\mathcal{B}$$ is equivalent to $$\mathcal{B}^{\uparrow X}.$$ Every equivalence class other than $$\{\varnothing\}$$ contains a unique representative (that is, element of the equivalence class) that is upward closed in $$X.$$

Properties preserved between equivalent families

Let $$\mathcal{B}, \mathcal{C} \in \wp(\wp(X))$$ be arbitrary and let $$\mathcal{F}$$ be any family of sets. If $$\mathcal{B} \text{ and } \mathcal{C}$$ are equivalent (which implies that $$\ker \mathcal{B} = \ker \mathcal{C}$$) then for each of the statements/properties listed below, either it is true of $$\mathcal{B} \text{ and } \mathcal{C}$$ or else it is false of  $$\mathcal{B} \text{ and } \mathcal{C}$$: <ol> <li>Not empty</li> <li>Proper (that is, $$\varnothing$$ is not an element) <li>Filter subbase</li> <li>Prefilter <li>Free</li> <li>Principal</li> <li>Ultra</li> <li>Is equal to the trivial filter $$\{X\}$$ <li>Meshes with $$\mathcal{F}$$</li> <li>Is finer than $$\mathcal{F}$$</li> <li>Is coarser than $$\mathcal{F}$$</li> <li>Is equivalent to $$\mathcal{F}$$</li> </ol>
 * Moreover, any two degenerate families are necessarily equivalent.</li>
 * In which case $$\mathcal{B} \text{ and } \mathcal{C}$$ generate the same filter on $$X$$ (that is, their upward closures in $$X$$ are equal).</li>
 * In words, this means that the only subset of $$\wp(X)$$ that is equivalent to the trivial filter the trivial filter. In general, this conclusion of equality does not extend to non−trivial filters (one exception is when both families are filters).</li>

Missing from the above list is the word "filter" because this property is preserved by equivalence. However, if $$\mathcal{B} \text{ and } \mathcal{C}$$ are filters on $$X,$$ then they are equivalent if and only if they are equal; this characterization does extend to prefilters.

Equivalence of prefilters and filter subbases

If $$\mathcal{B}$$ is a prefilter on $$X$$ then the following families are always equivalent to each other: <ol> <li>$$\mathcal{B}$$;</li> <li>the π–system generated by $$\mathcal{B}$$;</li> <li>the filter on $$X$$ generated by $$\mathcal{B}$$;</li> </ol> and moreover, these three families all generate the same filter on $$X$$ (that is, the upward closures in $$X$$ of these families are equal).

In particular, every prefilter is equivalent to the filter that it generates. By transitivity, two prefilters are equivalent if and only if they generate the same filter. Every prefilter is equivalent to exactly one filter on $$X,$$ which is the filter that it generates (that is, the prefilter's upward closure). Said differently, every equivalence class of prefilters contains exactly one representative that is a filter. In this way, filters can be considered as just being distinguished elements of these equivalence classes of prefilters.

A filter subbase that is also a prefilter can be equivalent to the prefilter (or filter) that it generates. In contrast, every prefilter is equivalent to the filter that it generates. This is why prefilters can, by and large, be used interchangeably with the filters that they generate while filter subbases cannot.

Trace and meshing
If $$\mathcal{B}$$ is a prefilter (resp. filter) on $$X \text{ and } S \subseteq X$$ then the trace of $$\mathcal{B} \text{ on } S,$$ which is the family $$\mathcal{B}\big\vert_S := \mathcal{B} (\cap) \{S\},$$ is a prefilter (resp. a filter) if and only if $$\mathcal{B} \text{ and } S$$ mesh (that is, $$\varnothing \not\in \mathcal{B} (\cap) \{S\}$$), in which case the trace of $$\mathcal{B} \text{ on } S$$ is said to be. The trace is always finer than the original family; that is, $$\mathcal{B} \leq \mathcal{B}\big\vert_S.$$ If $$\mathcal{B}$$ is ultra and if $$\mathcal{B} \text{ and } S$$ mesh then the trace $$\mathcal{B}\big\vert_S$$ is ultra. If $$\mathcal{B}$$ is an ultrafilter on $$X$$ then the trace of $$\mathcal{B} \text{ on } S$$ is a filter on $$S$$ if and only if $$S \in \mathcal{B}.$$

For example, suppose that $$\mathcal{B}$$ is a filter on $$X \text{ and } S \subseteq X$$ is such that $$S \neq X \text{ and } X \setminus S \not\in \mathcal{B}.$$ Then $$\mathcal{B} \text{ and } S$$ mesh and $$\mathcal{B} \cup \{S\}$$ generates a filter on $$X$$ that is strictly finer than $$\mathcal{B}.$$

When prefilters mesh

Given non–empty families $$\mathcal{B} \text{ and } \mathcal{C},$$ the family $$\mathcal{B} (\cap) \mathcal{C} := \{B \cap C ~:~ B \in \mathcal{B} \text{ and } C \in \mathcal{C}\}$$ satisfies $$\mathcal{C} \leq \mathcal{B} (\cap) \mathcal{C}$$ and $$\mathcal{B} \leq \mathcal{B} (\cap) \mathcal{C}.$$ If $$\mathcal{B} (\cap) \mathcal{C}$$ is proper (resp. a prefilter, a filter subbase) then this is also true of both $$\mathcal{B} \text{ and } \mathcal{C}.$$ In order to make any meaningful deductions about $$\mathcal{B} (\cap) \mathcal{C}$$ from $$\mathcal{B} \text{ and } \mathcal{C}, \mathcal{B} (\cap) \mathcal{C}$$ needs to be proper (that is, $$\varnothing \not\in \mathcal{B} (\cap) \mathcal{C},$$ which is the motivation for the definition of "mesh". In this case, $$\mathcal{B} (\cap) \mathcal{C}$$ is a prefilter (resp. filter subbase) if and only if this is true of both $$\mathcal{B} \text{ and } \mathcal{C}.$$ Said differently, if $$\mathcal{B} \text{ and } \mathcal{C}$$ are prefilters then they mesh if and only if $$\mathcal{B} (\cap) \mathcal{C}$$ is a prefilter. Generalizing gives a well known characterization of "mesh" entirely in terms of subordination (that is, $$\,\leq\,$$):

Two prefilters (resp. filter subbases) $$\mathcal{B} \text{ and } \mathcal{C}$$ mesh if and only if there exists a prefilter (resp. filter subbase) $$\mathcal{F}$$ such that $$\mathcal{C} \leq \mathcal{F}$$ and $$\mathcal{B} \leq \mathcal{F}.$$

If the least upper bound of two filters $$\mathcal{B} \text{ and } \mathcal{C}$$ exists in $$\operatorname{Filters}(X)$$ then this least upper bound is equal to $$\mathcal{B} (\cap) \mathcal{C}.$$

Images and preimages under functions
Throughout, $$f : X \to Y \text{ and } g : Y \to Z$$ will be maps between non–empty sets.

Images of prefilters

Let $$\mathcal{B} \subseteq \wp(Y).$$ Many of the properties that $$\mathcal{B}$$ may have are preserved under images of maps; notable exceptions include being upward closed, being closed under finite intersections, and being a filter, which are not necessarily preserved.

Explicitly, if one of the following properties is true of $$\mathcal{B} \text{ on } Y,$$ then it will necessarily also be true of $$g(\mathcal{B}) \text{ on } g(Y)$$ (although possibly not on the codomain $$Z$$ unless $$g$$ is surjective): ultra, ultrafilter, filter, prefilter, filter subbase, dual ideal, upward closed, proper/non–degenerate, ideal, closed under finite unions, downward closed, directed upward. Moreover, if $$\mathcal{B} \subseteq \wp(Y)$$ is a prefilter then so are both $$g(\mathcal{B}) \text{ and } g^{-1}(g(\mathcal{B})).$$ The image under a map $$f : X \to Y$$ of an ultra set $$\mathcal{B} \subseteq \wp(X)$$ is again ultra and if $$\mathcal{B}$$ is an ultra prefilter then so is $$f(\mathcal{B}).$$

If $$\mathcal{B}$$ is a filter then $$g(\mathcal{B})$$ is a filter on the range $$g(Y),$$ but it is a filter on the codomain $$Z$$ if and only if $$g$$ is surjective. Otherwise it is just a prefilter on $$Z$$ and its upward closure must be taken in $$Z$$ to obtain a filter. The upward closure of $$g(\mathcal{B}) \text{ in } Z$$ is $$g(\mathcal{B})^{\uparrow Z} = \left\{S \subseteq Z ~:~ B \subseteq g^{-1}(S) \text{ for some } B \in \mathcal{B}\right\}$$ where if $$\mathcal{B}$$ is upward closed in $$Y$$ (that is, a filter) then this simplifies to: $$g(\mathcal{B})^{\uparrow Z} = \left\{S \subseteq Z ~:~ g^{-1}(S) \in \mathcal{B}\right\}.$$

If $$X \subseteq Y$$ then taking $$g$$ to be the inclusion map $$X \to Y$$ shows that any prefilter (resp. ultra prefilter, filter subbase) on $$X$$ is also a prefilter (resp. ultra prefilter, filter subbase) on $$Y.$$

Preimages of prefilters

Let $$\mathcal{B} \subseteq \wp(Y).$$ Under the assumption that $$f : X \to Y$$ is surjective:

$$f^{-1}(\mathcal{B})$$ is a prefilter (resp. filter subbase, π–system, closed under finite unions, proper) if and only if this is true of $$\mathcal{B}.$$

However, if $$\mathcal{B}$$ is an ultrafilter on $$Y$$ then even if $$f$$ is surjective (which would make $$f^{-1}(\mathcal{B})$$ a prefilter), it is nevertheless still possible for the prefilter $$f^{-1}(\mathcal{B})$$ to be neither ultra nor a filter on $$X.$$

If $$f : X \to Y$$ is not surjective then denote the trace of $$\mathcal{B} \text{ on } f(X)$$ by $$\mathcal{B}\big\vert_{f(X)},$$ where in this case particular case the trace satisfies: $$\mathcal{B}\big\vert_{f(X)} = f\left(f^{-1}(\mathcal{B})\right)$$ and consequently also: $$f^{-1}(\mathcal{B}) = f^{-1}\left(\mathcal{B}\big\vert_{f(X)}\right).$$

This last equality and the fact that the trace $$\mathcal{B}\big\vert_{f(X)}$$ is a family of sets over $$f(X)$$ means that to draw conclusions about $$f^{-1}(\mathcal{B}),$$ the trace $$\mathcal{B}\big\vert_{f(X)}$$ can be used in place of $$\mathcal{B}$$ and the $$f : X \to f(X)$$ can be used in place of $$f : X \to Y.$$ For example:

$$f^{-1}(\mathcal{B})$$ is a prefilter (resp. filter subbase, π–system, proper) if and only if this is true of $$\mathcal{B}\big\vert_{f(X)}.$$

In this way, the case where $$f$$ is not (necessarily) surjective can be reduced down to the case of a surjective function (which is a case that was described at the start of this subsection).

Even if $$\mathcal{B}$$ is an ultrafilter on $$Y,$$ if $$f$$ is not surjective then it is nevertheless possible that $$\varnothing \in \mathcal{B}\big\vert_{f(X)},$$ which would make $$f^{-1}(\mathcal{B})$$ degenerate as well. The next characterization shows that degeneracy is the only obstacle. If $$\mathcal{B}$$ is a prefilter then the following are equivalent:

<ol> <li>$$f^{-1}(\mathcal{B})$$ is a prefilter;</li> <li>$$\mathcal{B}\big\vert_{f(X)}$$ is a prefilter;</li> <li>$$\varnothing \not\in \mathcal{B}\big\vert_{f(X)}$$;</li> <li>$$\mathcal{B}$$ meshes with $$f(X)$$</li> </ol>

and moreover, if $$f^{-1}(\mathcal{B})$$ is a prefilter then so is $$f\left(f^{-1}(\mathcal{B})\right).$$

If $$S \subseteq Y$$ and if $$\operatorname{In} : S \to Y$$ denotes the inclusion map then the trace of $$\mathcal{B} \text{ on } S$$ is equal to $$\operatorname{In}^{-1}(\mathcal{B}).$$ This observation allows the results in this subsection to be applied to investigating the trace on a set.

Subordination is preserved by images and preimages
The relation $$\,\leq\,$$ is preserved under both images and preimages of families of sets. This means that for families $$\mathcal{C} \text{ and } \mathcal{F},$$ $$\mathcal{C} \leq \mathcal{F} \quad \text{ implies } \quad g(\mathcal{C}) \leq g(\mathcal{F}) \quad \text{ and } \quad f^{-1}(\mathcal{C}) \leq f^{-1}(\mathcal{F}).$$

Moreover, the following relations always hold for family of sets $$\mathcal{C}$$:

$$\mathcal{C} \leq f\left(f^{-1}(\mathcal{C})\right)$$ where equality will hold if $$f$$ is surjective. Furthermore, $$f^{-1}(\mathcal{C}) = f^{-1}\left(f\left(f^{-1}(\mathcal{C})\right)\right) \quad \text{ and } \quad g(\mathcal{C}) = g\left(g^{-1}(g(\mathcal{C}))\right).$$

If $$\mathcal{B} \subseteq \wp(X) \text{ and } \mathcal{C} \subseteq \wp(Y)$$ then $$f(\mathcal{B}) \leq \mathcal{C} \quad \text{ if and only if } \quad \mathcal{B} \leq f^{-1}(\mathcal{C})$$ and $$g^{-1}(g(\mathcal{C})) \leq \mathcal{C}$$ where equality will hold if $$g$$ is injective.

Products of prefilters
Suppose $$X_\bull = \left(X_i\right)_{i \in I}$$ is a family of one or more non–empty sets, whose product will be denoted by $${\textstyle\prod_{}} X_\bull := {\textstyle\prod\limits_{i \in I}} X_i,$$ and for every index $$i \in I,$$ let $$\Pr{}_{X_i} : \prod X_\bull \to X_i$$ denote the canonical projection. Let $$\mathcal{B}_\bull := \left(\mathcal{B}_i\right)_{i \in I}$$ be non−empty families, also indexed by $$I,$$ such that $$\mathcal{B}_i \subseteq \wp\left(X_i\right)$$ for each $$i \in I.$$ The of the families $$\mathcal{B}_\bull$$ is defined identically to how the basic open subsets of the product topology are defined (had all of these $$\mathcal{B}_i$$ been topologies). That is, both the notations $$\prod_{} \mathcal{B}_\bull = \prod_{i \in I} \mathcal{B}_i$$ denote the family of all cylinder subsets $${\textstyle\prod\limits_{i \in I}} S_i \subseteq {\textstyle\prod} X_\bull$$ such that $$S_i = X_i$$ for all but finitely many $$i \in I$$ and where $$S_i \in \mathcal{B}_i$$ for any one of these finitely many exceptions (that is, for any $$i$$ such that $$S_i \neq X_i,$$ necessarily $$S_i \in \mathcal{B}_i$$). When every $$\mathcal{B}_i$$ is a filter subbase then the family $${\textstyle\bigcup\limits_{i \in I}} \Pr{}_{X_i}^{-1} \left(\mathcal{B}_i\right)$$ is a filter subbase for the filter on $${\textstyle\prod} X_\bull$$ generated by $$\mathcal{B}_\bull.$$ If $${\textstyle\prod} \mathcal{B}_\bull$$ is a filter subbase then the filter on $${\textstyle\prod} X_\bull$$ that it generates is called the. If every $$\mathcal{B}_i$$ is a prefilter on $$X_i$$ then $${\textstyle\prod} \mathcal{B}_\bull$$ will be a prefilter on $${\textstyle\prod} X_\bull$$ and moreover, this prefilter is equal to the coarsest prefilter $$\mathcal{F} \text{ on } {\textstyle\prod} X_\bull$$ such that $$\Pr{}_{X_i} (\mathcal{F}) = \mathcal{B}_i$$ for every $$i \in I.$$ However, $${\textstyle\prod} \mathcal{B}_\bull$$ may fail to be a filter on $${\textstyle\prod} X_\bull$$ even if every $$\mathcal{B}_i$$ is a filter on $$X_i.$$

Convergence, limits, and cluster points
Throughout, $$(X, \tau)$$ is a topological space.

Prefilters vs. filters

With respect to maps and subsets, the property of being a prefilter is in general more well behaved and better preserved than the property of being a filter. For instance, the image of a prefilter under some map is again a prefilter; but the image of a filter under a non–surjective map is a filter on the codomain, although it will be a prefilter. The situation is the same with preimages under non–injective maps (even if the map is surjective). If $$S \subseteq X$$ is a proper subset then any filter on $$S$$ will not be a filter on $$X,$$ although it will be a prefilter.

One advantage that filters have is that they are distinguished representatives of their equivalence class (relative to $$\,\leq$$), meaning that any equivalence class of prefilters contains a unique filter. This property may be useful when dealing with equivalence classes of prefilters (for instance, they are useful in the construction of completions of uniform spaces via Cauchy filters). The many properties that characterize ultrafilters are also often useful. They are used to, for example, construct the Stone–Čech compactification. The use of ultrafilters generally requires that the ultrafilter lemma be assumed. But in the many fields where the axiom of choice (or the Hahn–Banach theorem) is assumed, the ultrafilter lemma necessarily holds and does not require an addition assumption.

A note on intuition

Suppose that $$\mathcal{F}$$ is a non–principal filter on an infinite set $$X.$$ $$\mathcal{F}$$ has one "upward" property (that of being closed upward) and one "downward" property (that of being directed downward). Starting with any $$F_0 \in \mathcal{F},$$ there always exists some $$F_1 \in \mathcal{F}$$ that is a subset of $$F_0$$; this may be continued ad infinitum to get a sequence $$F_0 \supsetneq F_1 \supsetneq \cdots$$ of sets in $$\mathcal{F}$$ with each $$F_{i+1}$$ being a  subset of $$F_i.$$ The same is  true going "upward", for if $$F_0 = X \in \mathcal{F}$$ then there is no set in $$\mathcal{F}$$ that contains $$X$$ as a proper subset. Thus when it comes to limiting behavior (which is a topic central to the field of topology), going "upward" leads to a dead end, while going "downward" is typically fruitful. So to gain understanding and intuition about how filters (and prefilter) relate to concepts in topology, the "downward" property is usually the one to concentrate on. This is also why so many topological properties can be described by using only prefilters, rather than requiring filters (which only differ from prefilters in that they are also upward closed). The "upward" property of filters is less important for topological intuition but it is sometimes useful to have for technical reasons. For example, with respect to $$\,\subseteq,$$ every filter subbase is contained in a unique smallest filter but there may not exist a unique smallest prefilter containing it.

Limits and convergence
A family $$\mathcal{B}$$ is said to  to a point $$x$$ of $$X$$ if $$\mathcal{B} \geq \mathcal{N}(x).$$ Explicitly, $$\mathcal{N}(x) \leq \mathcal{B}$$ means that every neighborhood $$N \text{ of } x$$ contains some $$B \in \mathcal{B}$$ as a subset (that is, $$B \subseteq N$$); thus the following then holds: $$\mathcal{N} \ni N \supseteq B \in \mathcal{B}.$$ In words, a family converges to a point or subset $$x$$ if and only if it is than the neighborhood filter at $$x.$$ A family $$\mathcal{B}$$ converging to a point $$x$$ may be indicated by writing $$\mathcal{B} \to x \text{ or } \lim \mathcal{B} \to x \text{ in } X$$ and saying that $$x$$ is a ' of $$\mathcal{B} \text{ in } X;$$ if this limit $$x$$ is a point (and not a subset), then $$x$$ is also called a '. As usual, $$\lim \mathcal{B} = x$$ is defined to mean that $$\mathcal{B} \to x$$ and $$x \in X$$ is the limit point of $$\mathcal{B};$$ that is, if also $$\mathcal{B} \to z \text{ then } z = x.$$  (If the notation "$$\lim \mathcal{B} = x$$" did not also require that the limit point $$x$$ be unique then the equals sign = would no longer be guaranteed to be transitive). The set of all limit points of $$\mathcal{B}$$ is denoted by $$\lim {}_X \mathcal{B} \text{ or } \lim \mathcal{B}.$$

In the above definitions, it suffices to check that $$\mathcal{B}$$ is finer than some (or equivalently, finer than every) neighborhood base in $$(X, \tau)$$ of the point (for example, such as $$\tau(x) = \{U \in \tau : x \in U\}$$ or $$\tau(S) = {\textstyle\bigcap\limits_{s \in S}} \tau(s)$$ when $$S \neq \varnothing$$).

Examples

If $$X := \R^n$$ is Euclidean space and $$\|x\|$$ denotes the Euclidean norm (which is the distance from the origin, defined as usual), then all of the following families converge to the origin:

Although $$\|\cdot\|$$ was assumed to be the Euclidean norm, the example above remains valid for any other norm on $$\R^n.$$
 * 1) the prefilter $$\{B_r(0) : 0 < r \leq 1\}$$ of all open balls centered at the origin, where $$B_r(z) = \{x : \|x - z\| < r\}.$$
 * 2) the prefilter $$\{B_{\leq r}(0) : 0 < r \leq 1\}$$ of all closed balls centered at the origin, where $$B_{\leq r}(z) = \{x : \|x - z\| \leq r\}.$$ This prefilter is equivalent to the one above.
 * 3) the prefilter $$\{R \cap B_{\leq r}(0) : 0 < r \leq 1\}$$ where $$R = S_1 \cup S_{1/2} \cup S_{1/3} \cup \cdots$$ is a union of spheres $$S_r = \{x : \|x\| = r\}$$ centered at the origin having progressively smaller radii. This family consists of the sets $$S_{1/n} \cup S_{1/(n+1)} \cup S_{1/(n+2)} \cup \cdots$$ as $$n$$ ranges over the positive integers.
 * 4) any of the families above but with the radius $$r$$ ranging over $$1, \, 1/2, \, 1/3, \, 1/4, \ldots$$ (or over any other positive decreasing sequence) instead of over all positive reals.
 * 5) * Drawing or imagining any one of these sequences of sets when $$X = \R^2$$ has dimension $$n = 2$$ suggests that intuitively, these sets "should" converge to the origin (and indeed they do). This is the intuition that the above definition of a "convergent prefilter" make rigorous.

The one and only limit point in $$X := \R$$ of the free prefilter $$\{(0, r) : r > 0\}$$ is $$0$$ since every open ball around the origin contains some open interval of this form. The fixed prefilter $$\mathcal{B} := \{[0, 1 + r) : r > 0\}$$ does not converges in $$\R$$ to any and so $$\lim \mathcal{B} = \varnothing,$$ although $$\mathcal{B}$$ does converge to the  $$\ker \mathcal{B} = [0, 1]$$ since $$\mathcal{N}([0, 1]) \leq \mathcal{B}.$$ However, not every fixed prefilter converges to its kernel. For instance, the fixed prefilter $$\{[0, 1 + r) \cup (1 + 1/r, \infty) : r > 0\}$$ also has kernel $$[0, 1]$$ but does not converges (in $$\R$$) to it.

The free prefilter $$(\R, \infty) := \{(r, \infty) : r \in \R\}$$ of intervals does not converge (in $$\R$$) to any point. The same is also true of the prefilter $$[\R, \infty) := \{[r, \infty) : r \in \R\}$$ because it is equivalent to $$(\R, \infty)$$ and equivalent families have the same limits. In fact, if $$\mathcal{B}$$ is any prefilter in any topological space $$X$$ then for every $$S \in \mathcal{B}^{\uparrow X},$$ $$\mathcal{B} \to S.$$ More generally, because the only neighborhood of $$X$$ is itself (that is, $$\mathcal{N}(X) = \{X\}$$), every non-empty family (including every filter subbase) converges to $$X.$$

For any point $$x,$$ its neighborhood filter $$\mathcal{N}(x) \to x$$ always converges to $$x.$$ More generally, any neighborhood basis at $$x$$ converges to $$x.$$ A point $$x$$ is always a limit point of the principle ultra prefilter $$\{\{x\}\}$$ and of the ultrafilter that it generates. The empty family $$\mathcal{B} = \varnothing$$ does not converge to any point.

Basic properties

If $$\mathcal{B}$$ converges to a point then the same is true of any family finer than $$\mathcal{B}.$$ This has many important consequences. One consequence is that the limit points of a family $$\mathcal{B}$$ are the same as the limit points of its upward closure: $$\operatorname{lim}_X \mathcal{B} ~=~ \operatorname{lim}_X \left(\mathcal{B}^{\uparrow X}\right).$$ In particular, the limit points of a prefilter are the same as the limit points of the filter that it generates. Another consequence is that if a family converges to a point then the same is true of the family's trace/restriction to any given subset of $$X.$$ If $$\mathcal{B}$$ is a prefilter and $$B \in \mathcal{B}$$ then $$\mathcal{B}$$ converges to a point of $$X$$ if and only if this is true of the trace $$\mathcal{B}\big\vert_B.$$ If a filter subbase converges to a point then do the filter and the π-system that it generates, although the converse is not guaranteed. For example, the filter subbase $$\{(-\infty, 0], [0, \infty)\}$$ does not converge to $$0$$ in $$X := \R$$ although the (principle ultra) filter that it generates does.

Given $$x \in X,$$ the following are equivalent for a prefilter $$\mathcal{B}:$$ <ol> <li>$$\mathcal{B}$$ converges to $$x.$$</li> <li>$$\mathcal{B}^{\uparrow X}$$ converges to $$x.$$</li> <li>There exists a family equivalent to $$\mathcal{B}$$ that converges to $$x.$$</li> </ol>

Because subordination is transitive, if $$\mathcal{B} \leq \mathcal{C} \text{ then } \lim {}_{X} \mathcal{B} \subseteq \lim {}_{X} \mathcal{C}$$ and moreover, for every $$x \in X,$$ both $$\{x\}$$ and the maximal/ultrafilter $$\{x\}^{\uparrow X}$$ converge to $$x.$$ Thus every topological space $$(X, \tau)$$ induces a canonical convergence $$\xi \subseteq X \times \operatorname{Filters}(X)$$ defined by $$(x, \mathcal{B}) \in \xi \text{ if and only if } x \in \lim {}_{(X, \tau)} \mathcal{B}.$$ At the other extreme, the neighborhood filter $$\mathcal{N}(x)$$ is the smallest (that is, coarsest) filter on $$X$$ that converges to $$x;$$ that is, any filter converging to $$x$$ must contain $$\mathcal{N}(x)$$ as a subset. Said differently, the family of filters that converge to $$x$$ consists exactly of those filter on $$X$$ that contain $$\mathcal{N}(x)$$ as a subset. Consequently, the finer the topology on $$X$$ then the prefilters exist that have any limit points in $$X.$$

Cluster points
A family $$\mathcal{B}$$ is said to  a point $$x$$ of $$X$$ if it meshes with the neighborhood filter of $$x;$$ that is, if $$\mathcal{B} \# \mathcal{N}(x).$$ Explicitly, this means that $$B \cap N \neq \varnothing \text{ for every } B \in \mathcal{B}$$ and every neighborhood $$N$$ of $$x.$$ In particular, a point $$x \in X$$ is a ' or an ' of a family $$\mathcal{B}$$ if $$\mathcal{B}$$ meshes with the neighborhood filter at $$x: \ \mathcal{B} \# \mathcal{N}(x).$$ The set of all cluster points of $$\mathcal{B}$$ is denoted by $$\operatorname{cl}_X \mathcal{B},$$ where the subscript may be dropped if not needed.

In the above definitions, it suffices to check that $$\mathcal{B}$$ meshes with some (or equivalently, meshes with every) neighborhood base in $$X$$ of $$x \text{ or } S.$$ When $$\mathcal{B}$$ is a prefilter then the definition of "$$\mathcal{B} \text{ and } \mathcal{N}$$ mesh" can be characterized entirely in terms of the subordination preorder $$\,\leq\,.$$

Two equivalent families of sets have the exact same limit points and also the same cluster points. No matter the topology, for every $$x \in X,$$ both $$\{x\}$$ and the principal ultrafilter $$\{x\}^{\uparrow X}$$ cluster at $$x.$$ If $$\mathcal{B}$$ clusters to a point then the same is true of any family coarser than $$\mathcal{B}.$$ Consequently, the cluster points of a family $$\mathcal{B}$$ are the same as the cluster points of its upward closure: $$\operatorname{cl}_X \mathcal{B} ~=~ \operatorname{cl}_X \left(\mathcal{B}^{\uparrow X}\right).$$ In particular, the cluster points of a prefilter are the same as the cluster points of the filter that it generates.

Given $$x \in X,$$ the following are equivalent for a prefilter $$\mathcal{B} \text{ on } X$$: <ol> <li>$$\mathcal{B}$$ clusters at $$x.$$</li> <li>The family $$\mathcal{B}^{\uparrow X}$$ generated by $$\mathcal{B}$$ clusters at $$x.$$</li> <li>There exists a family equivalent to $$\mathcal{B}$$ that clusters at $$x.$$</li> <li>$$x \in {\textstyle\bigcap\limits_{F \in \mathcal{B}}} \operatorname{cl}_X F.$$</li> <li>$$X \setminus N \not\in \mathcal{B}^{\uparrow X}$$ for every neighborhood $$N$$ of $$x.$$ <li>There exists a prefilter $$\mathcal{F}$$ subordinate to $$\mathcal{B}$$ (that is, $$\mathcal{F} \geq \mathcal{B}$$) that converges to $$x.$$ </ol>
 * If $$\mathcal{B}$$ is a filter on $$X$$ then $$x \in \operatorname{cl}_X \mathcal{B} \text{ if and only if } X \setminus N \not\in \mathcal{B}$$ for every neighborhood $$N \text{ of } x.$$</li>
 * This is the filter equivalent of "$$x$$ is a cluster point of a sequence if and only if there exists a subsequence converging to $$x.$$
 * In particular, if $$x$$ is a cluster point of a prefilter $$\mathcal{B}$$ then $$\mathcal{B} (\cap) \mathcal{N}(x)$$ is a prefilter subordinate to $$\mathcal{B}$$ that converges to $$x.$$</li>

The set $$\operatorname{cl}_X \mathcal{B}$$ of all cluster points of a prefilter $$\mathcal{B}$$ satisfies $$\operatorname{cl}_X \mathcal{B} = \bigcap_{B \in \mathcal{B}} \operatorname{cl}_X B.$$ Consequently, the set $$\operatorname{cl}_X \mathcal{B}$$ of all cluster points of prefilter $$\mathcal{B}$$ is a closed subset of $$X.$$ This also justifies the notation $$\operatorname{cl}_X \mathcal{B}$$ for the set of cluster points. In particular, if $$K \subseteq X$$ is non-empty (so that $$\mathcal{B} := \{K\}$$ is a prefilter) then $$\operatorname{cl}_X \{K\} = \operatorname{cl}_X K$$ since both sides are equal to $${\textstyle\bigcap\limits_{B \in \mathcal{B}}} \operatorname{cl}_X B.$$

Properties and relationships
Just like sequences and nets, it is possible for a prefilter on a topological space of infinite cardinality to not have cluster points or limit points.

If $$x$$ is a limit point of $$\mathcal{B}$$ then $$x$$ is necessarily a limit point of any family $$\mathcal{C}$$  than $$\mathcal{B}$$ (that is, if $$\mathcal{N}(x) \leq \mathcal{B} \text{ and } \mathcal{B} \leq \mathcal{C}$$ then $$\mathcal{N}(x) \leq \mathcal{C}$$). In contrast, if $$x$$ is a cluster point of $$\mathcal{B}$$ then $$x$$ is necessarily a cluster point of any family $$\mathcal{C}$$  than $$\mathcal{B}$$ (that is, if $$\mathcal{N}(x) \text{ and } \mathcal{B}$$ mesh and $$\mathcal{C} \leq \mathcal{B}$$ then $$\mathcal{N}(x) \text{ and } \mathcal{C}$$ mesh).

Equivalent families and subordination

Any two equivalent families $$\mathcal{B} \text{ and } \mathcal{C}$$ can be used in the definitions of "limit of" and "cluster at" because their equivalency guarantees that $$\mathcal{N} \leq \mathcal{B}$$ if and only if $$\mathcal{N} \leq \mathcal{C},$$ and also that $$\mathcal{N} \# \mathcal{B}$$ if and only if $$\mathcal{N} \# \mathcal{C}.$$ In essence, the preorder $$\,\leq\,$$ is incapable of distinguishing between equivalent families. Given two prefilters, whether or not they mesh can be characterized entirely in terms of subordination. Thus the two most fundamental concepts related to (pre)filters to Topology (that is, limit and cluster points) can both be defined in terms of the subordination relation. This is why the preorder $$\,\leq\,$$ is of such great importance in applying (pre)filters to Topology.

Limit and cluster point relationships and sufficient conditions

Every limit point of a non-degenerate family $$\mathcal{B}$$ is also a cluster point; in symbols: $$\operatorname{lim}_X \mathcal{B} ~\subseteq~ \operatorname{cl}_X \mathcal{B}.$$ This is because if $$x$$ is a limit point of $$\mathcal{B}$$ then $$\mathcal{N}(x) \text{ and } \mathcal{B}$$ mesh, which makes $$x$$ a cluster point of $$\mathcal{B}.$$ But in general, a cluster point need not be a limit point. For instance, every point in any given non-empty subset $$K \subseteq X$$ is a cluster point of the principle prefilter $$\mathcal{B} := \{K\}$$ (no matter what topology is on $$X$$) but if $$X$$ is Hausdorff and $$K$$ has more than one point then this prefilter has no limit points; the same is true of the filter $$\{K\}^{\uparrow X}$$ that this prefilter generates.

However, every cluster point of an prefilter is a limit point. Consequently, the limit points of an prefilter $$\mathcal{B}$$ are the same as its cluster points: $$\operatorname{lim}_X \mathcal{B} = \operatorname{cl}_X \mathcal{B};$$ that is to say, a given point is a cluster point of an ultra prefilter $$\mathcal{B}$$ if and only if $$\mathcal{B}$$ converges to that point. Although a cluster point of a filter need not be a limit point, there will always exist a finer filter that does converge to it; in particular, if $$\mathcal{B}$$ clusters at $$x$$ then $$\mathcal{B} \,(\cap)\, \mathcal{N}(x) = \{B \cap N : B \in \mathcal{B}, N \in \mathcal{N}(x)\}$$ is a filter subbase whose generated filter converges to $$x.$$

If $$\varnothing \neq \mathcal{B} \subseteq \wp(X) \text{ and } \mathcal{S} \geq \mathcal{B}$$ is a filter subbase such that $$\mathcal{S} \to x \text{ in } X$$ then $$x \in \operatorname{cl}_X \mathcal{B}.$$ In particular, any limit point of a filter subbase subordinate to $$\mathcal{B} \neq \varnothing$$ is necessarily also a cluster point of $$\mathcal{B}.$$ If $$x$$ is a cluster point of a prefilter $$\mathcal{B}$$ then $$\mathcal{B} (\cap) \mathcal{N}(x)$$ is a prefilter subordinate to $$\mathcal{B}$$ that converges to $$x \text{ in } X.$$

If $$S \subseteq X$$ and if $$\mathcal{B}$$ is a prefilter on $$S$$ then every cluster point of $$\mathcal{B} \text{ in } X$$ belongs to $$\operatorname{cl}_X S$$ and any point in $$\operatorname{cl}_X S$$ is a limit point of a filter on $$S.$$

Primitive sets

A subset $$P \subseteq X$$ is called if it is the set of limit points of some ultrafilter (or equivalently, some ultra prefilter). That is, if there exists an ultrafilter $$\mathcal{B} \text{ on } X$$ such that $$P$$ is equal to $$\operatorname{lim}_X \mathcal{B},$$ which recall denotes the set of limit points of $$\mathcal{B} \text{ in } X.$$ Since limit points are the same as cluster points for ultra prefilters, a subset is primitive if and only if it is equal to the set $$\operatorname{cl}_X \mathcal{B}$$ of cluster points of some ultra prefilter $$\mathcal{B}.$$ For example, every closed singleton subset is primitive. The image of a primitive subset of $$X$$ under a continuous map $$f : X \to Y$$ is contained in a primitive subset of $$Y.$$

Assume that $$P, Q \subseteq X$$ are two primitive subset of $$X.$$ If $$U$$ is an open subset of $$X$$ that intersects $$P$$ then $$U \in \mathcal{B}$$ for any ultrafilter $$\mathcal{B} \text{ on } X$$ such that $$P = \operatorname{lim}_X \mathcal{B}.$$ In addition, if $$P \text{ and } Q$$ are distinct then there exists some $$S \subseteq X$$ and some ultrafilters $$\mathcal{B}_P \text{ and } \mathcal{B}_Q \text{ on } X$$ such that $$P = \operatorname{lim}_X \mathcal{B}_P, Q = \operatorname{lim}_X \mathcal{B}_Q, S \in \mathcal{B}_P,$$ and $$X \setminus S \in \mathcal{B}_Q.$$

Other results

If $$X$$ is a complete lattice then:
 * The limit inferior of $$B$$ is the infimum of the set of all cluster points of $$B.$$
 * The limit superior of $$B$$ is the supremum of the set of all cluster points of $$B.$$
 * $$B$$ is a convergent prefilter if and only if its limit inferior and limit superior agree; in this case, the value on which they agree is the limit of the prefilter.

Limits of functions defined as limits of prefilters
Suppose $$f : X \to Y$$ is a map from a set into a topological space $$Y,$$ $$\mathcal{B} \subseteq \wp(X),$$ and $$y \in Y.$$ If $$y$$ is a limit point (respectively, a cluster point) of $$f(\mathcal{B}) \text{ in } Y$$ then $$y$$ is called a ' or ' (respectively, a )  Explicitly, $$y$$ is a limit of $$f$$ with respect to $$\mathcal{B}$$ if and only if $$\mathcal{N}(y) \leq f(\mathcal{B}),$$ which can be written as $$f(\mathcal{B}) \to y \text{ or } \lim f(\mathcal{B}) \to y \text{ in } Y$$ (by definition of this notation) and stated as $$f$$  If the limit $$y$$ is unique then the arrow $$\to$$ may be replaced with an equals sign $$=.$$ The neighborhood filter $$\mathcal{N}(y)$$ can be replaced with any family equivalent to it and the same is true of $$\mathcal{B}.$$

The definition of a convergent net is a special case of the above definition of a limit of a function. Specifically, if $$x \in X \text{ and } \chi : (I, \leq) \to X$$ is a net then $$\chi \to x \text{ in } X \quad \text{ if and only if } \quad \chi(\operatorname{Tails}(I, \leq)) \to x \text{ in } X,$$ where the left hand side states that $$x$$ is a limit $$\chi$$ while the right hand side states that $$x$$ is a limit  $$\chi$$ with respect to $$\mathcal{B} := \operatorname{Tails}(I, \leq)$$ (as just defined above).

The table below shows how various types of limits encountered in analysis and topology can be defined in terms of the convergence of images (under $$f$$) of particular prefilters on the domain $$X.$$ This shows that prefilters provide a general framework into which many of the various definitions of limits fit. The limits in the left–most column are defined in their usual way with their obvious definitions.

Throughout, let $$f : X \to Y$$ be a map between topological spaces, $$x_0 \in X, \text{ and } y \in Y.$$ If $$Y$$ is Hausdorff then all arrows "$\to y$" in the table may be replaced with equal signs "$= y$" and "$\lim f(\mathcal{B}) \to y$" may be replaced with "$\lim f(\mathcal{B}) = y$".

By defining different prefilters, many other notions of limits can be defined; for example, $$\lim_{\stackrel{|x| \to |x_0|}{|x| \neq |x_0|}} f(x) \to y.$$

Divergence to infinity

Divergence of a real-valued function to infinity can be defined/characterized by using the prefilters $$(\R, \infty) := \{(r, \infty) : r \in \R\} \text{ and }  (-\infty, \R) := \{(-\infty, r) : r \in \R\},$$ where $$f \to \infty$$ along $$\mathcal{B}$$ if and only if $$(\R, \infty) \leq f(\mathcal{B})$$ and similarly, $$f \to -\infty$$ along $$\mathcal{B}$$ if and only if $$(-\infty, \R) \leq f(\mathcal{B}).$$ The family $$(\R, \infty)$$ can be replaced by any family equivalent to it, such as $$[\R, \infty) := \{[r, \infty) : r \in \R\}$$ for instance (in real analysis, this would correspond to replacing the strict inequality "$f(x) > r$" in the definition with "$f(x) \geq r$"), and the same is true of $$\mathcal{B}$$ and $$(-\infty, \R).$$

So for example, if $$\mathcal{B}\,:=\,\mathcal{N}\left(x_0\right)$$ then $$\lim_{x \to x_0} f(x) \to \infty$$ if and only if $$(\R, \infty) \leq f(\mathcal{B})$$ holds. Similarly, $$\lim_{x \to x_0} f(x) \to - \infty$$ if and only if $$(-\infty, \R) \leq f\left(\mathcal{N}\left(x_0\right)\right),$$ or equivalently, if and only if $$(-\infty, \R] \leq f\left(\mathcal{N}\left(x_0\right)\right).$$

More generally, if $$f$$ is valued in $$Y = \R^n \text{ or } Y = \Complex^n$$ (or some other seminormed vector space) and if $$B_{\geq r} := \{y \in Y : |y| \geq r\} = Y \setminus B_{< r}$$ then $$\lim_{x \to x_0} |f(x)| \to \infty$$ if and only if $$B_{\geq \R} \leq f\left(\mathcal{N}\left(x_0\right)\right)$$ holds, where $$B_{\geq \R} := \left\{B_{\geq r} : r \in \R\right\}.$$

Filters and nets
This section will describe the relationships between prefilters and nets in great detail because of how important these details are applying filters to topology − particularly in switching from utilizing nets to utilizing filters and vice verse.

Nets to prefilters
In the definitions below, the first statement is the standard definition of a limit point of a net (respectively, a cluster point of a net) and it is gradually reworded until the corresponding filter concept is reached.

If $$f : X \to Y$$ is a map and $$x_\bull$$ is a net in $$X$$ then $$\operatorname{Tails}\left(f\left(x_\bull\right)\right) = f\left(\operatorname{Tails}\left(x_\bull\right)\right).$$

Prefilters to nets
A is a pair $$(S, s)$$ consisting of a non–empty set $$S$$ and an element $$s \in S.$$ For any family $$\mathcal{B},$$ let $$\operatorname{PointedSets}(\mathcal{B}) := \{(B, b) ~:~ B \in \mathcal{B} \text{ and } b \in B\}.$$

Define a canonical preorder $$\,\leq\,$$ on pointed sets by declaring $$(R, r) \leq (S, s) \quad \text{ if and only if } \quad R \supseteq S.$$

There is a canonical map $$\operatorname{Point}_{\mathcal{B}} ~:~ \operatorname{PointedSets}(\mathcal{B}) \to X$$ defined by $$(B, b) \mapsto b.$$ If $$i_0 = \left(B_0, b_0\right) \in \operatorname{PointedSets}(\mathcal{B})$$ then the tail of the assignment $$\operatorname{Point}_{\mathcal{B}}$$ starting at $$i_0$$ is $$\left\{c ~:~ (C, c) \in \operatorname{PointedSets}(\mathcal{B}) \text{ and } \left(B_0, b_0\right) \leq (C, c)\right\} = B_0.$$

Although $$(\operatorname{PointedSets}(\mathcal{B}), \leq)$$ is not, in general, a partially ordered set, it is a directed set if (and only if) $$\mathcal{B}$$ is a prefilter. So the most immediate choice for the definition of "the net in $$X$$ induced by a prefilter $$\mathcal{B}$$" is the assignment $$(B, b) \mapsto b$$ from $$\operatorname{PointedSets}(\mathcal{B})$$ into $$X.$$

If $$\mathcal{B}$$ is a prefilter on $$X \text{ then } \operatorname{Net}_{\mathcal{B}}$$ is a net in $$X$$ and the prefilter associated with $$\operatorname{Net}_{\mathcal{B}}$$ is $$\mathcal{B}$$; that is: $$\operatorname{Tails}\left(\operatorname{Net}_{\mathcal{B}}\right) = \mathcal{B}.$$ This would not necessarily be true had $$\operatorname{Net}_{\mathcal{B}}$$ been defined on a proper subset of $$\operatorname{PointedSets}(\mathcal{B}).$$

If $$x_\bull$$ is a net in $$X$$ then it is in general true that $$\operatorname{Net}_{\operatorname{Tails}\left(x_\bull\right)}$$ is equal to $$x_\bull$$ because, for example, the domain of $$x_\bull$$ may be of a completely different cardinality than that of $$\operatorname{Net}_{\operatorname{Tails}\left(x_\bull\right)}$$ (since unlike the domain of $$\operatorname{Net}_{\operatorname{Tails}\left(x_\bull\right)},$$ the domain of an arbitrary net in $$X$$ could have  cardinality).

$$

$$

Partially ordered net

The domain of the canonical net $$\operatorname{Net}_{\mathcal{B}}$$ is in general not partially ordered. However, in 1955 Bruns and Schmidt discovered a construction (detailed here: Filter (set theory)) that allows for the canonical net to have a domain that is both partially ordered and directed; this was independently rediscovered by Albert Wilansky in 1970. Because the tails of this partially ordered net are identical to the tails of $$\operatorname{Net}_{\mathcal{B}}$$ (since both are equal to the prefilter $$\mathcal{B}$$), there is typically nothing lost by assuming that the domain of the net associated with a prefilter is both directed partially ordered. If can further be assumed that the partially ordered domain is also a dense order.

Subordinate filters and subnets
The notion of "$$\mathcal{B}$$ is subordinate to $$\mathcal{C}$$" (written $$\mathcal{B} \vdash \mathcal{C}$$) is for filters and prefilters what "$$x_{n_\bull} = \left(x_{n_i}\right)_{i=1}^{\infty}$$ is a subsequence of $$x_\bull = \left(x_i\right)_{i=1}^{\infty}$$" is for sequences. For example, if $$\operatorname{Tails}\left(x_\bull\right) = \left\{x_{\geq i} : i \in \N\right\}$$ denotes the set of tails of $$x_\bull$$ and if $$\operatorname{Tails}\left(x_{n_\bull}\right) = \left\{x_{n_{\geq i}} : i \in \N\right\}$$ denotes the set of tails of the subsequence $$x_{n_\bull}$$ (where $$x_{n_{\geq i}} := \left\{x_{n_j} ~:~ j \geq i \text{ and } j \in \N\right\}$$) then $$\operatorname{Tails}\left(x_{n_\bull}\right) ~\vdash~ \operatorname{Tails}\left(x_\bull\right)$$ (which by definition means $$\operatorname{Tails}\left(x_\bull\right) \leq \operatorname{Tails}\left(x_{n_\bull}\right)$$) is true but $$\operatorname{Tails}\left(x_\bull\right) ~\vdash~ \operatorname{Tails}\left(x_{n_\bull}\right)$$ is in general false. If $$x_\bull = \left(x_i\right)_{i \in I}$$ is a net in a topological space $$X$$ and if $$\mathcal{N}(x)$$ is the neighborhood filter at a point $$x \in X,$$ then $$x_\bull \to x \text{ if and only if } \mathcal{N}(x) \leq \operatorname{Tails}\left(x_\bull\right).$$

If $$f : X \to Y$$ is an surjective open map, $$x \in X,$$ and $$\mathcal{C}$$ is a prefilter on $$Y$$ that converges to $$f(x),$$ then there exist a prefilter $$\mathcal{B}$$ on $$X$$ such that $$\mathcal{B} \to x$$ and $$f(\mathcal{B})$$ is equivalent to $$\mathcal{C}$$ (that is, $$\mathcal{C} \leq f(\mathcal{B}) \leq \mathcal{C}$$).

Subordination analogs of results involving subsequences
The following results are the prefilter analogs of statements involving subsequences. The condition "$$\mathcal{C} \geq \mathcal{B},$$" which is also written $$\mathcal{C} \vdash \mathcal{B},$$ is the analog of "$$\mathcal{C}$$ is a subsequence of $$\mathcal{B}.$$" So "finer than" and "subordinate to" is the prefilter analog of "subsequence of." Some people prefer saying "subordinate to" instead of "finer than" because it is more reminiscent of "subsequence of."

$$

Non–equivalence of subnets and subordinate filters
Subnets in the sense of Willard and subnets in the sense of Kelley are the most commonly used definitions of "subnet." The first definition of a subnet ("Kelley–subnet") was introduced by John L. Kelley in 1955. Stephen Willard introduced in 1970 his own variant ("Willard-subnet") of Kelley's definition of subnet. AA–subnets were introduced independently by Smiley (1957), Aarnes and Andenaes (1972), and Murdeshwar (1983); AA–subnets were studied in great detail by Aarnes and Andenaes but they are not often used.

A subset $$R \subseteq I$$ of a preordered space $$(I, \leq)$$ is or  in $$I$$ if for every $$i \in I$$ there exists some $$r \in R$$ such that $$i \leq r.$$ If $$R \subseteq I$$ contains a tail of $$I$$ then $$R$$ is said to be  in $$I$$}}; explicitly, this means that there exists some $$i \in I$$ such that $$I_{\geq i} \subseteq R$$ (that is, $$j \in R$$ for all $$j \in I$$ satisfying $$i \leq j$$). A subset is eventual if and only if its complement is not frequent (which is termed ). A map $$h : A \to I$$ between two preordered sets is if whenever $$a, b \in A$$ satisfy $$a \leq b,$$ then $$h(a) \leq h(b).$$

Kelley did not require the map $$h$$ to be order preserving while the definition of an AA–subnet does away entirely with any map between the two nets' domains and instead focuses entirely on $$X$$ − the nets' common codomain. Every Willard–subnet is a Kelley–subnet and both are AA–subnets. In particular, if $$y_\bull = \left(y_a\right)_{a \in A}$$ is a Willard–subnet or a Kelley–subnet of $$x_\bull = \left(x_i\right)_{i \in I}$$ then $$\operatorname{Tails}\left(x_\bull\right) \leq \operatorname{Tails}\left(y_\bull\right).$$


 * Example: If $$I = \N$$ and $$x_\bull = \left(x_i\right)_{i \in I}$$ is a constant sequence and if $$A = \{1\}$$ and $$s_1 := x_1$$ then $$\left(s_a\right)_{a \in A}$$ is an AA-subnet of $$x_\bull$$ but it is neither a Willard-subnet nor a Kelley-subnet of $$x_\bull.$$

AA–subnets have a defining characterization that immediately shows that they are fully interchangeable with sub(ordinate)filters. Explicitly, what is meant is that the following statement is true for AA–subnets:

If $$\mathcal{B} \text{ and } \mathcal{F}$$ are prefilters then $$\mathcal{B} \leq \mathcal{F}$$ if and only if $$\operatorname{Net}_{\mathcal{F}}$$ is an AA–subnet of $$\operatorname{Net}_{\mathcal{B}}.$$

If "AA–subnet" is replaced by "Willard–subnet" or "Kelley–subnet" then the above statement becomes. In particular, as this counter-example demonstrates, the problem is that the following statement is in general false:

 statement: If $$\mathcal{B} \text{ and } \mathcal{F}$$ are prefilters such that $$\mathcal{B} \leq \mathcal{F} \text{ then } \operatorname{Net}_{\mathcal{F}}$$ is a Kelley–subnet of $$\operatorname{Net}_{\mathcal{B}}.$$

Since every Willard–subnet is a Kelley–subnet, this statement thus remains false if the word "Kelley–subnet" is replaced with "Willard–subnet".

If "subnet" is defined to mean Willard–subnet or Kelley–subnet then nets and filters are not completely interchangeable because there exists a filter–sub(ordinate)filter relationships that cannot be expressed in terms of a net–subnet relationship between the two induced nets. In particular, the problem is that Kelley–subnets and Willard–subnets are fully interchangeable with subordinate filters. If the notion of "subnet" is not used or if "subnet" is defined to mean AA–subnet, then this ceases to be a problem and so it becomes correct to say that nets and filters are interchangeable. Despite the fact that AA–subnets do not have the problem that Willard and Kelley subnets have, they are not widely used or known about.

Topologies and prefilters
Throughout, $$(X, \tau)$$ is a topological space.

Examples of relationships between filters and topologies
Bases and prefilters

Let $$\mathcal{B} \neq \varnothing$$ be a family of sets that covers $$X$$ and define $$\mathcal{B}_x = \{B \in \mathcal{B} ~:~ x \in B\}$$ for every $$x \in X.$$ The definition of a base for some topology can be immediately reworded as: $$\mathcal{B}$$ is a base for some topology on $$X$$ if and only if $$\mathcal{B}_x$$ is a filter base for every $$x \in X.$$ If $$\tau$$ is a topology on $$X$$ and $$\mathcal{B} \subseteq \tau$$ then the definitions of $$\mathcal{B}$$ is a basis (resp. subbase) for $$\tau$$ can be reworded as:

$$\mathcal{B}$$ is a base (resp. subbase) for $$\tau$$ if and only if for every $$x \in X, \mathcal{B}_x$$ is a filter base (resp. filter subbase) that generates the neighborhood filter of $$(X, \tau)$$ at $$x.$$

Neighborhood filters

The archetypical example of a filter is the set of all neighborhoods of a point in a topological space. Any neighborhood basis of a point in (or of a subset of) a topological space is a prefilter. In fact, the definition of a neighborhood base can be equivalently restated as: "a neighborhood base is any prefilter that is equivalent the neighborhood filter."

Neighborhood bases at points are examples of prefilters that are fixed but may or may not be principal. If $$X = \R$$ has its usual topology and if $$x \in X,$$ then any neighborhood filter base $$\mathcal{B}$$ of $$x$$ is fixed by $$x$$ (in fact, it is even true that $$\ker \mathcal{B} = \{x\}$$) but $$\mathcal{B}$$ is principal since $$\{x\} \not\in \mathcal{B}.$$ In contrast, a topological space has the discrete topology if and only if the neighborhood filter of every point is a principal filter generated by exactly one point. This shows that a non–principal filter on an infinite set is not necessarily free.

The neighborhood filter of every point $$x$$ in topological space $$X$$ is fixed since its kernel contains $$x$$ (and possibly other points if, for instance, $$X$$ is not a T1 space). This is also true of any neighborhood basis at $$x.$$ For any point $$x$$ in a T1 space (for example, a Hausdorff space), the kernel of the neighborhood filter of $$x$$ is equal to the singleton set $$\{x\}.$$

However, it is possible for a neighborhood filter at a point to be principal but discrete (that is, not principal at a  point). A neighborhood basis $$\mathcal{B}$$ of a point $$x$$ in a topological space is principal if and only if the kernel of $$\mathcal{B}$$ is an open set. If in addition the space is T1 then $$\ker \mathcal{B} = \{x\}$$ so that this basis $$\mathcal{B}$$ is principal if and only if $$\{x\}$$ is an open set.

Generating topologies from filters and prefilters

Suppose $$\mathcal{B} \subseteq \wp(X)$$ is not empty (and $$X \neq \varnothing$$). If $$\mathcal{B}$$ is a filter on $$X$$ then $$\{\varnothing\} \cup \mathcal{B}$$ is a topology on $$X$$ but the converse is in general false. This shows that in a sense, filters are topologies. Topologies of the form $$\{\varnothing\} \cup \mathcal{B}$$ where $$\mathcal{B}$$ is an filter on $$X$$ are an even more specialized subclass of such topologies; they have the property that proper subset $$\varnothing \neq S \subseteq X$$ is  open or closed, but (unlike the discrete topology) never both. These spaces are, in particular, examples of door spaces.

If $$\mathcal{B}$$ is a prefilter (resp. filter subbase, π–system, proper) on $$X$$ then the same is true of both $$\{X\} \cup \mathcal{B}$$ and the set $$\mathcal{B}_{\cup}$$ of all possible unions of one or more elements of $$\mathcal{B}.$$ If $$\mathcal{B}$$ is closed under finite intersections then the set $$\tau_{\mathcal{B}} = \{\varnothing, X\} \cup \mathcal{B}_{\cup}$$ is a topology on $$X$$ with both $$\{X\} \cup \mathcal{B}_{\cup} \text{ and } \{X\} \cup \mathcal{B}$$ being bases for it. If the π–system $$\mathcal{B}$$ covers $$X$$ then both $$\mathcal{B}_{\cup} \text{ and } \mathcal{B}$$ are also bases for $$\tau_{\mathcal{B}}.$$ If $$\tau$$ is a topology on $$X$$ then $$\tau \setminus \{\varnothing\}$$ is a prefilter (or equivalently, a π–system) if and only if it has the finite intersection property (that is, it is a filter subbase), in which case a subset $$\mathcal{B} \subseteq \tau$$ will be a basis for $$\tau$$ if and only if $$\mathcal{B} \setminus \{\varnothing\}$$ is equivalent to $$\tau \setminus \{\varnothing\},$$ in which case $$\mathcal{B} \setminus \{\varnothing\}$$ will be a prefilter.

Topological properties and prefilters
Neighborhoods and topologies

The neighborhood filter of a nonempty subset $$S \subseteq X$$ in a topological space $$X$$ is equal to the intersection of all neighborhood filters of all points in $$S.$$ A subset $$S \subseteq X$$ is open in $$X$$ if and only if whenever $$\mathcal{F}$$ is a filter on $$X$$ and $$s \in S,$$ then $$\mathcal{F} \to s \text{ in } X \text{ implies } S \in \mathcal{F}.$$

Suppose $$\sigma \text{ and } \tau$$ are topologies on $$X.$$ Then $$\tau$$ is finer than $$\sigma$$ (that is, $$\sigma \subseteq \tau$$) if and only if whenever $$x \in X \text{ and } \mathcal{B}$$ is a filter on $$X,$$ if $$\mathcal{B} \to x \text{ in } (X, \tau)$$ then $$\mathcal{B} \to x \text{ in } (X, \sigma).$$ Consequently, $$\sigma = \tau$$ if and only if for every filter $$\mathcal{B} \text{ on } X$$ and every $$x \in X, \mathcal{B} \to x \text{ in } (X, \sigma)$$ if and only if $$\mathcal{B} \to x \text{ in } (X, \tau).$$ However, it is possible that $$\sigma \neq \tau$$ while also for every filter $$\mathcal{B} \text{ on } X, \mathcal{B}$$ converges to point of $$X \text{ in } (X, \sigma)$$ if and only if $$\mathcal{B}$$ converges to  point of $$X \text{ in } (X, \tau).$$

Closure

If $$\mathcal{B}$$ is a prefilter on a subset $$S \subseteq X$$ then every cluster point of $$\mathcal{B} \text{ in } X$$ belongs to $$\operatorname{cl}_X S.$$

If $$x \in X \text{ and } S \subseteq X$$ is a non-empty subset, then the following are equivalent: <ol> <li>$$x \in \operatorname{cl}_X S$$</li> <li>$$x$$ is a limit point of a prefilter on $$S.$$ Explicitly: there exists a prefilter $$\mathcal{F} \subseteq \wp(S) \text{ on } S$$ such that $$\mathcal{F} \to x \text{ in } X.$$</li> <li>$$x$$ is a limit point of a filter on $$S.$$</li> <li>There exists a prefilter $$\mathcal{F} \text{ on } X$$ such that $$S \in \mathcal{F} \text{ and } \mathcal{F} \to x \text{ in } X.$$</li> <li>The prefilter $$\{S\}$$ meshes with the neighborhood filter $$\mathcal{N}(x).$$ Said differently, $$x$$ is a cluster point of the prefilter $$\{S\}.$$</li> <li>The prefilter $$\{S\}$$ meshes with some (or equivalently, with every) filter base for $$\mathcal{N}(x)$$ (that is, with every neighborhood basis at $$x$$).</li> </ol>

The following are equivalent:

<ol> <li>$$x$$ is a limit points of $$S \text{ in } X.$$</li> <li>There exists a prefilter $$\mathcal{F} \subseteq \wp(S) \text{ on } \{S\} \setminus \{x\}$$ such that $$\mathcal{F} \to x \text{ in } X.$$</li> </ol>

Closed sets

If $$S \subseteq X$$ is not empty then the following are equivalent: <ol> <li>$$S$$ is a closed subset of $$X.$$</li> <li>If $$x \in X \text{ and } \mathcal{F} \subseteq \wp(S)$$ is a prefilter on $$S$$ such that $$\mathcal{F} \to x \text{ in } X,$$ then $$x \in S.$$</li> <li>If $$x \in X \text{ and } \mathcal{F} \subseteq \wp(S)$$ is a prefilter on $$S$$ such that $$x$$ is an accumulation points of $$\mathcal{F} \text{ in } X,$$ then $$x \in S.$$</li> <li>If $$x \in X$$ is such that the neighborhood filter $$\mathcal{N}(x)$$ meshes with $$\{S\}$$ then $$x \in S.$$</li> </ol>

Hausdorffness

The following are equivalent: <ol> <li>$$X$$ is a Hausdorff space.</li> <li>Every prefilter on $$X$$ converges to at most one point in $$X.$$</li> <li>The above statement but with the word "prefilter" replaced by any one of the following: filter, ultra prefilter, ultrafilter.</li> </ol>

Compactness

As discussed in this article, the Ultrafilter Lemma is closely related to many important theorems involving compactness.

The following are equivalent: <ol> <li>$$(X, \tau)$$ is a compact space.</li> <li>Every ultrafilter on $$X$$ converges to at least one point in $$X.$$ <li>The above statement but with the word "ultrafilter" replaced by "ultra prefilter".</li> <li>For every filter $$\mathcal{C} \text{ on } X$$ there exists a filter $$\mathcal{F} \text{ on } X$$ such that $$\mathcal{C} \leq \mathcal{F}$$ and $$\mathcal{F}$$ converges to some point of $$X.$$</li> <li>The above statement but with each instance of the word "filter" replaced by: prefilter.</li> <li>Every filter on $$X$$ has at least one cluster point in $$X.$$ <li>The above statement but with the word "filter" replaced by "prefilter".</li> <li>Alexander subbase theorem: There exists a subbase $$\mathcal{S} \text{ for } \tau$$ such that every cover of $$X$$ by sets in $$\mathcal{S}$$ has a finite subcover. </ol>
 * That this condition implies compactness can be proven by using only the ultrafilter lemma. That compactness implies this condition can be proven without the ultrafilter lemma (or even the axiom of choice).</li>
 * That this condition is equivalent to compactness can be proven by using only the ultrafilter lemma.</li>
 * That this condition is equivalent to compactness can be proven by using only the ultrafilter lemma.</li>

If $$\mathcal{F}$$ is the set of all complements of compact subsets of a given topological space $$X,$$ then $$\mathcal{F}$$ is a filter on $$X$$ if and only if $$X$$ is compact.

$$

Continuity

Let $$f : X \to Y$$ be a map between topological spaces $$(X, \tau) \text{ and } (Y, \upsilon).$$

Given $$x \in X,$$ the following are equivalent: <ol> <li>$$f : X \to Y$$ is continuous at $$x.$$</li> <li>Definition: For every neighborhood $$V$$ of $$f(x) \text{ in } Y$$ there exists some neighborhood $$N$$ of $$x \text{ in } X$$ such that $$f(N) \subseteq V.$$</li> <li>$$f(\mathcal{N}(x)) \to f(x) \text{ in } Y.$$</li> <li>If $$\mathcal{B}$$ is a filter on $$X$$ such that $$\mathcal{B} \to x \text{ in } X$$ then $$f(\mathcal{B}) \to f(x) \text{ in } Y.$$</li> <li>The above statement but with the word "filter" replaced by "prefilter".</li> </ol>

The following are equivalent: <ol> <li>$$f : X \to Y$$ is continuous.</li> <li>If $$x \in X \text{ and } \mathcal{B}$$ is a prefilter on $$X$$ such that $$\mathcal{B} \to x \text{ in } X$$ then $$f(\mathcal{B}) \to f(x) \text{ in } Y.$$</li> <li>If $$x \in X$$ is a limit point of a prefilter $$\mathcal{B} \text{ on } X$$ then $$f(x)$$ is a limit point of $$f(\mathcal{B}) \text{ in } Y.$$</li> <li>Any one of the above two statements but with the word "prefilter" replaced by "filter".</li> </ol>

If $$\mathcal{B}$$ is a prefilter on $$X, x \in X$$ is a cluster point of $$\mathcal{B}, \text{ and } f : X \to Y$$ is continuous, then $$f(x)$$ is a cluster point in $$Y$$ of the prefilter $$f(\mathcal{B}).$$

A subset $$D$$ of a topological space $$X$$ is dense in $$X$$ if and only if for every $$x \in X,$$ the trace $$\mathcal{N}_X(x)\big\vert_D$$ of the neighborhood filter $$\mathcal{N}_X(x)$$ along $$D$$ does not contain the empty set (in which case it will be a filter on $$D$$).

Suppose $$f : D \to Y$$ is a continuous map into a Hausdorff regular space $$Y$$ and that $$D$$ is a dense subset of a topological space $$X.$$ Then $$f$$ has a continuous extension $$F : X \to Y$$ if and only if for every $$x \in X,$$ the prefilter $$f\left(\mathcal{N}_X(x)\big\vert_D\right)$$ converges to some point in $$Y.$$ Furthermore, this continuous extension will be unique whenever it exists.

Products

Suppose $$X_\bull := \left(X_i\right)_{i \in I}$$ is a non–empty family of non–empty topological spaces and that is a family of prefilters where each $$\mathcal{B}_i$$ is a prefilter on $$X_i.$$ Then the product $$\mathcal{B}_\bull$$ of these prefilters (defined above) is a prefilter on the product space $${\textstyle\prod} X_\bull,$$ which as usual, is endowed with the product topology.

If $$x_\bull := \left(x_i\right)_{i \in I} \in {\textstyle\prod} X_\bull,$$ then $$\mathcal{B}_\bull \to x_\bull \text{ in } {\textstyle\prod} X_\bull$$ if and only if $$\mathcal{B}_i \to x_i \text{ in } X_i \text{ for every } i \in I.$$

Suppose $$X \text{ and } Y$$ are topological spaces, $$\mathcal{B}$$ is a prefilter on $$X$$ having $$x \in X$$ as a cluster point, and $$\mathcal{C}$$ is a prefilter on $$Y$$ having $$y \in Y$$ as a cluster point. Then $$(x, y)$$ is a cluster point of $$\mathcal{B} \times \mathcal{C}$$ in the product space $$X \times Y.$$ However, if $$X = Y = \Q$$ then there exist sequences $$\left(x_i\right)_{i=1}^\infty \subseteq X \text{ and } \left(y_i\right)_{i=1}^\infty \subseteq Y$$ such that both of these sequences have a cluster point in $$\Q$$ but the sequence $$\left(x_i, y_i\right)_{i=1}^\infty \subseteq X \times Y$$ does have a cluster point in $$X \times Y.$$

Example application: The ultrafilter lemma along with the axioms of ZF imply Tychonoff's theorem for compact Hausdorff spaces:

Let $$X_\bull := \left(X_i\right)_{i \in I}$$ be compact Hausdorff space topological spaces. Assume that the ultrafilter lemma holds (because of the Hausdorff assumption, this proof does need the full strength of the axiom of choice; the ultrafilter lemma suffices). Let $$X := {\textstyle\prod} X_\bull$$ be given the product topology (which makes $$X$$ a Hausdorff space) and for every $$i,$$ let $$\Pr{}_i : X \to X_i$$ denote this product's projections. If $$X = \varnothing$$ then $$X$$ is compact and the proof is complete so assume $$X \neq \varnothing.$$ Despite the fact that $$X \neq \varnothing,$$ because the axiom of choice is not assumed, the projection maps $$\Pr{}_i : X \to X_i$$ are not guaranteed to be surjective.

Let $$\mathcal{B}$$ be an ultrafilter on $$X$$ and for every $$i,$$ let $$\mathcal{B}_i$$ denote the ultrafilter on $$X_i$$ generated by the ultra prefilter $$\Pr{}_i(\mathcal{B}).$$ Because $$X_i$$ is compact and Hausdorff, the ultrafilter $$\mathcal{B}_i$$ converges to a unique limit point $$x_i \in X_i$$ (because of $$x_i$$'s uniqueness, this definition does not require the axiom of choice). Let $$x := \left(x_i\right)_{i \in I}$$ where $$x$$ satisfies $$\Pr{}_i(x) = x_i$$ for every $$i.$$ The characterization of convergence in the product topology that was given above implies that $$\mathcal{B} \to x \text{ in } X.$$ Thus every ultrafilter on $$X$$ converges to some point of $$X,$$ which implies that $$X$$ is compact (recall that this implication's proof only required the ultrafilter lemma). $$\blacksquare$$

Uniformities and Cauchy prefilters
A uniform space is a set $$X$$ equipped with a filter on $$X \times X$$ that has certain properties. A or  is a prefilter on $$X \times X$$ whose upward closure is a uniform space. A prefilter $$\mathcal{B}$$ on a uniform space $$X$$ with uniformity $$\mathcal{F}$$ is called a if for every entourage $$N \in \mathcal{F},$$ there exists some $$B \in \mathcal{B}$$ that is, which means that $$B \times B \subseteq N.$$ A is a minimal element (with respect to $$\,\leq\,$$ or equivalently, to $$\,\subseteq$$) of the set of all Cauchy filters on $$X.$$ Examples of minimal Cauchy filters include the neighborhood filter $$\mathcal{N}_X(x)$$ of any point $$x \in X.$$ Every convergent filter on a uniform space is Cauchy. Moreover, every cluster point of a Cauchy filter is a limit point.

A uniform space $$(X, \mathcal{F})$$ is called (resp. ) if every Cauchy prefilter (resp. every elementary Cauchy prefilter) on $$X$$ converges to at least one point of $$X$$ (replacing all instance of the word "prefilter" with "filter" results in equivalent statement). Every compact uniform space is complete because any Cauchy filter has a cluster point (by compactness), which is necessarily also a limit point (since the filter is Cauchy).

Uniform spaces were the result of attempts to generalize notions such as "uniform continuity" and "uniform convergence" that are present in metric spaces. Every topological vector space, and more generally, every topological group can be made into a uniform space in a canonical way. Every uniformity also generates a canonical induced topology. Filters and prefilters play an important role in the theory of uniform spaces. For example, the completion of a Hausdorff uniform space (even if it is not metrizable) is typically constructed by using minimal Cauchy filters. Nets are less ideal for this construction because their domains are extremely varied (for example, the class of all Cauchy nets is not a set); sequences cannot be used in the general case because the topology might not be metrizable, first–countable, or even sequential. The set of all on a Hausdorff topological vector space (TVS) $$X$$ can made into a vector space and topologized in such a way that it becomes a completion of $X$ (with the assignment $$x \mapsto \mathcal{N}_X(x)$$ becoming a linear topological embedding that identifies $$X$$ as a dense vector subspace of this completion).

More generally, a Cauchy space is a pair $$(X, \mathfrak{C})$$ consisting of a set $$X$$ together a family $$\mathfrak{C} \subseteq \wp(\wp(X))$$ of (proper) filters, whose members are declared to be "", having all of the following properties: The set of all Cauchy filters on a uniform space forms a Cauchy space. Every Cauchy space is also a convergence space. A map $$f : X \to Y$$ between two Cauchy spaces is called if the image of every Cauchy filter in $$X$$ is a Cauchy filter in $$Y.$$ Unlike the category of topological spaces, the category of Cauchy spaces and Cauchy continuous maps is Cartesian closed, and contains the category of proximity spaces.
 * 1) For each $$x \in X,$$ the discrete ultrafilter at $$x$$ is an element of $$\mathfrak{C}.$$
 * 2) If $$F \in \mathfrak{C}$$ is a subset of a proper filter $$G,$$ then $$G \in \mathfrak{C}.$$
 * 3) If $$F, G \in \mathfrak{C}$$ and if each member of $$F$$ intersects each member of $$G,$$ then $$F \cap G \in \mathfrak{C}.$$

Topologizing the set of prefilters
Starting with nothing more than a set $$X,$$ it is possible to topologize the set $$\mathbb{P} := \operatorname{Prefilters}(X)$$ of all filter bases on $$X$$ with the, which is named after Marshall Harvey Stone.

To reduce confusion, this article will adhere to the following notational conventions: <ul> <li>Lower case letters for elements $$x \in X.$$</li> <li>Upper case letters for subsets $$S \subseteq X.$$</li> <li>Upper case calligraphy letters for subsets $$\mathcal{B} \subseteq \wp(X)$$ (or equivalently, for elements $$\mathcal{B} \in \wp(\wp(X)),$$ such as prefilters).</li> <li>Upper case double–struck letters for subsets $$\mathbb{P} \subseteq \wp(\wp(X)).$$</li> </ul>

For every $$S \subseteq X,$$ let $$\mathbb{O}(S) := \left\{\mathcal{B} \in \mathbb{P} ~:~ S \in \mathcal{B}^{\uparrow X}\right\}$$ where $$\mathbb{O}(X) = \mathbb{P} \text{ and } \mathbb{O}(\varnothing) = \varnothing.$$ These sets will be the basic open subsets of the Stone topology. If $$R \subseteq S \subseteq X$$ then $$\left\{\mathcal{B} \in \wp(\wp(X)) ~:~ R \in \mathcal{B}^{\uparrow X}\right\} ~\subseteq~ \left\{\mathcal{B} \in \wp(\wp(X)) ~:~ S \in \mathcal{B}^{\uparrow X}\right\}.$$

From this inclusion, it is possible to deduce all of the subset inclusions displayed below with the exception of $$\mathbb{O}(R \cap S) ~\supseteq~ \mathbb{O}(R) \cap \mathbb{O}(S).$$ For all $$R \subseteq S \subseteq X,$$ $$\mathbb{O}(R \cap S) ~=~ \mathbb{O}(R) \cap \mathbb{O}(S) ~\subseteq~ \mathbb{O}(R) \cup \mathbb{O}(S) ~\subseteq~ \mathbb{O}(R \cup S)$$ where in particular, the equality $$\mathbb{O}(R \cap S) = \mathbb{O}(R) \cap \mathbb{O}(S)$$ shows that the family $$\{\mathbb{O}(S) ~:~ S \subseteq X\}$$ is a $\pi$–system that forms a basis for a topology on $$\mathbb{P}$$ called the. It is henceforth assumed that $$\mathbb{P}$$ carries this topology and that any subset of $$\mathbb{P}$$ carries the induced subspace topology.

In contrast to most other general constructions of topologies (for example, the product, quotient, subspace topologies, etc.), this topology on $$\mathbb{P}$$ was defined with using anything other than the set $$X;$$ there were preexisting structures or assumptions on $$X$$ so this topology is completely independent of everything other than $$X$$ (and its subsets).

The following criteria can be used for checking for points of closure and neighborhoods. If $$\mathbb{B} \subseteq \mathbb{P} \text{ and } \mathcal{F} \in \mathbb{P}$$ then: <ul> <li>: $$\ \mathcal{F}$$ belongs to the closure of $$\mathbb{B} \text{ in } \mathbb{P}$$ if and only if $$\mathcal{F} \subseteq {\textstyle\bigcup\limits_{\mathcal{B} \in \mathbb{B}}} \mathcal{B}^{\uparrow X}.$$</li> <li>: $$\ \mathbb{B}$$ is a neighborhood of $$\mathcal{F} \text{ in } \mathbb{P}$$ if and only if there exists some $$F \in \mathcal{F}$$ such that $$\mathbb{O}(F) = \left\{\mathcal{B} \in \mathbb{P} ~:~ F \in \mathcal{B}^{\uparrow X}\right\} \subseteq \mathbb{B}$$ (that is, such that for all $$\mathcal{B} \in \mathbb{P}, \text{ if } F \in \mathcal{B}^{\uparrow X} \text{ then } \mathcal{B} \in \mathbb{B}$$).</li> </ul>

It will be henceforth assumed that $$X \neq \varnothing$$ because otherwise $$\mathbb{P} = \varnothing$$ and the topology is $$\{\varnothing\},$$ which is uninteresting.

Subspace of ultrafilters

The set of ultrafilters on $$X$$ (with the subspace topology) is a Stone space, meaning that it is compact, Hausdorff, and totally disconnected. If $$X$$ has the discrete topology then the map $$\beta : X \to \operatorname{UltraFilters}(X),$$ defined by sending $$x \in X$$ to the principal ultrafilter at $$x,$$ is a topological embedding whose image is a dense subset of $$\operatorname{UltraFilters}(X)$$ (see the article Stone–Čech compactification for more details).

Relationships between topologies on $$X$$ and the Stone topology on $$\mathbb{P}$$

Every $$\tau \in \operatorname{Top}(X)$$ induces a canonical map $$\mathcal{N}_\tau : X \to \operatorname{Filters}(X)$$ defined by $$x \mapsto \mathcal{N}_\tau(x),$$ which sends $$x \in X$$ to the neighborhood filter of $$x \text{ in } (X, \tau).$$ If $$\tau, \sigma \in \operatorname{Top}(X)$$ then $$\tau = \sigma$$ if and only if $$\mathcal{N}_\tau = \mathcal{N}_\sigma.$$ Thus every topology $$\tau \in \operatorname{Top}(X)$$ can be identified with the canonical map $$\mathcal{N}_\tau \in \operatorname{Func}(X; \mathbb{P}),$$ which allows $$\operatorname{Top}(X)$$ to be canonically identified as a subset of $$\operatorname{Func}(X; \mathbb{P})$$ (as a side note, it is now possible to place on $$\operatorname{Func}(X; \mathbb{P}),$$ and thus also on $$\operatorname{Top}(X),$$ the topology of pointwise convergence on $$X$$ so that it now makes sense to talk about things such as sequences of topologies on $$X$$ converging pointwise). For every $$\tau \in \operatorname{Top}(X),$$ the surjection $$\mathcal{N}_\tau : (X, \tau) \to \operatorname{image} \mathcal{N}_\tau$$ is always continuous, closed, and open, but it is injective if and only if $$\tau \text{ is } T_0$$ (that is, a Kolmogorov space). In particular, for every $$T_0$$ topology $$\tau \text{ on } X,$$ the map $$\mathcal{N}_\tau : (X, \tau) \to \mathbb{P}$$ is a topological embedding (said differently, every Kolmogorov space is a topological subspace of the space of prefilters).

In addition, if $$\mathfrak{F} : X \to \operatorname{Filters}(X)$$ is a map such that $$x \in \ker \mathfrak{F}(x) := {\textstyle\bigcap\limits_{F \in \mathfrak{F}(x)}} F \text{ for every } x \in X$$ (which is true of $$\mathfrak{F} := \mathcal{N}_\tau,$$ for instance), then for every $$x \in X \text{ and } F \in \mathfrak{F}(x),$$ the set $$\mathfrak{F}(F) = \{\mathfrak{F}(f) : f \in F\}$$ is a neighborhood (in the subspace topology) of $$\mathfrak{F}(x) \text{ in } \operatorname{image} \mathfrak{F}.$$