mathlib documentation

topology.metric_space.polish

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 #

A fundamental property of Polish spaces is that one can put finer topologies, still Polish, with additional properties:

Basic properties of Polish spaces #

@[class]
structure polish_space (α : Type u_3) [h : topological_space α] :
Prop

A Polish space is a topological space with second countable topology, that can be endowed with a metric for which it is complete. We register an instance from complete second countable metric space to polish space, and not the other way around as this is the most common use case.

To endow a Polish space with a complete metric space structure, do letI := upgrade_polish_space α.

Instances of this typeclass
@[class]
structure upgraded_polish_space (α : Type u_3) :
Type u_3

A convenience class, for a Polish space endowed with a complete metric. No instance of this class should be registered: It should be used as letI := upgrade_polish_space α to endow a Polish space with a complete metric.

Instances for upgraded_polish_space
  • upgraded_polish_space.has_sizeof_inst
noncomputable def polish_space_metric (α : Type u_1) [ht : topological_space α] [h : polish_space α] :

Construct on a Polish space a metric (compatible with the topology) which is complete.

Equations
theorem complete_polish_space_metric (α : Type u_1) [ht : topological_space α] [h : polish_space α] :
noncomputable def upgrade_polish_space (α : Type u_1) [ht : topological_space α] [h : polish_space α] :

This definition endows a Polish space with a complete metric. Use it as: letI := upgrade_polish_space α.

Equations
@[protected, instance]
def polish_space.t2_space (α : Type u_1) [topological_space α] [polish_space α] :
@[protected, instance]
def polish_space.pi_countable {ι : Type u_1} [encodable ι] {E : ι → Type u_2} [Π (i : ι), topological_space (E i)] [∀ (i : ι), polish_space (E i)] :
polish_space (Π (i : ι), E i)

A countable product of Polish spaces is Polish.

@[protected, instance]
def polish_space.nat_fun {α : Type u_1} [topological_space α] [polish_space α] :
polish_space ( → α)

Without this instance, polish_space (ℕ → ℕ) is not found by typeclass inference.

@[protected, instance]
def polish_space.sigma {ι : Type u_1} [encodable ι] {E : ι → Type u_2} [Π (n : ι), topological_space (E n)] [∀ (n : ι), polish_space (E n)] :
polish_space (Σ (n : ι), E n)

A countable disjoint union of Polish spaces is Polish.

@[protected, instance]
def polish_space.sum {α : Type u_1} {β : Type u_2} [topological_space α] [polish_space α] [topological_space β] [polish_space β] :

The disjoint union of two Polish spaces is Polish.

Any nonempty Polish space is the continuous image of the fundamental space ℕ → ℕ.

theorem closed_embedding.polish_space {α : Type u_1} {β : Type u_2} [topological_space α] [topological_space β] [polish_space β] {f : α → β} (hf : closed_embedding f) :

Given a closed embedding into a Polish space, the source space is also Polish.

theorem equiv.polish_space_induced {α : Type u_1} {β : Type u_2} [t : topological_space β] [polish_space β] (f : α β) :

Pulling back a Polish topology under an equiv gives again a Polish topology.

theorem is_closed.polish_space {α : Type u_1} [topological_space α] [polish_space α] {s : set α} (hs : is_closed s) :

A closed subset of a Polish space is also Polish.

@[nolint]
def polish_space.aux_copy (α : Type u_1) {ι : Type u_2} (i : ι) :
Type u_1

A sequence of type synonyms of a given type α, useful in the proof of exists_polish_space_forall_le to endow each copy with a different topology.

Equations
theorem polish_space.exists_polish_space_forall_le {α : Type u_1} {ι : Type u_2} [encodable ι] [t : topological_space α] [p : polish_space α] (m : ι → topological_space α) (hm : ∀ (n : ι), m n t) (h'm : ∀ (n : ι), polish_space α) :
∃ (t' : topological_space α), (∀ (n : ι), t' m n) t' t polish_space α

Given a Polish space, and countably many finer Polish topologies, there exists another Polish topology which is finer than all of them.

An open subset of a Polish space is Polish #

To prove this fact, one needs to construct another metric, giving rise to the same topology, for which the open subset is complete. This is not obvious, as for instance (0,1) ⊆ ℝ is not complete for the usual metric of : one should build a new metric that blows up close to the boundary.

@[nolint]
def polish_space.complete_copy {α : Type u_1} (s : set α) :
Type u_1

A type synonym for a subset s of a metric space, on which we will construct another metric for which it will be complete.

Equations
noncomputable def polish_space.has_dist_complete_copy {α : Type u_1} [metric_space α] (s : set α) :

A distance on a subset s of a metric space, designed to make it complete if s is open. It is given by dist' x y = dist x y + |1 / dist x sᶜ - 1 / dist y sᶜ|, where the second term blows up close to the boundary to ensure that Cauchy sequences for dist' remain well inside s.

Equations

A metric space structure on a subset s of a metric space, designed to make it complete if s is open. It is given by dist' x y = dist x y + |1 / dist x sᶜ - 1 / dist y sᶜ|, where the second term blows up close to the boundary to ensure that Cauchy sequences for dist' remain well inside s.

Equations

The identity between the type synonym complete_copy s (with its modified metric) and the original subtype s is a homeomorphism.

Equations
theorem is_open.polish_space {α : Type u_1} [topological_space α] [polish_space α] {s : set α} (hs : is_open s) :

An open subset of a Polish space is also Polish.

Clopenable sets in Polish spaces #

def polish_space.is_clopenable {α : Type u_1} [t : topological_space α] (s : 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 is_clopenable_iff_measurable_set).

Equations
theorem is_closed.is_clopenable {α : Type u_1} [topological_space α] [polish_space α] {s : set α} (hs : is_closed 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 is_open.is_clopenable {α : Type u_1} [topological_space α] [polish_space α] {s : set α} (hs : is_open s) :
theorem polish_space.is_clopenable.Union {α : Type u_1} [t : topological_space α] [polish_space α] {s : set α} (hs : ∀ (n : ), polish_space.is_clopenable (s n)) :