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 / V16. Normed spaces and functional analysis

Mathlib.Analysis.Normed.Module.RCLike.Real

19 declarations and 2 deprecated aliases. Mathlib docs · Source

Basic facts about real (semi)normed spaces

In this file we prove some theorems about (semi)normed spaces over real numbers.

Main results

  • closure_ball, frontier_ball, interior_closedBall, frontier_closedBall, interior_sphere, frontier_sphere: formulas for the closure/interior/frontier of nontrivial balls and spheres in a real seminormed space;

  • interior_closedBall', frontier_closedBall', interior_sphere', frontier_sphere': similar lemmas assuming that the ambient space is separated and nontrivial instead of r ≠ 0.

instance Real.punctured_nhds_module_neBot E0 #

∀ {E : Type u_1} [inst : AddCommGroup E] [inst_1 : TopologicalSpace E] [ContinuousAdd E] [Nontrivial E]
  [inst_4 : Module ℝ E] [ContinuousSMul ℝ E] (x : E), (nhdsWithin x {x}ᶜ).NeBot

If E is a nontrivial topological module over ℝ, then E has no isolated points. This is a particular case of Module.punctured_nhds_neBot.

theorem inv_norm_smul_mem_unitClosedBall E1 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] (x : E), ‖x‖⁻¹ • x ∈ Metric.closedBall 0 1

theorem norm_smul_of_nonneg E1 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {t : ℝ},
  0 ≤ t → ∀ (x : E), ‖t • x‖ = t * ‖x‖

theorem dist_smul_add_one_sub_smul_le E1 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {r : ℝ} {x y : E},
  r ∈ Set.Icc 0 1 → dist (r • x + (1 - r) • y) x ≤ dist y x

theorem closure_ball E3 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] (x : E) {r : ℝ},
  r ≠ 0 → closure (Metric.ball x r) = Metric.closedBall x r

theorem frontier_ball E3 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] (x : E) {r : ℝ},
  r ≠ 0 → frontier (Metric.ball x r) = Metric.sphere x r

theorem interior_closedBall E3 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] (x : E) {r : ℝ},
  r ≠ 0 → interior (Metric.closedBall x r) = Metric.ball x r

theorem frontier_closedBall E3 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] (x : E) {r : ℝ},
  r ≠ 0 → frontier (Metric.closedBall x r) = Metric.sphere x r

theorem interior_sphere E3 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] (x : E) {r : ℝ},
  r ≠ 0 → interior (Metric.sphere x r) = ∅

theorem frontier_sphere E3 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] (x : E) {r : ℝ},
  r ≠ 0 → frontier (Metric.sphere x r) = Metric.sphere x r

theorem exists_norm_eq E0 #

∀ (E : Type u_1) [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] [NontrivialTopology E] {c : ℝ},
  0 ≤ c → ∃ x, ‖x‖ = c

theorem range_norm E0 #

∀ (E : Type u_1) [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] [NontrivialTopology E], Set.range norm = Set.Ici 0

theorem nnNorm_surjective E1 #

∀ (E : Type u_1) [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] [NontrivialTopology E], Function.Surjective nnNorm

theorem range_nnNorm E0 #

∀ (E : Type u_1) [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] [NontrivialTopology E], Set.range nnNorm = Set.univ

theorem NormedSpace.sphere_nonempty E0 #

∀ {E : Type u_1} [inst : SeminormedAddCommGroup E] [NormedSpace ℝ E] [NontrivialTopology E] {x : E} {r : ℝ},
  (Metric.sphere x r).Nonempty ↔ 0 ≤ r

In a nontrivial real normed space, a sphere is nonempty if and only if its radius is nonnegative.

theorem interior_closedBall' E3 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [NormedSpace ℝ E] [Nontrivial E] (x : E) (r : ℝ),
  interior (Metric.closedBall x r) = Metric.ball x r

theorem frontier_closedBall' E3 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [NormedSpace ℝ E] [Nontrivial E] (x : E) (r : ℝ),
  frontier (Metric.closedBall x r) = Metric.sphere x r

theorem interior_sphere' E3 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [NormedSpace ℝ E] [Nontrivial E] (x : E) (r : ℝ),
  interior (Metric.sphere x r) = ∅

theorem frontier_sphere' E3 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [NormedSpace ℝ E] [Nontrivial E] (x : E) (r : ℝ),
  frontier (Metric.sphere x r) = Metric.sphere x r

Deprecated aliases

NameNew nameSince
nnnorm_surjectivennNorm_surjective2026-10-31
range_nnnormrange_nnNorm2026-10-31