# Filter (set theory)

In mathematics, a filter on a set $X$ is a family ${\mathcal {B}}$ of subsets such that:
* $X\in {\mathcal {B}}$ and $\emptyset \notin {\mathcal {B}}$
* if $A\in {\mathcal {B}}$ and $B\in {\mathcal {B}}$, then $A\cap B\in {\mathcal {B}}$
* If $A\subset B\subset X$ and $A\in {\mathcal {B}}$, then $B\in {\mathcal {B}}$
A filter on a set may be thought of as representing a "collection of large subsets", one intuitive example being the neighborhood filter. Filters appear in order theory, model theory, and set theory, but can also be found in topology, from which they originate. The dual notion of a filter is an ideal.
Filters were introduced by Henri Cartan in 1937 and as described in the article dedicated to filters in topology, they were subsequently used by Nicolas Bourbaki in their book Topologie Générale as an alternative to the related notion of a net developed in 1922 by E. H. Moore and Herman L. Smith. Order filters are generalizations of filters from sets to arbitrary partially ordered sets. Specifically, a filter on a set is just a proper order filter in the special case where the partially ordered set consists of the power set ordered by set inclusion.

## 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}},{\text{ and }}{\mathcal {F}}.$ Whenever these assumptions are needed, then it should be assumed that $X$ is non–empty and that ${\mathcal {B}},{\mathcal {F}},$ etc. are families of sets over $X.$
The terms "prefilter" and "filter base" are synonyms and will be used interchangeably.
Warning about competing definitions and notation
There are unfortunately several terms in the theory of filters that are defined differently by different authors. These include some of the most important terms such as "filter". While different definitions of the same term usually have significant overlap, due to the very technical nature of filters (and point–set topology), these differences in definitions nevertheless often have important consequences. When reading mathematical literature, it is recommended that readers check how the terminology related to filters is defined by the author. For this reason, this article will clearly state all definitions as they are used.
Unfortunately, not all notation related to filters is well established and some notation varies greatly across the literature (for example, the notation for the set of all prefilters on a set) so in such cases this article uses whatever notation is most self describing or easily remembered.
The theory of filters and prefilters is well developed and has a plethora of definitions and notations, many of which are now unceremoniously listed to prevent this article from becoming prolix and to allow for the easy look up of notation and definitions. Their important properties are described later.
Sets operations
The 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}}\,\}=\bigcup _{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}}\,\}=\bigcup _{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) |
| ${\mathcal {B}}^{\#X}={\mathcal {B}}^{\#}=\{S\subseteq X~:~S\cap B\neq \varnothing {\text{ for all }}B\in {\mathcal {B}}\}$ | Grill of ${\mathcal {B}}{\text{ in }}X$ |
| $\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}}.$
   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 and $S$ is a set.
| 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^{-1}(S)=\{x\in \operatorname {domain} f~:~f(x)\in S\}$ | Image of $S{\text{ under }}f^{-1},$ or the preimage of $S{\text{ under }}f$ |
| $f({\mathcal {B}})=\{f(B)~:~B\in {\mathcal {B}}\}$ | Image of ${\mathcal {B}}$ under $f$ |
| $f(S)=\{f(s)~:~s\in S\cap \operatorname {domain} f\}$ | Image of $S{\text{ under }}f$ |
| $\operatorname {image} f=f(\operatorname {domain} f)$ | Image (or range) of $f$ |
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. |
| $\operatorname {TailsFilter} \left(x_{\bullet }\right)=\operatorname {Tails} \left(x_{\bullet }\right)^{\uparrow X}$ | (Eventuality) filter of/generated by (tails of) $x_{\bullet }=\left(x_{i}\right)_{i\in I}$ |
| $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$).
   ** If a family ${\mathcal {B}}$ has a greatest element with respect to $\,\supseteq \,$ (for example, if $\varnothing \in {\mathcal {B}}$) then it is necessarily directed downward.
   * 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.
