Module docstring
{"# Bases of topologies. Countability axioms.
A topological basis on a topological space t is a collection of sets,
such that all open sets can be generated as unions of these sets, without the need to take
finite intersections of them. This file introduces a framework for dealing with these collections,
and also what more we can say under certain countability conditions on bases,
which are referred to as first- and second-countable.
We also briefly cover the theory of separable spaces, which are those with a countable, dense
subset. If a space is second-countable, and also has a countably generated uniformity filter
(for example, if t is a metric space), it will automatically be separable (and indeed, these
conditions are equivalent in this case).
Main definitions
TopologicalSpace.IsTopologicalBasis s: The topological spacethas basiss.TopologicalSpace.SeparableSpace α: The topological spacethas a countable, dense subset.TopologicalSpace.IsSeparable s: The setsis contained in the closure of a countable set.FirstCountableTopology α: A topology in which𝓝 xis countably generated for everyx.SecondCountableTopology α: A topology which has a topological basis which is countable.
Main results
TopologicalSpace.FirstCountableTopology.tendsto_subseq: In a first-countable space, cluster points are limits of subsequences.TopologicalSpace.SecondCountableTopology.isOpen_iUnion_countable: In a second-countable space, the union of arbitrarily-many open sets is equal to a sub-union of only countably many of these sets.TopologicalSpace.SecondCountableTopology.countable_cover_nhds: Considerf : α → Set αwith the property thatf x ∈ 𝓝 xfor allx. Then there is some countable setswhose image covers the space.
Implementation Notes
For our applications we are interested that there exists a countable basis, but we do not need the
concrete basis itself. This allows us to declare these type classes as Prop to use them as mixins.
TODO
More fine grained instances for FirstCountableTopology,
TopologicalSpace.SeparableSpace, and more.
"}