Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  Tietze.lean   Sprache: Lean

 

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

module

public import Mathlib.Analysis.Complex.Basic
public import Mathlib.Analysis.RCLike.Lemmas
public import Mathlib.Topology.TietzeExtension

import Mathlib.Analysis.Normed.Module.Ball.Homeomorph

/-!
# Finite-dimensional topological vector spaces over `ℝ` satisfy the Tietze extension property

There are two main results here:

- `RCLike.instTietzeExtensionTVS`: finite-dimensional topological vector spaces over `ℝ` (or `ℂ`)
  have the Tietze extension property.
- `BoundedContinuousFunction.exists_norm_eq_domRestrict_eq`: when mapping into a finite-dimensional
  normed vector space over `ℝ` (or `ℂ`), the extension can be chosen to preserve the norm of the
  bounded continuous function it extends.
-/


public section

universe u u₁ v w

-- this is not an instance because Lean cannot determine `��`.
theorem TietzeExtension.of_tvs (�� : Type v) [NontriviallyNormedField ��] {E : Type w}
    [AddCommGroup E] [Module �� E] [TopologicalSpace E] [IsTopologicalAddGroup E]
    [ContinuousSMul �� E] [T2Space E] [FiniteDimensional �� E] [CompleteSpace ��]
    [TietzeExtension.{u, v} ��] : TietzeExtension.{u, w} E :=
  Module.Basis.ofVectorSpace �� E |>.equivFun.toContinuousLinearEquiv.toHomeomorph |> .of_homeo

instance Complex.instTietzeExtension : TietzeExtension ℂ :=
  TietzeExtension.of_tvs ℝ

instance (priority := 900) RCLike.instTietzeExtension {�� : Type*} [RCLike ��] :
    TietzeExtension �� := TietzeExtension.of_tvs ℝ

instance RCLike.instTietzeExtensionTVS {�� : Type v} [RCLike ��] {E : Type w}
    [AddCommGroup E] [Module �� E] [TopologicalSpace E] [IsTopologicalAddGroup E]
    [ContinuousSMul �� E] [T2Space E] [FiniteDimensional �� E] :
    TietzeExtension.{u, w} E :=
  TietzeExtension.of_tvs ��

instance Set.instTietzeExtensionUnitBall {�� : Type v} [RCLike ��] {E : Type w}
    [NormedAddCommGroup E] [NormedSpace �� E] [FiniteDimensional �� E] :
    TietzeExtension.{u, w} (Metric.ball (0 : E) 1) :=
  have : NormedSpace ℝ E := NormedSpace.restrictScalars ℝ �� E
  .of_homeo Homeomorph.unitBall.symm

instance Set.instTietzeExtensionUnitClosedBall {�� : Type v} [RCLike ��] {E : Type w}
    [NormedAddCommGroup E] [NormedSpace �� E] [FiniteDimensional �� E] :
    TietzeExtension.{u, w} (Metric.closedBall (0 : E) 1) := by
  have : NormedSpace ℝ E := NormedSpace.restrictScalars ℝ �� E
  have : IsScalarTower ℝ �� E := Real.isScalarTower
  -- I didn't find this retract in Mathlib.
  let g : E → E := fun x ↦ ‖x‖⁻¹ • x
  classical
  suffices this : Continuous (piecewise (Metric.closedBall 0 1) id g) by
    refine .of_retract ⟨Subtype.val, by fun_prop⟩ ⟨_, this.codRestrict fun x ↦ ?_⟩ ?_
    · by_cases hx : x ∈ Metric.closedBall 0 1
      · simpa [piecewise_eq_of_mem (hi := hx)] using hx
      · simp only [g, piecewise_eq_of_notMem (hi := hx), RCLike.real_smul_eq_coe_smul (K := ��)]
        by_cases hx' : x = 0 <;> simp [hx']
    · ext x
      simp
  refine continuous_piecewise (fun x hx ↦ ?_) continuousOn_id ?_
  · replace hx : ‖x‖ = 1 := by simpa [frontier_closedBall (0 : E) one_ne_zero] using hx
    simp [g, hx]
  · refine continuousOn_id.norm.inv₀ ?_ |>.smul continuousOn_id
    simp only [closure_compl, interior_closedBall (0 : E) one_ne_zero, mem_compl_iff,
      Metric.mem_ball, dist_zero_right, not_lt, id_eq, ne_eq, norm_eq_zero]
    exact fun x hx ↦ norm_pos_iff.mp <| one_pos.trans_le hx