${\textrm {Filters}}(X)\quad =\quad {\textrm {DualIdeals}}(X)\,\setminus \,\{\wp (X)\}\quad \subseteq \quad {\textrm {Prefilters}}(X)\quad \subseteq \quad {\textrm {FilterSubbases}}(X).$
   ${\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 family $X\setminus {\mathcal {B}}$ should not be confused with $\wp (X)\setminus {\mathcal {B}}=\{S\subseteq X~:~S\notin {\mathcal {B}}\}$ because these two sets are not equal in general; for instance, $X\setminus {\mathcal {B}}=\wp (X){\text{ if and only if }}{\mathcal {B}}=\wp (X).$ The dual of the dual is the original family, meaning $X\setminus (X\setminus {\mathcal {B}})={\mathcal {B}}.$ The set $X$ belongs to the dual of ${\mathcal {B}}$ if and only if $\varnothing \in {\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.
   ** A dual filter on $X$ is a family ${\mathcal {B}}$ whose dual $X\setminus {\mathcal {B}}$ is a filter on $X.$ Equivalently, it is an ideal on $X$ that does not contain $X$ as an element.
   ** 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 (with respect to $\leq$) 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 (with respect to $\leq$) 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 $x_{\bullet }=\left(x_{i}\right)_{i=1}^{\infty }{\text{ in }}X.$
* ${\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 $\bigwedge _{{\mathcal {F}}\in \mathbb {F} }{\mathcal {F}}.$ Said differently, $\ker \mathbb {F} =\bigcap _{{\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 (with respect to $\,\leq$) 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 (with respect to $\leq$) of $\mathbb {S} .$
* Let $\varnothing \neq \mathbb {F} \subseteq \operatorname {DualIdeals} (X)$ and let $\cup \mathbb {F} =\bigcup _{{\mathcal {F}}\in \mathbb {F} }{\mathcal {F}}.$ The supremum or least upper bound of $\mathbb {F} {\text{ in }}\operatorname {DualIdeals} (X),$ denoted by $\bigvee _{{\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 $\bigvee _{{\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 $\bigvee _{{\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} =\bigcup _{{\mathcal {F}}\in \mathbb {F} }{\mathcal {F}}.$ The supremum or least upper bound of $\mathbb {F} {\text{ in }}\operatorname {Filters} (X),$ denoted by $\bigvee _{{\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 $\bigvee _{{\mathcal {F}}\in \mathbb {F} }{\mathcal {F}}=\pi \left(\cup \mathbb {F} \right)^{\uparrow X}$ (as defined above) and $\bigvee _{{\mathcal {F}}\in \mathbb {F} }{\mathcal {F}}$ will also be equal to the intersection of all filters on $X$ containing $\cup \mathbb {F} .$ This supremum of $\mathbb {F} {\text{ in }}\operatorname {Filters} (X)$ exists if and only if the dual ideal $\pi \left(\cup \mathbb {F} \right)^{\uparrow X}$ is a filter on $X.$ The least upper bound of a family of filters $\mathbb {F}$ may fail to be a filter. Indeed, if $X$ contains at least 2 distinct elements then there exist filters ${\mathcal {B}}{\text{ and }}{\mathcal {C}}{\text{ on }}X$ for which there does 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$ (with respect to $\,\leq$) 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}}.$
* Let $I{\text{ and }}X$ be non−empty sets and for every $i\in I$ let ${\mathcal {D}}_{i}$ be a dual ideal on $X.$ If ${\mathcal {I}}$ is any dual ideal on $I$ then $\bigcup _{\Xi \in {\mathcal {I}}}\;\;\bigcap _{i\in \Xi }\;{\mathcal {D}}_{i}$ is a dual ideal on $X$ called Kowalsky's dual ideal or Kowalsky's filter.
* The club filter of a regular uncountable cardinal is the filter of all sets containing a club subset of $\kappa .$ It is a $\kappa$-complete filter closed under diagonal intersection.
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 free prefilter that is also a proper subset of ${\mathcal {B}}.$ The prefilters ${\mathcal {B}}_{\operatorname {LebFinite} }$ and ${\mathcal {B}}$ are equivalent and so generate the same filter on $X.$ The prefilter ${\mathcal {B}}_{\operatorname {LebFinite} }$ is properly contained in, and not equivalent to, the prefilter consisting of all dense subsets of $\mathbb {R} .$ Since $X$ is a Baire space, every countable intersection of sets in ${\mathcal {B}}_{\operatorname {LebFinite} }$ is dense in $X$ (and also comeagre and non–meager) so the set of all countable intersections of elements of ${\mathcal {B}}_{\operatorname {LebFinite} }$ is a prefilter and π–system; it is also finer than, and not equivalent to, ${\mathcal {B}}_{\operatorname {LebFinite} }.$
* A filter subbase with no $\,\subseteq -$smallest prefilter containing it: In general, if a filter subbase ${\mathcal {S}}$ is not a π–system then an intersection $S_{1}\cap \cdots \cap S_{n}$ of $n$ sets from ${\mathcal {S}}$ will usually require a description involving $n$ variables that cannot be reduced down to only two (consider, for instance $\pi ({\mathcal {S}})$ when ${\mathcal {S}}=\{(-\infty ,r)\cup (r,\infty )~:~r\in \mathbb {R} \}$). This example illustrates an atypical class of a filter subbases ${\mathcal {S}}_{R}$ where all sets in both ${\mathcal {S}}_{R}$ and its generated π–system can be described as sets of the form $B_{r,s},$ so that in particular, no more than two variables (specifically, $r{\text{ and }}s$) are needed to describe the generated π–system. For all $r,s\in \mathbb {R} ,$ let $B_{r,s}=(r,0)\cup (s,\infty ),$ where $B_{r,s}=B_{\min(r,s),s}$ always holds so no generality is lost by adding the assumption $r\leq s.$ For all real $r\leq s{\text{ and }}u\leq v,$ if $s{\text{ or }}v$ is non-negative then $B_{-r,s}\cap B_{-u,v}=B_{-\min(r,u),\max(s,v)}.$ For every set $R$ of positive reals, let ${\mathcal {S}}_{R}:=\left\{B_{-r,r}:r\in R\right\}=\{(-r,0)\cup (r,\infty ):r\in R\}\quad {\text{ and }}\quad {\mathcal {B}}_{R}:=\left\{B_{-r,s}:r\leq s{\text{ with }}r,s\in R\right\}=\{(-r,0)\cup (s,\infty ):r\leq s{\text{ in }}R\}.$ Let $X=\mathbb {R}$ and suppose $\varnothing \neq R\subseteq (0,\infty )$ is not a singleton set. Then ${\mathcal {S}}_{R}$ is a filter subbase but not a prefilter and ${\mathcal {B}}_{R}=\pi \left({\mathcal {S}}_{R}\right)$ is the π–system it generates, so that ${\mathcal {B}}_{R}^{\uparrow X}$ is the unique smallest filter in $X=\mathbb {R}$ containing ${\mathcal {S}}_{R}.$ However, ${\mathcal {S}}_{R}^{\uparrow X}$ is not a filter on $X$ (nor is it a prefilter because it is not directed downward, although it is a filter subbase) and ${\mathcal {S}}_{R}^{\uparrow X}$ is a proper subset of the filter ${\mathcal {B}}_{R}^{\uparrow X}.$ If $R,S\subseteq (0,\infty )$ are non−empty intervals then the filter subbases ${\mathcal {S}}_{R}{\text{ and }}{\mathcal {S}}_{S}$ generate the same filter on $X$ if and only if $R=S.$ If ${\mathcal {C}}$ is a prefilter satisfying ${\mathcal {S}}_{(0,\infty )}\subseteq {\mathcal {C}}\subseteq {\mathcal {B}}_{(0,\infty )}$ then for any $C\in {\mathcal {C}}\setminus {\mathcal {S}}_{(0,\infty )},$ the family ${\mathcal {C}}\setminus \{C\}$ is also a prefilter satisfying ${\mathcal {S}}_{(0,\infty )}\subseteq {\mathcal {C}}\setminus \{C\}\subseteq {\mathcal {B}}_{(0,\infty )}.$ This shows that there cannot exist a minimal/least (with respect to $\subseteq$) prefilter that both contains ${\mathcal {S}}_{(0,\infty )}$ and is a subset of the π–system generated by ${\mathcal {S}}_{(0,\infty )}.$ This remains true even if the requirement that the prefilter be a subset of ${\mathcal {B}}_{(0,\infty )}=\pi \left({\mathcal {S}}_{(0,\infty )}\right)$ is removed; that is, (in sharp contrast to filters) there does not exist a minimal/least (with respect to $\subseteq$) prefilter containing the filter subbase ${\mathcal {S}}_{(0,\infty )}.$

### 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.
${\begin{alignedat}{8}{\textrm {Ultrafilters}}(X)\;&=\;{\textrm {Filters}}(X)\,\cap \,{\textrm {UltraPrefilters}}(X)\\&\subseteq \;{\textrm {UltraPrefilters}}(X)={\textrm {UltraFilterSubbases}}(X)\\&\subseteq \;{\textrm {Prefilters}}(X)\\\end{alignedat}}$
   ${\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 \bigcup _{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 .$
   *** If ${\mathcal {B}}$ satisfies this condition then so does every superset ${\mathcal {F}}\supseteq {\mathcal {B}}.$ For example, if $T$ is any singleton set then $\{T\}$ is ultra and consequently, any non–degenerate superset of $\{T\}$ (such as its upward closure) is also ultra.
   * 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 (with respect to $\leq$) 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}}.$
   *** The sets ${\mathcal {B}}{\text{ and }}X\setminus {\mathcal {B}}$ are disjoint whenever ${\mathcal {B}}$ is a prefilter.
   ** $\wp (X)\setminus {\mathcal {B}}=\{S\in \wp (X):S\not \in {\mathcal {B}}\}$ is an ideal.
   ** For any $R,S\subseteq X,$ if $R\cup S=X$ then $R\in {\mathcal {B}}{\text{ or }}S\in {\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.
   ** For any $R,S\subseteq X,$ if $R\cup S\in {\mathcal {B}}{\text{ and }}R\cap S=\varnothing$ then either $R\in {\mathcal {B}}{\text{ or }}S\in {\mathcal {B}}.$
   ** ${\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").
Any non–degenerate family that has a singleton set as an element is ultra, in which case it will then be an ultra prefilter if and only if it also has the finite intersection property. The trivial filter $\{X\}{\text{ on }}X$ is ultra if and only if $X$ is a singleton set.
The ultrafilter lemma
The following important theorem is due to Alfred Tarski (1930).
The ultrafilter lemma/principal/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 for any point $x,x\not \in \ker {\mathcal {B}}{\text{ if and only if }}X\setminus \{x\}\in {\mathcal {B}}^{\uparrow X}.$
Properties of kernels
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}})$ and $f^{-1}(\ker {\mathcal {B}})=\ker f^{-1}({\mathcal {B}}).$ If ${\mathcal {B}}\leq {\mathcal {C}}$ then $\ker {\mathcal {C}}\subseteq \ker {\mathcal {B}}$ while if ${\mathcal {B}}$ and ${\mathcal {C}}$ are equivalent then $\ker {\mathcal {B}}=\ker {\mathcal {C}}.$ Equivalent families have equal kernels. Two principal families are equivalent if and only if their kernels are equal; that is, if ${\mathcal {B}}$ and ${\mathcal {C}}$ are principal then they are equivalent if and only if $\ker {\mathcal {B}}=\ker {\mathcal {C}}.$

#### 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}}$ on $X$ is free if and only if $X$ is infinite and ${\mathcal {F}}$ contains 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}},$ in which case $x$ is called its principal element.
   ** The principal filter at $x$ 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 {F}}$ 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}=\{S\cup \ker {\mathcal {B}}:S\subseteq X\setminus \ker {\mathcal {B}}\}=\wp (X\setminus \ker {\mathcal {B}})\,(\cup )\,\{\ker {\mathcal {B}}\}$ where $\{\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} .$
For every filter ${\mathcal {F}}{\text{ on }}X$ there exists a unique pair of dual ideals ${\mathcal {F}}^{*}{\text{ and }}{\mathcal {F}}^{\bullet }{\text{ on }}X$ such that ${\mathcal {F}}^{*}$ is free, ${\mathcal {F}}^{\bullet }$ is principal, and ${\mathcal {F}}^{*}\wedge {\mathcal {F}}^{\bullet }={\mathcal {F}},$ and ${\mathcal {F}}^{*}{\text{ and }}{\mathcal {F}}^{\bullet }$ do not mesh (that is, ${\mathcal {F}}^{*}\vee {\mathcal {F}}^{\bullet }=\wp (X)$). The dual ideal ${\mathcal {F}}^{*}$ is called the free part of ${\mathcal {F}}$ while ${\mathcal {F}}^{\bullet }$ is called the principal part where at least one of these dual ideals is filter. If ${\mathcal {F}}$ is principal then ${\mathcal {F}}^{\bullet }:={\mathcal {F}}{\text{ and }}{\mathcal {F}}^{*}:=\wp (X);$ otherwise, ${\mathcal {F}}^{\bullet }:=\{\ker {\mathcal {F}}\}^{\uparrow X}$ and ${\mathcal {F}}^{*}:={\mathcal {F}}\vee \{X\setminus \left(\ker {\mathcal {F}}\right)\}^{\uparrow X}$ is a free (non–degenerate) filter.
Finite prefilters and finite sets
If a filter subbase ${\mathcal {B}}$ is finite then it is fixed (that is, not free); this is because $\ker {\mathcal {B}}=\bigcap _{B\in {\mathcal {B}}}B$ is a finite intersection and the filter subbase ${\mathcal {B}}$ has the finite intersection property. A finite prefilter is necessarily principal, although it does not have to be closed under finite intersections.
If $X$ is finite then all of the conclusions above hold for any ${\mathcal {B}}\subseteq \wp (X).$ In particular, on a finite set $X,$ there are no free filter subbases (and so no free prefilters), all prefilters are principal, and all filters on $X$ are principal filters generated by their (non–empty) kernels.
The trivial filter $\{X\}$ is always a finite filter on $X$ and if $X$ is infinite then it is the only finite filter because a non–trivial finite filter on a set $X$ is possible if and only if $X$ is finite. However, on any infinite set there are non–trivial filter subbases and prefilters that are finite (although they cannot be filters). If $X$ is a singleton set then the trivial filter $\{X\}$ is the only proper subset of $\wp (X)$ and moreover, this set $\{X\}$ is a principal ultra prefilter and any superset ${\mathcal {F}}\supseteq {\mathcal {B}}$ (where ${\mathcal {F}}\subseteq \wp (Y){\text{ and }}X\subseteq Y$) with the finite intersection property will also be a principal ultra prefilter (even if $Y$ is infinite).

#### 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}}$ contains 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.$
   ** 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.
   ** From this characterization, it follows that if $\left({\mathcal {C}}_{i}\right)_{i\in I}$ are families of sets, then $\bigcup _{i\in I}{\mathcal {C}}_{i}\leq {\mathcal {F}}{\text{ if and only if }}{\mathcal {C}}_{i}\leq {\mathcal {F}}{\text{ for all }}i\in I.$
   * ${\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}}.$
Assume that ${\mathcal {C}}{\text{ and }}{\mathcal {F}}$ are families of sets that satisfy ${\mathcal {B}}\leq {\mathcal {F}}{\text{ and }}{\mathcal {C}}\leq {\mathcal {F}}.$ Then $\ker {\mathcal {F}}\subseteq \ker {\mathcal {C}},$ and ${\mathcal {C}}\neq \varnothing {\text{ implies }}{\mathcal {F}}\neq \varnothing ,$ and also $\varnothing \in {\mathcal {C}}{\text{ implies }}\varnothing \in {\mathcal {F}}.$ If in addition to ${\mathcal {C}}\leq {\mathcal {F}},{\mathcal {F}}$ is a filter subbase and ${\mathcal {C}}\neq \varnothing ,$ then ${\mathcal {C}}$ is a filter subbase and also ${\mathcal {C}}{\text{ and }}{\mathcal {F}}$ mesh. More generally, if both $\varnothing \neq {\mathcal {B}}\leq {\mathcal {F}}{\text{ and }}\varnothing \neq {\mathcal {C}}\leq {\mathcal {F}}$ and if the intersection of any two elements of ${\mathcal {F}}$ is non–empty, then ${\mathcal {B}}{\text{ and }}{\mathcal {C}}$ mesh. 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. If a filter subbase is ultra then it is necessarily a prefilter, in which case the filter that it generates will also be ultra. A filter subbase ${\mathcal {B}}$ that is not a prefilter cannot be ultra; but it is nevertheless still possible for the prefilter and filter generated by ${\mathcal {B}}$ to be ultra. If $S\subseteq X{\text{ and }}{\mathcal {B}}\subseteq \wp (X)$ is upward closed in $X$ then $S\not \in {\mathcal {B}}{\text{ if and only if }}(X\setminus S)\#{\mathcal {B}}.$
Relational properties of subordination
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.
Symmetry: For any ${\mathcal {B}}\subseteq \wp (X),{\mathcal {B}}\leq \{X\}{\text{ if and only if }}\{X\}={\mathcal {B}}.$ So the set $X$ has more than one point if and only if the relation $\,\leq \,{\text{ on }}\operatorname {Filters} (X)$ is not symmetric.
Antisymmetry: If ${\mathcal {B}}\subseteq {\mathcal {C}}{\text{ then }}{\mathcal {B}}\leq {\mathcal {C}}$ but while the converse does not hold in general, it does hold if ${\mathcal {C}}$ is upward closed (such as if ${\mathcal {C}}$ is a filter). Two filters are equivalent if and only if they are equal, which makes the restriction of $\,\leq \,$ to $\operatorname {Filters} (X)$ antisymmetric. But in general, $\,\leq \,$ is not antisymmetric on $\operatorname {Prefilters} (X)$ nor on $\wp (\wp (X))$; that is, ${\mathcal {C}}\leq {\mathcal {B}}{\text{ and }}{\mathcal {B}}\leq {\mathcal {C}}$ does not necessarily imply ${\mathcal {B}}={\mathcal {C}}$; not even if both ${\mathcal {C}}{\text{ and }}{\mathcal {B}}$ are prefilters. For instance, if ${\mathcal {B}}$ is a prefilter but not a filter then ${\mathcal {B}}\leq {\mathcal {B}}^{\uparrow X}{\text{ and }}{\mathcal {B}}^{\uparrow X}\leq {\mathcal {B}}{\text{ but }}{\mathcal {B}}\neq {\mathcal {B}}^{\uparrow X}.$

#### 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. Every filter is both a π–system and a ring of sets.
Examples of determining equivalence/non–equivalence
Examples: Let $X=\mathbb {R}$ and let $E$ be the set $\mathbb {Z}$ of integers (or the set $\mathbb {N}$). Define the sets ${\mathcal {B}}=\{[e,\infty )~:~e\in E\}\qquad {\text{ and }}\qquad {\mathcal {C}}_{\operatorname {open} }=\{(-\infty ,e)\cup (1+e,\infty )~:~e\in E\}\qquad {\text{ and }}\qquad {\mathcal {C}}_{\operatorname {closed} }=\{(-\infty ,e]\cup [1+e,\infty )~:~e\in E\}.$
All three sets are filter subbases but none are filters on $X$ and only ${\mathcal {B}}$ is prefilter (in fact, ${\mathcal {B}}$ is even free and closed under finite intersections). The set ${\mathcal {C}}_{\operatorname {closed} }$ is fixed while ${\mathcal {C}}_{\operatorname {open} }$ is free (unless $E=\mathbb {N}$). They satisfy ${\mathcal {C}}_{\operatorname {closed} }\leq {\mathcal {C}}_{\operatorname {open} }\leq {\mathcal {B}},$ but no two of these families are equivalent; moreover, no two of the filters generated by these three filter subbases are equivalent/equal. This conclusion can be reached by showing that the π–systems that they generate are not equivalent. Unlike with ${\mathcal {C}}_{\operatorname {open} },$ every set in the π–system generated by ${\mathcal {C}}_{\operatorname {closed} }$ contains $\mathbb {Z}$ as a subset, which is what prevents their generated π–systems (and hence their generated filters) from being equivalent. If $E$ was instead $\mathbb {Q} {\text{ or }}\mathbb {R}$ then all three families would be free and although the sets ${\mathcal {C}}_{\operatorname {closed} }{\text{ and }}{\mathcal {C}}_{\operatorname {open} }$ would remain not equivalent to each other, their generated π–systems would be equivalent and consequently, they would generate the same filter on $X$; however, this common filter would still be strictly coarser than the filter generated by ${\mathcal {B}}.$

## Set theoretic properties and constructions
### 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$. 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):
* Filter properties: ultra, ultrafilter, filter, prefilter, filter subbase, dual ideal, upward closed, proper/non–degenerate.
* Ideal properties: 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$  (see this footnote for an example).
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.
Bijections, injections, and surjections
All properties involving filters are preserved under bijections. This means that if ${\mathcal {B}}\subseteq \wp (Y){\text{ and }}g:Y\to Z$ is a bijection, then ${\mathcal {B}}$ is a prefilter (resp. ultra, ultra prefilter, filter on $X,$ ultrafilter on $X,$ filter subbase, π–system, ideal on $X,$ etc.) if and only if the same is true of $g({\mathcal {B}}){\text{ on }}Z.$
A map $g:Y\to Z$ is injective if and only if for all prefilters ${\mathcal {B}}{\text{ on }}Y,{\mathcal {B}}$ is equivalent to $g^{-1}(g({\mathcal {B}})).$ The image of an ultra family of sets under an injection is again ultra.
The map $f:X\to Y$ is a surjection if and only if whenever ${\mathcal {B}}$ is a prefilter on $Y$ then the same is true of $f^{-1}({\mathcal {B}}){\text{ on }}X$ (this result does not require the ultrafilter lemma).

#### 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 $\prod X_{\bullet }:=\prod _{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 $\prod _{i\in I}S_{i}\subseteq \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 $\bigcup _{i\in I}\Pr_{X_{i}}^{-1}\left({\mathcal {B}}_{i}\right)$ is a filter subbase for the filter on $\prod X_{\bullet }$ generated by ${\mathcal {B}}_{\bullet }.$ If $\prod {\mathcal {B}}_{\bullet }$ is a filter subbase then the filter on $\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 $\prod {\mathcal {B}}_{\bullet }$ will be a prefilter on $\prod X_{\bullet }$ and moreover, this prefilter is equal to the coarsest prefilter ${\mathcal {F}}{\text{ on }}\prod X_{\bullet }$ such that $\Pr_{X_{i}}({\mathcal {F}})={\mathcal {B}}_{i}$ for every $i\in I.$ However, $\prod {\mathcal {B}}_{\bullet }$ may fail to be a filter on $\prod X_{\bullet }$ even if every ${\mathcal {B}}_{i}$ is a filter on $X_{i}.$

### Set subtraction and some examples

Set subtracting away a subset of the kernel
If ${\mathcal {B}}$ is a prefilter on $X,S\subseteq \ker {\mathcal {B}},{\text{ and }}S\not \in {\mathcal {B}}$ then $\{B\setminus S~:~B\in {\mathcal {B}}\}$ is a prefilter, where this latter set is a filter if and only if ${\mathcal {B}}$ is a filter and $S=\varnothing .$ In particular, if ${\mathcal {B}}$ is a neighborhood basis at a point $x$ in a topological space $X$ having at least 2 points, then $\{B\setminus \{x\}~:~B\in {\mathcal {B}}\}$ is a prefilter on $X.$ This construction is used to define $\lim _{\stackrel {x\to x_{0}}{x\neq x_{0}}}f(x)\to y$ in terms of prefilter convergence.
Using duality between ideals and dual ideals
There is a dual relation ${\mathcal {B}}\vartriangleleft {\mathcal {C}}$ or ${\mathcal {C}}\vartriangleright {\mathcal {B}},$ which is defined to mean that every $B\in {\mathcal {B}}$ is contained in some $C\in {\mathcal {C}}.$ Explicitly, this means that for every $B\in {\mathcal {B}}$ , there is some $C\in {\mathcal {C}}$ such that $B\subseteq C.$ This relation is dual to $\,\leq \,$ in sense that ${\mathcal {B}}\vartriangleleft {\mathcal {C}}$ if and only if $(X\setminus {\mathcal {B}})\leq (X\setminus {\mathcal {C}}).$ The relation ${\mathcal {B}}\vartriangleleft {\mathcal {C}}$ is closely related to the downward closure of a family in a manner similar to how $\,\leq \,$ is related to the upward closure family.
For an example that uses this duality, suppose $f:X\to Y$ is a map and $\Xi \subseteq \wp (Y).$ Define $\Xi _{f}:=\{I\subseteq X~:~f(I)\in \Xi \}$ which contains the empty set if and only if $\Xi$ does. It is possible for $\Xi$ to be an ultrafilter and for $\Xi _{f}$ to be empty or not closed under finite intersections (see footnote for example). Although $\Xi _{f}$ does not preserve properties of filters very well, if $\Xi$ is downward closed (resp. closed under finite unions, an ideal) then this will also be true for $\Xi _{f}.$ Using the duality between ideals and dual ideals allows for a construction of the following filter.
Suppose ${\mathcal {B}}$ is a filter on $Y$ and let $\Xi :=Y\setminus {\mathcal {B}}$ be its dual in $Y.$ If $X\not \in \Xi _{f}$ then $\Xi _{f}$'s dual $X\setminus \Xi _{f}$ will be a filter.
Other examples
Example: The set ${\mathcal {B}}$ of all dense open subsets of a topological space is a proper π–system and 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}}.$
Example: The family ${\mathcal {B}}_{\operatorname {Open} }$ of all dense open sets of $X=\mathbb {R}$ having finite Lebesgue measure is a proper π–system and a free prefilter. The prefilter ${\mathcal {B}}_{\operatorname {Open} }$ is properly contained in, and not equivalent to, the prefilter consisting of all dense open subsets of $\mathbb {R} .$ Since $X$ is a Baire space, every countable intersection of sets in ${\mathcal {B}}_{\operatorname {Open} }$ is dense in $X$ (and also comeagre and non–meager) so the set of all countable intersections of elements of ${\mathcal {B}}_{\operatorname {Open} }$ is a prefilter and π–system; it is also finer than, and not equivalent to, ${\mathcal {B}}_{\operatorname {Open} }.$

## 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 − and because it to make it easier to understand later why subnets (with their most commonly used definitions) are not generally equivalent with "sub–prefilters".

### Nets to prefilters

A net $x_{\bullet }=\left(x_{i}\right)_{i\in I}{\text{ in }}X$ is canonically associated with its prefilter of tails $\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}}):=\left\{(B,b)~:~B\in {\mathcal {B}}{\text{ and }}b\in B\right\}.$
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.$
If $s_{0},s_{1}\in S{\text{ then }}\left(S,s_{0}\right)\leq \left(S,s_{1}\right){\text{ and }}\left(S,s_{1}\right)\leq \left(S,s_{0}\right)$ even if $s_{0}\neq s_{1},$ so this preorder is not antisymmetric and given any family of sets ${\mathcal {B}},$ $(\operatorname {PointedSets} ({\mathcal {B}}),\leq )$ is partially ordered if and only if ${\mathcal {B}}\neq \varnothing$ consists entirely of singleton sets. If $\{x\}\in {\mathcal {B}}{\text{ then }}(\{x\},x)$ is a maximal element of $\operatorname {PointedSets} ({\mathcal {B}})$; moreover, all maximal elements are of this form. If $\left(B,b_{0}\right)\in \operatorname {PointedSets} ({\mathcal {B}}){\text{ then }}\left(B,b_{0}\right)$ is a greatest element if and only if $B=\ker {\mathcal {B}},$ in which case $\{(B,b)~:~b\in B\}$ is the set of all greatest elements. However, a greatest element $(B,b)$ is a maximal element if and only if $B=\{b\}=\ker {\mathcal {B}},$ so there is at most one element that is both maximal and greatest. There is a canonical map $\operatorname {Point} _{\mathcal {B}}~:~\operatorname {PointedSets} ({\mathcal {B}})\to X$ defined by $(B,b)\mapsto b.$
   $i_{0}=\left(B_{0},b_{0}\right)\in \operatorname {PointedSets} ({\mathcal {B}})$
   $\operatorname {Point} _{\mathcal {B}}$
   $i_{0}$
   $\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}}).$ For example, suppose $X$ has at least two distinct elements, ${\mathcal {B}}:=\{X\}$ is the indiscrete filter, and $x\in X$ is arbitrary. Had $\operatorname {Net} _{\mathcal {B}}$ instead been defined on the singleton set $D:=\{(X,x)\},$ where the restriction of $\operatorname {Net} _{\mathcal {B}}$ to $D$ will temporarily be denote by $\operatorname {Net} _{D}:D\to X,$ then the prefilter of tails associated with $\operatorname {Net} _{D}:D\to X$ would be the principal prefilter $\{\,\{x\}\,\}$ rather than the original filter ${\mathcal {B}}=\{X\}$; this means that the equality $\operatorname {Tails} \left(\operatorname {Net} _{D}\right)={\mathcal {B}}$ is false, so unlike $\operatorname {Net} _{\mathcal {B}},$ the prefilter ${\mathcal {B}}$ can not be recovered from $\operatorname {Net} _{D}.$ Worse still, while ${\mathcal {B}}$ is the unique minimal filter on $X,$ the prefilter $\operatorname {Tails} \left(\operatorname {Net} _{D}\right)=\{\{x\}\}$ instead generates a maximal filter (that is, an ultrafilter) on $X.$
