Download data/lean/OAI/Analysis/Calculus/Coefficients/Basic.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.99 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Coefficients/Basic.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/Calculus/Coefficients/Basic.lean
-
curl -L -o Basic.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/Calculus/Coefficients/Basic.lean
4.99 kB
| import OAI.Analysis.PDE.Dirichlet.HolderApprox | |
| open Set Filter _root_.MeasureTheory | |
| open scoped Topology ContDiff Convolution | |
| noncomputable section | |
| namespace OAI.Analysis.Calculus.Coefficients | |
| open OAI.Analysis.PDE.Schauder OAI.Analysis.Normed.Function.Holder | |
| variable {m : β} {F : Type*} [NormedAddCommGroup F] [NormedSpace β F] [CompleteSpace F] | |
| /-- Positive scalar mollification of a Banach-valued field. -/ | |
| def smoothField (Ο : ContDiffBump (0 : EuclideanSpace β (Fin m))) | |
| (f : EuclideanSpace β (Fin m) β F) : EuclideanSpace β (Fin m) β F := | |
| (Ο.normed volume) β[ContinuousLinearMap.lsmul β β, volume] f | |
| omit [CompleteSpace F] in | |
| theorem smoothField_eq_integral (Ο : ContDiffBump (0 : EuclideanSpace β (Fin m))) | |
| (f : EuclideanSpace β (Fin m) β F) (x : EuclideanSpace β (Fin m)) : | |
| smoothField Ο f x = β« y, Ο.normed volume y β’ f (x-y) := rfl | |
| omit [CompleteSpace F] in | |
| theorem integrable_smoothField (Ο : ContDiffBump (0 : EuclideanSpace β (Fin m))) | |
| (f : EuclideanSpace β (Fin m) β F) (hf : Continuous f) (x : EuclideanSpace β (Fin m)) : | |
| Integrable (fun y β¦ Ο.normed volume y β’ f (x-y)) := | |
| Ο.hasCompactSupport_normed.convolutionExists_left (ContinuousLinearMap.lsmul β β) | |
| Ο.continuous_normed hf.locallyIntegrable x | |
| omit [CompleteSpace F] in | |
| theorem contDiff_smoothField (Ο : ContDiffBump (0 : EuclideanSpace β (Fin m))) | |
| (f : EuclideanSpace β (Fin m) β F) (hf : Continuous f) : | |
| ContDiff β β (smoothField Ο f) := | |
| Ο.hasCompactSupport_normed.contDiff_convolution_left (ContinuousLinearMap.lsmul β β) | |
| Ο.contDiff_normed hf.locallyIntegrable | |
| omit [CompleteSpace F] in | |
| theorem smoothField_uniform_bound (Ο : ContDiffBump (0 : EuclideanSpace β (Fin m))) | |
| (f : EuclideanSpace β (Fin m) β F) {B : β} (hf : β x, βf xβ β€ B) | |
| (x : EuclideanSpace β (Fin m)) : βsmoothField Ο f xβ β€ B := by | |
| rw [smoothField_eq_integral] | |
| have h := norm_integral_le_of_norm_le (Ο.integrable_normed.mul_const B) | |
| (Eventually.of_forall fun y β¦ show βΟ.normed volume y β’ f (x-y)β β€ Ο.normed volume y * B from by | |
| rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg (Ο.nonneg_normed y)] | |
| exact mul_le_mul_of_nonneg_left (hf _) (Ο.nonneg_normed y)) | |
| simpa only [integral_mul_const,Ο.integral_normed,one_mul] using h | |
| omit [CompleteSpace F] in | |
| theorem smoothField_holder (Ο : ContDiffBump (0 : EuclideanSpace β (Fin m))) | |
| (f : EuclideanSpace β (Fin m) β F) (hf : Continuous f) {H Ξ± : β} | |
| (hh : β x y, βf x-f yβ β€ H*βx-yβ^Ξ±) (x z : EuclideanSpace β (Fin m)) : | |
| βsmoothField Ο f x-smoothField Ο f zβ β€ H*βx-zβ^Ξ± := by | |
| rw [smoothField_eq_integral,smoothField_eq_integral, | |
| βintegral_sub (integrable_smoothField Ο f hf x) (integrable_smoothField Ο f hf z)] | |
| have hbound : βα΅ y, βΟ.normed volume y β’ f (x-y)-Ο.normed volume y β’ f (z-y)β β€ | |
| Ο.normed volume y*(H*βx-zβ^Ξ±) := by | |
| filter_upwards with y | |
| rw [βsmul_sub,norm_smul,Real.norm_eq_abs,abs_of_nonneg (Ο.nonneg_normed y)] | |
| apply mul_le_mul_of_nonneg_left _ (Ο.nonneg_normed y) | |
| have he : x-y-(z-y)=x-z := by abel | |
| simpa only [he] using hh (x-y) (z-y) | |
| have hb := norm_integral_le_of_norm_le (Ο.integrable_normed.mul_const (H*βx-zβ^Ξ±)) hbound | |
| simpa only [integral_mul_const,Ο.integral_normed,one_mul] using hb | |
| theorem smoothField_error (Ο : ContDiffBump (0 : EuclideanSpace β (Fin m))) | |
| (f : EuclideanSpace β (Fin m) β F) (hf : Continuous f) {H Ξ± : β} | |
| (hH : 0 β€ H) (hΞ± : 0 β€ Ξ±) (hh : β x y, βf x-f yβ β€ H*βx-yβ^Ξ±) | |
| (x : EuclideanSpace β (Fin m)) : | |
| βsmoothField Ο f x-f xβ β€ H*Ο.rOut^Ξ± := by | |
| have h := Ο.dist_normed_convolution_le (ΞΌ := volume) hf.aestronglyMeasurable | |
| (xβ := x) (Ξ΅ := H*Ο.rOut^Ξ±) (fun y hy β¦ ?_) | |
| Β· simpa only [smoothField,dist_eq_norm] using h | |
| Β· rw [dist_eq_norm] | |
| exact (hh y x).trans (mul_le_mul_of_nonneg_left | |
| (Real.rpow_le_rpow (norm_nonneg _) (by simpa only [Metric.mem_ball,dist_eq_norm] using hy.le) hΞ±) hH) | |
| theorem smoothField_tendstoUniformly | |
| (f : EuclideanSpace β (Fin m) β F) (hf : Continuous f) {H Ξ± : β} | |
| (hH : 0 β€ H) (hΞ± : 0 < Ξ±) (hh : β x y, βf x-f yβ β€ H*βx-yβ^Ξ±) : | |
| TendstoUniformly (fun j β¦ smoothField (OAI.Analysis.PDE.Schauder.standardMollifier m j) f) f atTop := by | |
| have ht : Tendsto (fun j β¦ H*(OAI.Analysis.PDE.Schauder.standardMollifier m j).rOut^Ξ±) atTop (π 0) := by | |
| simpa using ((OAI.Analysis.PDE.Schauder.standardMollifier_radius_tendsto m).rpow_const_nhds_zero hΞ±).const_mul H | |
| apply Metric.tendstoUniformly_iff.mpr | |
| intro Ξ΅ hΞ΅ | |
| filter_upwards [ht (Iio_mem_nhds hΞ΅)] with j hj | |
| intro x | |
| have hlt := (smoothField_error (OAI.Analysis.PDE.Schauder.standardMollifier m j) f hf hH hΞ±.le hh x).trans_lt hj | |
| simpa only [dist_eq_norm,norm_sub_rev] using hlt | |
| end OAI.Analysis.Calculus.Coefficients | |