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

Quelle  Prod.lean   Sprache: Lean

 

/-
Copyright (c) 2019 Jan-David Salchow. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jan-David Salchow, Sébastien Gouëzel, Jean Lo
-/

module

public import Mathlib.Analysis.Normed.Operator.Bilinear
public import Mathlib.Topology.Algebra.Module.Equiv.Prod

set_option doc.verso true
set_option doc.verso.suggestions false

/-!
# Operator norm: Cartesian products

Interaction of operator norm with Cartesian products.
-/


@[expose] public section

variable {�� E F G : Type*} [NontriviallyNormedField ��]

open Set Real ContinuousLinearMap

section SemiNormed

variable [SeminormedAddCommGroup E] [SeminormedAddCommGroup F] [SeminormedAddCommGroup G]
variable [NormedSpace �� E] [NormedSpace �� F] [NormedSpace �� G]

namespace ContinuousLinearMap

section FirstSecond

variable (�� E F)

/-- The operator norm of the first projection `E × F → E` is at most 1. (It is 0 if `E` is zero, so
the inequality cannot be improved without further assumptions.) -/

lemma norm_fst_le : ‖fst �� E F‖ ≤ 1 :=
  opNorm_le_bound _ zero_le_one (fun ⟨e, f⟩ ↦ by simpa only [one_mul] using! le_max_left ‖e‖ ‖f‖)

/-- The operator norm of the second projection `E × F → F` is at most 1. (It is 0 if `F` is zero, so
the inequality cannot be improved without further assumptions.) -/

lemma norm_snd_le : ‖snd �� E F‖ ≤ 1 :=
  opNorm_le_bound _ zero_le_one (fun ⟨e, f⟩ ↦ by simpa only [one_mul] using! le_max_right ‖e‖ ‖f‖)

end FirstSecond

section OpNorm

@[simp]
theorem opNorm_prod (f : E →L[��] F) (g : E →L[��] G) : ‖f.prod g‖ = ‖(f, g)‖ :=
  le_antisymm
      (opNorm_le_bound _ (norm_nonneg _) fun x => by
        simpa only [prod_apply, Prod.norm_def, max_mul_of_nonneg, norm_nonneg] using
          max_le_max (le_opNorm f x) (le_opNorm g x)) <|
    max_le
      (opNorm_le_bound _ (norm_nonneg _) fun x =>
        (le_max_left _ _).trans ((f.prod g).le_opNorm x))
      (opNorm_le_bound _ (norm_nonneg _) fun x =>
        (le_max_right _ _).trans ((f.prod g).le_opNorm x))


@[simp]
theorem opNNNorm_prod (f : E →L[��] F) (g : E →L[��] G) : ‖f.prod g‖₊ = ‖(f, g)‖₊ :=
  Subtype.ext <| opNorm_prod f g


/-- `ContinuousLinearMap.prod` as a `LinearIsometryEquiv`. -/
noncomputable def prodₗᵢ (R : Type*)
    [Semiring R] [Module R F] [Module R G] [ContinuousConstSMul R F]
    [ContinuousConstSMul R G] [SMulCommClass �� R F] [SMulCommClass �� R G] :
    (E →L[��] F) × (E →L[��] G) ≃ₗᵢ[R] E →L[��] F × G :=
  ⟨prodₗ R, fun ⟨f, g⟩ => opNorm_prod f g⟩

end OpNorm


section Prod

variable (��)
variable (M₁ M₂ M₃ M₄ : Type*)
  [SeminormedAddCommGroup M₁] [NormedSpace �� M₁]
  [SeminormedAddCommGroup M₂] [NormedSpace �� M₂]
  [SeminormedAddCommGroup M₃] [NormedSpace �� M₃]
  [SeminormedAddCommGroup M₄] [NormedSpace �� M₄]

/-- `ContinuousLinearMap.prodMap` as a continuous linear map. -/
noncomputable def prodMapL : (M₁ →L[��] M₂) × (M₃ →L[��] M₄) →L[��] M₁ × M₃ →L[��] M₂ × M₄ :=
  ContinuousLinearMap.copy
    (have Φ₁ : (M₁ →L[��] M₂) →L[��] M₁ →L[��] M₂ × M₄ :=
      ContinuousLinearMap.compL �� M₁ M₂ (M₂ × M₄) (ContinuousLinearMap.inl �� M₂ M₄)
    have Φ₂ : (M₃ →L[��] M₄) →L[��] M₃ →L[��] M₂ × M₄ :=
      ContinuousLinearMap.compL �� M₃ M₄ (M₂ × M₄) (ContinuousLinearMap.inr �� M₂ M₄)
    have Φ₁' :=
      (ContinuousLinearMap.compL �� (M₁ × M₃) M₁ (M₂ × M₄)).flip (ContinuousLinearMap.fst �� M₁ M₃)
    have Φ₂' :=
      (ContinuousLinearMap.compL �� (M₁ × M₃) M₃ (M₂ × M₄)).flip (ContinuousLinearMap.snd �� M₁ M₃)
    have Ψ₁ : (M₁ →L[��] M₂) × (M₃ →L[��] M₄) →L[��] M₁ →L[��] M₂ :=
      ContinuousLinearMap.fst �� (M₁ →L[��] M₂) (M₃ →L[��] M₄)
    have Ψ₂ : (M₁ →L[��] M₂) × (M₃ →L[��] M₄) →L[��] M₃ →L[��] M₄ :=
      ContinuousLinearMap.snd �� (M₁ →L[��] M₂) (M₃ →L[��] M₄)
    Φ₁' ∘L Φ₁ ∘L Ψ₁ + Φ₂' ∘L Φ₂ ∘L Ψ₂)
    (fun p : (M₁ →L[��] M₂) × (M₃ →L[��] M₄) => p.1.prodMap p.2) (by
      apply funext
      rintro ⟨φ, ψ⟩
      refine ContinuousLinearMap.ext fun ⟨x₁, x₂⟩ => ?_
      simp)

