# 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 ultrafilters have many useful technical properties and they may often be used in place of arbitrary filters.
Filters have generalizations called prefilters (also known as filter bases) and filter subbases, 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 generate. 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 (subordination), 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}}$ converges 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}}$ is subordinate to ${\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 subordination, 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 Topologie Générale 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 entirely 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 not 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 neighborhood 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 not required to be open sets; those are called open neighborhoods. Listed below are those fundamental properties of neighborhood filters that ultimately became the definition of a "filter." A filter on $X$ is a set ${\mathcal {B}}$ of subsets of $X$ that satisfies all of the following conditions:
* Not empty: $X\in {\mathcal {B}}$  –  just as $X\in {\mathcal {N}}(x),$ since $X$ is always a neighborhood of $x$ (and of anything else that it contains);
* Does not contain the empty set: $\varnothing \not \in {\mathcal {B}}$  –  just as no neighborhood of $x$ is empty;
* Closed under finite intersections: If $B,C\in {\mathcal {B}}{\text{ then }}B\cap C\in {\mathcal {B}}$  –  just as the intersection of any two neighborhoods of $x$ is again a neighborhood of $x$;
* Upward closed: If $B\in {\mathcal {B}}{\text{ and }}B\subseteq S\subseteq X$ then $S\in {\mathcal {B}}$  –  just as any subset of $X$ that includes a neighborhood of $x$ will necessarily be 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 sequence in $X$ is by definition a map $\mathbb {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 not 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 never 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=\mathbb {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 only the values of a sequence. To see how this is done, consider a sequence $x_{\bullet }=\left(x_{i}\right)_{i=1}^{\infty }{\text{ in }}X,$ which is by definition just a function $x_{\bullet }:\mathbb {N} \to X$ whose value at $i\in \mathbb {N}$ is denoted by $x_{i}$ rather than by the usual parentheses notation $x_{\bullet }(i)$ that is commonly used for arbitrary functions. Knowing only the image (sometimes called "the range") $\operatorname {Im} x_{\bullet }:=\left\{x_{i}:i\in \mathbb {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 tails of the sequence $x_{\bullet }$: ${\begin{alignedat}{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{alignedat}}$
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_{\bullet }:\mathbb {N} \to X.$ Specifically, with the family of sets $\{x_{\geq 1},x_{\geq 2},\ldots \}$ in hand, the function $x_{\bullet }:\mathbb {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 "generate" a filter via taking its upward closure (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 filter base, also called a prefilter, 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 functions and so they have the advantages of functions. 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 sets and so they have the advantages of sets. For example, if $f$ is surjective then the image $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_{\bullet }$ 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 ultrafilters 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 any 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 entirely of subsets of $X$ and neither definition requires any set that cannot be constructed from $X$ (such as $\mathbb {N}$ or other directed sets, which sequences and nets require).

## Preliminaries, notation, and basic notions

In this article, upper case Roman letters like $S$ 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 a family of sets (or simply, a family) where it is over $X$ 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}}$, 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 upward closure or isotonization in $X$ of a family of sets ${\mathcal {B}}\subseteq \wp (X)$ is
   ${\mathcal {B}}^{\uparrow X}:=\{S\subseteq X~:~B\subseteq S{\text{ for some }}B\in {\mathcal {B}}\,\}={\textstyle \bigcup \limits _{B\in {\mathcal {B}}}}\{S~:~B\subseteq S\subseteq X\}$
and similarly the downward closure of ${\mathcal {B}}$ is ${\mathcal {B}}^{\downarrow }:=\{S\subseteq B~:~B\in {\mathcal {B}}\,\}={\textstyle \bigcup \limits _{B\in {\mathcal {B}}}}\wp (B).$
| Notation and Definition | Name |
| $\ker {\mathcal {B}}=\bigcap _{B\in {\mathcal {B}}}B$ | Kernel of ${\mathcal {B}}$ |
| $S\setminus {\mathcal {B}}:=\{S\setminus B~:~B\in {\mathcal {B}}\}=\{S\}\,(\setminus )\,{\mathcal {B}}$ | Dual of ${\mathcal {B}}{\text{ in }}S$ where $S$ is a set. |
| ${\mathcal {B}}{\big \vert }_{S}:=\{B\cap S~:~B\in {\mathcal {B}}\}={\mathcal {B}}\,(\cap )\,\{S\}$ | Trace of ${\mathcal {B}}{\text{ on }}S$ or the restriction of ${\mathcal {B}}{\text{ to }}S$ where $S$ is a set; sometimes denoted by ${\mathcal {B}}\cap S$ |
| ${\mathcal {B}}\,(\cap )\,{\mathcal {C}}=\{B\cap C~:~B\in {\mathcal {B}}{\text{ and }}C\in {\mathcal {C}}\}$ | Elementwise (set) intersection (${\mathcal {B}}\cap {\mathcal {C}}$ will denote the usual intersection) |
| ${\mathcal {B}}\,(\cup )\,{\mathcal {C}}=\{B\cup C~:~B\in {\mathcal {B}}{\text{ and }}C\in {\mathcal {C}}\}$ | Elementwise (set) union (${\mathcal {B}}\cup {\mathcal {C}}$ will denote the usual union) |
| ${\mathcal {B}}\,(\setminus )\,{\mathcal {C}}=\{B\setminus C~:~B\in {\mathcal {B}}{\text{ and }}C\in {\mathcal {C}}\}$ | Elementwise (set) subtraction (${\mathcal {B}}\setminus {\mathcal {C}}$ will denote the usual set subtraction) |
| $\wp (X)=\{S~:~S\subseteq X\}$ | Power set of a set $X$ |
   For any two families ${\mathcal {C}}{\text{ and }}{\mathcal {F}},$ declare that ${\mathcal {C}}\leq {\mathcal {F}}$ if and only if for every $C\in {\mathcal {C}}$ there exists some $F\in {\mathcal {F}}{\text{ such that }}F\subseteq C,$ in which case it is said that ${\mathcal {C}}$ is coarser than ${\mathcal {F}}$ and that ${\mathcal {F}}$ is finer than (or subordinate to) ${\mathcal {C}}.$ The notation ${\mathcal {F}}\vdash {\mathcal {C}}{\text{ or }}{\mathcal {F}}\geq {\mathcal {C}}$ may also be used in place of ${\mathcal {C}}\leq {\mathcal {F}}.$
   If ${\mathcal {C}}\leq {\mathcal {F}}$ and ${\mathcal {F}}\leq {\mathcal {C}}$ then ${\mathcal {C}}{\text{ and }}{\mathcal {F}}$ are said to be equivalent (with respect to subordination).
   Two families ${\mathcal {B}}{\text{ and }}{\mathcal {C}}$ mesh, written ${\mathcal {B}}\#{\mathcal {C}},$ if $B\cap C\neq \varnothing {\text{ for all }}B\in {\mathcal {B}}{\text{ and }}C\in {\mathcal {C}}.$
Throughout, $f$ is a map.
| Notation and Definition | Name |
| $f^{-1}({\mathcal {B}})=\left\{f^{-1}(B)~:~B\in {\mathcal {B}}\right\}$ | Image of ${\mathcal {B}}{\text{ under }}f^{-1},$ or the preimage of ${\mathcal {B}}$ under $f$ |
| $f({\mathcal {B}})=\{f(B)~:~B\in {\mathcal {B}}\}$ | Image of ${\mathcal {B}}$ under $f$ |
| $\operatorname {image} f=f(\operatorname {domain} f)$ | Image (or range) of $f$ |
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.
| Notation and Definition | Name |
| $\tau (S)=\{O\in \tau ~:~S\subseteq O\}$ | Set or prefilter of open neighborhoods of $S{\text{ in }}(X,\tau )$ |
| $\tau (x)=\{O\in \tau ~:~x\in O\}$ | Set or prefilter of open neighborhoods of $x{\text{ in }}(X,\tau )$ |
| ${\mathcal {N}}_{\tau }(S)={\mathcal {N}}(S):=\tau (S)^{\uparrow X}$ | Set or filter of neighborhoods of $S{\text{ in }}(X,\tau )$ |
| ${\mathcal {N}}_{\tau }(x)={\mathcal {N}}(x):=\tau (x)^{\uparrow X}$ | Set or filter of neighborhoods of $x{\text{ in }}(X,\tau )$ |
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 directed set is a set $I$ together with a preorder, which will be denoted by $\,\leq \,$ (unless explicitly indicated otherwise), that makes $(I,\leq )$ into an (upward) directed set; 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 not true that $j\leq i$ (if $\,\leq \,$ is antisymmetric then this is equivalent to $i\leq j{\text{ and }}i\neq j$).
A net in $X$ is a map from a non-empty directed set into $X.$ The notation $x_{\bullet }=\left(x_{i}\right)_{i\in I}$ will be used to denote a net with domain $I.$
| Notation and Definition | Name |
| $I_{\geq i}=\{j\in I~:~j\geq i\}$ | Tail or section of $I$ starting at $i\in I$ where $(I,\leq )$ is a directed set. |
| $x_{\geq i}=\left\{x_{j}~:~j\geq i{\text{ and }}j\in I\right\}$ | Tail or section of $x_{\bullet }=\left(x_{i}\right)_{i\in I}$ starting at $i\in I$ |
| $\operatorname {Tails} \left(x_{\bullet }\right)=\left\{x_{\geq i}~:~i\in I\right\}$ | Set or prefilter of tails/sections of $x_{\bullet }.$ Also called the eventuality filter base generated by (the tails of) $x_{\bullet }=\left(x_{i}\right)_{i\in I}.$ If $x_{\bullet }$ is a sequence then $\operatorname {Tails} \left(x_{\bullet }\right)$ is also called the sequential filter base or elementary prefilter. |
| $\operatorname {TailsFilter} \left(x_{\bullet }\right)=\operatorname {Tails} \left(x_{\bullet }\right)^{\uparrow X}$ | (Eventuality) filter of/generated by (tails of) $x_{\bullet }$ |
| $f\left(I_{\geq i}\right)=\{f(j)~:~j\geq i{\text{ and }}j\in I\}$ | Tail or section of a net $f:I\to X$ starting at $i\in I$ where $(I,\leq )$ is a directed set. |
Warning about using strict comparison
If $x_{\bullet }=\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 the tail of $x_{\bullet }$ after $i$, 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_{\bullet }\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

Families ${\mathcal {F}}$ of sets over $\Omega$ vte :
| Is necessarily true of ${\mathcal {F}}\colon$ or, is ${\mathcal {F}}$ closed under: | Directed by $\,\supseteq$ | $A\cap B$ | $A\cup B$ | $B\setminus A$ | $\Omega \setminus A$ | $A_{1}\cap A_{2}\cap \cdots$ | $A_{1}\cup A_{2}\cup \cdots$ | $\Omega \in {\mathcal {F}}$ | $\varnothing \in {\mathcal {F}}$ | F.I.P. |
| π-system | | | | | | | | | | |
| Semiring | | | | | | | | | | Never |
| Semialgebra (Semifield) | | | | | | | | | | Never |
| Monotone class | | | | | | only if $A_{i}\searrow$ | only if $A_{i}\nearrow$ | | | |
| 𝜆-system (Dynkin System) | | | | only if $A\subseteq B$ | | | only if $A_{i}\nearrow$ or they are disjoint | | | Never |
| Ring (Order theory) | | | | | | | | | | |
| Ring (Measure theory) | | | | | | | | | | Never |
| δ-Ring | | | | | | | | | | Never |
| 𝜎-Ring | | | | | | | | | | Never |
| Algebra (Field) | | | | | | | | | | Never |
| 𝜎-Algebra (𝜎-Field) | | | | | | | | | | Never |
| Dual ideal | | | | | | | | | | |
| Filter | | | | Never | Never | | | | $\varnothing \not \in {\mathcal {F}}$ | |
| Prefilter (Filter base) | | | | Never | Never | | | | $\varnothing \not \in {\mathcal {F}}$ | |
| Filter subbase | | | | Never | Never | | | | $\varnothing \not \in {\mathcal {F}}$ | |
| Open Topology | | | | | | | (even arbitrary $\cup$) | | | Never |
| Closed Topology | | | | | | (even arbitrary $\cap$) | | | | Never |
| Is necessarily true of ${\mathcal {F}}\colon$ or, is ${\mathcal {F}}$ closed under: | directed downward | finite intersections | finite unions | relative complements | complements in $\Omega$ | countable intersections | countable unions | contains $\Omega$ | contains $\varnothing$ | Finite Intersection Property |
| Additionally, a semiring is a π-system where every complement $B\setminus A$ is equal to a finite disjoint union of sets in ${\mathcal {F}}.$ A semialgebra is a semiring where every complement $\Omega \setminus A$ is equal to a finite disjoint union of sets in ${\mathcal {F}}.$ $A,B,A_{1},A_{2},\ldots$ are arbitrary elements of ${\mathcal {F}}$ and it is assumed that ${\mathcal {F}}\neq \varnothing .$ |||||||||||
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).$
   ${\mathcal {B}}$
   * Proper or nondegenerate if $\varnothing \not \in {\mathcal {B}}.$ Otherwise, if $\varnothing \in {\mathcal {B}},$ then it is called improper or degenerate.
   * Directed downward if whenever $A,B\in {\mathcal {B}}$ then there exists some $C\in {\mathcal {B}}$ such that $C\subseteq A\cap B.$
   ** This property can be characterized in terms of directedness, which explains the word "directed": A binary relation $\,\preceq \,$ on ${\mathcal {B}}$ is called (upward) directed if for any two $A{\text{ and }}B,$ there is some $C$ satisfying $A\preceq C{\text{ and }}B\preceq C.$ Using $\,\supseteq \,$ in place of $\,\preceq \,$ gives the definition of directed downward whereas using $\,\subseteq \,$ instead gives the definition of directed upward. Explicitly, ${\mathcal {B}}$ is directed downward (resp. directed upward) if and only if for all $A,B\in {\mathcal {B}},$ there exists some "greater" $C\in {\mathcal {B}}$ such that $A\supseteq C{\text{ and }}B\supseteq C$ (resp. such that $A\subseteq C{\text{ and }}B\subseteq C$) − where the "greater" element is always on the right hand side, − which can be rewritten as $A\cap B\supseteq C$ (resp. as $A\cup B\subseteq C$).
   * Closed under finite intersections (resp. unions) if the intersection (resp. union) of any two elements of ${\mathcal {B}}$ is an element of ${\mathcal {B}}.$
   ** If ${\mathcal {B}}$ is closed under finite intersections then ${\mathcal {B}}$ is necessarily directed downward. The converse is generally false.
   * Upward closed or Isotone in $X$ if ${\mathcal {B}}\subseteq \wp (X){\text{ and }}{\mathcal {B}}={\mathcal {B}}^{\uparrow X},$ or equivalently, if whenever $B\in {\mathcal {B}}$ and some set $C$ satisfies $B\subseteq C\subseteq X,{\text{ then }}C\in {\mathcal {B}}.$ Similarly, ${\mathcal {B}}$ is downward closed if ${\mathcal {B}}={\mathcal {B}}^{\downarrow }.$ An upward (respectively, downward) closed set is also called an upper set or upset (resp. a lower set or down set).
   ** The family ${\mathcal {B}}^{\uparrow X},$ which is the upward closure of ${\mathcal {B}}{\text{ in }}X,$ is the unique smallest (with respect to $\,\subseteq$) isotone family of sets over $X$ having ${\mathcal {B}}$ as a subset.
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.
   ${\mathcal {B}}$
   * Ideal if ${\mathcal {B}}\neq \varnothing$ is downward closed and closed under finite unions.
   * Dual ideal on $X$ if ${\mathcal {B}}\neq \varnothing$ is upward closed in $X$ and also closed under finite intersections. Equivalently, ${\mathcal {B}}\neq \varnothing$ is a dual ideal if for all $R,S\subseteq X,$ $R\cap S\in {\mathcal {B}}\;{\text{ if and only if }}\;R,S\in {\mathcal {B}}.$
   ** Explanation of the word "dual": A family ${\mathcal {B}}$ is a dual ideal (resp. an ideal) on $X$ if and only if the dual of ${\mathcal {B}}{\text{ in }}X,$ which is the family $X\setminus {\mathcal {B}}:=\{X\setminus B~:~B\in {\mathcal {B}}\},$ is an ideal (resp. a dual ideal) on $X.$ In other words, dual ideal means "dual of an ideal". The dual of the dual is the original family, meaning $X\setminus (X\setminus {\mathcal {B}})={\mathcal {B}}.$
   * Filter on $X$ if ${\mathcal {B}}$ is a proper dual ideal on $X.$ That is, a filter on $X$ is a non−empty subset of $\wp (X)\setminus \{\varnothing \}$ that is closed under finite intersections and upward closed in $X.$ Equivalently, it is a prefilter that is upward closed in $X.$ In words, a filter on $X$ is a family of sets over $X$ that (1) is not empty (or equivalently, it contains $X$), (2) is closed under finite intersections, (3) is upward closed in $X,$ and (4) does not have the empty set as an element.
   ** Warning: Some authors, particularly algebrists, use "filter" to mean a dual ideal; others, particularly topologists, use "filter" to mean a proper/non-degenerate dual ideal. It is recommended that readers always check how "filter" is defined when reading mathematical literature. However, the definitions of "ultrafilter," "prefilter," and "filter subbase" always require non-degeneracy. This article uses Henri Cartan's original definition of "filter", which required non-degeneracy.
   ** The power set $\wp (X)$ is the one and only dual ideal on $X$ that is not also a filter. Excluding $\wp (X)$ from the definition of "filter" in topology has the same benefit as excluding $1$ from the definition of "prime number": it obviates the need to specify "non-degenerate" (the analog of "non-unital" or "non-$1$") in many important results, thereby making their statements less awkward.
   * Prefilter or filter base if ${\mathcal {B}}\neq \varnothing$ is proper and directed downward. Equivalently, ${\mathcal {B}}$ is called a prefilter if its upward closure ${\mathcal {B}}^{\uparrow X}$ is a filter. It can also be defined as any family that is equivalent to some filter. A proper family ${\mathcal {B}}\neq \varnothing$ is a prefilter if and only if ${\mathcal {B}}\,(\cap )\,{\mathcal {B}}\leq {\mathcal {B}}.$ A family is a prefilter if and only if the same is true of its upward closure.
   ** If ${\mathcal {B}}$ is a prefilter then its upward closure ${\mathcal {B}}^{\uparrow X}$ is the unique smallest (relative to $\subseteq$) filter on $X$ containing ${\mathcal {B}}$ and it is called the filter generated by ${\mathcal {B}}.$ A filter ${\mathcal {F}}$ is said to be generated by a prefilter ${\mathcal {B}}$ if ${\mathcal {F}}={\mathcal {B}}^{\uparrow X},$ in which ${\mathcal {B}}$ is called a filter base for ${\mathcal {F}}.$
   ** Unlike a filter, a prefilter is not necessarily closed under finite intersections.
   * π-system if ${\mathcal {B}}\neq \varnothing$ is closed under finite intersections. Every non-empty family ${\mathcal {B}}$ is contained in a unique smallest π-system called the π-system generated by ${\mathcal {B}},$ which is sometimes denoted by $\pi ({\mathcal {B}}).$ It is equal to the intersection of all π-systems containing ${\mathcal {B}}$ and also to the set of all possible finite intersections of sets from ${\mathcal {B}}$: $\pi ({\mathcal {B}})=\left\{B_{1}\cap \cdots \cap B_{n}~:~n\geq 1{\text{ and }}B_{1},\ldots ,B_{n}\in {\mathcal {B}}\right\}.$
   ** A π-system is a prefilter if and only if it is proper. Every filter is a proper π-system and every proper π-system is a prefilter but the converses do not hold in general.
   ** A prefilter is equivalent to the π-system generated by it and both of these families generate the same filter on $X.$
   * Filter subbase and centered if ${\mathcal {B}}\neq \varnothing$ and ${\mathcal {B}}$ satisfies any of the following equivalent conditions:
   ** ${\mathcal {B}}$ has the finite intersection property, which means that the intersection of any finite family of (one or more) sets in ${\mathcal {B}}$ is not empty; explicitly, this means that whenever $n\geq 1{\text{ and }}B_{1},\ldots ,B_{n}\in {\mathcal {B}}$ then $\varnothing \neq B_{1}\cap \cdots \cap B_{n}.$
   ** The π-system generated by ${\mathcal {B}}$ is proper; that is, $\varnothing \not \in \pi ({\mathcal {B}}).$
   ** The π-system generated by ${\mathcal {B}}$ is a prefilter.
   ** ${\mathcal {B}}$ is a subset of some prefilter.
   ** ${\mathcal {B}}$ is a subset of some filter.
   ** Assume that ${\mathcal {B}}$ is a filter subbase. Then there is a unique smallest (relative to $\subseteq$) filter ${\mathcal {F}}_{\mathcal {B}}{\text{ on }}X$ containing ${\mathcal {B}}$ called the filter generated by ${\mathcal {B}}$, and ${\mathcal {B}}$ is said to be a filter subbase for this filter. This filter is equal to the intersection of all filters on $X$ that are supersets of ${\mathcal {B}}.$ The π-system generated by ${\mathcal {B}},$ denoted by $\pi ({\mathcal {B}}),$ will be a prefilter and a subset of ${\mathcal {F}}_{\mathcal {B}}.$ Moreover, the filter generated by ${\mathcal {B}}$ is equal to the upward closure of $\pi ({\mathcal {B}}),$ meaning $\pi ({\mathcal {B}})^{\uparrow X}={\mathcal {F}}_{\mathcal {B}}.$ However, ${\mathcal {B}}^{\uparrow X}={\mathcal {F}}_{\mathcal {B}}$ if and only if ${\mathcal {B}}$ is a prefilter (although ${\mathcal {B}}^{\uparrow X}$ is always an upward closed filter subbase for ${\mathcal {F}}_{\mathcal {B}}$).
   ** A $\subseteq$ -smallest (meaning smallest relative to $\subseteq$ ) prefilter containing a filter subbase ${\mathcal {B}}$ will exist only under certain circumstances. It exists, for example, if the filter subbase ${\mathcal {B}}$ happens to also be a prefilter. It also exists if the filter (or equivalently, the π-system) generated by ${\mathcal {B}}$ is principal, in which case ${\mathcal {B}}\cup \{\ker {\mathcal {B}}\}$ is the unique smallest prefilter containing ${\mathcal {B}}.$ Otherwise, in general, a $\subseteq$ -smallest prefilter containing ${\mathcal {B}}$ might not exist. For this reason, some authors may refer to the π-system generated by ${\mathcal {B}}$ as the prefilter generated by ${\mathcal {B}}.$ However, if a $\subseteq$ -smallest prefilter does exist (say it is denoted by $\operatorname {minPre} {\mathcal {B}}$) then contrary to usual expectations, it is not necessarily equal to "the prefilter generated by ${\mathcal {B}}$" (that is, $\operatorname {minPre} {\mathcal {B}}\neq \pi ({\mathcal {B}})$ is possible). And if the filter subbase ${\mathcal {B}}$ happens to also be a prefilter but not a π-system then unfortunately, "the prefilter generated by this prefilter" (meaning $\pi ({\mathcal {B}})$) will not be ${\mathcal {B}}=\operatorname {minPre} {\mathcal {B}}$ (that is, $\pi ({\mathcal {B}})\neq {\mathcal {B}}$ is possible even when ${\mathcal {B}}$ is a prefilter), which is why this article will prefer the accurate and unambiguous terminology of "the π-system generated by ${\mathcal {B}}$".
   * Subfilter of a filter ${\mathcal {F}}$ and that ${\mathcal {F}}$ is a superfilter of ${\mathcal {B}}$ if ${\mathcal {B}}$ is a filter and ${\mathcal {B}}\subseteq {\mathcal {F}}$ where for filters, ${\mathcal {B}}\subseteq {\mathcal {F}}{\text{ if and only if }}{\mathcal {B}}\leq {\mathcal {F}}.$
   ** Importantly, the expression "is a superfilter of" is for filters the analog of "is a subsequence of". So despite having the prefix "sub" in common, "is a subfilter of" is actually the reverse of "is a subsequence of." However, ${\mathcal {B}}\leq {\mathcal {F}}$ can also be written ${\mathcal {F}}\vdash {\mathcal {B}}$ which is described by saying "${\mathcal {F}}$ is subordinate to ${\mathcal {B}}.$" With this terminology, "is subordinate to" becomes for filters (and also for prefilters) the analog of "is a subsequence of," which makes this one situation where using the term "subordinate" and symbol $\,\vdash \,$ may be helpful.
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 indiscrete or trivial filter on $X.$ It is the unique minimal 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 the degenerate filter on $X$ (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 neighborhood basis (resp. a neighborhood subbase) 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.$
* ${\mathcal {B}}$ is an elementary prefilter if ${\mathcal {B}}=\operatorname {Tails} \left(x_{\bullet }\right)$ for some sequence of points $x_{\bullet }=\left(x_{i}\right)_{i=1}^{\infty }.$
* ${\mathcal {B}}$ is an elementary filter or a sequential filter 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 not 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.
* 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 Fréchet filter or the cofinite filter 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 .$
* The intersection of all elements in any non-empty family $\mathbb {F} \subseteq \operatorname {Filters} (X)$ is itself a filter on $X$ called the infimum or greatest lower bound 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 ).$
* 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 supremum or least upper bound 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 \mathbb {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 some 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).$
* 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 supremum or least upper bound 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 two distinct elements then there exist filters ${\mathcal {B}}{\text{ and }}{\mathcal {C}}{\text{ on }}X$ for which there does not 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)$).
** 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 one of the coarsest prefilters (resp. the 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
* 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 not 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.$
* 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}}}.$
* 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=\mathbb {R} ^{n}$ (with $1\leq n\in \mathbb {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.$ 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} }.$

#### 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.
   ${\mathcal {B}}\subseteq \wp (X)$
   * Ultra if $\varnothing \not \in {\mathcal {B}}$ and any of the following equivalent conditions are satisfied:
   ** For every set $S\subseteq X$ there exists some set $B\in {\mathcal {B}}$ such that $B\subseteq S{\text{ or }}B\subseteq X\setminus S$ (or equivalently, such that $B\cap S{\text{ equals }}B{\text{ or }}\varnothing$).
   ** For every set $S\subseteq {\textstyle \bigcup \limits _{B\in {\mathcal {B}}}}B$ there exists some set $B\in {\mathcal {B}}$ such that $B\cap S{\text{ equals }}B{\text{ or }}\varnothing .$
   *** This characterization of "${\mathcal {B}}$ is ultra" does not depend on the set $X,$ so mentioning the set $X$ is optional when using the term "ultra."
   ** For every set $S$ (not necessarily even a subset of $X$) there exists some set $B\in {\mathcal {B}}$ such that $B\cap S{\text{ equals }}B{\text{ or }}\varnothing .$
   * Ultra prefilter if it is a prefilter that is also ultra. Equivalently, it is a filter subbase that is ultra. A prefilter ${\mathcal {B}}$ is ultra if and only if it satisfies any of the following equivalent conditions:
   ** ${\mathcal {B}}$ is maximal in $\operatorname {Prefilters} (X)$ with respect to $\,\leq ,\,$ which means that ${\text{For all }}{\mathcal {C}}\in \operatorname {Prefilters} (X),\;{\mathcal {B}}\leq {\mathcal {C}}\;{\text{ implies }}\;{\mathcal {C}}\leq {\mathcal {B}}.$
   ** ${\text{For all }}{\mathcal {C}}\in \operatorname {Filters} (X),\;{\mathcal {B}}\leq {\mathcal {C}}\;{\text{ implies }}\;{\mathcal {C}}\leq {\mathcal {B}}.$
   *** Although this statement is identical to that given below for ultrafilters, here ${\mathcal {B}}$ is merely assumed to be a prefilter; it need not be a filter.
   ** ${\mathcal {B}}^{\uparrow X}$ is ultra (and thus an ultrafilter).
   ** ${\mathcal {B}}$ is equivalent to some ultrafilter.
   ** A filter subbase that is ultra is necessarily a prefilter. A filter subbase is ultra if and only if it is a maximal filter subbase with respect to $\,\leq \,$ (as above).
   * Ultrafilter on $X$ if it is a filter on $X$ that is ultra. Equivalently, an ultrafilter on $X$ is a filter ${\mathcal {B}}{\text{ on }}X$ that satisfies any of the following equivalent conditions:
   ** ${\mathcal {B}}$ is generated by an ultra prefilter.
   ** For any $S\subseteq X,S\in {\mathcal {B}}{\text{ or }}X\setminus S\in {\mathcal {B}}.$
   ** ${\mathcal {B}}\cup (X\setminus {\mathcal {B}})=\wp (X).$ This condition can be restated as: $\wp (X)$ is partitioned by ${\mathcal {B}}$ and its dual $X\setminus {\mathcal {B}}.$
   ** For any $R,S\subseteq X,$ if $R\cup S\in {\mathcal {B}}$ then $R\in {\mathcal {B}}{\text{ or }}S\in {\mathcal {B}}$ (a filter with this property is called a prime filter).
   *** This property extends to any finite union of two or more sets.
   ** ${\mathcal {B}}$ is a maximal filter on $X$; meaning that if ${\mathcal {C}}$ is a filter on $X$ such that ${\mathcal {B}}\subseteq {\mathcal {C}}$ then necessarily ${\mathcal {C}}={\mathcal {B}}$ (this equality may be replaced by ${\mathcal {C}}\subseteq {\mathcal {B}}{\text{ or by }}{\mathcal {C}}\leq {\mathcal {B}}$).
   *** If ${\mathcal {C}}$ is upward closed then ${\mathcal {B}}\leq {\mathcal {C}}{\text{ if and only if }}{\mathcal {B}}\subseteq {\mathcal {C}}.$ So this characterization of ultrafilters as maximal filters can be restated as: ${\text{For all }}{\mathcal {C}}\in \operatorname {Filters} (X),\;{\mathcal {B}}\leq {\mathcal {C}}\;{\text{ implies }}\;{\mathcal {C}}\leq {\mathcal {B}}.$
   *** Because subordination $\,\geq \,$ is for filters the analog of "is a subnet/subsequence of" (specifically, "subnet" should mean "AA-subnet," which is defined below), this characterization of an ultrafilter as being a "maximally subordinate filter" suggests that an ultrafilter can be interpreted as being analogous to some sort of "maximally deep net" (which could, for instance, mean that "when viewed only from $X$" in some sense, it is indistinguishable from its subnets, as is the case with any net valued in a singleton set for example), which is an idea that is actually made rigorous by ultranets. The ultrafilter lemma is then the statement that every filter ("net") has some subordinate filter ("subnet") that is "maximally subordinate" ("maximally deep").
The ultrafilter lemma
The following important theorem is due to Alfred Tarski (1930).
The ultrafilter lemma/principle/theorem (Tarski)—Every filter on a set $X$ is a subset of some ultrafilter on $X.$
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 only 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.
   ${\mathcal {B}}$
   ${\mathcal {B}}:$
   $\ker {\mathcal {B}}=\bigcap _{B\in {\mathcal {B}}}B$
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

   ${\mathcal {B}}$
   * Free if $\ker {\mathcal {B}}=\varnothing ,$ or equivalently, if $\{X\setminus \{x\}~:~x\in X\}\subseteq {\mathcal {B}}^{\uparrow X};$ this can be restated as $\{X\setminus \{x\}~:~x\in X\}\leq {\mathcal {B}}.$
   ** A filter ${\mathcal {F}}{\text{ on }}X$ is free if and only if $X$ is infinite and ${\mathcal {F}}$ includes the Fréchet filter on $X$ as a subset.
   * Fixed if $\ker {\mathcal {B}}\neq \varnothing$ in which case, ${\mathcal {B}}$ is said to be fixed by any point $x\in \ker {\mathcal {B}}.$
   ** Any fixed family is necessarily a filter subbase.
   * Principal if $\ker {\mathcal {B}}\in {\mathcal {B}}.$
   ** A proper principal family of sets is necessarily a prefilter.
   * Discrete or Principal at $x\in X$ if $\{x\}=\ker {\mathcal {B}}\in {\mathcal {B}}.$
   ** The principal filter at $x{\text{ on }}X$ is the filter $\{x\}^{\uparrow X}.$ A filter ${\mathcal {F}}$ is principal at $x$ if and only if ${\mathcal {F}}=\{x\}^{\uparrow X}.$
   * Countably deep if whenever ${\mathcal {C}}\subseteq {\mathcal {B}}$ is a countable subset then $\ker {\mathcal {C}}\in {\mathcal {B}}.$
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 \mathbb {R} ,$ the family ${\mathcal {B}}_{C}=\{\mathbb {R} \setminus (r+C)~:~r\in \mathbb {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 $\mathbb {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=\mathbb {Q} ,\mathbb {Z} ,$ the primes), a meager set in $\mathbb {R} ,$ a set of finite measure, or a bounded subset of $\mathbb {R} .$ If $C$ is a singleton set then ${\mathcal {B}}_{C}$ is a subbase for the Fréchet filter on $\mathbb {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.
Proposition—If ${\mathcal {F}}$ is an ultrafilter on $X$ then the following are equivalent:
* ${\mathcal {F}}$ is fixed, or equivalently, not free, meaning $\ker {\mathcal {F}}\neq \varnothing .$
* ${\mathcal {F}}$ is principal, meaning $\ker {\mathcal {F}}\in {\mathcal {F}}.$
* Some element of ${\mathcal {F}}$ is a finite set.
* Some element of ${\mathcal {F}}$ is a singleton set.
* ${\mathcal {F}}$ is principal at some point of $X,$ which means $\ker {\mathcal {F}}=\{x\}\in {\mathcal {F}}$ for some $x\in X.$
* ${\mathcal {F}}$ does not contain the Fréchet filter on $X.$
* ${\mathcal {F}}$ is sequential.

### 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}}$ mesh and are compatible, 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 dissociated. If $S\subseteq X{\text{ and }}{\mathcal {B}}\subseteq \wp (X)$ then ${\mathcal {B}}{\text{ and }}S$ are said to mesh if ${\mathcal {B}}{\text{ and }}\{S\}$ mesh, or equivalently, if the trace 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 restriction of ${\mathcal {B}}{\text{ to }}S.$
   ${\mathcal {C}}\leq {\mathcal {F}},{\mathcal {F}}\geq {\mathcal {C}},{\text{ and }}{\mathcal {F}}\vdash {\mathcal {C}},$
   ${\mathcal {C}}$
   ${\mathcal {F}}$
   ${\mathcal {F}}$
   ${\mathcal {C}},$
   * Definition: Every $C\in {\mathcal {C}}$ includes some $F\in {\mathcal {F}}.$ Explicitly, this means that for every $C\in {\mathcal {C}},$ there is some $F\in {\mathcal {F}}$ such that $F\subseteq C$ (thus ${\mathcal {C}}\ni C\supseteq F\in {\mathcal {F}}$ holds).
   ** Said more briefly in plain English, ${\mathcal {C}}\leq {\mathcal {F}}$ if every set in ${\mathcal {C}}$ is larger than some set in ${\mathcal {F}}.$ Here, a "larger set" means a superset.
   * $\{C\}\leq {\mathcal {F}}{\text{ for every }}C\in {\mathcal {C}}.$
   ** In words, $\{C\}\leq {\mathcal {F}}$ states exactly that $C$ is larger than some set in ${\mathcal {F}}.$ The equivalence of (a) and (b) follows immediately.
   * ${\mathcal {C}}\leq {\mathcal {F}}^{\uparrow X},$ which is equivalent to ${\mathcal {C}}\subseteq {\mathcal {F}}^{\uparrow X}$;
   * ${\mathcal {C}}^{\uparrow X}\leq {\mathcal {F}}$;
   * ${\mathcal {C}}^{\uparrow X}\leq {\mathcal {F}}^{\uparrow X},$ which is equivalent to ${\mathcal {C}}^{\uparrow X}\subseteq {\mathcal {F}}^{\uparrow X}$;
   and if in addition ${\mathcal {F}}$ is upward closed, which means that ${\mathcal {F}}={\mathcal {F}}^{\uparrow X},$ then this list can be extended to include:
   * ${\mathcal {C}}\subseteq {\mathcal {F}}.$
   ** So in this case, this definition of "${\mathcal {F}}$ is finer than ${\mathcal {C}}$" would be identical to the topological definition of "finer" had ${\mathcal {C}}{\text{ and }}{\mathcal {F}}$ been topologies on $X.$
   If an upward closed family ${\mathcal {F}}$ is finer than ${\mathcal {C}}$ (that is, ${\mathcal {C}}\leq {\mathcal {F}}$) but ${\mathcal {C}}\neq {\mathcal {F}}$ then ${\mathcal {F}}$ is said to be strictly finer than ${\mathcal {C}}$ and ${\mathcal {C}}$ is strictly coarser than ${\mathcal {F}}.$
Example: If $x_{i_{\bullet }}=\left(x_{i_{n}}\right)_{n=1}^{\infty }$ is a subsequence of $x_{\bullet }=\left(x_{i}\right)_{i=1}^{\infty }$ then $\operatorname {Tails} \left(x_{i_{\bullet }}\right)$ is subordinate to $\operatorname {Tails} \left(x_{\bullet }\right);$ in symbols: $\operatorname {Tails} \left(x_{i_{\bullet }}\right)\vdash \operatorname {Tails} \left(x_{\bullet }\right)$ and also $\operatorname {Tails} \left(x_{\bullet }\right)\leq \operatorname {Tails} \left(x_{i_{\bullet }}\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_{\bullet }\right)$ be arbitrary (or equivalently, let $i\in \mathbb {N}$ be arbitrary) and it remains to show that this set contains some $F:=x_{i_{\geq n}}\in \operatorname {Tails} \left(x_{i_{\bullet }}\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 \mathbb {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_{\bullet }\right)\subseteq \operatorname {TailsFilter} \left(x_{i_{\bullet }}\right).$ The left hand side will be a strict/proper subset of the right hand side if (for instance) every point of $x_{\bullet }$ is unique (that is, when $x_{\bullet }:\mathbb {N} \to X$ is injective) and $x_{i_{\bullet }}$ 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 \mathbb {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 be 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 not 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 equivalent to ${\mathcal {C}}$ if any of the following equivalent conditions hold:
* ${\mathcal {C}}\leq {\mathcal {B}}{\text{ and }}{\mathcal {B}}\leq {\mathcal {C}}.$
* The upward closures of ${\mathcal {C}}{\text{ and }}{\mathcal {B}}$ are equal.
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 both ${\mathcal {B}}{\text{ and }}{\mathcal {C}}$ or else it is false of both ${\mathcal {B}}{\text{ and }}{\mathcal {C}}$:
* Not empty
* Proper (that is, $\varnothing$ is not an element)
** Moreover, any two degenerate families are necessarily equivalent.
* Filter subbase
* Prefilter
** In which case ${\mathcal {B}}{\text{ and }}{\mathcal {C}}$ generate the same filter on $X$ (that is, their upward closures in $X$ are equal).
* Free
* Principal
* Ultra
* Is equal to the trivial filter $\{X\}$
** In words, this means that the only subset of $\wp (X)$ that is equivalent to the trivial filter is the trivial filter. In general, this conclusion of equality does not extend to non−trivial filters (one exception is when both families are filters).
* Meshes with ${\mathcal {F}}$
* Is finer than ${\mathcal {F}}$
* Is coarser than ${\mathcal {F}}$
* Is equivalent to ${\mathcal {F}}$
Missing from the above list is the word "filter" because this property is not 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 not 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:
* ${\mathcal {B}}$;
* the π-system generated by ${\mathcal {B}}$;
* the filter on $X$ generated by ${\mathcal {B}}$;
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 not also a prefilter cannot 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.

## Set theoretic properties and constructions relevant to topology
### 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 induced by $S$. 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 surjection $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:
* $f^{-1}({\mathcal {B}})$ is a prefilter;
* ${\mathcal {B}}{\big \vert }_{f(X)}$ is a prefilter;
* $\varnothing \not \in {\mathcal {B}}{\big \vert }_{f(X)}$;
* ${\mathcal {B}}$ meshes with $f(X)$
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 any 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 any 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_{\bullet }=\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_{\bullet }:={\textstyle \prod \limits _{i\in I}}X_{i},$ and for every index $i\in I,$ let $\Pr_{X_{i}}:\prod X_{\bullet }\to X_{i}$ denote the canonical projection. Let ${\mathcal {B}}_{\bullet }:=\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 product of the families ${\mathcal {B}}_{\bullet }$ 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}}_{\bullet }=\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_{\bullet }$ 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_{\bullet }$ generated by ${\mathcal {B}}_{\bullet }.$ If ${\textstyle \prod }{\mathcal {B}}_{\bullet }$ is a filter subbase then the filter on ${\textstyle \prod }X_{\bullet }$ that it generates is called the filter generated by ${\mathcal {B}}_{\bullet }$. If every ${\mathcal {B}}_{i}$ is a prefilter on $X_{i}$ then ${\textstyle \prod }{\mathcal {B}}_{\bullet }$ will be a prefilter on ${\textstyle \prod }X_{\bullet }$ and moreover, this prefilter is equal to the coarsest prefilter ${\mathcal {F}}{\text{ on }}{\textstyle \prod }X_{\bullet }$ such that $\Pr_{X_{i}}({\mathcal {F}})={\mathcal {B}}_{i}$ for every $i\in I.$ However, ${\textstyle \prod }{\mathcal {B}}_{\bullet }$ may fail to be a filter on ${\textstyle \prod }X_{\bullet }$ 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 never 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 proper 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 proper subset of $F_{i}.$ The same is not 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 converge in $(X,\tau )$ 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 finer 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 limit of ${\mathcal {B}}{\text{ in }}X;$ if this limit $x$ is a point (and not a subset), then $x$ is also called a limit point. As usual, $\lim {\mathcal {B}}=x$ is defined to mean that ${\mathcal {B}}\to x$ and $x\in X$ is the only 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:=\mathbb {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:
* 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\}.$
* 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.
* 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.
* 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.
** Drawing or imagining any one of these sequences of sets when $X=\mathbb {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.
Although $\|\cdot \|$ was assumed to be the Euclidean norm, the example above remains valid for any other norm on $\mathbb {R} ^{n}.$
The one and only limit point in $X:=\mathbb {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 $\mathbb {R}$ to any point and so $\lim {\mathcal {B}}=\varnothing ,$ although ${\mathcal {B}}$ does converge to the set $\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 $\mathbb {R}$) to it.
The free prefilter $(\mathbb {R} ,\infty ):=\{(r,\infty ):r\in \mathbb {R} \}$ of intervals does not converge (in $\mathbb {R}$) to any point. The same is also true of the prefilter $[\mathbb {R} ,\infty ):=\{[r,\infty ):r\in \mathbb {R} \}$ because it is equivalent to $(\mathbb {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:=\mathbb {R}$ although the (principle ultra) filter that it generates does.
Given $x\in X,$ the following are equivalent for a prefilter ${\mathcal {B}}:$
* ${\mathcal {B}}$ converges to $x.$
* ${\mathcal {B}}^{\uparrow X}$ converges to $x.$
* There exists a family equivalent to ${\mathcal {B}}$ that converges to $x.$
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 fewer prefilters exist that have any limit points in $X.$

### Cluster points

A family ${\mathcal {B}}$ is said to cluster at 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 cluster point or an accumulation point 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$:
* ${\mathcal {B}}$ clusters at $x.$
* The family ${\mathcal {B}}^{\uparrow X}$ generated by ${\mathcal {B}}$ clusters at $x.$
* There exists a family equivalent to ${\mathcal {B}}$ that clusters at $x.$
* $x\in {\textstyle \bigcap \limits _{F\in {\mathcal {B}}}}\operatorname {cl} _{X}F.$
* $X\setminus N\not \in {\mathcal {B}}^{\uparrow X}$ for every neighborhood $N$ of $x.$
** 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.$
* There exists a prefilter ${\mathcal {F}}$ subordinate to ${\mathcal {B}}$ (that is, ${\mathcal {F}}\geq {\mathcal {B}}$) that converges to $x.$
** 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.$
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 any 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 any 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}}$ finer 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}}$ coarser 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 interchangeably 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 entirely 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 ultra prefilter is a limit point. Consequently, the limit points of an ultra 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 primitive 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 limit point or limit (respectively, a cluster point) of $f$ with respect to ${\mathcal {B}}.$
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$ tend to $y$ along ${\mathcal {B}}.$ 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 of the net $\chi$ while the right hand side states that $x$ is a limit of the function $\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$".
| Type of limit | if and only if | Definition in terms of prefilters | Assumptions |
| $\lim _{x\to x_{0}}f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,{\mathcal {N}}\left(x_{0}\right)$ | |
| $\lim _{\stackrel {x\to x_{0}}{x\neq x_{0}}}f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\left\{N\setminus \left\{x_{0}\right\}:N\in {\mathcal {N}}\left(x_{0}\right)\right\}$ | |
| $\lim _{\stackrel {x\to x_{0}}{x\in S}}f(x)\to y$ or $\lim _{x\to x_{0}}f{\big \vert }_{S}(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,{\mathcal {N}}\left(x_{0}\right){\big \vert }_{S}\,:=\,\left\{N\cap S:N\in {\mathcal {N}}\left(x_{0}\right)\right\}$ | $S\subseteq X{\text{ and }}x_{0}\in \operatorname {cl} _{X}S$ |
| $\lim _{\stackrel {x\to x_{0}}{x\neq x_{0}}}f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\left\{\left(x_{0}-r,x_{0}\right)\cup \left(x_{0},x_{0}+r\right):0<r\in \mathbb {R} \right\}$ | $x_{0}\in X=\mathbb {R}$ |
| $\lim _{\stackrel {x\to x_{0}}{x<x_{0}}}f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\left\{\left(x,x_{0}\right):x<x_{0}\right\}$ | $x_{0}\in X=\mathbb {R}$ |
| $\lim _{\stackrel {x\to x_{0}}{x\leq x_{0}}}f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\left\{\left(x,x_{0}\right]:x<x_{0}\right\}$ | $x_{0}\in X=\mathbb {R}$ |
| $\lim _{\stackrel {x\to x_{0}}{x>x_{0}}}f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\left\{\left(x_{0},x\right):x_{0}<x\right\}$ | $x_{0}\in X=\mathbb {R}$ |
| $\lim _{\stackrel {x\to x_{0}}{x\geq x_{0}}}f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\left\{\left[x_{0},x\right):x_{0}\leq x\right\}$ | $x_{0}\in X=\mathbb {R}$ |
| $\lim _{n\to \infty }f(n)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\{\{n,n+1,\ldots \}~:~n\in \mathbb {N} \}\$ | $X=\mathbb {N} {\text{ so }}f:\mathbb {N} \to Y$ is a sequence in $Y$ |
| $\lim _{x\to \infty }f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,(\mathbb {R} ,\infty )\,:=\,\{(x,\infty ):x\in \mathbb {R} \}$ | $X=\mathbb {R}$ |
| $\lim _{x\to -\infty }f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,(-\infty ,\mathbb {R} )\,:=\,\{(-\infty ,x):x\in \mathbb {R} \}$ | $X=\mathbb {R}$ |
| $\lim _{|x|\to \infty }f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\{X\cap [(-\infty ,x)\cup (x,\infty )]:x\in \mathbb {R} \}$ | $X=\mathbb {R} {\text{ or }}X=\mathbb {Z}$ for a double-ended sequence |
| $\lim _{\|x\|\to \infty }f(x)\to y$ | ⇔ | $f({\mathcal {B}})\to y{\text{ where }}{\mathcal {B}}\,:=\,\{\{x\in X:\|x\|>r\}~:~0<r\in \mathbb {R} \}$ | $(X,\|\cdot \|){\text{ is}}$ a seminormed space; for example, a Banach space ${\text{like }}X=\mathbb {C}$ |
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 $(\mathbb {R} ,\infty ):=\{(r,\infty ):r\in \mathbb {R} \}~~{\text{ and }}~~(-\infty ,\mathbb {R} ):=\{(-\infty ,r):r\in \mathbb {R} \},$ where $f\to \infty$ along ${\mathcal {B}}$ if and only if $(\mathbb {R} ,\infty )\leq f({\mathcal {B}})$ and similarly, $f\to -\infty$ along ${\mathcal {B}}$ if and only if $(-\infty ,\mathbb {R} )\leq f({\mathcal {B}}).$ The family $(\mathbb {R} ,\infty )$ can be replaced by any family equivalent to it, such as $[\mathbb {R} ,\infty ):=\{[r,\infty ):r\in \mathbb {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 ,\mathbb {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 $(\mathbb {R} ,\infty )\leq f({\mathcal {B}})$ holds. Similarly, $\lim _{x\to x_{0}}f(x)\to -\infty$ if and only if $(-\infty ,\mathbb {R} )\leq f\left({\mathcal {N}}\left(x_{0}\right)\right),$ or equivalently, if and only if $(-\infty ,\mathbb {R} ]\leq f\left({\mathcal {N}}\left(x_{0}\right)\right).$
More generally, if $f$ is valued in $Y=\mathbb {R} ^{n}{\text{ or }}Y=\mathbb {C} ^{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 \mathbb {R} }\leq f\left({\mathcal {N}}\left(x_{0}\right)\right)$ holds, where $B_{\geq \mathbb {R} }:=\left\{B_{\geq r}:r\in \mathbb {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.
   $x_{\bullet }=\left(x_{i}\right)_{i\in I}$
   $(X,\tau )$
   $x\in X,$
   $x_{\bullet }\to x{\text{ in }}X,$
   $x$
   $x_{\bullet },$
   * Definition: For every $N\in {\mathcal {N}}_{\tau }(x),$ there exists some $i\in I$ such that if $i\leq j\in I{\text{ then }}x_{j}\in N.$
   * For every $N\in {\mathcal {N}}_{\tau }(x),$ there exists some $i\in I$ such that the tail of $x_{\bullet }$ starting at $i$ is contained in $N$ (that is, such that $x_{\geq i}\subseteq N$).
   * For every $N\in {\mathcal {N}}_{\tau }(x),$ there exists some $B\in \operatorname {Tails} \left(x_{\bullet }\right)$ such that $B\subseteq N.$
   * ${\mathcal {N}}_{\tau }(x)\leq \operatorname {Tails} \left(x_{\bullet }\right).$
   * $\operatorname {Tails} \left(x_{\bullet }\right)\to x{\text{ in }}X;$ that is, the prefilter $\operatorname {Tails} \left(x_{\bullet }\right)$ converges to $x.$
   $\lim x_{\bullet }=x$
   $x_{\bullet }\to x$
   $x$
   $x_{\bullet };$
   $x_{\bullet }\to z{\text{ then }}z=x.$
   $x\in X$
   $x_{\bullet }=\left(x_{i}\right)_{i\in I}{\text{ in }}(X,\tau )$
   * Definition: For every $N\in {\mathcal {N}}_{\tau }(x)$ and every $i\in I,$ there exists some $i\leq j\in I$ such that $x_{j}\in N.$
   * For every $N\in {\mathcal {N}}_{\tau }(x)$ and every $i\in I,$ the tail of $x_{\bullet }$ starting at $i$ intersects $N$ (that is, $x_{\geq i}\cap N\neq \varnothing$).
   * For every $N\in {\mathcal {N}}_{\tau }(x)$ and every $B\in \operatorname {Tails} \left(x_{\bullet }\right),B\cap N\neq \varnothing .$
   * ${\mathcal {N}}_{\tau }(x){\text{ and }}\operatorname {Tails} \left(x_{\bullet }\right)$ mesh (by definition of "mesh").
   * $x$ is a cluster point of $\operatorname {Tails} \left(x_{\bullet }\right).$
If $f:X\to Y$ is a map and $x_{\bullet }$ is a net in $X$ then $\operatorname {Tails} \left(f\left(x_{\bullet }\right)\right)=f\left(\operatorname {Tails} \left(x_{\bullet }\right)\right).$

### Prefilters to nets

A pointed set 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.$
   ${\mathcal {B}}$
   $X$
   ${\begin{alignedat}{4}\operatorname {Net} _{\mathcal {B}}:\;&&(\operatorname {PointedSets} ({\mathcal {B}}),\leq )&&\,\to \;&X\\&&(B,b)&&\,\mapsto \;&b\\\end{alignedat}}$
   $\operatorname {Net} _{\mathcal {B}}(B,b):=b.$
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_{\bullet }$ is a net in $X$ then it is not in general true that $\operatorname {Net} _{\operatorname {Tails} \left(x_{\bullet }\right)}$ is equal to $x_{\bullet }$ because, for example, the domain of $x_{\bullet }$ may be of a completely different cardinality than that of $\operatorname {Net} _{\operatorname {Tails} \left(x_{\bullet }\right)}$ (since unlike the domain of $\operatorname {Net} _{\operatorname {Tails} \left(x_{\bullet }\right)},$ the domain of an arbitrary net in $X$ could have any cardinality).
Proposition—If ${\mathcal {B}}$ is a prefilter on $X$ and $x\in X$ then
* ${\mathcal {B}}\to x{\text{ if and only if }}\operatorname {Net} _{\mathcal {B}}\to x.$
* $x$ is a cluster point of ${\mathcal {B}}$ if and only if $x$ is a cluster point of $\operatorname {Net} _{\mathcal {B}}.$
Recall that ${\mathcal {B}}=\operatorname {Tails} \left(\operatorname {Net} _{\mathcal {B}}\right)$ and that if $x_{\bullet }$ is a net in $X$ then (1) $x_{\bullet }\to x{\text{ if and only if }}\operatorname {Tails} \left(x_{\bullet }\right)\to x,$ and (2) $x$ is a cluster point of $x_{\bullet }$ if and only if $x$ is a cluster point of $\operatorname {Tails} \left(x_{\bullet }\right).$ By using $x_{\bullet }:=\operatorname {Net} _{\mathcal {B}}{\text{ and }}{\mathcal {B}}=\operatorname {Tails} \left(\operatorname {Net} _{\mathcal {B}}\right),$ it follows that ${\mathcal {B}}\to x\quad {\text{ if and only if }}\quad \operatorname {Tails} \left(\operatorname {Net} _{\mathcal {B}}\right)\to x\quad {\text{ if and only if }}\quad \operatorname {Net} _{\mathcal {B}}\to x.$ It also follows that $x$ is a cluster point of ${\mathcal {B}}$ if and only if $x$ is a cluster point of $\operatorname {Tails} \left(\operatorname {Net} _{\mathcal {B}}\right)$ if and only if $x$ is a cluster point of $\operatorname {Net} _{\mathcal {B}}.$
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)#Partially ordered net) 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 and 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_{\bullet }}=\left(x_{n_{i}}\right)_{i=1}^{\infty }$ is a subsequence of $x_{\bullet }=\left(x_{i}\right)_{i=1}^{\infty }$" is for sequences. For example, if $\operatorname {Tails} \left(x_{\bullet }\right)=\left\{x_{\geq i}:i\in \mathbb {N} \right\}$ denotes the set of tails of $x_{\bullet }$ and if $\operatorname {Tails} \left(x_{n_{\bullet }}\right)=\left\{x_{n_{\geq i}}:i\in \mathbb {N} \right\}$ denotes the set of tails of the subsequence $x_{n_{\bullet }}$ (where $x_{n_{\geq i}}:=\left\{x_{n_{j}}~:~j\geq i{\text{ and }}j\in \mathbb {N} \right\}$) then $\operatorname {Tails} \left(x_{n_{\bullet }}\right)~\vdash ~\operatorname {Tails} \left(x_{\bullet }\right)$ (which by definition means $\operatorname {Tails} \left(x_{\bullet }\right)\leq \operatorname {Tails} \left(x_{n_{\bullet }}\right)$) is true but $\operatorname {Tails} \left(x_{\bullet }\right)~\vdash ~\operatorname {Tails} \left(x_{n_{\bullet }}\right)$ is in general false. If $x_{\bullet }=\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_{\bullet }\to x{\text{ if and only if }}{\mathcal {N}}(x)\leq \operatorname {Tails} \left(x_{\bullet }\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."
Proposition—Let ${\mathcal {B}}$ be a prefilter on $X$ and let $x\in X.$
* Suppose ${\mathcal {C}}$ is a prefilter such that ${\mathcal {C}}\geq {\mathcal {B}}.$
** If ${\mathcal {B}}\to x$ then ${\mathcal {C}}\to x.$
*** This is the analog of "if a sequence converges to $x$ then so does every subsequence."
** If $x$ is a cluster point of ${\mathcal {C}}$ then $x$ is a cluster point of ${\mathcal {B}}.$
*** This is the analog of "if $x$ is a cluster point of some subsequence, then $x$ is a cluster point of the original sequence."
* ${\mathcal {B}}\to x$ if and only if for any finer prefilter ${\mathcal {C}}\geq {\mathcal {B}}$ there exists some even more fine prefilter ${\mathcal {F}}\geq {\mathcal {C}}$ such that ${\mathcal {F}}\to x.$
** This is the analog of "a sequence converges to $x$ if and only if every subsequence has a sub-subsequence that converges to $x.$"
* $x$ is a cluster point of ${\mathcal {B}}$ if and only if there exists some finer prefilter ${\mathcal {C}}\geq {\mathcal {B}}$ such that ${\mathcal {C}}\to x.$
** This is the analog of the following false statement: "$x$ is a cluster point of a sequence if and only if it has a subsequence that converges to $x$" (that is, if and only if $x$ is a subsequential limit).
** The analog for sequences is false since there is a Hausdorff topology on $X:=[\mathbb {N} \times \mathbb {N} ]\cup \{(0,0)\}$ and a sequence in this space (both defined here) that clusters at $(0,0)$ but that also does not have any subsequence that converges to $(0,0).$

#### 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 frequent or cofinal 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 eventual 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 infrequent). A map $h:A\to I$ between two preordered sets is order-preserving if whenever $a,b\in A$ satisfy $a\leq b,$ then $h(a)\leq h(b).$
   $S=S_{\bullet }~:~(A,\leq )\to X{\text{ and }}N=N_{\bullet }~:~(I,\leq )\to X$
   * $S_{\bullet }$ is a Willard-subnet of $N_{\bullet }$ or a subnet in the sense of Willard if there exists an order-preserving map $h:A\to I$ such that $S=N\circ h{\text{ and }}h(A)$ is cofinal in $I.$
   * $S_{\bullet }$ is a Kelley-subnet of $N_{\bullet }$ or a subnet in the sense of Kelley if there exists a map $h~:~A\to I$ such that $S=N\circ h$ and whenever $E\subseteq I$ is eventual in $I$ then $h^{-1}(E)$ is eventual in $A.$
   * $S_{\bullet }$ is an AA-subnet of $N_{\bullet }$ or a subnet in the sense of Aarnes and Andenaes if any of the following equivalent conditions are satisfied:
   ** $\operatorname {Tails} \left(N_{\bullet }\right)\leq \operatorname {Tails} \left(S_{\bullet }\right).$
   ** $\operatorname {TailsFilter} \left(N_{\bullet }\right)\subseteq \operatorname {TailsFilter} \left(S_{\bullet }\right).$
   ** If $J$ is eventual in $I{\text{ then }}S^{-1}(N(J))$ is eventual in $A.$
   ** For any subset $R\subseteq X,{\text{ if }}\operatorname {Tails} \left(S_{\bullet }\right){\text{ and }}\{R\}$ mesh, then so do $\operatorname {Tails} \left(N_{\bullet }\right){\text{ and }}\{R\}.$
   ** For any subset $R\subseteq X,{\text{ if }}\operatorname {Tails} \left(S_{\bullet }\right)\leq \{R\}{\text{ then }}\operatorname {Tails} \left(N_{\bullet }\right)\leq \{R\}.$
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_{\bullet }=\left(y_{a}\right)_{a\in A}$ is a Willard-subnet or a Kelley-subnet of $x_{\bullet }=\left(x_{i}\right)_{i\in I}$ then $\operatorname {Tails} \left(x_{\bullet }\right)\leq \operatorname {Tails} \left(y_{\bullet }\right).$
    Example: If $I=\mathbb {N}$ and $x_{\bullet }=\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_{\bullet }$ but it is neither a Willard-subnet nor a Kelley-subnet of $x_{\bullet }.$
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 false. In particular, as this counter-example demonstrates, the problem is that the following statement is in general false:
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 not 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=\mathbb {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 not 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 T$_1$ space). This is also true of any neighborhood basis at $x.$ For any point $x$ in a T$_1$ 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 not discrete (that is, not principal at a single 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 T$_1$ 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 almost topologies. Topologies of the form $\{\varnothing \}\cup {\mathcal {B}}$ where ${\mathcal {B}}$ is an ultrafilter on $X$ are an even more specialized subclass of such topologies; they have the property that every proper subset $\varnothing \neq S\subseteq X$ is either 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 some point of $X{\text{ in }}(X,\sigma )$ if and only if ${\mathcal {B}}$ converges to some 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:
* $x\in \operatorname {cl} _{X}S$
* $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.$
* $x$ is a limit point of a filter on $S.$
* There exists a prefilter ${\mathcal {F}}{\text{ on }}X$ such that $S\in {\mathcal {F}}{\text{ and }}{\mathcal {F}}\to x{\text{ in }}X.$
* The prefilter $\{S\}$ meshes with the neighborhood filter ${\mathcal {N}}(x).$ Said differently, $x$ is a cluster point of the prefilter $\{S\}.$
* The prefilter $\{S\}$ meshes with some (or equivalently, with every) filter base for ${\mathcal {N}}(x)$ (that is, with every neighborhood basis at $x$).
The following are equivalent:
* $x$ is a limit points of $S{\text{ in }}X.$
* There exists a prefilter ${\mathcal {F}}\subseteq \wp (S){\text{ on }}\{S\}\setminus \{x\}$ such that ${\mathcal {F}}\to x{\text{ in }}X.$
Closed sets
If $S\subseteq X$ is not empty then the following are equivalent:
* $S$ is a closed subset of $X.$
* 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.$
* 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.$
* If $x\in X$ is such that the neighborhood filter ${\mathcal {N}}(x)$ meshes with $\{S\}$ then $x\in S.$
Hausdorffness
The following are equivalent:
* $X$ is a Hausdorff space.
* Every prefilter on $X$ converges to at most one point in $X.$
* The above statement but with the word "prefilter" replaced by any one of the following: filter, ultra prefilter, ultrafilter.
Compactness
As discussed in this article, the Ultrafilter Lemma is closely related to many important theorems involving compactness.
The following are equivalent:
* $(X,\tau )$ is a compact space.
* Every ultrafilter on $X$ converges to at least one point in $X.$
** 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).
* The above statement but with the word "ultrafilter" replaced by "ultra prefilter".
* 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.$
* The above statement but with each instance of the word "filter" replaced by: prefilter.
* Every filter on $X$ has at least one cluster point in $X.$
** That this condition is equivalent to compactness can be proven by using only the ultrafilter lemma.
* The above statement but with the word "filter" replaced by "prefilter".
* 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.
** That this condition is equivalent to compactness can be proven by using only the ultrafilter lemma.
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 not compact.
Theorem—If ${\mathcal {B}}$ is a filter on a compact space and $C$ is the set of cluster points of ${\mathcal {B}},$ then every neighborhood of $C$ belongs to ${\mathcal {B}}.$ Thus a filter on a compact Hausdorff space converges if and only if it has a single cluster point.
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:
* $f:X\to Y$ is continuous at $x.$
* 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.$
* $f({\mathcal {N}}(x))\to f(x){\text{ in }}Y.$
* 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.$
* The above statement but with the word "filter" replaced by "prefilter".
The following are equivalent:
* $f:X\to Y$ is continuous.
* 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.$
* 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.$
* Any one of the above two statements but with the word "prefilter" replaced by "filter".
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_{\bullet }:=\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}}_{\bullet }$ of these prefilters (defined above) is a prefilter on the product space ${\textstyle \prod }X_{\bullet },$ which as usual, is endowed with the product topology.
If $x_{\bullet }:=\left(x_{i}\right)_{i\in I}\in {\textstyle \prod }X_{\bullet },$ then ${\mathcal {B}}_{\bullet }\to x_{\bullet }{\text{ in }}{\textstyle \prod }X_{\bullet }$ 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=\mathbb {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 $\mathbb {Q}$ but the sequence $\left(x_{i},y_{i}\right)_{i=1}^{\infty }\subseteq X\times Y$ does not 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:

## Examples of applications of prefilters
### Uniformities and Cauchy prefilters

A uniform space is a set $X$ equipped with a filter on $X\times X$ that has certain properties. A base or fundamental system of entourages 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 Cauchy prefilter if for every entourage $N\in {\mathcal {F}},$ there exists some $B\in {\mathcal {B}}$ that is $N$-small, which means that $B\times B\subseteq N.$ A minimal Cauchy filter 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 complete (resp. sequentially complete) 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 minimal Cauchy filters 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 "Cauchy filters", having all of the following properties:
* For each $x\in X,$ the discrete ultrafilter at $x$ is an element of ${\mathfrak {C}}.$
* If $F\in {\mathfrak {C}}$ is a subset of a proper filter $G,$ then $G\in {\mathfrak {C}}.$
* If $F,G\in {\mathfrak {C}}$ and if each member of $F$ intersects each member of $G,$ then $F\cap G\in {\mathfrak {C}}.$
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 Cauchy continuous 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.

### 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 Stone topology, which is named after Marshall Harvey Stone.
To reduce confusion, this article will adhere to the following notational conventions:
* Lower case letters for elements $x\in X.$
* Upper case letters for subsets $S\subseteq X.$
* Upper case calligraphy letters for subsets ${\mathcal {B}}\subseteq \wp (X)$ (or equivalently, for elements ${\mathcal {B}}\in \wp (\wp (X)),$ such as prefilters).
* Upper case double-struck letters for subsets $\mathbb {P} \subseteq \wp (\wp (X)).$
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 Stone topology. 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 without using anything other than the set $X;$ there were no 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:
* Closure in $\mathbb {P}$: $\ {\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}.$
* Neighborhoods in $\mathbb {P}$: $\ \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}$).
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}}.$