The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V14. Topological algebra and infinite sums

Mathlib.Topology.Algebra.WithZeroTopology

23 declarations. Mathlib docs · Source

The topology on linearly ordered commutative groups with zero

Let Γ₀ be a linearly ordered commutative group to which we have adjoined a zero element. Then Γ₀ may naturally be endowed with a topology that turns Γ₀ into a topological monoid. Neighborhoods of zero are sets containing { γ | γ < γ₀ } for some invertible element γ₀ and every invertible element is open. In particular the topology is the following: "a subset U ⊆ Γ₀ is open if 0 ∉ U or if there is an invertible γ₀ ∈ Γ₀ such that { γ | γ < γ₀ } ⊆ U", see WithZeroTopology.isOpen_iff.

We prove this topology is ordered and T₅ (in addition to be compatible with the monoid structure).

All this is useful to extend a valuation to a completion. This is an abstract version of how the absolute value (resp. p-adic absolute value) on ℚ is extended to ℝ (resp. ℚₚ).

Implementation notes

This topology is defined as a scoped instance since it may not be the desired topology on a linearly ordered commutative group with zero. You can locally activate this topology using open WithZeroTopology.

Neighbourhoods of zero

Neighbourhoods of non-zero elements

Open/closed sets

Instances

def WithZeroTopology.topologicalSpace E1 #

{Γ₀ : Type u_2} → [LinearOrderedCommGroupWithZero Γ₀] → TopologicalSpace Γ₀

The topology on a linearly ordered commutative group with a zero element adjoined. A subset U is open if 0 ∉ U or if there is an invertible element γ₀ such that {γ | γ < γ₀} ⊆ U.

theorem WithZeroTopology.nhds_eq_update E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀],
  nhds = Function.update pure 0 (⨅ γ, ⨅ (_ : γ ≠ 0), Filter.principal (Set.Iio γ))

theorem WithZeroTopology.nhds_zero E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀], nhds 0 = ⨅ γ, ⨅ (_ : γ ≠ 0), Filter.principal (Set.Iio γ)

theorem WithZeroTopology.hasBasis_nhds_zero E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀], (nhds 0).HasBasis (fun γ ↦ γ ≠ 0) Set.Iio

In a linearly ordered group with zero element adjoined, U is a neighbourhood of 0 if and only if there exists a nonzero element γ₀ such that Iio γ₀ ⊆ U.

theorem WithZeroTopology.Iio_mem_nhds_zero E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {γ : Γ₀}, γ ≠ 0 → Set.Iio γ ∈ nhds 0

theorem WithZeroTopology.nhds_zero_of_units E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] (γ : Γ₀ˣ), Set.Iio ↑γ ∈ nhds 0

If γ is an invertible element of a linearly ordered group with zero element adjoined, then Iio (γ : Γ₀) is a neighbourhood of 0.

theorem WithZeroTopology.tendsto_zero E1 #

∀ {α : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {l : Filter α} {f : α → Γ₀},
  Filter.Tendsto f l (nhds 0) ↔ ∀ (γ₀ : Γ₀), γ₀ ≠ 0 → ∀ᶠ (x : α) in l, f x < γ₀

theorem WithZeroTopology.nhds_of_ne_zero E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {γ : Γ₀}, γ ≠ 0 → nhds γ = pure γ

The neighbourhood filter of a nonzero element consists of all sets containing that element.

theorem WithZeroTopology.nhds_coe_units E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] (γ : Γ₀ˣ), nhds ↑γ = pure ↑γ

The neighbourhood filter of an invertible element consists of all sets containing that element.

theorem WithZeroTopology.singleton_mem_nhds_of_units E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] (γ : Γ₀ˣ), {↑γ} ∈ nhds ↑γ

If γ is an invertible element of a linearly ordered group with zero element adjoined, then {γ} is a neighbourhood of γ.

theorem WithZeroTopology.singleton_mem_nhds_of_ne_zero E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {γ : Γ₀}, γ ≠ 0 → {γ} ∈ nhds γ

If γ is a nonzero element of a linearly ordered group with zero element adjoined, then {γ} is a neighbourhood of γ.

theorem WithZeroTopology.hasBasis_nhds_of_ne_zero E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {x : Γ₀},
  x ≠ 0 → (nhds x).HasBasis (fun x ↦ True) fun x_1 ↦ {x}

theorem WithZeroTopology.hasBasis_nhds_units E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] (γ : Γ₀ˣ), (nhds ↑γ).HasBasis (fun x ↦ True) fun x ↦ {↑γ}

theorem WithZeroTopology.tendsto_of_ne_zero E1 #

∀ {α : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {l : Filter α} {f : α → Γ₀} {γ : Γ₀},
  γ ≠ 0 → (Filter.Tendsto f l (nhds γ) ↔ ∀ᶠ (x : α) in l, f x = γ)

theorem WithZeroTopology.tendsto_units E1 #

∀ {α : Type u_1} {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {l : Filter α} {f : α → Γ₀} {γ₀ : Γ₀ˣ},
  Filter.Tendsto f l (nhds ↑γ₀) ↔ ∀ᶠ (x : α) in l, f x = ↑γ₀

theorem WithZeroTopology.Iio_mem_nhds E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {γ₁ γ₂ : Γ₀}, γ₁ < γ₂ → Set.Iio γ₂ ∈ nhds γ₁

theorem WithZeroTopology.isOpen_iff E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {s : Set Γ₀}, IsOpen s ↔ 0 ∉ s ∨ ∃ γ, γ ≠ 0 ∧ Set.Iio γ ⊆ s

theorem WithZeroTopology.isClosed_iff E0 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {s : Set Γ₀},
  IsClosed s ↔ 0 ∈ s ∨ ∃ γ, γ ≠ 0 ∧ s ⊆ Set.Ici γ

theorem WithZeroTopology.isOpen_Iio E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀] {a : Γ₀}, IsOpen (Set.Iio a)

theorem WithZeroTopology.orderClosedTopology E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀], OrderClosedTopology Γ₀

The topology on a linearly ordered group with zero element adjoined is compatible with the order structure: the set {p : Γ₀ × Γ₀ | p.1 ≤ p.2} is closed.

theorem WithZeroTopology.t5Space E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀], T5Space Γ₀

The topology on a linearly ordered group with zero element adjoined is T₅.

theorem WithZeroTopology.instContinuousMul E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀], ContinuousMul Γ₀

The topology on a linearly ordered group with zero element adjoined makes it a topological monoid.

theorem WithZeroTopology.instContinuousInv₀ E1 #

∀ {Γ₀ : Type u_2} [inst : LinearOrderedCommGroupWithZero Γ₀], ContinuousInv₀ Γ₀