nLab
filter

Filters

A filter is dual to an ideal.

Definitions

A subset F of a poset L is called a filter if it is upward-closed and downward-directed; that is:

  1. If AB in L and AF, then BF;
  2. for some A in L, AF;
  3. if AF and BF, then for some CF, CA and CB.

Sometimes the term ‘filter’ is used for an upper set, that is any set satisfying axiom (1). (Ultimately this connects with the use of ‘ideal’ in monoid theory.)

In a lattice, one can use these alternative axioms:

  1. If AF and B in L, then ABF;
  2. F;
  3. if AF and BF, then ABF.

Here, (1) is equivalent to the previous version; the others, which here say that the lattice is closed under finite meets, are equivalent given (1). (These axioms look more like the axioms for an ideal of a ring.)

You can also interpret these axioms to say that, if you think of F as a function from L to the set TV of truth values, then F is a homomorphism of meet-semilattices.

A filter of subsets of a given set S is a filter in the power set of S. One also sees filters of open subsets, filters of compact subsets, etc, especially in topology.

Kinds of filters

A filter F is proper if there exists an element A of L such that AF. A filter in a lattice is proper iff F; in particular, a filter of subsets of S is proper iff F. In constructive mathematics, however, one usually wants a stronger (but classically equivalent) notion: a filter F of subsets of S is proper if every element of F is inhabited.

Filters are often assumed to be proper by default in analysis and topology, where proper filters correspond to nets. However, we will try to remember to include the adjective ‘proper’.

If the complement of a filter is an ideal, then we say that the filter is prime (and equivalently that the ideal is prime). A prime filter is necessarily proper; a proper filter in a lattice is prime iff, whenever ABF, either AF or BF. In other words, F:LTV must be a homomorphism of lattices. The generalisation to arbitrary joins gives a completely prime filter.

A filter is an ultrafilter, or maximal filter, if it is maximal among the proper filters. (See that article for alternative formulations and applications.) In a distributive lattice, every ultrafilter is prime; the converse holds in a Boolean lattice. In this case, we can say that F:LTV is a homomorphism of Boolean lattices.

Given an element x of S, the principal ultrafilter (of subsets of S) at x consists of every subset of S to which x belongs. A principal ultrafilter is als called a fixed ultrafilter; more generally, a filter of subsets is fixed if its intersection is inhabited. In contrast, if F is an filter whose meet (of all elements) exists and is a bottom element (the empty set for a filter of subsets), then we call F free.

Free ultrafilters on Boolean algebras are important in nonstandard analysis and model theory?.

Filterbases

A subset F of a lattice L is a filterbase if it becomes a filter when closed under axiom (1). Equivalently, a filterbase is any downward-directed subset. Any subset of a meet-semilattice may be used as a filter subbase; form a filterbase by closing under finite meets.

A filterbase F of sets is proper (that is, it generates a proper filter of sets) iff each set in F is inhabited. A filter subbase of sets is proper iff it satisfies the finite intersection property (well known in topology from a criterion for compact spaces): every finite collection from the subfilter has inhabited intersection.

Application to analysis and topology

Every net ν:IS defines an eventuality filter E ν: let A belong to E ν if, for some index k, for every lk, ν lA. (That is, ν is eventually in A.) Note that E ν is proper; conversely, any proper filter F has a net whose eventuality filter is F (as described at net). Everything below can be done for nets as well as for (proper) filters, but filters often lead to a cleaner theory.

In a topological space S, a filter F on S converges to a point x of S if every neighbourhood of x belongs to F. A filter F clusters at a point x if every neighbourhood of x intersects every element of F. With these definitions, the improper filter converges to every point and clusters at no point; a proper filter, however, clusters at every point that it converges to.

The concepts of continuous function and such conditions as compactness and Hausdorffness may be defined quite nicely in terms of the convergence relation. In fact, everything about topological spaces may be defined in terms of the convergence relation, although not always nicely. This is because topological spaces form a full subcategory of the category of convergence spaces, where the convergence relation is the fundamental concept. More details are there.

In a metric space S, a filter F on S is Cauchy if it has elements of arbitrarily small diameter. Then a sequence is a Cauchy sequence iff its eventuality filter is Cauchy. (This can be generalised to uniform spaces.) The concept of completion of a metric space may be defined quite nicely in terms of the Cauchy filters, although not every property (not even every uniform property) of metric spaces can be defined in this way. As for convergence, there is a general notion of Cauchy space, but the forgetful functors from metric and uniform spaces are now not full.

References