However, if $x_{\bullet }=\left(x_{i}\right)_{i\in I}$ 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).
Ultranets and ultra prefilters
A net $x_{\bullet }{\text{ in }}X$ is called an ultranet or universal net in $X$ if for every subset $S\subseteq X,x_{\bullet }$ is eventually in $S$ or it is eventually in $X\setminus S$; this happens if and only if $\operatorname {Tails} \left(x_{\bullet }\right)$ is an ultra prefilter. A prefilter ${\mathcal {B}}{\text{ on }}X$ is an ultra prefilter if and only if $\operatorname {Net} _{\mathcal {B}}$ is an ultranet in $X.$

#### 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 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. It begins with the construction of a strict partial order (meaning a transitive and irreflexive relation) $\,<\,$ on a subset of ${\mathcal {B}}\times \mathbb {N} \times X$ that is similar to the lexicographical order on ${\mathcal {B}}\times \mathbb {N}$ of the strict partial orders $({\mathcal {B}},\supsetneq ){\text{ and }}(\mathbb {N} ,<).$ For any $i=(B,m,b){\text{ and }}j=(C,n,c)$ in ${\mathcal {B}}\times \mathbb {N} \times X,$ declare that $i<j$ if and only if $B\supseteq C{\text{ and either: }}{\text{(1) }}B\neq C{\text{ or else (2) }}B=C{\text{ and }}m<n,$ or equivalently, if and only if ${\text{(1) }}B\supseteq C,{\text{ and (2) if }}B=C{\text{ then }}m<n.$
The non−strict partial order associated with $\,<,$ denoted by $\,\leq ,$ is defined by declaring that $i\leq j\,{\text{ if and only if }}i<j{\text{ or }}i=j.$ Unwinding these definitions gives the following characterization:
   $i\leq j$ if and only if ${\text{(1) }}B\supseteq C,{\text{ and (2) if }}B=C{\text{ then }}m\leq n,$ and also ${\text{(3) if }}B=C{\text{ and }}m=n{\text{ then }}b=c,$
