The pointwise-convergence topology on S∞ = Equiv.Perm ℕ (issue #27, commit 1) #
The infinite symmetric group Equiv.Perm ℕ carries a canonical Polish topology — the topology of
pointwise convergence. Mathlib puts no topology on Equiv.Perm ℕ, so we install it here via the
pair embedding
embed : Equiv.Perm ℕ → (ℕ → ℕ) × (ℕ → ℕ), embed σ = (⇑σ, ⇑σ⁻¹)
into a product of two copies of Baire space ℕ → ℕ. The image is the closed set of pairs of
mutually inverse functions, so embed is a closed embedding — the route to Polishness (commit 2).
Main results #
NatPerm.embed,instTopologicalSpacePermNat: the pair embedding and the induced topology.NatPerm.isClosedEmbedding_embed:embedis a closed embedding, cut out by the two inverse equations (NatPerm.range_embed,NatPerm.isClosed_range_embed).NatPerm.continuous_apply_perm,NatPerm.continuous_inv_apply: the evaluationsσ ↦ σ nandσ ↦ σ⁻¹ nare continuous.NatPerm.isClopen_stabandNatPerm.hasBasis_nhds: the acceptance lemma — the finite pointwise stabilizers{σ | ∀ i ∈ s, σ i = σ₀ i}are clopen and form a neighborhood basis at everyσ₀. This pins the induced topology to the intended pointwise one (the pair embedding could a priori be finer).
Design #
NatPerm.continuous_evalComp is the reusable primitive underlying continuity throughout this
tranche: evaluating a continuous function-valued map at a continuously varying discrete index is
continuous, because the index can be frozen on a clopen neighborhood. It powers the closed-range
computation here and the continuity of multiplication (commit 2) and of the logic action
(commit 3).
Localized evaluation. If f : X → I → Y is continuous and e : X → I is continuous into a
discrete space I, then x ↦ f x (e x) is continuous: near any x₀ the index e x is frozen at
e x₀ on the clopen set e ⁻¹' {e x₀}, where the map reduces to the continuous x ↦ f x (e x₀).
The embedding and the induced topology #
The pair embedding σ ↦ (σ, σ⁻¹) of Equiv.Perm ℕ into (ℕ → ℕ) × (ℕ → ℕ).
Instances For
The topology of pointwise convergence on Equiv.Perm ℕ, induced by the pair embedding.
The coercion σ ↦ ⇑σ into ℕ → ℕ is continuous.
The inverse coercion σ ↦ ⇑σ⁻¹ into ℕ → ℕ is continuous.
Evaluation σ ↦ σ n is continuous.
Evaluation σ ↦ σ⁻¹ n is continuous.
The image is closed #
embed is a closed embedding: pointwise-inducing, injective, with closed range.
Acceptance lemma: finite pointwise stabilizers are a clopen neighborhood basis #
The finite pointwise stabilizer: permutations agreeing with σ₀ on the finite set s.
Equations
- NatPerm.stab s σ₀ = {σ : Equiv.Perm ℕ | ∀ i ∈ s, σ i = σ₀ i}
Instances For
Each finite pointwise stabilizer is clopen.
Acceptance lemma. The finite pointwise stabilizers form a neighborhood basis at every
σ₀, so the induced topology is exactly the pointwise-convergence topology — controlling σ on a
finite set already controls σ⁻¹ on the corresponding image, so the inverse coordinates in the
pair embedding contribute no finer neighborhoods.