Module docstring
{"# Basic results on uniform spaces
Uniform spaces are a generalization of metric spaces and topological groups.
Main definitions
In this file we define a complete lattice structure on the type UniformSpace X
of uniform structures on X, as well as the pullback (UniformSpace.comap) of uniform structures
coming from the pullback of filters.
Like distance functions, uniform structures cannot be pushed forward in general.
Notations
Localized in Uniformity, we have the notation 𝓤 X for the uniformity on a uniform space X,
and ○ for composition of relations, seen as terms with type Set (X × X).
References
The formalization uses the books:
- [N. Bourbaki, General Topology][bourbaki1966]
- [I. M. James, Topologies and Uniformities][james1999]
But it makes a more systematic use of the filter library.
","### Relations, seen as Set (α × α)
","### Balls in uniform spaces
","### Neighborhoods in uniform spaces
","### Closure and interior in uniform spaces
","### Uniformity bases
","### Expressing continuity properties in uniform spaces
We reformulate the various continuity properties of functions taking values in a uniform space
in terms of the uniformity in the target. Since the same lemmas (essentially with the same names)
also exist for metric spaces and emetric spaces (reformulating things in terms of the distance or
the edistance in the target), we put them in a namespace Uniform here.
In the metric and emetric space setting, there are also similar lemmas where one assumes that both the source and the target are metric spaces, reformulating things in terms of the distance on both sides. These lemmas are generally written without primes, and the versions where only the target is a metric space is primed. We follow the same convention here, thus giving lemmas with primes. "}