File size: 5,240 Bytes
4a56cd6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
import OAI.Analysis.Calculus.SmoothExtension.HalfspaceSeries
import OAI.Analysis.Calculus.FiniteExtension.Halfspace.Extension.Local
import Mathlib.Analysis.Calculus.BumpFunction.InnerProduct

/-! A genuine smooth extension, with a single function valid at all orders. -/
noncomputable section
open Set Metric
open scoped ContDiff Topology
namespace OAI.Analysis.Calculus.SmoothExtension

open OAI.Analysis.Calculus.FiniteExtension OAI.Analysis.PDE.Schauder

variable {E F : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E]
  [FiniteDimensional ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] [CompleteSpace F]

omit [CompleteSpace F] in
theorem exists_compact_finite_halfspace_extension {N : β„•}
    (β„“ : E β†’L[ℝ] ℝ) (Ξ½ : E) (hΞ½ : β„“ Ξ½ = 1) (f : E β†’ F)
    (hf : ContDiffOn ℝ N f {x | 0 ≀ β„“ x}) (hc : HasCompactSupport f) :
    βˆƒ g : E β†’ F, ContDiff ℝ N g ∧ HasCompactSupport g ∧ EqOn g f {x | 0 ≀ β„“ x} := by
  obtain ⟨g,hg,heq⟩ := OAI.Analysis.Calculus.FiniteExtension.exists_contDiff_extension_of_contDiffOn_halfspace β„“ Ξ½ hΞ½ f hf
  obtain ⟨R,hR,hbound⟩ := hc.isBounded.exists_pos_norm_le
  let θ : ContDiffBump (0:E) := ⟨R,R+1,hR,by linarith⟩
  refine ⟨fun x => ΞΈ x β€’ g x, ΞΈ.contDiff.smul hg, ΞΈ.hasCompactSupport.smul_right, ?_⟩
  intro x hx
  dsimp only
  rw [heq hx]
  by_cases hfx : f x = 0
  Β· simp [hfx]
  Β· rw [ΞΈ.one_of_mem_closedBall]
    Β· simp
    Β· change dist x 0 ≀ R
      rw [dist_zero_right]
      exact hbound x (subset_tsupport _ (Function.mem_support.mpr hfx))

omit [FiniteDimensional ℝ E] [CompleteSpace F] in
theorem seeleyExtension_congr_on_halfspace (β„“ : E β†’L[ℝ] ℝ) (Ξ½ : E) (hΞ½ : β„“ Ξ½ = 1)
    (f g : E β†’ F) (heq : EqOn f g {x | 0 ≀ β„“ x}) :
    OAI.Analysis.PDE.Schauder.levelGlue β„“ f (seeleyReflection β„“ Ξ½ f) = OAI.Analysis.PDE.Schauder.levelGlue β„“ g (seeleyReflection β„“ Ξ½ g) := by
  funext x
  by_cases hx : 0 ≀ β„“ x
  Β· simp only [OAI.Analysis.PDE.Schauder.levelGlue,ite_eq_left hx,heq hx]
  Β· simp only [OAI.Analysis.PDE.Schauder.levelGlue,ite_eq_right hx,seeleyReflection]
    apply tsum_congr
    intro i
    rw [heq]
    rw [Set.mem_ofPred_eq,OAI.Analysis.Calculus.FiniteExtension.reflectionLinear_normal β„“ Ξ½ hΞ½]
    exact mul_nonneg_of_nonpos_of_nonpos ((seeleyNode_le_neg_one i).trans (by norm_num))
      (le_of_not_ge hx)

