Download data/lean/OAI/Geometry/IsometricImmersion/Darboux/QSpatialInductionStep.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 8.04 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Darboux/QSpatialInductionStep.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Darboux/QSpatialInductionStep.lean
-
curl -L -o QSpatialInductionStep.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Darboux/QSpatialInductionStep.lean
8.04 kB
| import OAI.Geometry.IsometricImmersion.Darboux.QSpatialSlabData | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter MeasureTheory | |
| open scoped ContDiff Topology Interval ENNReal NNReal | |
| namespace SmoothLocal.HighEquation | |
| open SmoothLocal.Geometry SmoothLocal.Weighted SmoothLocal.ODE SmoothLocal.Hyperbolic | |
| theorem exists_Q_spatial_induction_step | |
| (G R Z s0 M speed xl xr T lengthFloor : β) (H A : ββ₯0) | |
| (hG : 0 β€ G) (hR : 0 β€ R) (hs0 : 0 < s0) (hM : 0 β€ M) | |
| (hspeed : 0 β€ speed) (hT : 0 β€ T) (hlen : 0 < lengthFloor) | |
| (hwidth : lengthFloor β€ xr - xl - 2 * speed * T) | |
| {d c : β} (hd : 0 < d) (hc : 0 < c) (m : β) (hm : 8 β€ m + 3) : | |
| β Hnew : ββ₯0, H β€ Hnew β§ | |
| β (g : MetricField) (z : Coord β β) (radius lo hi a b : β), | |
| SmoothPositiveOn g (coordinateRectangle radius lo hi) β | |
| ContDiffOn β β z (coordinateRectangle radius lo hi) β | |
| (β p β coordinateRectangle radius lo hi, | |
| (covHessian g z p).det = gaussianCurvature g p * heightEnergy g z p) β | |
| (β p β coordinateRectangle radius lo hi, covHessian g z p 0 0 β 0) β | |
| 0 < radius β a β€ b β b - a β€ T β | |
| -radius < xl β xr < radius β a β Ioo lo hi β b β Ioo lo hi β | |
| QLowBounds g z (shrinkingSlab xl xr a b speed) s0 M speed β | |
| (β p β shrinkingSlab xl xr a b speed, |p 0| β€ R β§ |p 1| β€ R) β | |
| (β i j, CoordinateBound (fun p => g p i j) (shrinkingSlab xl xr a b speed) (m + 5) G) β | |
| CoordinateBound z (shrinkingSlab xl xr a b speed) 8 Z β | |
| (β p β shrinkingSlab xl xr a b speed, d β€ |(g p).det|) β | |
| (β p β shrinkingSlab xl xr a b speed, c β€ |covHessian g z p 0 0|) β | |
| (β ds : List (Fin 2), ds.length β€ m + 4 β β x β Icc xl xr, | |
| |iteratedCoordPartial ds z (coordinatePoint x a)| β€ (A : β)) β | |
| (β t β Icc a b, SpatialSliceL2Bound (spatialFirstJet z) t | |
| (inwardLeft xl a speed t) (inwardRight xr a speed t) (m + 2) H) β | |
| β t β Icc a b, SpatialSliceL2Bound (spatialFirstJet z) t | |
| (inwardLeft xl a speed t) (inwardRight xr a speed t) (m + 3) Hnew := by | |
| obtain β¨B, hSourceβ© := exists_same_slice_actual_Q_source_norm_bound | |
| G R Z lengthFloor (xr - xl) H hG hR hlen hd hc m hm | |
| let I : ββ₯0 := initialCutEnergyBudget (xr - xl) M A | |
| let C : β := 8 * (M * (m + 4)) * (1 + 1 / s0) | |
| have hC : 0 β€ C := by dsimp [C]; positivity | |
| let Ebound : ββ₯0 := β¨Real.exp (C * T) * ((I : β) + T * (B : β)), by positivityβ© | |
| let Hnew : ββ₯0 := max H (spatialEnergyNormBudget s0 Ebound) | |
| refine β¨Hnew, le_max_left _ _, ?_β© | |
| intro g z radius lo hi a b hg hz hD hxx hradius hab habT hxl hxr ha hb | |
| hLow hcoords hgB hzB hdet hden hcut hprev t ht | |
| let S := shrinkingSlab xl xr a b speed | |
| have hU := coordinateRectangle_isOpen radius lo hi | |
| have hlength : 2 * speed * (b - a) < xr - xl := by | |
| have hh := mul_le_mul_of_nonneg_left habT (by positivity : 0 β€ 2 * speed) | |
| linarith | |
| have hSU : S β coordinateRectangle radius lo hi := | |
| shrinkingSlab_subset_rectangle hab hspeed hxl hxr ha hb hlength | |
| have htime (v : β) (hv : v β Icc a b) : v β Ioo lo hi := | |
| β¨ha.1.trans_le hv.1, hv.2.trans_lt hb.2β© | |
| have hgeo (v : β) (hv : v β Icc a b) := inward_interval_geometry hab hspeed hxl hxr hlength hv | |
| have hsource (v : β) (hv : v β Icc a b) : | |
| movingSourceNorm xl xr a speed (actualQHighRemainder g z m) v β€ (B : β) := by | |
| have hwlow : lengthFloor β€ inwardRight xr a speed v - inwardLeft xl a speed v := by | |
| unfold inwardRight inwardLeft | |
| have hvT : v - a β€ T := (sub_le_sub_right hv.2 a).trans habT | |
| have hmul := mul_le_mul_of_nonneg_left hvT (by positivity : 0 β€ 2 * speed) | |
| linarith | |
| have hwup : inwardRight xr a speed v - inwardLeft xl a speed v β€ xr - xl := by | |
| unfold inwardRight inwardLeft | |
| have hh : 0 β€ speed * (v - a) := mul_nonneg hspeed (sub_nonneg.mpr hv.1) | |
| linarith | |
| exact hSource g z (coordinateRectangle radius lo hi) S hg hU hz hSU hxx hcoords | |
| (fun p hp => coordinateMetricBound_to_horizontalTwoJet hgB hp) | |
| (hzB.mono (by norm_num) le_rfl) hdet hden v | |
| (inwardLeft xl a speed v) (inwardRight xr a speed v) | |
| (fun x hx => point_mem_shrinkingSlab hv hx) hwlow hwup (hprev v hv) | |
| have hS := heightQCoefficient_contDiffOn hg hU hz hxx 5 | |
| have hInitial : Real.sqrt (β« x in xl..xr, | |
| energyDensity (heightQCoefficient g z 5) (horizontalJet z (m + 3)) (coordinatePoint x a)) β€ (I : β) := by | |
| have hcutPoint (x : β) (hx : x β Icc xl xr) : coordinatePoint x a β S := by | |
| apply point_mem_shrinkingSlab (show a β Icc a b from β¨le_rfl, habβ©) | |
| simpa only [inwardLeft, inwardRight, sub_self, mul_zero, add_zero, sub_zero] using hx | |
| apply initial_energy_bound_of_cut_jets hU hz hS | |
| (fun x hx => hSU (hcutPoint x hx)) | |
| (by nlinarith [mul_nonneg hspeed (sub_nonneg.mpr hab)]) hM | |
| (fun x hx => (le_abs_self _).trans (hLow _ (hcutPoint x hx)).2.2.2.1) (m + 3) A | |
| simpa only [Nat.add_assoc] using hcut | |
| have hEt : Real.sqrt (movingEnergy xl xr a speed (heightQCoefficient g z 5) | |
| (horizontalJet z (m + 3)) t) β€ (Ebound : β) := by | |
| have httop : shrinkingSlab xl xr a t speed β S := shrinkingSlab_mono_top ht.2 | |
| have hlenT : 2 * speed * (t - a) < xr - xl := by | |
| have hh := mul_le_mul_of_nonneg_left ht.2 (by positivity : 0 β€ 2 * speed) | |
| nlinarith | |
| have hprop := actual_Q_moving_slab_energy hg hz hD hxx m hradius ht.1 hspeed | |
| hxl hxr ha (htime t ht) hlenT hs0 (by positivity : 0 β€ M * (m + 4)) | |
| (fun p hp => (hLow p (httop hp)).1) | |
| (fun p hp => by simpa only [Nat.cast_add, Nat.cast_ofNat, add_assoc, | |
| show (3 : β) + 1 = 4 by norm_num] using | |
| hLow.high_coefficients hM (m + 3) (httop hp)) | |
| (fun p hp => (hLow p (httop hp)).2.2.2.2.2.2.2) | |
| have hR := actualQHighRemainder_contDiffOn hg hU hz hD hxx m | |
| have hforceCont : ContinuousOn (movingSourceNorm xl xr a speed (actualQHighRemainder g z m)) (Icc a t) := | |
| movingSourceNorm_continuousOn hR hradius | |
| (fun v hv => (hgeo v β¨hv.1, hv.2.trans ht.2β©).1) | |
| (fun v hv => (hgeo v β¨hv.1, hv.2.trans ht.2β©).2.1) | |
| (fun v hv => htime v β¨hv.1, hv.2.trans ht.2β©) | |
| have hInt : (β« v in a..t, movingSourceNorm xl xr a speed (actualQHighRemainder g z m) v) β€ | |
| (t - a) * (B : β) := by | |
| have hh : (β« v in a..t, movingSourceNorm xl xr a speed (actualQHighRemainder g z m) v) β€ | |
| β« v in a..t, (B : β) := intervalIntegral.integral_mono_on ht.1 | |
| (hforceCont.intervalIntegrable_of_Icc ht.1) intervalIntegrable_const | |
| (fun v hv => hsource v β¨hv.1, hv.2.trans ht.2β©) | |
| simpa only [intervalIntegral.integral_const, smul_eq_mul] using hh | |
| have hduration : 0 β€ t - a := sub_nonneg.mpr ht.1 | |
| have hdurationT : t - a β€ T := (sub_le_sub_right ht.2 a).trans habT | |
| have hfirst : Real.sqrt (movingEnergy xl xr a speed (heightQCoefficient g z 5) | |
| (horizontalJet z (m + 3)) t) β€ Real.exp (C * (t - a)) * ((I : β) + (t - a) * (B : β)) := | |
| hprop.trans (mul_le_mul_of_nonneg_left (add_le_add hInitial hInt) (Real.exp_pos _).le) | |
| exact hfirst.trans (mul_le_mul | |
| (Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_left hdurationT hC)) | |
| (add_le_add le_rfl (mul_le_mul_of_nonneg_right hdurationT B.2)) | |
| (by positivity) (Real.exp_pos _).le) | |
| intro i n hn | |
| by_cases hsmall : n β€ m + 2 | |
| Β· exact (hprev t ht i n hsmall).trans (by exact_mod_cast (le_max_left H (spatialEnergyNormBudget s0 Ebound))) | |
| Β· have he : n = m + 3 := by omega | |
| subst n | |
| have hn := spatialFirstJet_slice_eLpNorm_two_of_energy hU hz hS | |
| (fun x hx => hSU (point_mem_shrinkingSlab ht hx)) | |
| (hgeo t ht).2.2.1.le hs0 | |
| (fun x hx => (hLow _ (point_mem_shrinkingSlab ht hx)).1) (m + 3) Ebound hEt i | |
| exact hn.trans (by exact_mod_cast (le_max_right H (spatialEnergyNormBudget s0 Ebound))) | |
| end SmoothLocal.HighEquation | |
| end | |
| end OAI | |