Openness and closedness of a set #
This file provides lemmas relating to the predicates IsOpen
and IsClosed
of a set endowed with
a topology.
Implementation notes #
Topology in mathlib heavily uses filters (even more than in Bourbaki). See explanations in https://leanprover-community.github.io/theories/topology.html.
References #
- [N. Bourbaki, General Topology][bourbaki1966]
- [I. M. James, Topologies and Uniformities][james1999]
Tags #
topological space
A constructor for topologies by specifying the closed sets, and showing that they satisfy the appropriate conditions.
Equations
- TopologicalSpace.ofClosed T empty_mem sInter_mem union_mem = { IsOpen := fun (X_1 : Set X) => X_1ᶜ ∈ T, isOpen_univ := ⋯, isOpen_inter := ⋯, isOpen_sUnion := ⋯ }
Instances For
Alias of the reverse direction of TopologicalSpace.ext_iff_isClosed
.
Alias of the reverse direction of isClosed_compl_iff
.
Limits of filters in topological spaces #
In this section we define functions that return a limit of a filter (or of a function along a
filter), if it exists, and a random point otherwise. These functions are rarely used in Mathlib,
most of the theorems are written using Filter.Tendsto
. One of the reasons is that
Filter.limUnder f g = x
is not equivalent to Filter.Tendsto g f (𝓝 x)
unless the codomain is a
Hausdorff space and g
has a limit along f
.
If a filter f
is majorated by some 𝓝 x
, then it is majorated by 𝓝 (Filter.lim f)
. We
formulate this lemma with a [Nonempty X]
argument of lim
derived from h
to make it useful for
types without a [Nonempty X]
instance. Because of the built-in proof irrelevance, Lean will unify
this instance with any other instance.
If g
tends to some 𝓝 x
along f
, then it tends to 𝓝 (Filter.limUnder f g)
. We formulate
this lemma with a [Nonempty X]
argument of lim
derived from h
to make it useful for types
without a [Nonempty X]
instance. Because of the built-in proof irrelevance, Lean will unify this
instance with any other instance.