/-
Copyright (c) 2022 Yaël Dillies. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yaël Dillies, Anatole Dedecker
-/
module
public import Mathlib.Analysis.Normed.Module.Basic
public import Mathlib.Analysis.Normed.Module.Seminorm.Basic
/-! # The norm as a seminorm
In this file, we define the norm of a normed space as a bundled seminorm.
-/
public section
variable { E F : Type*}
variable [NormedField ]
section Seminormed
variable [SeminormedAddCommGroup E] [NormedSpace E]
variable {r : ℝ} {x : E} {c : } {ε : ℝ}
variable ( E)
/-- The norm of a seminormed space as a seminorm. -/
@[expose] def normSeminorm : Seminorm E :=
{ normAddGroupSeminorm E with smul' := norm_smul }
-- Todo: exposing this definition is questionable, but unexposing needs some work
@[simp]
theorem coe_normSeminorm : ⇑(normSeminorm E) = norm := by rfl
@[simp]
theorem ball_normSeminorm : (normSeminorm E).ball = Metric.ball := by
ext x r y
simp only [Seminorm.mem_ball, Metric.mem_ball, coe_normSeminorm, dist_eq_norm]
@[simp]
theorem closedBall_normSeminorm : (normSeminorm E).closedBall = Metric.closedBall := by
ext x r y
simp only [Seminorm.mem_closedBall, Metric.mem_closedBall, coe_normSeminorm, dist_eq_norm]
variable { E}
/-- Balls at the origin are absorbent. -/
theorem absorbent_ball_zero (hr : 0 < r) : Absorbent (Metric.ball (0 : E) r) := by
rw [← ball_normSeminorm ]
exact (normSeminorm _).absorbent_ball_zero hr
/-- Balls containing the origin are absorbent. -/
theorem absorbent_ball (hx : ‖x‖ < r) : Absorbent (Metric.ball x r) := by
rw [← ball_normSeminorm ]
exact (normSeminorm _).absorbent_ball hx
/-- Balls at the origin are balanced. -/
theorem balanced_ball_zero : Balanced (Metric.ball (0 : E) r) := by
rw [← ball_normSeminorm ]
exact (normSeminorm _ _).balanced_ball_zero r
/-- Closed balls at the origin are balanced. -/
theorem balanced_closedBall_zero : Balanced (Metric.closedBall (0 : E) r) := by
rw [← closedBall_normSeminorm ]
exact (normSeminorm _ _).balanced_closedBall_zero r
/-- If there is a scalar `c` with `‖c‖ > 1`, then any element with nonzero norm can be
moved by scalar multiplication to any shell of width `‖c‖`. Also recap information on the norm of
the rescaling element that shows up in applications. -/
lemma rescale_to_shell_semi_normed_zpow (hc : 1 < ‖c‖) (εpos : 0 < ε) (hx : ‖x‖ ≠ 0) :
∃ n : ℤ, c ^ n ≠ 0 ∧ ‖c ^ n • x‖ < ε ∧ (ε / ‖c‖ ≤ ‖c ^ n • x‖) ∧
(‖c ^ n‖⁻¹ ≤ ε⁻¹ * ‖c‖ * ‖x‖) :=
(normSeminorm E).rescale_to_shell_zpow hc εpos hx
/-- If there is a scalar `c` with `‖c‖ > 1`, then any element with nonzero norm can be
moved by scalar multiplication to any shell of width `‖c‖`. Also recap information on the norm of
the rescaling element that shows up in applications. -/
lemma rescale_to_shell_semi_normed (hc : 1 < ‖c‖) (εpos : 0 < ε) (hx : ‖x‖ ≠ 0) :
∃ d : , d ≠ 0 ∧ ‖d • x‖ < ε ∧ (ε / ‖c‖ ≤ ‖d • x‖) ∧ (‖d‖⁻¹ ≤ ε⁻¹ * ‖c‖ * ‖x‖) :=
(normSeminorm E).rescale_to_shell hc εpos hx
end Seminormed
section Normed
variable [NormedAddCommGroup E] [NormedSpace E]
variable {r : ℝ} {x : E} {c : } {ε : ℝ}
lemma rescale_to_shell_zpow (hc : 1 < ‖c‖) (εpos : 0 < ε) (hx : x ≠ 0) :
∃ n : ℤ, c ^ n ≠ 0 ∧ ‖c ^ n • x‖ < ε ∧ (ε / ‖c‖ ≤ ‖c ^ n • x‖) ∧
(‖c ^ n‖⁻¹ ≤ ε⁻¹ * ‖c‖ * ‖x‖) :=
rescale_to_shell_semi_normed_zpow hc εpos (norm_ne_zero_iff.mpr hx)
/-- If there is a scalar `c` with `‖c‖ > 1`, then any element can be moved by scalar multiplication
to any shell of width `‖c‖`. Also recap information on the norm of the rescaling element that shows
up in applications. -/
lemma rescale_to_shell (hc : 1 < ‖c‖) (εpos : 0 < ε) (hx : x ≠ 0) :
∃ d : , d ≠ 0 ∧ ‖d • x‖ < ε ∧ (ε / ‖c‖ ≤ ‖d • x‖) ∧ (‖d‖⁻¹ ≤ ε⁻¹ * ‖c‖ * ‖x‖) :=
rescale_to_shell_semi_normed hc εpos (norm_ne_zero_iff.mpr hx)
end Normed
¤ Dauer der Verarbeitung: 0.6 Sekunden
¤
*© Formatika GbR, Deutschland