The areas / V13. General topology
Mathlib.Topology.MetricSpace.Polish
27 declarations and 9 deprecated aliases. Mathlib docs · Source
Polish spaces
A topological space is Polish if its topology is second-countable and there exists a compatible complete metric. This is the class of spaces that is well-behaved with respect to measure theory. In this file, we establish the basic properties of Polish spaces.
Main definitions and results
PolishSpace αis a mixin typeclass on a topological space, requiring that the topology is second-countable and compatible with a complete metric. To endow the space with such a metric, use in a prooflet := upgradeIsCompletelyMetrizable α.IsClosed.polishSpace: a closed subset of a Polish space is Polish.IsGδ.polishSpace: a countable intersection of open subsets of a Polish space is Polish.IsOpen.polishSpace: an open subset of a Polish space is Polish.exists_nat_nat_continuous_surjective: any nonempty Polish space is the continuous image of the fundamental Polish spaceℕ → ℕ.
A fundamental property of Polish spaces is that one can put finer topologies, still Polish, with additional properties:
exists_polishSpace_forall_le: on a topological space, consider countably many topologiest n, all Polish and finer than the original topology. Then there exists another Polish topology which is finer than all thet n.IsClopenable sis a property of a subsetsof a topological space, requiring that there exists a finer topology, which is Polish, for whichsbecomes open and closed. We show that this property is satisfied for open sets, closed sets, for complements, and for countable unions. Once Borel-measurable sets are defined in later files, it will follow that any Borel-measurable set is clopenable. Once the Lusin-Souslin theorem is proved using analytic sets, we will even show that a set is clopenable if and only if it is Borel-measurable, seeisClopenable_iff_measurableSet.
Basic properties of Polish spaces
A Gδ subset of a Polish space is Polish
In particular, an open subset of a Polish space is Polish.
To prove this fact, we follow a proof attributed to A. Bernshteyn. We homeomorphically map a Gδ
subset of α to a subset of α × (ℕ → ℝ≥0), which is closed and thus Polish.
Clopenable sets in Polish spaces
class PolishSpace E1 #
(α : Type u_3) → [h : TopologicalSpace α] → Prop
A Polish space is a topological space with second countable topology, that can be endowed with a metric for which it is complete.
To endow a Polish space with a complete metric space structure, do
letI := upgradeIsCompletelyMetrizable α.
instance PolishSpace.toIsCompletelyMetrizableSpace E0 #
∀ {α : Type u_3} {h : TopologicalSpace α} [self : PolishSpace α], TopologicalSpace.IsCompletelyMetrizableSpace α
ctor PolishSpace.mk E0 #
∀ {α : Type u_3} [h : TopologicalSpace α] [toSecondCountableTopology : SecondCountableTopology α]
[toIsCompletelyMetrizableSpace : TopologicalSpace.IsCompletelyMetrizableSpace α], PolishSpace α
instance PolishSpace.toSecondCountableTopology E0 #
∀ {α : Type u_3} {h : TopologicalSpace α} [self : PolishSpace α], SecondCountableTopology α
instance instPolishSpaceOfSeparableSpaceOfIsCompletelyMetrizableSpace E0 #
∀ {α : Type u_1} [inst : TopologicalSpace α] [TopologicalSpace.SeparableSpace α]
[TopologicalSpace.IsCompletelyMetrizableSpace α], PolishSpace α
theorem PolishSpace.exists_nat_nat_continuous_surjective E1 #
∀ (α : Type u_3) [inst : TopologicalSpace α] [PolishSpace α] [Nonempty α], ∃ f, Continuous f ∧ Function.Surjective f
Any nonempty Polish space is the continuous image of the fundamental space ℕ → ℕ.
theorem Topology.IsClosedEmbedding.polishSpace E1 #
∀ {α : Type u_1} {β : Type u_2} [inst : TopologicalSpace α] [inst_1 : TopologicalSpace β] [PolishSpace β] {f : α → β},
Topology.IsClosedEmbedding f → PolishSpace α
Given a closed embedding into a Polish space, the source space is also Polish.
theorem Equiv.polishSpace_induced E1 #
∀ {α : Type u_1} {β : Type u_2} [t : TopologicalSpace β] [PolishSpace β] (f : α ≃ β), PolishSpace α
Pulling back a Polish topology under an equiv gives again a Polish topology.
theorem IsClosed.polishSpace E1 #
∀ {α : Type u_1} [inst : TopologicalSpace α] [PolishSpace α] {s : Set α}, IsClosed s → PolishSpace ↑s
A closed subset of a Polish space is also Polish.
theorem CompletePseudometrizable.iInf E1 #
∀ {α : Type u_1} {ι : Type u_3} [Countable ι] {t : ι → TopologicalSpace α},
(∃ t₀, T2Space α ∧ ∀ (i : ι), t i ≤ t₀) →
(∀ (i : ι), ∃ u, CompleteSpace α ∧ (uniformity α).IsCountablyGenerated ∧ u.toTopologicalSpace = t i) →
∃ u, CompleteSpace α ∧ (uniformity α).IsCountablyGenerated ∧ u.toTopologicalSpace = ⨅ i, t i
theorem PolishSpace.iInf E1 #
∀ {α : Type u_1} {ι : Type u_3} [Countable ι] {t : ι → TopologicalSpace α},
(∃ i₀, ∀ (i : ι), t i ≤ t i₀) → (∀ (i : ι), PolishSpace α) → PolishSpace α
theorem PolishSpace.exists_polishSpace_forall_le E1 #
∀ {α : Type u_1} {ι : Type u_3} [Countable ι] [t : TopologicalSpace α] [p : PolishSpace α] (m : ι → TopologicalSpace α),
(∀ (n : ι), m n ≤ t) → (∀ (n : ι), PolishSpace α) → ∃ t', (∀ (n : ι), t' ≤ m n) ∧ t' ≤ t ∧ PolishSpace α
Given a Polish space, and countably many finer Polish topologies, there exists another Polish topology which is finer than all of them.
instance PolishSpace.instENNReal E0 #
PolishSpace ENNReal
def GδEmbedding.gδEmbedding E1 #
{α : Type u_1} → [MetricSpace α] → {ι : Type u_3} → (U : ι → Set α) → ↑(⋂ i, U i) → α × (ι → NNReal)
The map x ↦ (x, fun i ↦ d(x, U iᶜ)⁻¹) from ⋂ i, U i into α × (ι → ℝ≥0). When the U i
are open, this is a closed embedding: the i-th coordinate of the second component blows up as
x approaches the boundary of U i, so that the boundary is sent "to infinity". This guarantees
limit points will have their first coordinates within all of the U i.
theorem GδEmbedding.inv_infEDist_compl_ne_top E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {ι : Type u_3} {U : ι → Set α},
(∀ (i : ι), IsOpen (U i)) → ∀ (x : ↑(⋂ i, U i)) (i : ι), (Metric.infEDist (↑x) (U i)ᶜ)⁻¹ ≠ ⊤
theorem GδEmbedding.continuous_gδEmbedding E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {ι : Type u_3} {U : ι → Set α},
(∀ (i : ι), IsOpen (U i)) → Continuous (GδEmbedding.gδEmbedding U)
theorem GδEmbedding.range_gδEmbedding E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {ι : Type u_3} {U : ι → Set α},
(∀ (i : ι), IsOpen (U i)) →
Set.range (GδEmbedding.gδEmbedding U) = {q | ∀ (i : ι), (Metric.infEDist q.1 (U i)ᶜ)⁻¹ = ↑(q.2 i)}
This characterization of the range of gδEmbedding as an intersection makes it easy to
show that the range is closed.
theorem GδEmbedding.isClosedEmbedding_gδEmbedding E1 #
∀ {α : Type u_1} [inst : MetricSpace α] {ι : Type u_3} {U : ι → Set α},
(∀ (i : ι), IsOpen (U i)) → Topology.IsClosedEmbedding (GδEmbedding.gδEmbedding U)
theorem IsGδ.isCompletelyMetrizableSpace E1 #
∀ {α : Type u_4} [inst : TopologicalSpace α] [TopologicalSpace.IsCompletelyMetrizableSpace α] {s : Set α},
IsGδ s → TopologicalSpace.IsCompletelyMetrizableSpace ↑s
A Gδ subset of a completely metrizable space is also completely metrizable.
theorem IsGδ.polishSpace E1 #
∀ {α : Type u_4} [inst : TopologicalSpace α] [PolishSpace α] {s : Set α}, IsGδ s → PolishSpace ↑s
A Gδ subset of a Polish space is also Polish.
theorem IsOpen.isCompletelyMetrizableSpace E1 #
∀ {α : Type u_4} [inst : TopologicalSpace α] [TopologicalSpace.IsCompletelyMetrizableSpace α] {s : Set α},
IsOpen s → TopologicalSpace.IsCompletelyMetrizableSpace ↑s
An open subset of a completely metrizable space is also completely metrizable.
theorem IsOpen.polishSpace E1 #
∀ {α : Type u_4} [inst : TopologicalSpace α] [PolishSpace α] {s : Set α}, IsOpen s → PolishSpace ↑s
An open subset of a Polish space is also Polish.
def PolishSpace.IsClopenable E1 #
{α : Type u_1} → [t : TopologicalSpace α] → Set α → Prop
A set in a topological space is clopenable if there exists a finer Polish topology for which
this set is open and closed. It turns out that this notion is equivalent to being Borel-measurable,
but this is nontrivial (see isClopenable_iff_measurableSet).
theorem IsClosed.isClopenable E1 #
∀ {α : Type u_1} [inst : TopologicalSpace α] [PolishSpace α] {s : Set α}, IsClosed s → PolishSpace.IsClopenable s
Given a closed set s in a Polish space, one can construct a finer Polish topology for
which s is both open and closed.
theorem PolishSpace.IsClopenable.compl E1 #
∀ {α : Type u_1} [inst : TopologicalSpace α] {s : Set α}, PolishSpace.IsClopenable s → PolishSpace.IsClopenable sᶜ
theorem IsOpen.isClopenable E1 #
∀ {α : Type u_1} [inst : TopologicalSpace α] [PolishSpace α] {s : Set α}, IsOpen s → PolishSpace.IsClopenable s
theorem PolishSpace.IsClopenable.iUnion E1 #
∀ {α : Type u_1} [t : TopologicalSpace α] [PolishSpace α] {s : ℕ → Set α},
(∀ (n : ℕ), PolishSpace.IsClopenable (s n)) → PolishSpace.IsClopenable (⋃ n, s n)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
TopologicalSpace.Opens.CompleteCopy | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.dist_eq | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.dist_val_le_dist | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.inst | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.instCompleteSpace | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.instDist | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.instMetricSpace | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.instSecondCountableTopology | 2026-10-14 | |
TopologicalSpace.Opens.CompleteCopy.instT0Space | 2026-10-14 |