Definitions about filters in topological spaces #
In this file we define filters in topological spaces,
as well as other definitions that rely on Filters.
Main Definitions #
Neighborhoods filter #
nhds x: the filter of neighborhoods of a point in a topological space, denoted byđ xin theTopologyscope. A set is called a neighborhood ofx, if it includes an open set aroundx.nhdsWithin x s: the filter of neighborhoods of a point within a set, defined asđ x â đ sand denoted byđ[s] x. We also introduce notation for some special setss, see below.nhdsSet s: the filter of neighborhoods of a set in a topological space, denoted byđËą sin theTopologyscope. A settis called a neighborhood ofs, if it includes an open set that includess.exterior s: The exterior of a set is the intersection of all its neighborhoods. In an Alexandrov-discrete space, this is the smallest neighborhood of the set.Note that this construction is unnamed in the literature. We choose the name in analogy to
interior.
Continuity at a point #
ContinuousAt f x: a functionfis continuous at a pointx, if it tends tođ (f x)alongđ x.ContinuousWithinAt f s x: a functionfis continuous within a setsat a pointx, if it tends tođ (f x)alongđ[s] x.ContinuousOn f s: a functionf : X â Yis continuous on a sets, if it is continuous withinsat every point ofs.
Limits #
lim f: a limit of a filterfin a nonempty topological space. If there existsxsuch thatf †đ x, thenlim fis one of such points, otherwise it isClassical.choice _.In a Hausdorff topological space, the limit is unique if it exists.
Ultrafilter.lim f: a limit of an ultrafilterf, defined as the limit of(f : Filter X)with a proof ofNonempty Xdeduced from existence of an ultrafilter onX.limUnder f g: a limit of a filterfalong a functiong, defined aslim (Filter.map g f).
Cluster points and accumulation points #
ClusterPt x F: a pointxis a cluster point of a filterF, ifđ xis not disjoint withF.MapClusterPt x F u: a pointxis a cluster point of a functionualong a filterF, if it is a cluster point of the filterFilter.map u F.AccPt x F: a pointxis an accumulation point of a filterF, ifđ[â ] xis not disjoint withF. Every accumulation point of a filter is its cluster point, but not vice versa.IsCompact s: a setsis compact if for every nontrivial filterfthat containss, there existsa â ssuch that every set offmeets every neighborhood ofa. Equivalently, a setsis compact if for any cover ofsby open sets, there exists a finite subcover.CompactSpace,NoncompactSpace: typeclasses saying that the whole space is a compact set / is not a compact set, respectively.WeaklyLocallyCompactSpace X: typeclass saying that every point ofXhas a compact neighborhood.LocallyCompactSpace X: typeclass saying that every point ofXhas a basis of compact neighborhoods. Every locally compact space is a weakly locally compact space. The reverse implication is true for Râ (preregular) spaces.LocallyCompactPair X Y: an auxiliary typeclass saying that for any continuous functionf : X â Y, a pointx, and a neighborhoodsoff x, there exists a compact neighborhoodKofxsuch thatfmapsKtos.Filter.cocompact,Filter.coclosedCompact: filters generated by complements to compact and closed compact sets, respectively.
Notations #
đ x: the filternhds xof neighborhoods of a pointx;đ s: the principal filter of a sets, defined elsewhere;đ[s] x: the filternhdsWithin x sof neighborhoods of a pointxwithin a sets;đ[â€] x: the filternhdsWithin x (Set.Iic x)of left-neighborhoods ofx;đ[â„] x: the filternhdsWithin x (Set.Ici x)of right-neighborhoods ofx;đ[<] x: the filternhdsWithin x (Set.Iio x)of punctured left-neighborhoods ofx;đ[>] x: the filternhdsWithin x (Set.Ioi x)of punctured right-neighborhoods ofx;đ[â ] x: the filternhdsWithin x {x}á¶of punctured neighborhoods ofx;đËą s: the filternhdsSet sof neighborhoods of a set.
A set is called a neighborhood of x if it contains an open set around x. The set of all
neighborhoods of x forms a filter, the neighborhood filter at x, is here defined as the
infimum over the principal filters of all open sets containing x.
A set is called a neighborhood of x if it contains an open set around x. The set of all
neighborhoods of x forms a filter, the neighborhood filter at x, is here defined as the
infimum over the principal filters of all open sets containing x.
Equations
- Topology.termđ = Lean.ParserDescr.node `Topology.termđ 1024 (Lean.ParserDescr.symbol "đ")
The "neighborhood within" filter. Elements of đ[s] x are sets containing the
intersection of s and a neighborhood of x.
Equations
- nhdsWithin x s = nhds x â Filter.principal s
The "neighborhood within" filter. Elements of đ[s] x are sets containing the
intersection of s and a neighborhood of x.
Equations
- One or more equations did not get rendered due to their size.
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Notation for the filter of punctured neighborhoods of a point.
Equations
- Topology.nhdsNE = Lean.ParserDescr.node `Topology.nhdsNE 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "đ[â ] ") (Lean.ParserDescr.cat `term 100))
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Notation for the filter of right neighborhoods of a point.
Equations
- Topology.nhdsGE = Lean.ParserDescr.node `Topology.nhdsGE 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "đ[â„] ") (Lean.ParserDescr.cat `term 100))
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Notation for the filter of left neighborhoods of a point.
Equations
- Topology.nhdsLE = Lean.ParserDescr.node `Topology.nhdsLE 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "đ[â€] ") (Lean.ParserDescr.cat `term 100))
Notation for the filter of punctured right neighborhoods of a point.
Equations
- Topology.nhdsGT = Lean.ParserDescr.node `Topology.nhdsGT 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "đ[>] ") (Lean.ParserDescr.cat `term 100))
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
Notation for the filter of punctured left neighborhoods of a point.
Equations
- Topology.nhdsLT = Lean.ParserDescr.node `Topology.nhdsLT 1022 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol "đ[<] ") (Lean.ParserDescr.cat `term 100))
Pretty printer defined by notation3 command.
Equations
- One or more equations did not get rendered due to their size.
The filter of neighborhoods of a set in a topological space.
Equations
- Topology.«termđ˹» = Lean.ParserDescr.node `Topology.«termđ˹» 1024 (Lean.ParserDescr.symbol "đËą")
The exterior of a set is the intersection of all its neighborhoods. In an Alexandrov-discrete space, this is the smallest neighborhood of the set.
Note that this construction is unnamed in the literature. We choose the name in analogy to
interior.
A function between topological spaces is continuous at a point xâ
if f x tends to f xâ when x tends to xâ.
Equations
- ContinuousAt f x = Filter.Tendsto f (nhds x) (nhds (f x))
A function between topological spaces is continuous at a point xâ within a subset s
if f x tends to f xâ when x tends to xâ while staying within s.
Equations
- ContinuousWithinAt f s x = Filter.Tendsto f (nhdsWithin x s) (nhds (f x))
A function between topological spaces is continuous on a subset s
when it's continuous at every point of s within s.
Equations
- ContinuousOn f s = â x â s, ContinuousWithinAt f s x
x specializes to y (notation: x ″ y) if either of the following equivalent properties
hold:
đ x †đ y; this property is used as the definition;pure x †đ y; in other words, any neighbourhood ofycontainsx;y â closure {x};closure {y} â closure {x};- for any closed set
swe havex â s â y â s; - for any open set
swe havey â s â x â s; yis a cluster point of the filterpure x = đ {x}.
This relation defines a Preorder on X. If X is a Tâ space, then this preorder is a partial
order. If X is a Tâ space, then this partial order is trivial : x ″ y â x = y.
x specializes to y (notation: x ″ y) if either of the following equivalent properties
hold:
đ x †đ y; this property is used as the definition;pure x †đ y; in other words, any neighbourhood ofycontainsx;y â closure {x};closure {y} â closure {x};- for any closed set
swe havex â s â y â s; - for any open set
swe havey â s â x â s; yis a cluster point of the filterpure x = đ {x}.
This relation defines a Preorder on X. If X is a Tâ space, then this preorder is a partial
order. If X is a Tâ space, then this partial order is trivial : x ″ y â x = y.
Equations
- «term_″_» = Lean.ParserDescr.trailingNode `«term_″_» 300 300 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ″ ") (Lean.ParserDescr.cat `term 301))
Two points x and y in a topological space are Inseparable if any of the following
equivalent properties hold:
đ x = đ y; we use this property as the definition;- for any open set
s,x â s â y â s, seeinseparable_iff_forall_isOpen; - for any closed set
s,x â s â y â s, seeinseparable_iff_forall_isClosed; x â closure {y}andy â closure {x}, seeinseparable_iff_mem_closure;closure {x} = closure {y}, seeinseparable_iff_closure_eq.
Equations
- Inseparable x y = (nhds x = nhds y)
Specialization forms a preorder on the topological space.
Equations
- specializationPreorder X = { le := fun (x y : X) => y ″ x, le_refl := âŻ, le_trans := âŻ, lt_iff_le_not_le := ⯠}
A setoid version of Inseparable, used to define the SeparationQuotient.
Equations
- inseparableSetoid X = { r := Inseparable, iseqv := ⯠}
The quotient of a topological space by its inseparableSetoid.
This quotient is guaranteed to be a Tâ space.
Equations
If f is a filter, then Filter.lim f is a limit of the filter, if it exists.
Equations
- lim f = Classical.epsilon fun (x : X) => f †nhds x
A point x is a cluster point of a filter F if đ x â F â â„.
Also known as an accumulation point or a limit point, but beware that terminology varies.
This is not the same as asking đ[â ] x â F â â„, which is called AccPt in Mathlib.
See mem_closure_iff_clusterPt in particular.
A point x is a cluster point of a sequence u along a filter F if it is a cluster point
of map u F.
Equations
- MapClusterPt x F u = ClusterPt x (Filter.map u F)
A set s is compact if for every nontrivial filter f that contains s,
there exists a â s such that every set of f meets every neighborhood of a.
Type class for compact spaces. Separation is sometimes included in the definition, especially in the French literature, but we do not include it here.
In a compact space,
Set.univis a compact set.
Instances
X is a noncompact topological space if it is not a compact space.
In a noncompact space,
Set.univis not a compact set.
Instances
We say that a topological space is a weakly locally compact space, if each point of this space admits a compact neighborhood.
Every point of a weakly locally compact space admits a compact neighborhood.
Instances
There are various definitions of "locally compact space" in the literature,
which agree for Hausdorff spaces but not in general.
This one is the precise condition on X needed
for the evaluation map C(X, Y) Ă X â Y to be continuous for all Y
when C(X, Y) is given the compact-open topology.
See also WeaklyLocallyCompactSpace, a typeclass that only assumes
that each point has a compact neighborhood.
In a locally compact space, every neighbourhood of every point contains a compact neighbourhood of that same point.
Instances
We say that X and Y are a locally compact pair of topological spaces,
if for any continuous map f : X â Y, a point x : X, and a neighbourhood s â đ (f x),
there exists a compact neighbourhood K â đ x such that f maps K to s.
This is a technical assumption that appears in several theorems,
most notably in ContinuousMap.continuous_comp' and ContinuousMap.continuous_eval.
It is satisfied in two cases:
- if
Xis a locally compact topological space, for obvious reasons; - if
Xis a weakly locally compact topological space andYis an Râ space; this fact is a simple generalization of the theorem saying that a weakly locally compact Râ topological space is locally compact.
- exists_mem_nhds_isCompact_mapsTo {f : X â Y} {x : X} {s : Set Y} : Continuous f â s â nhds (f x) â â K â nhds x, IsCompact K â§ Set.MapsTo f K s
If
f : X â Yis a continuous map in a locally compact pair of topological spaces ands : Set Yis a neighbourhood off x,x : X, then there exists a compact neighbourhoodKofxsuch thatfmapsKtos.
Instances
Filter.cocompact is the filter generated by complements to compact sets.
Equations
- Filter.cocompact X = âš (s : Set X), âš (_ : IsCompact s), Filter.principal sá¶
Filter.coclosedCompact is the filter generated by complements to closed compact sets.
In a Hausdorff space, this is the same as Filter.cocompact.
Equations
- Filter.coclosedCompact X = âš (s : Set X), âš (_ : IsClosed s), âš (_ : IsCompact s), Filter.principal sá¶