variable {M₁ M₂ M₃ M₄}

@[simp]
theorem prodMapL_apply (p : (M₁ →L[��] M₂) × (M₃ →L[��] M₄)) :
    ContinuousLinearMap.prodMapL �� M₁ M₂ M₃ M₄ p = p.1.prodMap p.2 :=
  rfl

variable {X : Type*} [TopologicalSpace X]

theorem _root_.Continuous.prod_mapL {f : X → M₁ →L[��] M₂} {g : X → M₃ →L[��] M₄} (hf : Continuous f)
    (hg : Continuous g) : Continuous fun x => (f x).prodMap (g x) :=
  (prodMapL �� M₁ M₂ M₃ M₄).continuous.comp (hf.prodMk hg)

theorem _root_.Continuous.prod_map_equivL {f : X → M₁ ≃L[��] M₂} {g : X → M₃ ≃L[��] M₄}
    (hf : Continuous fun x => (f x : M₁ →L[��] M₂)) (hg : Continuous fun x => (g x : M₃ →L[��] M₄)) :
    Continuous fun x => ((f x).prodCongr (g x) : M₁ × M₃ →L[��] M₂ × M₄) :=
  (prodMapL �� M₁ M₂ M₃ M₄).continuous.comp (hf.prodMk hg)

theorem _root_.ContinuousOn.prod_mapL {f : X → M₁ →L[��] M₂} {g : X → M₃ →L[��] M₄} {s : Set X}
    (hf : ContinuousOn f s) (hg : ContinuousOn g s) :
    ContinuousOn (fun x => (f x).prodMap (g x)) s :=
  ((prodMapL �� M₁ M₂ M₃ M₄).continuous.comp_continuousOn (hf.prodMk hg) :)

theorem _root_.ContinuousOn.prod_map_equivL {f : X → M₁ ≃L[��] M₂} {g : X → M₃ ≃L[��] M₄} {s : Set X}
    (hf : ContinuousOn (fun x => (f x : M₁ →L[��] M₂)) s)
    (hg : ContinuousOn (fun x => (g x : M₃ →L[��] M₄)) s) :
    ContinuousOn (fun x => ((f x).prodCongr (g x) : M₁ × M₃ →L[��] M₂ × M₄)) s :=
  hf.prod_mapL _ hg

end Prod

end ContinuousLinearMap

end SemiNormed

section Normed

namespace ContinuousLinearMap

section FirstSecond

variable (�� E F)

/-- The operator norm of the first projection `E × F → E` is exactly 1 if `E` is nontrivial. -/
@[simp] lemma norm_fst [NormedAddCommGroup E] [NormedSpace �� E]
    [SeminormedAddCommGroup F] [NormedSpace �� F] [Nontrivial E] :
    ‖fst �� E F‖ = 1 := by
  refine le_antisymm (norm_fst_le ..) ?_
  let ⟨e, he⟩ := exists_ne (0 : E)
  have : ‖e‖ ≤ _ * max ‖e‖ ‖(0 : F)‖ := (fst �� E F).le_opNorm (e, 0)
  rw [norm_zero, max_eq_left (norm_nonneg e)] at this
  rwa [← mul_le_mul_iff_of_pos_right (norm_pos_iff.mpr he), one_mul]

/-- The operator norm of the second projection `E × F → F` is exactly 1 if `F` is nontrivial. -/
@[simp] lemma norm_snd [SeminormedAddCommGroup E] [NormedSpace �� E]
    [NormedAddCommGroup F] [NormedSpace �� F] [Nontrivial F] :
    ‖snd �� E F‖ = 1 := by
  refine le_antisymm (norm_snd_le ..) ?_
  let ⟨f, hf⟩ := exists_ne (0 : F)
  have : ‖f‖ ≤ _ * max ‖(0 : E)‖ ‖f‖ := (snd �� E F).le_opNorm (0, f)
  rw [norm_zero, max_eq_right (norm_nonneg f)] at this
  rwa [← mul_le_mul_iff_of_pos_right (norm_pos_iff.mpr hf), one_mul]

end FirstSecond

end ContinuousLinearMap

end Normed

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

*© Formatika GbR, Deutschland