Lean library · module TopologyByExample.Theorems.StoneCechConstruction
The evaluation-cube construction of the Stone–Čech compactification
For a Tychonoff space, evaluation into the cube indexed by its continuous unit-interval functions embeds the space. The closure of that image is identified with Mathlib's ultrafilter-quotient construction by a homeomorphism commuting with the canonical maps.
This file was written by Codex (OpenAI's AI model) working under the direction of David R. MacIver, who reviews it and is responsible for it.
variable (X : Type*) [TopologicalSpace X]
definition Cube
TopologyByExample.StoneCechConstruction.Cube
The cube indexed by the continuous unit-interval functions on a space.
abbrev Cube
:= C(X, I) → I
definition evaluation
TopologyByExample.StoneCechConstruction.evaluation
Evaluation at all continuous unit-interval functions.
def evaluation (x : X) : Cube X
:= fun f ↦ f x
definition EvaluationClosure
TopologyByExample.StoneCechConstruction.EvaluationClosure
The closure of the evaluation image, with its subspace topology.
def EvaluationClosure
:= closure (range (evaluation X))
theorem continuous_evaluation
TopologyByExample.StoneCechConstruction.continuous_evaluation
Evaluation is continuous coordinate by coordinate.
theorem continuous_evaluation : Continuous (evaluation X)
Proof
:=
continuous_pi fun f ↦ f.continuous
definition extendedEvaluation
TopologyByExample.StoneCechConstruction.extendedEvaluation
Extend every evaluation coordinate to Mathlib's Stone–Čech compactification.
def extendedEvaluation (p : StoneCech X) : Cube X
:=
fun f ↦ stoneCechExtend f.continuous p
theorem continuous_extendedEvaluation
TopologyByExample.StoneCechConstruction.continuous_extendedEvaluation
The extended evaluation map is continuous.
theorem continuous_extendedEvaluation : Continuous (extendedEvaluation X)
Proof
:=
continuous_pi fun f ↦ continuous_stoneCechExtend f.continuous
theorem extendedEvaluation_unit
TopologyByExample.StoneCechConstruction.extendedEvaluation_unit
The extended map agrees with evaluation on the original space.
@[simp] theorem extendedEvaluation_unit (x : X) :
extendedEvaluation X (stoneCechUnit x) = evaluation X x
Proof
:= by
funext f
exact stoneCechExtend_stoneCechUnit f.continuous x
theorem extendedEvaluation_injective
TopologyByExample.StoneCechConstruction.extendedEvaluation_injective
The extended unit-interval coordinates distinguish points of the compactification.
theorem extendedEvaluation_injective : Function.Injective (extendedEvaluation X)
Proof
:= by
intro p q hpq
by_contra hpq'
obtain ⟨g, hg, hneq⟩ := separatesPoints_continuous_of_t35Space_Icc hpq'
let f : C(X, I) := ⟨g ∘ stoneCechUnit, hg.comp continuous_stoneCechUnit⟩
have hext : stoneCechExtend f.continuous = g :=
stoneCech_hom_ext (continuous_stoneCechExtend f.continuous) hg
(stoneCechExtend_extends f.continuous)
apply hneq
have h := congrFun hpq f
change stoneCechExtend f.continuous p = stoneCechExtend f.continuous q at h
simpa only [hext] using h
theorem range_extendedEvaluation
TopologyByExample.StoneCechConstruction.range_extendedEvaluation
The extended evaluation map has exactly the closure of the original evaluation image.
theorem range_extendedEvaluation :
range (extendedEvaluation X) = closure (range (evaluation X))
Proof
:= by
apply Subset.antisymm
· rintro _ ⟨p, rfl⟩
have hp : p ∈ closure (range (stoneCechUnit : X → StoneCech X)) :=
denseRange_stoneCechUnit p
have h := image_closure_subset_closure_image (continuous_extendedEvaluation X)
(mem_image_of_mem (extendedEvaluation X) hp)
simpa only [← range_comp, Function.comp_def, extendedEvaluation_unit] using h
· apply closure_minimal
· rintro _ ⟨x, rfl⟩
exact ⟨stoneCechUnit x, extendedEvaluation_unit X x⟩
· exact (isCompact_range (continuous_extendedEvaluation X)).isClosed
definition toEvaluationClosure
TopologyByExample.StoneCechConstruction.toEvaluationClosure
The comparison map from Mathlib's construction to the evaluation closure.
def toEvaluationClosure (p : StoneCech X) : EvaluationClosure X
Definition
:=
⟨extendedEvaluation X p, by
change extendedEvaluation X p ∈ closure (range (evaluation X))
rw [← range_extendedEvaluation]
exact mem_range_self p⟩
theorem continuous_toEvaluationClosure
TopologyByExample.StoneCechConstruction.continuous_toEvaluationClosure
The comparison map is continuous.
theorem continuous_toEvaluationClosure : Continuous (toEvaluationClosure X)
Proof
:=
(continuous_extendedEvaluation X).subtype_mk _
theorem toEvaluationClosure_bijective
TopologyByExample.StoneCechConstruction.toEvaluationClosure_bijective
The comparison map is bijective.
theorem toEvaluationClosure_bijective : Function.Bijective (toEvaluationClosure X)
Proof
:= by
constructor
· intro p q h
exact extendedEvaluation_injective X (congrArg Subtype.val h)
· intro y
have hy : y.val ∈ range (extendedEvaluation X) := by
rw [range_extendedEvaluation]
exact y.property
obtain ⟨p, hp⟩ := hy
exact ⟨p, Subtype.ext hp⟩
definition evaluationClosureHomeomorph
TopologyByExample.StoneCechConstruction.evaluationClosureHomeomorph
The evaluation closure and Mathlib's Stone–Čech construction are homeomorphic.
def evaluationClosureHomeomorph : StoneCech X ≃ₜ EvaluationClosure X
:=
Continuous.homeoOfEquivCompactToT2 (f := Equiv.ofBijective (toEvaluationClosure X)
(toEvaluationClosure_bijective X)) (continuous_toEvaluationClosure X)
definition unit
TopologyByExample.StoneCechConstruction.unit
The evaluation map with codomain restricted to its closure.
def unit (x : X) : EvaluationClosure X
:= ⟨evaluation X x, subset_closure (mem_range_self x)⟩
theorem evaluationClosureHomeomorph_unit
TopologyByExample.StoneCechConstruction.evaluationClosureHomeomorph_unit
The comparison homeomorphism commutes with the canonical maps from the original space.
@[simp] theorem evaluationClosureHomeomorph_unit (x : X) :
evaluationClosureHomeomorph X (stoneCechUnit x) = unit X x
Proof
:=
Subtype.ext (extendedEvaluation_unit X x)
instance
The evaluation closure is compact.
instance : CompactSpace (EvaluationClosure X)
Proof
:=
isCompact_iff_compactSpace.mp isClosed_closure.isCompact
instance
The evaluation closure is Hausdorff.
instance : T2Space (EvaluationClosure X)
Proof
:= inferInstanceAs (T2Space (closure _))
theorem isDenseEmbedding_unit
TopologyByExample.StoneCechConstruction.isDenseEmbedding_unit
For a Tychonoff space, the evaluation map into its closure is a dense embedding.
theorem isDenseEmbedding_unit [T35Space X] : IsDenseEmbedding (unit X)
Proof
:= by
have hcomp : unit X = evaluationClosureHomeomorph X ∘ stoneCechUnit := by
funext x
exact (evaluationClosureHomeomorph_unit X x).symm
rw [hcomp]
exact {
toIsInducing := (evaluationClosureHomeomorph X).isInducing.comp isInducing_stoneCechUnit
injective := (evaluationClosureHomeomorph X).injective.comp injective_stoneCechUnit_of_t35Space
dense := (evaluationClosureHomeomorph X).surjective.denseRange.comp
denseRange_stoneCechUnit (evaluationClosureHomeomorph X).continuous }
theorem evaluation_compactification
TopologyByExample.StoneCechConstruction.evaluation_compactification
The evaluation closure is a compact Hausdorff compactification of a Tychonoff space.
theorem evaluation_compactification [T35Space X] :
CompactSpace (EvaluationClosure X) ∧ T2Space (EvaluationClosure X) ∧
IsDenseEmbedding (unit X)
Proof
:=
⟨inferInstance, inferInstance, isDenseEmbedding_unit X⟩
On this site: Theorem: The evaluation construction of the Stone–Čech compactification
variable {X} {Y : Type*} [TopologicalSpace Y] [CompactSpace Y] [T2Space Y]
theorem existsUnique_extension
TopologyByExample.StoneCechConstruction.existsUnique_extension
Every continuous map into a compact Hausdorff space extends uniquely to the evaluation closure.
theorem existsUnique_extension {f : X → Y} (hf : Continuous f) :
∃! g : EvaluationClosure X → Y, Continuous g ∧ g ∘ unit X = f
Proof
:= by
let g : EvaluationClosure X → Y :=
stoneCechExtend hf ∘ (evaluationClosureHomeomorph X).symm
have hg : Continuous g :=
(continuous_stoneCechExtend hf).comp (evaluationClosureHomeomorph X).symm.continuous
have he : g ∘ unit X = f := by
funext x
simp only [g, Function.comp_apply, ← evaluationClosureHomeomorph_unit,
Homeomorph.symm_apply_apply, stoneCechExtend_stoneCechUnit]
refine ⟨g, ⟨hg, he⟩, ?_⟩
intro k hk
have hkg : k ∘ evaluationClosureHomeomorph X = g ∘ evaluationClosureHomeomorph X := by
apply stoneCech_hom_ext (hk.1.comp (evaluationClosureHomeomorph X).continuous)
(hg.comp (evaluationClosureHomeomorph X).continuous)
ext x
simpa only [Function.comp_apply, evaluationClosureHomeomorph_unit] using
(congrFun hk.2 x).trans (congrFun he x).symm
funext y
obtain ⟨p, rfl⟩ := (evaluationClosureHomeomorph X).surjective y
exact congrFun hkg p
On this site: Theorem: The universal extension property of the evaluation compactification