omit [FiniteDimensional ℝ E] in
/-- One and the same Seeley extension is smooth to all orders.  The hypotheses
provide actual finite-order compact extensions, not a pre-assumed smooth one. -/
theorem seeleyExtension_contDiff_infty_of_finite_extensions
    (β„“ : E β†’L[ℝ] ℝ) (Ξ½ : E) (hΞ½ : β„“ Ξ½ = 1) (f : E β†’ F)
    (hf : βˆ€ N : β„•, βˆƒ g : E β†’ F,
      ContDiff ℝ N g ∧ HasCompactSupport g ∧ EqOn g f {x | 0 ≀ β„“ x}) :
    ContDiff ℝ ∞ (OAI.Analysis.PDE.Schauder.levelGlue β„“ f (seeleyReflection β„“ Ξ½ f)) := by
  rw [contDiff_infty]
  intro N
  obtain ⟨g,hg,hgc,hgf⟩ := hf N
  rw [seeleyExtension_congr_on_halfspace β„“ Ξ½ hΞ½ f g hgf.symm]
  exact seeleyExtension_contDiff_of_compact β„“ Ξ½ hg hgc

theorem exists_smooth_compact_data_halfspace_extension
    (β„“ : E β†’L[ℝ] ℝ) (Ξ½ : E) (hΞ½ : β„“ Ξ½ = 1) (f : E β†’ F)
    (hf : ContDiffOn ℝ ∞ f {x | 0 ≀ β„“ x}) (hc : HasCompactSupport f) :
    βˆƒ g : E β†’ F, ContDiff ℝ ∞ g ∧ EqOn g f {x | 0 ≀ β„“ x} := by
  refine ⟨OAI.Analysis.PDE.Schauder.levelGlue β„“ f (seeleyReflection β„“ Ξ½ f), ?_, ?_⟩
  Β· apply seeleyExtension_contDiff_infty_of_finite_extensions β„“ Ξ½ hΞ½ f
    intro N
    exact exists_compact_finite_halfspace_extension β„“ Ξ½ hΞ½ f
      (hf.of_le (by exact_mod_cast (show (N:β„•βˆž) ≀ ⊀ from le_top))) hc
  Β· intro x hx
    exact ite_eq_left hx

/-- A single globally C∞ function agrees with the given one-sided smooth
function on a fixed smaller half-ball.  The neighborhood is independent of
the derivative order. -/
theorem exists_smooth_extension_of_halfball
    (β„“ : E β†’L[ℝ] ℝ) (Ξ½ : E) (hΞ½ : β„“ Ξ½ = 1) (f : E β†’ F)
    (R : ℝ) (hR : 0 < R)
    (hf : ContDiffOn ℝ ∞ f (ball 0 R ∩ {x | 0 ≀ β„“ x})) :
    βˆƒ g : E β†’ F, ContDiff ℝ ∞ g ∧
      EqOn g f (ball 0 (R/4) ∩ {x | 0 ≀ β„“ x}) := by
  let η : ContDiffBump (0:E) := ⟨R/4,R/2,by positivity,by linarith⟩
  have hs : tsupport (Ξ· : E β†’ ℝ) βŠ† ball 0 R := by
    rw [Ξ·.tsupport_eq]
    exact closedBall_subset_ball (by dsimp [Ξ·]; linarith)
  have hlocal : ContDiffOn ℝ ∞ (fun x => Ξ· x β€’ f x) {x | 0 ≀ β„“ x} := by
    rw [contDiffOn_infty]
    intro N
    have hfn : ContDiffOn ℝ N f ({x | 0 ≀ β„“ x} ∩ ball 0 R) := by
      simpa only [inter_comm] using
        (hf.of_le (show (N:β„•βˆžΟ‰) ≀ ∞ by exact_mod_cast (show (N:β„•βˆž) ≀ ⊀ from le_top)))
    exact OAI.Analysis.Calculus.FiniteExtension.contDiffOn_cutoff_smul isOpen_ball f hfn (Ξ· : E β†’ ℝ) Ξ·.contDiff hs
  obtain ⟨g,hg,heq⟩ := exists_smooth_compact_data_halfspace_extension β„“ Ξ½ hΞ½
    (fun x => Ξ· x β€’ f x) hlocal Ξ·.hasCompactSupport.smul_right
  refine ⟨g,hg,?_⟩
  intro x hx
  rw [heq hx.2]
  dsimp only
  rw [Ξ·.one_of_mem_closedBall (ball_subset_closedBall hx.1),one_smul]

end OAI.Analysis.Calculus.SmoothExtension