Download data/lean/OAI/Analysis/Calculus/Quaternion/CompactSmooth.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 3.65 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Quaternion/CompactSmooth.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/Quaternion/CompactSmooth.lean
-
curl -L -o CompactSmooth.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Quaternion/CompactSmooth.lean
3.65 kB
| import OAI.Analysis.Calculus.Quaternion.CompactAverage | |
| /-! Smoothness of finite compact averages of translates on an invariant open set. -/ | |
| noncomputable section | |
| namespace OAI.Analysis.Calculus.Quaternion | |
| open _root_.MeasureTheory | |
| open scoped ContDiff Topology | |
| universe u v | |
| variable {E F : Type u} {Ξ± : Type v} | |
| [NormedAddCommGroup E] [NormedSpace β E] [ProperSpace E] | |
| [NormedAddCommGroup F] [NormedSpace β F] [CompleteSpace F] | |
| [TopologicalSpace Ξ±] [CompactSpace Ξ±] [T2Space Ξ±] [SecondCountableTopology Ξ±] | |
| [MeasurableSpace Ξ±] [BorelSpace Ξ±] {ΞΌ : Measure Ξ±} [IsFiniteMeasure ΞΌ] | |
| omit [CompleteSpace F] in | |
| theorem hasFDerivAt_integral_translate {O : Set E} (ho : IsOpen O) | |
| (f : E β F) (hf : ContDiffOn β β f O) | |
| (s : Ξ± β E) (hs : Continuous s) (hO : β x β O, β t, x + s t β O) | |
| {x : E} (hx : x β O) : | |
| HasFDerivAt (fun y => β« t, f (y + s t) βΞΌ) | |
| (β« t, fderiv β f (x + s t) βΞΌ) x := by | |
| have hft (y : E) (hy : y β O) (t : Ξ±) : | |
| HasFDerivAt (fun z => f (z + s t)) (fderiv β f (y + s t)) y := by | |
| have hd := (hf.differentiableOn (by simp) _ (hO y hy t)).differentiableAt | |
| (ho.mem_nhds (hO y hy t)) | |
| simpa only [ContinuousLinearMap.comp_id, Function.comp_def, id_eq] using | |
| hd.hasFDerivAt.comp y ((hasFDerivAt_id y).add_const (s t)) | |
| have hcont : ContinuousOn (fun p : E Γ Ξ± => f (p.1 + s p.2)) (O ΓΛ’ Set.univ) := | |
| hf.continuousOn.comp (continuous_fst.add (hs.comp continuous_snd)).continuousOn | |
| (fun p hp => hO p.1 hp.1 p.2) | |
| have hdcont : ContinuousOn (fun p : E Γ Ξ± => | |
| fderiv β (fun z => f (z + s p.2)) p.1) (O ΓΛ’ Set.univ) := by | |
| apply ((hf.continuousOn_fderiv_of_isOpen ho (by simp)).comp | |
| (continuous_fst.add (hs.comp continuous_snd)).continuousOn | |
| (fun p hp => hO p.1 hp.1 p.2)).congr | |
| intro p hp | |
| exact (hft p.1 hp.1 p.2).fderiv | |
| have h := hasFDerivAt_integral_compact ho (fun y t => f (y + s t)) hx hcont hdcont | |
| (fun y hy t => (hft y hy t).differentiableAt) (ΞΌ := ΞΌ) | |
| have he : (fun t => fderiv β (fun y => f (y + s t)) x) = | |
| (fun t => fderiv β f (x + s t)) := funext fun t => (hft x hx t).fderiv | |
| rw [he] at h | |
| exact h | |
| theorem contDiffOn_integral_translate_nat (n : β) {O : Set E} (ho : IsOpen O) | |
| (f : E β F) (hf : ContDiffOn β β f O) | |
| (s : Ξ± β E) (hs : Continuous s) (hO : β x β O, β t, x + s t β O) : | |
| ContDiffOn β n (fun y => β« t, f (y + s t) βΞΌ) O := by | |
| induction n generalizing F with | |
| | zero => | |
| apply contDiffOn_zero.mpr | |
| intro x hx | |
| exact (hasFDerivAt_integral_translate ho f hf s hs hO hx).continuousAt.continuousWithinAt | |
| | succ n ih => | |
| have hd : DifferentiableOn β (fun y => β« t, f (y + s t) βΞΌ) O := | |
| fun x hx => (hasFDerivAt_integral_translate ho f hf s hs hO hx).differentiableAt.differentiableWithinAt | |
| have hdf : ContDiffOn β β (fderiv β f) O := | |
| (contDiffOn_infty_iff_fderiv_of_isOpen ho).mp hf |>.2 | |
| have hid := ih (fderiv β f) hdf | |
| rw [show ((n + 1 : β) : ββΟ) = (n : ββΟ) + 1 by simp, | |
| contDiffOn_succ_iff_fderiv_of_isOpen ho] | |
| refine β¨hd, by simp, ?_β© | |
| apply hid.congr | |
| intro x hx | |
| exact (hasFDerivAt_integral_translate ho f hf s hs hO hx).fderiv | |
| theorem contDiffOn_integral_translate {O : Set E} (ho : IsOpen O) | |
| (f : E β F) (hf : ContDiffOn β β f O) | |
| (s : Ξ± β E) (hs : Continuous s) (hO : β x β O, β t, x + s t β O) : | |
| ContDiffOn β β (fun y => β« t, f (y + s t) βΞΌ) O := by | |
| rw [contDiffOn_infty] | |
| intro n | |
| exact contDiffOn_integral_translate_nat n ho f hf s hs hO | |
| end OAI.Analysis.Calculus.Quaternion | |