which shows that $\,\leq \,$ is just the lexicographical order on ${\mathcal {B}}\times \mathbb {N} \times X$ induced by $({\mathcal {B}},\supseteq ),\,(\mathbb {N} ,\leq ),{\text{ and }}(X,=),$ where $X$ is partially ordered by equality $\,=.\,$ Both $\,<{\text{ and }}\leq \,$ are serial and neither possesses a greatest element or a maximal element; this remains true if they are each restricted to the subset of ${\mathcal {B}}\times \mathbb {N} \times X$ defined by ${\begin{alignedat}{4}\operatorname {Poset} _{\mathcal {B}}\;&:=\;\{\,(B,m,b)\;\in \;{\mathcal {B}}\times \mathbb {N} \times X~:~b\in B\,\},\\\end{alignedat}}$ where it will henceforth be assumed that they are. Denote the assignment $i=(B,m,b)\mapsto b$ from this subset by: ${\begin{alignedat}{4}\operatorname {PosetNet} _{\mathcal {B}}\ :\ &&\ \operatorname {Poset} _{\mathcal {B}}\ &&\,\to \;&X\\[0.5ex]&&\ (B,m,b)\ &&\,\mapsto \;&b\\[0.5ex]\end{alignedat}}$ If $i_{0}=\left(B_{0},m_{0},b_{0}\right)\in \operatorname {Poset} _{\mathcal {B}}$ then just as with $\operatorname {Net} _{\mathcal {B}}$ before, the tail of the $\operatorname {PosetNet} _{\mathcal {B}}$ starting at $i_{0}$ is equal to $B_{0}.$ If ${\mathcal {B}}$ is a prefilter on $X$ then $\operatorname {PosetNet} _{\mathcal {B}}$ is a net in $X$ whose domain $\operatorname {Poset} _{\mathcal {B}}$ is a partially ordered set and moreover, $\operatorname {Tails} \left(\operatorname {PosetNet} _{\mathcal {B}}\right)={\mathcal {B}}.$ Because the tails of $\operatorname {PosetNet} _{\mathcal {B}}{\text{ and }}\operatorname {Net} _{\mathcal {B}}$ are identical (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 the set $\mathbb {N}$ is replaced with the positive rational numbers then the strict partial order $<$ will also be 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_{i}}~:~i\in \mathbb {N} \right\}$) then $\operatorname {Tails} \left(x_{n_{\bullet }}\right)~\vdash ~\operatorname {Tails} \left(x_{\bullet }\right)$ (that is, $\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.

#### Non–equivalence of subnets and subordinate filters

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{\text{ such that }}i\leq r.$ If $R\subseteq I$ contains a tail of $I$ then $R$ is said to be eventual or eventually in $I$; explicitly, this means that there exists some $i\in I{\text{ such that }}I_{\geq i}\subseteq R$ (that is, $j\in R{\text{ for all }}j\in I{\text{ satisfying }}i\leq j$). An eventual set is necessarily not empty. 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{\text{ satisfy }}a\leq b,{\text{ then }}h(a)\leq h(b).$
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 was introduced by John L. Kelley in 1955. Stephen Willard introduced his own variant of Kelley's definition of subnet in 1970. 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.
   $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{\text{ such that }}S=N\circ h$ and whenever $E\subseteq I$ is eventually in $I$ then $h^{-1}(E)$ is eventually 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 eventually in $I{\text{ then }}S^{-1}(N(J))$ is eventually 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: Let $I=\mathbb {N}$ and let $x_{\bullet }$ be a constant sequence, say $x_{\bullet }=\left(0\right)_{i\in \mathbb {N} }.$ Let $s_{1}=0$ and $A=\{1\}$ so that $s_{\bullet }=\left(s_{a}\right)_{a\in A}=\left(s_{1}\right)$ is a net on $A.$ Then $s_{\bullet }$ is an AA-subnet of $x_{\bullet }$ because $\operatorname {Tails} \left(x_{\bullet }\right)=\{\{0\}\}=\operatorname {Tails} \left(s_{\bullet }\right).$ But $s_{\bullet }$ is not a Willard-subnet of $x_{\bullet }$ because there does not exist any map $h:A\to I$ whose image is a cofinal subset of $I=\mathbb {N} .$ Nor is $s_{\bullet }$ a Kelley-subnet of $x_{\bullet }$ because if $h:A\to I$ is any map then $E:=I\setminus \{h(1)\}$ is a cofinal subset of $I=\mathbb {N}$ but $h^{-1}(E)=\varnothing$ is not eventually in $A.$
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}}{\text{ 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, 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 remains false if the word "Kelley–subnet" is replaced with "Willard–subnet".
* Counter example: For all $n\in \mathbb {N} ,$ let $B_{n}=\{1\}\cup \mathbb {N} _{\geq n}.$ Let ${\mathcal {B}}=\{B_{n}~:~n\in \mathbb {N} \},$ which is a proper π–system, and let ${\mathcal {F}}=\{\{1\}\}\cup {\mathcal {B}},$ where both families are prefilters on the natural numbers $X:=\mathbb {N} =\{1,2,\ldots \}.$ Because ${\mathcal {B}}\leq {\mathcal {F}},{\mathcal {F}}$ is to ${\mathcal {B}}$ as a subsequence is to a sequence. So ideally, $S=\operatorname {Net} _{\mathcal {F}}$ should be a subnet of $B=\operatorname {Net} _{\mathcal {B}}.$ Let $I:=\operatorname {PointedSets} ({\mathcal {B}})$ be the domain of $\operatorname {Net} _{\mathcal {B}},$ so $I$ contains a cofinal subset that is order isomorphic to $\mathbb {N}$ and consequently contains neither a maximal nor greatest element. Let $A:=\operatorname {PointedSets} ({\mathcal {F}})=\{M\}\cup I,{\text{ where }}M:=(1,\{1\})$ is both a maximal and greatest element of $A.$ The directed set $A$ also contains a subset that is order isomorphic to $\mathbb {N}$ (because it contains $I,$ which contains such a subset) but no such subset can be cofinal in $A$ because of the maximal element $M.$ Consequently, any order–preserving map $h:A\to I$ must be eventually constant (with value $h(M)$) where $h(M)$ is then a greatest element of the range $h(A).$ Because of this, there can be no order preserving map $h:A\to I$ that satisfies the conditions required for $\operatorname {Net} _{\mathcal {F}}$ to be a Willard–subnet of $\operatorname {Net} _{\mathcal {B}}$ (because the range of such a map $h$ cannot be cofinal in $I$). Suppose for the sake of contradiction that there exists a map $h:A\to I$ such that $h^{-1}\left(I_{\geq i}\right)$ is eventually in $A$ for all $i\in I.$ Because $h(M)\in I,$ there exist $n,n_{0}\in \mathbb {N}$ such that $h(M)=\left(n_{0},B_{n}\right){\text{ with }}n_{0}\in B_{n}.$ For every $i\in I,$ because $h^{-1}\left(I_{\geq i}\right)$ is eventually in $A,$ it is necessary that $h(M)\in I_{\geq i}.$ In particular, if $i:=\left(n+2,B_{n+2}\right)$ then $h(M)\geq i=\left(n+2,B_{n+2}\right),$ which by definition is equivalent to $B_{n}\subseteq B_{n+2},$ which is false. Consequently, $\operatorname {Net} _{\mathcal {F}}$ is not a Kelley–subnet of $\operatorname {Net} _{\mathcal {B}}.$
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.