math / data /lean /OAI /MathematicalPhysics /DefocusingNLS /Spectrum /SpectralC1IntervalExtension.lean
Download data/lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralC1IntervalExtension.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.01 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralC1IntervalExtension.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralC1IntervalExtension.lean
-
curl -L -o SpectralC1IntervalExtension.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/MathematicalPhysics/DefocusingNLS/Spectrum/SpectralC1IntervalExtension.lean
2.01 kB
| import Mathlib.Analysis.Calculus.ContDiff.Deriv | |
| import Mathlib.MeasureTheory.Integral.IntervalIntegral.FundThmCalculus | |
| namespace OAI | |
| /-! A C1 extension of classical radial data from the closed integration interval. -/ | |
| open Set | |
| open scoped ContDiff | |
| namespace DefocusingNLS | |
| theorem spectralC1IntervalExtension (f : β β β) (R : β) (hR : 0 β€ R) | |
| (hf : β r β Icc 0 R, DifferentiableAt β f r) | |
| (hd : ContinuousOn (deriv f) (Icc 0 R)) : | |
| β F : β β β, ContDiff β 1 F β§ EqOn F f (Icc 0 R) := by | |
| let c := fun r : β => max 0 (min R r) | |
| have hc (r : β) : c r β Icc 0 R := by | |
| exact β¨le_max_left _ _,max_le hR (min_le_left _ _)β© | |
| have hce (r : β) (hr : r β Icc 0 R) : c r=r := by | |
| simp only [c,min_eq_right hr.2,max_eq_right hr.1] | |
| let d := fun r => deriv f (c r) | |
| have hdc : Continuous d := hd.comp_continuous | |
| (continuous_const.max (continuous_const.min continuous_id)) hc | |
| let F := fun r => f 0+β« x in (0 : β)..r, d x | |
| have hF (r : β) : HasDerivAt F (d r) r := | |
| (intervalIntegral.integral_hasDerivAt_right (hdc.intervalIntegrable 0 r) | |
| hdc.aestronglyMeasurable.stronglyMeasurableAtFilter hdc.continuousAt).const_add (f 0) | |
| have hFd : deriv F=d := funext (fun r => (hF r).deriv) | |
| refine β¨F,contDiff_one_iff_deriv.mpr | |
| β¨fun r => (hF r).differentiableAt,by simpa only [hFd] using hdcβ©,fun r hr => ?_β© | |
| have hi : (β« x in (0 : β)..r, d x)=β« x in (0 : β)..r, deriv f x := by | |
| apply intervalIntegral.integral_congr_Ioo_of_le hr.1 | |
| intro x hx | |
| exact congrArg (deriv f) (hce x β¨hx.1.le,hx.2.le.trans hr.2β©) | |
| have hj : (β« x in (0 : β)..r, deriv f x)=f r-f 0 := by | |
| apply intervalIntegral.integral_eq_sub_of_hasDerivAt | |
| Β· intro x hx | |
| rw [uIcc_of_le hr.1] at hx | |
| exact (hf x β¨hx.1,hx.2.trans hr.2β©).hasDerivAt | |
| Β· exact (hd.mono (Icc_subset_Icc_right hr.2)).intervalIntegrable_of_Icc hr.1 | |
| change f 0+(β« x in (0 : β)..r, d x)=f r | |
| rw [hi,hj] | |
| abel | |
| end DefocusingNLS | |
| end OAI | |