Filter on a set
In-game article clicks load inline without leaving the challenge.
In mathematics, a filter on a set is a family of subsets which is closed under supersets and finite intersections. The concept originates in topology, where the neighborhoods of a point form a filter on the space. 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. They have also found applications in model theory and set theory.
Filters on a set were later generalized to order filters. Specifically, a filter on a set X {\displaystyle X} is an order filter on the power set of X {\displaystyle X} ordered by inclusion.
The notion dual to a filter is an ideal. Ultrafilters are a particularly important subclass of filters.
Definition
Given a set X {\displaystyle X}, a filter F {\displaystyle {\mathcal {F}}} on X {\displaystyle X} is a set of subsets of X {\displaystyle X} such that:
- F {\displaystyle {\mathcal {F}}} is upwards-closed: If A , B ⊆ X {\displaystyle A,B\subseteq X} are such that A ∈ F {\displaystyle A\in {\mathcal {F}}} and A ⊆ B {\displaystyle A\subseteq B} then B ∈ F {\displaystyle B\in {\mathcal {F}}},
- F {\displaystyle {\mathcal {F}}} is closed under finite intersections: X ∈ F {\displaystyle X\in {\mathcal {F}}},, and if A ∈ F {\displaystyle A\in {\mathcal {F}}} and B ∈ F {\displaystyle B\in {\mathcal {F}}} then A ∩ B ∈ F {\displaystyle A\cap B\in {\mathcal {F}}}.
A proper (or non-degenerate) filter is a filter which is proper as a subset of the powerset P ( X ) {\displaystyle {\mathcal {P}}(X)} (i.e., the only improper filter is P ( X ) {\displaystyle {\mathcal {P}}(X)}, consisting of all possible subsets). By upwards-closure, a filter is proper if and only if it does not contain the empty set. Many authors adopt the convention that a filter must be proper by definition.
When F {\displaystyle {\mathcal {F}}} and G {\displaystyle {\mathcal {G}}} are two filters on the same set such that F ⊆ G {\displaystyle {\mathcal {F}}\subseteq {\mathcal {G}}} holds, F {\displaystyle {\mathcal {F}}} is said to be coarser than G {\displaystyle {\mathcal {G}}} (or a subfilter of G {\displaystyle {\mathcal {G}}}) while G {\displaystyle {\mathcal {G}}} is said to be finer than F {\displaystyle {\mathcal {F}}} (or subordinate to F {\displaystyle {\mathcal {F}}} or a superfilter of F {\displaystyle {\mathcal {F}}}).
Examples
- The singleton set F = { X } {\displaystyle {\mathcal {F}}=\{X\}} is called the trivial or indiscrete filter on X {\displaystyle X}.
- If Y {\displaystyle Y} is a subset of X {\displaystyle X}, the subsets of X {\displaystyle X} which are supersets of Y {\displaystyle Y} form a principal filter.
- If X {\displaystyle X} is a topological space and x ∈ X {\displaystyle x\in X}, then the set of neighborhoods of x {\displaystyle x} is a filter on X {\displaystyle X}, the neighborhood filter or vicinity filter of x {\displaystyle x}.
- Many examples arise from various "largeness" conditions: If X {\displaystyle X} is a set, the set of all cofinite subsets of X {\displaystyle X} (i.e., those sets whose complement in X {\displaystyle X} is finite) is a filter on X {\displaystyle X}, the Fréchet filter (or cofinite filter). Similarly, if X {\displaystyle X} is a set, the cocountable subsets of X {\displaystyle X} (those whose complement is countable) form a filter, the cocountable filter which is finer than the Fréchet filter. More generally, for any cardinal κ {\displaystyle \kappa }, the subsets whose complement has cardinal at most κ {\displaystyle \kappa } form a filter. If X {\displaystyle X} is a metric space, e.g., R n {\displaystyle \mathbb {R} ^{n}}, the co-bounded subsets of X {\displaystyle X} (those whose complement is bounded set) form a filter on X {\displaystyle X}. If X {\displaystyle X} is a complete measure space (e.g., R n {\displaystyle \mathbb {R} ^{n}} with the Lebesgue measure), the conull subsets of X {\displaystyle X}, i.e., the subsets whose complement has measure zero, form a filter on X {\displaystyle X}. (For a non-complete measure space, one can take the subsets which, while not necessarily measurable, are contained in a measurable subset of measure zero.) Similarly, if X {\displaystyle X} is a measure space, the subsets whose complement is contained in a measurable subset of finite measure form a filter on X {\displaystyle X}. If X {\displaystyle X} is a topological space, the comeager subsets of X {\displaystyle X}, i.e., those whose complement is meager, form a filter on X {\displaystyle X}. The subsets of N {\displaystyle \mathbb {N} } which have a natural density of 1 form a filter on N {\displaystyle \mathbb {N} }.
- The club filter of a regular uncountable cardinal κ {\displaystyle \kappa } is the filter of all sets containing a club subset of κ {\displaystyle \kappa }.
- If ( F i ) i ∈ I {\displaystyle ({\mathcal {F}}_{i})_{i\in I}} is a family of filters on X {\displaystyle X} and J {\displaystyle {\mathcal {J}}} is a filter on I {\displaystyle I} then ⋃ A ∈ J ⋂ i ∈ A F i {\displaystyle \bigcup _{A\in {\mathcal {J}}}\bigcap _{i\in A}{\mathcal {F}}_{i}} is a filter on X {\displaystyle X} called Kowalsky's filter.
Principal and free filters
The kernel of a filter F {\displaystyle {\mathcal {F}}} on X {\displaystyle X} is the intersection of all the subsets of X {\displaystyle X} in F {\displaystyle {\mathcal {F}}}.
A filter F {\displaystyle {\mathcal {F}}} on X {\displaystyle X} is principal (or atomic) when it has a particularly simple form: it contains exactly the supersets of Y {\displaystyle Y}, for some fixed subset Y ⊆ X {\displaystyle Y\subseteq X}. When Y = ∅ {\displaystyle Y=\varnothing }, this yields the improper filter. When Y = { y } {\displaystyle Y=\{y\}} is a singleton, this filter (which consists of all subsets that contain y {\displaystyle y}) is called the fundamental filter (or discrete filter) associated with y {\displaystyle y}.
A filter F {\displaystyle {\mathcal {F}}} is principal if and only if the kernel of F {\displaystyle {\mathcal {F}}} is an element of F {\displaystyle {\mathcal {F}}}, and when this is the case, F {\displaystyle {\mathcal {F}}} consists of the supersets of its kernel. On a finite set, every filter is principal (since the intersection defining the kernel is finite).
A filter is said to be free when it has empty kernel, otherwise it is fixed (and if x {\displaystyle x} is an element of the kernel, it is fixed by x {\displaystyle x}). A filter on a set X {\displaystyle X} is free if and only if it contains the Fréchet filter on X {\displaystyle X}.
Two filters F 1 {\displaystyle {\mathcal {F}}_{1}} and F 2 {\displaystyle {\mathcal {F}}_{2}} on X {\displaystyle X} mesh when every member of F 1 {\displaystyle {\mathcal {F}}_{1}} intersects every member of F 2 {\displaystyle {\mathcal {F}}_{2}}. For every filter F {\displaystyle {\mathcal {F}}} on X {\displaystyle X}, there exists a unique pair of filters F f {\displaystyle {\mathcal {F}}_{f}} (the free part of F {\displaystyle {\mathcal {F}}}) and F p {\displaystyle {\mathcal {F}}_{p}} (the principal part of F {\displaystyle {\mathcal {F}}}) on X {\displaystyle X} such that F f {\displaystyle {\mathcal {F}}_{f}} is free, F p {\displaystyle {\mathcal {F}}_{p}} is principal, F f ∩ F p = F {\displaystyle {\mathcal {F}}_{f}\cap {\mathcal {F}}_{p}={\mathcal {F}}}, and F p {\displaystyle {\mathcal {F}}_{p}} does not mesh with F f {\displaystyle {\mathcal {F}}_{f}}. The principal part F p {\displaystyle {\mathcal {F}}_{p}} is the principal filter generated by the kernel of F {\displaystyle {\mathcal {F}}}, and the free part F f {\displaystyle {\mathcal {F}}_{f}} consists of elements of F {\displaystyle {\mathcal {F}}} with any number of elements from the kernel possibly removed.
A filter F {\displaystyle {\mathcal {F}}} is countably deep if the kernel of any countable subset of F {\displaystyle {\mathcal {F}}} belongs to F {\displaystyle {\mathcal {F}}}.
Correspondence with order filters
The concept of a filter on a set is a special case of the more general concept of a filter on a partially ordered set. By definition, a filter on a partially ordered set P {\displaystyle P} is a subset F {\displaystyle {\mathcal {F}}} of P {\displaystyle P} which is upwards-closed (if x ∈ F {\displaystyle x\in {\mathcal {F}}} and x ≤ y {\displaystyle x\leq y} then y ∈ F {\displaystyle y\in {\mathcal {F}}}) and downwards-directed (every finite subset of F {\displaystyle {\mathcal {F}}} has a lower bound in F {\displaystyle {\mathcal {F}}}). A filter on a set X {\displaystyle X} is the same as a filter on the powerset P ( X ) {\displaystyle {\mathcal {P}}(X)} ordered by inclusion.
Constructions of filters
Intersection of filters
If ( F i ) i ∈ I {\displaystyle ({\mathcal {F}}_{i})_{i\in I}} is a family of filters on X {\displaystyle X}, its intersection ⋂ i ∈ I F i {\displaystyle \bigcap _{i\in I}{\mathcal {F}}_{i}} is a filter on X {\displaystyle X}. The intersection is a greatest lower bound operation in the set of filters on X {\displaystyle X} partially ordered by inclusion, which endows the filters on X {\displaystyle X} with a complete lattice structure.
The intersection ⋂ i ∈ I F i {\displaystyle \bigcap _{i\in I}{\mathcal {F}}_{i}} consists of the subsets which can be written as ⋃ i ∈ I A i {\displaystyle \bigcup _{i\in I}A_{i}} where A i ∈ F i {\displaystyle A_{i}\in {\mathcal {F}}_{i}} for each i ∈ I {\displaystyle i\in I}.
Filter generated by a family of subsets
Given a family of subsets S ⊆ P ( X ) {\displaystyle {\mathcal {S}}\subseteq {\mathcal {P}}(X)}, there exists a minimum filter on X {\displaystyle X} (in the sense of inclusion) which contains S {\displaystyle {\mathcal {S}}}. It can be constructed as the intersection (greatest lower bound) of all filters on X {\displaystyle X} containing S {\displaystyle {\mathcal {S}}}. This filter ⟨ S ⟩ {\displaystyle \langle {\mathcal {S}}\rangle } is called the filter generated by S {\displaystyle {\mathcal {S}}}, and S {\displaystyle {\mathcal {S}}} is said to be a filter subbase of ⟨ S ⟩ {\displaystyle \langle {\mathcal {S}}\rangle }.
The generated filter can also be described more explicitly: ⟨ S ⟩ {\displaystyle \langle {\mathcal {S}}\rangle } is obtained by closing S {\displaystyle {\mathcal {S}}} under finite intersections, then upwards, i.e., ⟨ S ⟩ {\displaystyle \langle {\mathcal {S}}\rangle } consists of the subsets Y ⊆ X {\displaystyle Y\subseteq X} such that A 0 ∩ ⋯ ∩ A n − 1 ⊆ Y {\displaystyle A_{0}\cap \dots \cap A_{n-1}\subseteq Y} for some A 0 , … , A n − 1 ∈ B {\displaystyle A_{0},\dots ,A_{n-1}\in {\mathcal {B}}}.
Since these operations preserve the kernel, it follows that ⟨ S ⟩ {\displaystyle \langle {\mathcal {S}}\rangle } is a proper filter if and only if S {\displaystyle {\mathcal {S}}} has the finite intersection property: the intersection of a finite subfamily of S {\displaystyle {\mathcal {S}}} is non-empty.
In the complete lattice of filters on X {\displaystyle X} ordered by inclusion, the least upper bound of a family of filters ( F i ) i ∈ I {\displaystyle ({\mathcal {F}}_{i})_{i\in I}} is the filter generated by ⋃ i ∈ I F i {\displaystyle \bigcup _{i\in I}{\mathcal {F}}_{i}}.
Two filters F 1 {\displaystyle {\mathcal {F}}_{1}} and F 2 {\displaystyle {\mathcal {F}}_{2}} on X {\displaystyle X} mesh if and only if ⟨ F 1 ∪ F 2 ⟩ {\displaystyle \langle {\mathcal {F}}_{1}\cup {\mathcal {F}}_{2}\rangle } is proper.
Filter bases
Let F {\displaystyle {\mathcal {F}}} be a filter on X {\displaystyle X}. A filter base of F {\displaystyle {\mathcal {F}}} is a family of subsets B ⊆ P ( X ) {\displaystyle {\mathcal {B}}\subseteq {\mathcal {P}}(X)} such that F {\displaystyle {\mathcal {F}}} is the upwards closure of B {\displaystyle {\mathcal {B}}}, i.e., F {\displaystyle {\mathcal {F}}} consists of those subsets Y ⊆ X {\displaystyle Y\subseteq X} for which A ⊆ Y {\displaystyle A\subseteq Y} for some A ∈ B {\displaystyle A\in {\mathcal {B}}}.
This upwards closure is a filter if and only if B {\displaystyle {\mathcal {B}}} is downwards-directed, i.e., B {\displaystyle {\mathcal {B}}} is non-empty and for all A , B ∈ B {\displaystyle A,B\in {\mathcal {B}}} there exists C ∈ B {\displaystyle C\in {\mathcal {B}}} such that C ⊆ A ∩ B {\displaystyle C\subseteq A\cap B}. When this is the case, B {\displaystyle {\mathcal {B}}} is also called a prefilter, and the upwards closure is also equal to the generated filter ⟨ B ⟩ {\displaystyle \langle {\mathcal {B}}\rangle }. Hence, being a filter base of F {\displaystyle {\mathcal {F}}} is a stronger property than being a filter subbase of F {\displaystyle {\mathcal {F}}}.
Examples
- When X {\displaystyle X} is a topological space and x ∈ X {\displaystyle x\in X}, a filter base of the neighborhood filter of x {\displaystyle x} is known as a neighborhood base for x {\displaystyle x}, and similarly, a filter subbase of the neighborhood filter of x {\displaystyle x} is known as a neighborhood subbase for x {\displaystyle x}. The open neighborhoods of x {\displaystyle x} always form a neighborhood base for x {\displaystyle x}, by definition of the neighborhood filter. In X = R n {\displaystyle X=\mathbb {R} ^{n}}, the closed balls of positive radius around x {\displaystyle x} also form a neighborhood base for x {\displaystyle x}.
- Let X {\displaystyle X} be an infinite set and let F {\displaystyle {\mathcal {F}}} consist of the subsets of X {\displaystyle X} which contain all points but one. Then F {\displaystyle {\mathcal {F}}} is a filter subbase of the Fréchet filter on X {\displaystyle X}, which consists of the cofinite subsets. Its closure under finite intersections is the entire Fréchet filter, but there are smaller bases of the Fréchet filter which contain the subbase F {\displaystyle {\mathcal {F}}}, such as the one formed by the subsets of X {\displaystyle X} which contain all points but a finite odd number. In fact, for every base of the Fréchet filter, removing any subset yields another base of the Fréchet filter.
- If X {\displaystyle X} is a topological space, the dense open subsets of X {\displaystyle X} form a filter base on X {\displaystyle X}, because they are closed under finite intersection. The filter they generate consists of the complements of nowhere dense subsets. On X = R n {\displaystyle X=\mathbb {R} ^{n}}, restricting to the null dense open subsets yields another filter base for the same filter.[citation needed]
- Similarly, if X {\displaystyle X} is a topological space, the countable intersections of dense open subsets form a filter base which generates the filter of comeager subsets.
- Let X {\displaystyle X} be a set and let ( x i ) i ∈ I {\displaystyle (x_{i})_{i\in I}} be a net with values in X {\displaystyle X}, i.e., a family whose domain I {\displaystyle I} is a directed set. The filter base of tails of ( x i ) {\displaystyle (x_{i})} consists of the sets { x j , j ≥ i } {\displaystyle \{x_{j},j\geq i\}} for i ∈ I {\displaystyle i\in I}; it is downwards-closed by directedness of I {\displaystyle I}. The generated filter is called the eventuality filter or filter of tails of ( x n ) {\displaystyle (x_{n})}. A sequential filter or elementary filter is a filter which is the eventuality filter of some net. This example is fundamental in the application of filters in topology.
- Every π-system is a filter base.
Trace of a filter on a subset
If F {\displaystyle {\mathcal {F}}} is a filter on X {\displaystyle X} and Y ⊆ X {\displaystyle Y\subseteq X}, the trace of F {\displaystyle {\mathcal {F}}} on Y {\displaystyle Y} is { A ∩ Y , A ∈ F } {\displaystyle \{A\cap Y,A\in {\mathcal {F}}\}}, which is a filter.
Image of a filter by a function
Let f : X → Y {\displaystyle f:X\to Y} be a function.
When F {\displaystyle {\mathcal {F}}} is a family of subsets of X {\displaystyle X}, its image by f {\displaystyle f} is defined as
f ( F ) = { { f ( x ) , x ∈ A } , A ∈ F } {\displaystyle f({\mathcal {F}})=\{\{f(x),x\in A\},A\in {\mathcal {F}}\}}
The image filter by f {\displaystyle f} of a filter F {\displaystyle {\mathcal {F}}} on X {\displaystyle X} is defined as the generated filter ⟨ f ( F ) ⟩ {\displaystyle \langle f({\mathcal {F}})\rangle }. If f {\displaystyle f} is surjective, then f ( F ) {\displaystyle f({\mathcal {F}})} is already a filter. In the general case, f ( F ) {\displaystyle f({\mathcal {F}})} is a filter base and hence ⟨ f ( F ) ⟩ {\displaystyle \langle f({\mathcal {F}})\rangle } is its upwards closure. Furthermore, if B {\displaystyle {\mathcal {B}}} is a filter base of F {\displaystyle {\mathcal {F}}} then f ( B ) {\displaystyle f({\mathcal {B}})} is a filter base of ⟨ f ( F ) ⟩ {\displaystyle \langle f({\mathcal {F}})\rangle }.
The kernels of F {\displaystyle {\mathcal {F}}} and ⟨ f ( F ) ⟩ {\displaystyle \langle f({\mathcal {F}})\rangle } are linked by f ( ⋂ F ) ⊆ ⋂ ⟨ f ( F ) ⟩ {\displaystyle f\left(\bigcap {\mathcal {F}}\right)\subseteq \bigcap \langle f({\mathcal {F}})\rangle }.
Product of filters
Given a family of sets ( X i ) i ∈ I {\displaystyle (X_{i})_{i\in I}} and a filter F i {\displaystyle {\mathcal {F}}_{i}} on each X i {\displaystyle X_{i}}, the product filter ∏ i ∈ I F i {\displaystyle \prod _{i\in I}{\mathcal {F}}_{i}} on the product set ∏ i ∈ I X i {\displaystyle \prod _{i\in I}X_{i}} is defined as the filter generated by the sets π i − 1 ( A ) {\displaystyle \pi _{i}^{-1}(A)} for i ∈ I {\displaystyle i\in I} and A ∈ F i {\displaystyle A\in {\mathcal {F}}_{i}}, where π i : ( ∏ j ∈ I X j ) → X i {\displaystyle \pi _{i}:\left(\prod _{j\in I}X_{j}\right)\to X_{i}} is the projection from the product set onto the i {\displaystyle i}-th component. This construction is similar to the product topology.
If each B i {\displaystyle {\mathcal {B}}_{i}} is a filter base on F i {\displaystyle {\mathcal {F}}_{i}}, a filter base of ∏ i ∈ I F i {\displaystyle \prod _{i\in I}{\mathcal {F}}_{i}} is given by the sets ∏ i ∈ I A i {\displaystyle \prod _{i\in I}A_{i}} where ( A i ) {\displaystyle (A_{i})} is a family such that A i ∈ F i {\displaystyle A_{i}\in {\mathcal {F}}_{i}} for all i ∈ I {\displaystyle i\in I} and A i = X i {\displaystyle A_{i}=X_{i}} for all but finitely many i ∈ I {\displaystyle i\in I}.
See also
- Axiomatic foundations of topological spaces, for a definition of topological spaces in terms of filters
- Filters in topology – Use of filters to describe and characterize all basic topological notions and results
- Convergence space, a generalization of topological spaces using filters
- Filter quantifier
- Ultrafilter – Maximal proper filter
- Generic filter, a kind of filter used in set-theoretic forcing
Notes
Citations
| Families F {\displaystyle {\mathcal {F}}} of sets over Ω {\displaystyle \Omega } vte | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Is necessarily true of F : {\displaystyle {\mathcal {F}}\colon } or, is F {\displaystyle {\mathcal {F}}} closed under: | Directed by ⊇ {\displaystyle \,\supseteq } | A ∩ B {\displaystyle A\cap B} | A ∪ B {\displaystyle A\cup B} | B ∖ A {\displaystyle B\setminus A} | Ω ∖ A {\displaystyle \Omega \setminus A} | A 1 ∩ A 2 ∩ ⋯ {\displaystyle A_{1}\cap A_{2}\cap \cdots } | A 1 ∪ A 2 ∪ ⋯ {\displaystyle A_{1}\cup A_{2}\cup \cdots } | Ω ∈ F {\displaystyle \Omega \in {\mathcal {F}}} | ∅ ∈ F {\displaystyle \varnothing \in {\mathcal {F}}} | F.I.P. |
| π-system | ||||||||||
| Semiring | Never | |||||||||
| Semialgebra (semifield) | Never | |||||||||
| Monotone class | only if A i ↘ {\displaystyle A_{i}\searrow } | only if A i ↗ {\displaystyle A_{i}\nearrow } | ||||||||
| 𝜆-system (Dynkin system) | only if A ⊆ B {\displaystyle A\subseteq B} | only if A i ↗ {\displaystyle 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 | |||||||||
| Filter | ||||||||||
| Proper filter | Never | Never | Never | |||||||
| Prefilter (filter base) | ||||||||||
| Filter subbase | ||||||||||
| Open topology | (even arbitrary ∪ {\displaystyle \cup }) | Never | ||||||||
| Closed topology | (even arbitrary ∩ {\displaystyle \cap }) | Never | ||||||||
| Is necessarily true of F : {\displaystyle {\mathcal {F}}\colon } or, is F {\displaystyle {\mathcal {F}}} closed under: | directed downward | finite intersections | finite unions | relative complements | complements in Ω {\displaystyle \Omega } | countable intersections | countable unions | contains Ω {\displaystyle \Omega } | contains ∅ {\displaystyle \varnothing } | Finite intersection property |
| Additionally, a semiring is a π-system where every complement B ∖ A {\displaystyle B\setminus A} is equal to a finite disjoint union of sets in F . {\displaystyle {\mathcal {F}}.} A semialgebra is a semiring where every complement Ω ∖ A {\displaystyle \Omega \setminus A} is equal to a finite disjoint union of sets in F . {\displaystyle {\mathcal {F}}.} A , B , A 1 , A 2 , … {\displaystyle A,B,A_{1},A_{2},\ldots } are arbitrary elements of F {\displaystyle {\mathcal {F}}} and it is assumed that F ≠ ∅ . {\displaystyle {\mathcal {F}}\neq \varnothing .} |