theorem Metric.instTietzeExtensionBall {�� : Type v} [RCLike ��] {E : Type w}
    [NormedAddCommGroup E] [NormedSpace �� E] [FiniteDimensional �� E] {r : ℝ} (hr : 0 < r) :
    TietzeExtension.{u, w} (Metric.ball (0 : E) r) :=
  have : NormedSpace ℝ E := NormedSpace.restrictScalars ℝ �� E
  .of_homeo <| show (Metric.ball (0 : E) r) ≃ₜ (Metric.ball (0 : E) 1) from
    OpenPartialHomeomorph.unitBallBall (0 : E) r hr |>.toHomeomorphSourceTarget.symm

theorem Metric.instTietzeExtensionClosedBall (�� : Type v) [RCLike ��] {E : Type w}
    [NormedAddCommGroup E] [NormedSpace �� E] [FiniteDimensional �� E] (y : E) {r : ℝ} (hr : 0 < r) :
    TietzeExtension.{u, w} (Metric.closedBall y r) :=
  .of_homeo (Z := Metric.closedBall (0 : E) 1) <| by
    symm
    apply (DilationEquiv.smulTorsor y (k := (r : ��)) <| mod_cast hr.ne').toHomeomorph.sets
    ext x
    simp only [mem_closedBall, dist_zero_right, DilationEquiv.coe_toHomeomorph, Set.mem_preimage,
      DilationEquiv.smulTorsor_apply, vadd_eq_add, dist_add_self_left, norm_smul,
      RCLike.norm_ofReal, abs_of_nonneg hr.le]
    exact (mul_le_iff_le_one_right hr).symm

instance unitInterval.instTietzeExtension : TietzeExtension unitInterval := by
  rw [unitInterval.eq_closedBall]
  exact Metric.instTietzeExtensionClosedBall ℝ _ (by simp)

variable {X : Type u} [TopologicalSpace X] [NormalSpace X] {s : Set X} (hs : IsClosed s)
variable (�� : Type v) [RCLike ��]
variable {E : Type w} [NormedAddCommGroup E] [NormedSpace �� E] [FiniteDimensional �� E]

namespace BoundedContinuousFunction

include �� hs in
/-- **Tietze extension theorem** for real-valued bounded continuous maps, a version with a closed
embedding and bundled composition. If `e : C(X, Y)` is a closed embedding of a topological space
into a normal topological space and `f : X →ᵇ ℝ` is a bounded continuous function, then there exists
a bounded continuous function `g : Y →ᵇ ℝ` of the same norm such that `g ∘ e = f`. -/

theorem exists_norm_eq_domRestrict_eq (f : s →ᵇ E) :
    ∃ g : X →ᵇ E, ‖g‖ = ‖f‖ ∧ g.domRestrict s = f := by
  by_cases hf : ‖f‖ = 0; · exact ⟨0, by aesop⟩
  have := Metric.instTietzeExtensionClosedBall.{u, v} �� (0 : E) (by simp_all : 0 < ‖f‖)
  have hf' x : f x ∈ Metric.closedBall 0 ‖f‖ := by simpa using! f.norm_coe_le_norm x
  obtain ⟨g, hg_mem, hg⟩ := (f : C(s, E)).exists_forall_mem_restrict_eq hs hf'
  simp only [Metric.mem_closedBall, dist_zero_right] at hg_mem
  let g' : X →ᵇ E := .ofNormedAddCommGroup g (map_continuous g) ‖f‖ hg_mem
  refine ⟨g', ?_, by ext x; congrm($(hg) x)⟩
  apply le_antisymm ((g'.norm_le <| by positivity).mpr hg_mem)
  refine (f.norm_le <| by positivity).mpr fun x ↦ ?_
  have hx : f x = g' x := by simpa using! congr($hg x).symm
  rw [hx]
  exact g'.norm_le (norm_nonneg g') |>.mp le_rfl x

@[deprecated (since := "2026-07-19")]
alias exists_norm_eq_restrict_eq := exists_norm_eq_domRestrict_eq

end BoundedContinuousFunction

Messung
CHZG
9310010097

¤ Dauer der Verarbeitung: 0.5 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,188,115
#Domains=863,595