Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.LinearAlgebra.HessianSmooth | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| lemma second_fderiv_scalar_comp {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] | |
| {f : E → ℝ} {φ : ℝ → ℝ} {x : E} (hf : ContDiffAt ℝ 2 f x) | |
| (hφ : ContDiffAt ℝ 2 φ (f x)) (ξ : E) : | |
| fderiv ℝ (fderiv ℝ (fun h => φ (f h))) x ξ ξ = | |
| iteratedDeriv 2 φ (f x)*(fderiv ℝ f x ξ)^2+ | |
| deriv φ (f x)*fderiv ℝ (fderiv ℝ f) x ξ ξ := by | |
| let g := fun t : ℝ => f (x+t • ξ) | |
| have hg : ContDiffAt ℝ 2 g 0 := by | |
| change ContDiffAt ℝ 2 (f ∘ fun t : ℝ => x+t • ξ) 0 | |
| exact (show ContDiffAt ℝ 2 f (x+(0:ℝ) • ξ) from by simpa using hf).comp (0:ℝ) | |
| (contDiffAt_const.add (contDiffAt_id.smul contDiffAt_const)) | |
| have hg0 : g 0=f x := by simp [g] | |
| have hline : HasDerivAt (fun t : ℝ => x+t • ξ) ξ 0 := by | |
| convert! (hasDerivAt_const (0:ℝ) x).add ((hasDerivAt_id (0:ℝ)).smul_const ξ) using 1 | |
| simp | |
| have hd : deriv g 0=fderiv ℝ f x ξ := by | |
| simpa only [Function.comp_def,g,zero_smul,add_zero] using | |
| ((show HasFDerivAt f (fderiv ℝ f x) (x+(0:ℝ) • ξ) from by | |
| simpa only [zero_smul,add_zero] using (hf.differentiableAt (by norm_num)).hasFDerivAt).comp_hasDerivAt (0:ℝ) hline).deriv | |
| have H := iteratedDeriv_comp_two (show ContDiffAt ℝ 2 φ (g 0) from hg0.symm ▸ hφ) hg | |
| rw [hg0,hd,show iteratedDeriv 2 g 0=fderiv ℝ (fderiv ℝ f) x ξ ξ from | |
| iteratedDeriv_two_affine_line hf ξ] at H | |
| change fderiv ℝ (fderiv ℝ (φ ∘ f)) x ξ ξ = _ | |
| rw [←iteratedDeriv_two_affine_line (hφ.comp x hf) ξ] | |
| exact H | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 1.79 kB
- Xet hash:
- 55ad92d05862132e1f7b4aee03bc2fcd43be793116e517ca7a6f9314a02accb7
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.