Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Analysis/Normed/Module/     Datei vom 15.10.2026 mit Größe 3 kB image not shown  

Quelle  Span.lean   Sprache: Lean

 

/-
Copyright (c) 2024 Moritz Doll. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Moritz Doll
-/

module

public import Mathlib.Analysis.Normed.Module.Basic
public import Mathlib.Analysis.Normed.Operator.ContinuousLinearMap
public import Mathlib.Analysis.Normed.Operator.LinearIsometry

/-!
# The span of a single vector

The equivalence of `��` and `�� • x` for `x ≠ 0` are defined as continuous linear equivalence and
isometry.

## Main definitions

* `ContinuousLinearEquiv.toSpanNonzeroSingleton`: The continuous linear equivalence between `��` and
  `�� • x` for `x ≠ 0`.
* `LinearIsometryEquiv.toSpanUnitSingleton`: For `‖x‖ = 1` the continuous linear equivalence is a
  linear isometry equivalence.
-/


@[expose] public section

variable {�� E : Type*}

namespace LinearMap

variable (��)

section Seminormed

variable [NormedDivisionRing ��] [SeminormedAddCommGroup E] [Module �� E] [NormSMulClass �� E]

theorem toSpanSingleton_homothety (x : E) (c : ��) :
    ‖LinearMap.toSpanSingleton �� E x c‖ = ‖x‖ * ‖c‖ := by
  rw [mul_comm]
  exact norm_smul _ _

end Seminormed

end LinearMap

namespace ContinuousLinearEquiv

variable (��)

section Seminormed
variable [NormedDivisionRing ��] [SeminormedAddCommGroup E] [Module �� E] [NormSMulClass �� E]

theorem _root_.LinearEquiv.toSpanNonzeroSingleton_homothety (x : E) (h : x ≠ 0) (c : ��) :
    ‖LinearEquiv.toSpanNonzeroSingleton �� E x h c‖ = ‖x‖ * ‖c‖ :=
  LinearMap.toSpanSingleton_homothety _ _ _

end Seminormed

section Normed
variable [NormedField ��] [NormedAddCommGroup E] [NormedSpace �� E]

/-- Given a nonzero element `x` of a normed space `E₁` over a field `��`, the natural
continuous linear equivalence from `��` to the span of `x`. -/

@[simps!]
noncomputable def toSpanNonzeroSingleton (x : E) (h : x ≠ 0) : �� ≃L[��] �� ∙ x :=
  ofHomothety (LinearEquiv.toSpanNonzeroSingleton �� E x h) ‖x‖ (norm_pos_iff.mpr h)
    (LinearEquiv.toSpanNonzeroSingleton_homothety �� x h)

/-- Given a nonzero element `x` of a normed space `E₁` over a field `��`, the natural continuous
linear map from the span of `x` to `��`. -/

noncomputable def coord (x : E) (h : x ≠ 0) : StrongDual �� (�� ∙ x) :=
  (toSpanNonzeroSingleton �� x h).symm

@[simp]
theorem coe_toSpanNonzeroSingleton_symm {x : E} (h : x ≠ 0) :
    ⇑(toSpanNonzeroSingleton �� x h).symm = coord �� x h :=
  rfl

@[simp]
theorem coord_toSpanNonzeroSingleton {x : E} (h : x ≠ 0) (c : ��) :
    coord �� x h (toSpanNonzeroSingleton �� x h c) = c :=
  (toSpanNonzeroSingleton �� x h).symm_apply_apply c

@[simp]
theorem toSpanNonzeroSingleton_coord {x : E} (h : x ≠ 0) (y : �� ∙ x) :
    toSpanNonzeroSingleton �� x h (coord �� x h y) = y :=
  (toSpanNonzeroSingleton �� x h).apply_symm_apply y

@[simp]
theorem coord_self (x : E) (h : x ≠ 0) :
    (coord �� x h) (⟨x, Submodule.mem_span_singleton_self x⟩ : �� ∙ x) = 1 :=
  LinearEquiv.coord_self �� E x h

end Normed

end ContinuousLinearEquiv

namespace LinearIsometryEquiv

variable [NormedDivisionRing ��] [SeminormedAddCommGroup E] [Module �� E] [NormSMulClass �� E]

/-- Given a unit element `x` of a normed space `E` over a field `��`, the natural
linear isometry equivalence from `��` to the span of `x`. -/

noncomputable def toSpanUnitSingleton (x : E) (hx : ‖x‖ = 1) :
    �� ≃ₗᵢ[��] �� ∙ x where
  toLinearEquiv := LinearEquiv.toSpanNonzeroSingleton �� E x (by aesop)
  norm_map' := by
    intro
    rw [LinearEquiv.toSpanNonzeroSingleton_homothety, hx, one_mul]

@[simp] theorem toSpanUnitSingleton_apply (x : E) (hx : ‖x‖ = 1) (r : ��) :
    toSpanUnitSingleton x hx r = (⟨r • x, by aesop⟩ : �� ∙ x) := by
  rfl

end LinearIsometryEquiv

Messung
CHZG
9410010097

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland