roseking's picture
Add lean source and binary files (part 71)
2fca478 verified
Raw History Blame Contribute Delete
5.46 kB
20
def cdir (v : E) (f : E → ℂ) (x : E) : ℂ := fderiv ℝ f x v
23
lemma cdir_smooth (v : E) {f : E → ℂ} (hf : ContDiff ℝ ∞ f) : ContDiff ℝ ∞ (cdir v f) :=
proof · 1 line
  (hf.fderiv_right (by simp)).clm_apply contDiff_const
27
lemma cdir_compact (v : E) {f : E → ℂ} (hf : HasCompactSupport f) :
    HasCompactSupport (cdir v f) :=
proof · 1 line
  (hf.fderiv ℝ).comp_left (g:=fun L : E →L[ℝ] ℂ => L v) (by simp)
31
def cjet (e : ι → E) (f : E → ℂ) : {j : ℕ} → (Fin j → ι) → E → ℂ
body · 2 lines
  | 0,_ => f
  | _j+1,w => cdir (e (w 0)) (cjet e f (w ∘ Fin.succ))
37
lemma cjet_smooth (e : ι → E) {f : E → ℂ} (hf : ContDiff ℝ ∞ f)
    {j : ℕ} (w : Fin j → ι) : ContDiff ℝ ∞ (cjet e f w) := by
proof · 3 lines
  induction j with
  | zero => exact hf
  | succ j ih => exact cdir_smooth _ (ih _)
45
lemma cjet_compact (e : ι → E) {f : E → ℂ} (hf : HasCompactSupport f)
    {j : ℕ} (w : Fin j → ι) : HasCompactSupport (cjet e f w) := by
proof · 3 lines
  induction j with
  | zero => exact hf
  | succ j ih => exact cdir_compact _ (ih _)
53
lemma cjet_real_map (e : ι → E) {f : E → ℂ} (hf : ContDiff ℝ ∞ f)
    (L : ℂ →L[ℝ] ℝ) {j : ℕ} (w : Fin j → ι) :
    jet e (fun x => L (f x)) w = fun x => L (cjet e f w x) := by
proof · 8 lines
  induction j with
  | zero => rfl
  | succ j ih =>
    simp only [jet,cjet,ih]
    funext x
    dsimp only [dir,cdir]
    exact congrArg (fun T : E →L[ℝ] ℝ => T (e (w 0)))
      (L.hasFDerivAt.comp x ((cjet_smooth e hf _).differentiable (by simp) x).hasFDerivAt).fderiv
65
def realComponents (f : κ → E → ℂ) : κ × Bool → E → ℝ :=
body · 1 line
  fun a x => if a.2 then (f a.1 x).im else (f a.1 x).re
70
lemma realComponents_smooth (f : κ → E → ℂ) (hf : ∀ a, ContDiff ℝ ∞ (f a))
    (a : κ × Bool) : ContDiff ℝ ∞ (realComponents f a) := by
proof · 3 lines
  rcases a with ⟨a,b⟩; cases b
  · exact Complex.reCLM.contDiff.comp (hf a)
  · exact Complex.imCLM.contDiff.comp (hf a)
78
lemma realComponents_compact (f : κ → E → ℂ) (hf : ∀ a, HasCompactSupport (f a))
    (a : κ × Bool) : HasCompactSupport (realComponents f a) := by
proof · 3 lines
  rcases a with ⟨a,b⟩; cases b
  · exact (hf a).comp_left (g:=Complex.re) rfl
  · exact (hf a).comp_left (g:=Complex.im) rfl
84
lemma lpNorm_complex_le (f : E → ℂ) {p : ℝ≥0∞} (hp : 1 ≤ p)
    (hr : MemLp (fun x => (f x).re) p volume) (hi : MemLp (fun x => (f x).im) p volume) :
    lpNorm f p volume ≤ lpNorm (fun x => (f x).re) p volume + lpNorm (fun x => (f x).im) p volume := by
proof · 4 lines
  have hh := lpNorm_mono_real (hr.norm.add hi.norm) (f:=f)
    (fun x => by simpa only [Real.norm_eq_abs,Pi.add_apply] using Complex.norm_le_abs_re_add_abs_im (f x))
  apply hh.trans
  simpa only [lpNorm_norm hr.aestronglyMeasurable,lpNorm_norm hi.aestronglyMeasurable] using lpNorm_add_le hr.norm (g:=fun x => ‖(f x).im‖) hp
92
lemma cjet_lpNorm_le (e : ι → E) (f : κ → E → ℂ)
    (hf : ∀ a, ContDiff ℝ ∞ (f a)) (hc : ∀ a, HasCompactSupport (f a))
    (a : κ) {j : ℕ} (w : Fin j → ι) {p : ℝ≥0∞} (hp : 1 ≤ p) :
    lpNorm (cjet e (f a) w) p volume ≤ 2*familyJetNorm e (realComponents f) j p := by
proof · 14 lines
  have hr : ContDiff ℝ ∞ (fun x => (cjet e (f a) w x).re) := Complex.reCLM.contDiff.comp (cjet_smooth e (hf a) w)
  have hi : ContDiff ℝ ∞ (fun x => (cjet e (f a) w x).im) := Complex.imCLM.contDiff.comp (cjet_smooth e (hf a) w)
  have hcr := (cjet_compact e (hc a) w).comp_left (g:=Complex.re) rfl
  have hci := (cjet_compact e (hc a) w).comp_left (g:=Complex.im) rfl
  have hl := lpNorm_complex_le _ hp (hr.continuous.memLp_of_hasCompactSupport hcr) (hi.continuous.memLp_of_hasCompactSupport hci)
  have h1 := (lpNorm_jet_le e (realComponents f (a,false)) w p).trans (jetNorm_le_family e (realComponents f) (a,false) j p)
  have h2 := (lpNorm_jet_le e (realComponents f (a,true)) w p).trans (jetNorm_le_family e (realComponents f) (a,true) j p)
  change lpNorm (jet e (fun x => Complex.reCLM (f a x)) w) p volume ≤ _ at h1
  change lpNorm (jet e (fun x => Complex.imCLM (f a x)) w) p volume ≤ _ at h2
  rw [cjet_real_map e (hf a) Complex.reCLM] at h1
  rw [cjet_real_map e (hf a) Complex.imCLM] at h2
  change lpNorm (fun x => (cjet e (f a) w x).re) p volume ≤ _ at h1
  change lpNorm (fun x => (cjet e (f a) w x).im) p volume ≤ _ at h2
  linarith only [hl,h1,h2]