Download data/lean/OAI/Geometry/IsometricImmersion/Estimates/MovingSourceBounds.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 2.83 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Estimates/MovingSourceBounds.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Estimates/MovingSourceBounds.lean
-
curl -L -o MovingSourceBounds.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Estimates/MovingSourceBounds.lean
2.83 kB
| import OAI.Geometry.IsometricImmersion.Comparison.ActualComparisonEnergy | |
| namespace OAI | |
| noncomputable section | |
| open Set MeasureTheory | |
| open scoped ContDiff Topology Interval | |
| namespace SmoothLocal.Hyperbolic | |
| open SmoothLocal.Geometry SmoothLocal.Weighted SmoothLocal.ODE | |
| theorem movingSourceNorm_le_of_pointwise_bound | |
| {f : Coord β β} {xl xr a b speed t F : β} | |
| (hspeed : 0 β€ speed) (ht : t β Icc a b) | |
| (horder : inwardLeft xl a speed t β€ inwardRight xr a speed t) | |
| (hF : 0 β€ F) | |
| (hbound : β p β shrinkingSlab xl xr a b speed, |f p| β€ F) : | |
| movingSourceNorm xl xr a speed f t β€ F*Real.sqrt (xr-xl) := by | |
| let l := inwardLeft xl a speed t | |
| let r := inwardRight xr a speed t | |
| have hlen : r-l β€ xr-xl := by | |
| have hi : 0 β€ speed*(t-a) := mul_nonneg hspeed (sub_nonneg.mpr ht.1) | |
| dsimp [l,r,inwardLeft,inwardRight] | |
| linarith | |
| have hi := intervalIntegral.norm_integral_le_of_norm_le_const | |
| (a := l) (b := r) (C := F^2) (f := fun x => f (coordinatePoint x t)^2) (by | |
| intro x hx | |
| have hx0 : x β Ioc l r := by | |
| rw [uIoc_of_le (show l β€ r from horder)] at hx | |
| exact hx | |
| have hb := hbound _ (point_mem_shrinkingSlab ht β¨hx0.1.le,hx0.2β©) | |
| rw [Real.norm_eq_abs,abs_of_nonneg (sq_nonneg _)] | |
| simpa only [sq_abs] using (sq_le_sqβ (abs_nonneg _) hF).mpr hb) | |
| have hsquare : (β« x in l..r, f (coordinatePoint x t)^2) β€ F^2*(xr-xl) := by | |
| apply (le_abs_self _).trans | |
| apply hi.trans | |
| rw [abs_of_nonneg (sub_nonneg.mpr horder)] | |
| exact mul_le_mul_of_nonneg_left hlen (sq_nonneg F) | |
| have hsqrt := Real.sqrt_le_sqrt hsquare | |
| simpa only [movingSourceNorm,movingIntervalIntegral,l,r, | |
| Real.sqrt_mul (sq_nonneg F),Real.sqrt_sq hF] using hsqrt | |
| theorem integrated_movingSourceNorm_le_of_pointwise_bound | |
| {f : Coord β β} {xl xr a b speed F : β} | |
| (hab : a β€ b) (hspeed : 0 β€ speed) (hF : 0 β€ F) | |
| (horder : β t β Icc a b, inwardLeft xl a speed t β€ inwardRight xr a speed t) | |
| (hbound : β p β shrinkingSlab xl xr a b speed, |f p| β€ F) : | |
| (β« t in a..b, movingSourceNorm xl xr a speed f t) β€ | |
| F*Real.sqrt (xr-xl)*(b-a) := by | |
| have hi := intervalIntegral.norm_integral_le_of_norm_le_const | |
| (a := a) (b := b) (C := F*Real.sqrt (xr-xl)) | |
| (f := movingSourceNorm xl xr a speed f) (by | |
| intro t ht | |
| have ht0 : t β Ioc a b := by simpa only [uIoc_of_le hab] using ht | |
| have ht1 : t β Icc a b := β¨ht0.1.le,ht0.2β© | |
| rw [Real.norm_eq_abs,abs_of_nonneg (show 0 β€ movingSourceNorm xl xr a speed f t from Real.sqrt_nonneg _)] | |
| exact movingSourceNorm_le_of_pointwise_bound hspeed ht1 (horder t ht1) hF hbound) | |
| exact (le_abs_self _).trans (by simpa only [Real.norm_eq_abs,abs_of_nonneg (sub_nonneg.mpr hab)] using hi) | |
| end SmoothLocal.Hyperbolic | |
| end | |
| end OAI | |