Download data/lean/OAI/Geometry/IsometricImmersion/Darboux/QFirstJetEnergy.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.06 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Darboux/QFirstJetEnergy.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Darboux/QFirstJetEnergy.lean
-
curl -L -o QFirstJetEnergy.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Darboux/QFirstJetEnergy.lean
5.06 kB
| import OAI.Geometry.IsometricImmersion.Darboux.QEnergyApplication | |
| import OAI.Geometry.IsometricImmersion.Energy.MovingEnergyGradient | |
| 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 | |
| def spatialEnergyNormBudget (s0 : β) (A : ββ₯0) : ββ₯0 := | |
| β¨Real.sqrt (2 * (1 + 1 / s0)) * (A : β), mul_nonneg (Real.sqrt_nonneg _) A.2β© | |
| theorem real_slice_eLpNorm_two_le_of_square_integral | |
| {f : β β β} {left right : β} {B : ββ₯0} | |
| (hlr : left β€ right) (hf : MemLp f 2 (volume.restrict (Icc left right))) | |
| (hB : (β« x in left..right, f x ^ 2) β€ (B : β)^2) : | |
| eLpNorm f 2 (volume.restrict (Icc left right)) β€ (B : ββ₯0β) := by | |
| rw [intervalIntegral.integral_of_le hlr, restrict_Ioc_eq_restrict_Icc, | |
| integral_square_eq_L2_norm_square hf, Lp.norm_def, eLpNorm_congr_ae hf.coeFn_toLp] at hB | |
| apply (ENNReal.toReal_le_toReal hf.eLpNorm_ne_top (by simp)).mp | |
| change (eLpNorm f 2 (volume.restrict (Icc left right))).toReal β€ (B : β) | |
| exact (sq_le_sqβ ENNReal.toReal_nonneg B.2).mp hB | |
| theorem spatialFirstJet_slice_eLpNorm_two_of_energy | |
| {z S : Coord β β} {U : Set Coord} {left right theta s0 : β} | |
| (hU : IsOpen U) (hz : ContDiffOn β β z U) (hS : ContDiffOn β β S U) | |
| (hseg : β x β Icc left right, coordinatePoint x theta β U) | |
| (hlr : left β€ right) (hs0 : 0 < s0) | |
| (hfloor : β x β Icc left right, s0 β€ S (coordinatePoint x theta)) | |
| (ell : β) (A : ββ₯0) | |
| (henergy : Real.sqrt (β« x in left..right, | |
| energyDensity S (horizontalJet z ell) (coordinatePoint x theta)) β€ (A : β)) | |
| (i : Fin 2) : | |
| eLpNorm (fun x => spatialJet (spatialFirstJet z i) ell (coordinatePoint x theta)) 2 | |
| (volume.restrict (Icc left right)) β€ (spatialEnergyNormBudget s0 A : ββ₯0β) := by | |
| let u := horizontalJet z ell | |
| let E := β« x in left..right, energyDensity S u (coordinatePoint x theta) | |
| let C := 2 * (1 + 1 / s0) | |
| have hC : 0 β€ C := by dsimp [C]; positivity | |
| have hu := horizontalJet_contDiffOn hU hz ell | |
| have hd (j : Fin 2) := partial_contDiffOn hu hU j | |
| have he : ContDiffOn β β (energyDensity S u) U := | |
| (((hd 1).pow 2).add (hS.mul ((hd 0).pow 2))).div_const 2 | |
| have hEA : E β€ (A : β)^2 := (Real.sqrt_le_iff.mp henergy).2 | |
| have hfiCont : ContinuousOn (fun x => coordPartial i u (coordinatePoint x theta)^2) (Icc left right) := | |
| ((hd i).pow 2).continuousOn.comp (horizontalPoint_contDiff theta).continuous.continuousOn hseg | |
| have heCont : ContinuousOn (fun x => C * energyDensity S u (coordinatePoint x theta)) (Icc left right) := | |
| (continuousOn_const.mul he.continuousOn).comp (horizontalPoint_contDiff theta).continuous.continuousOn hseg | |
| have hiInt : (β« x in left..right, coordPartial i u (coordinatePoint x theta)^2) β€ C * E := by | |
| have hh : (β« x in left..right, coordPartial i u (coordinatePoint x theta)^2) β€ | |
| β« x in left..right, C * energyDensity S u (coordinatePoint x theta) := | |
| intervalIntegral.integral_mono_on hlr | |
| (hfiCont.intervalIntegrable_of_Icc hlr) (heCont.intervalIntegrable_of_Icc hlr) | |
| (fun x hx => show coordPartial i u (coordinatePoint x theta)^2 β€ | |
| C * energyDensity S u (coordinatePoint x theta) from by | |
| have hscalar := scalar_gradient_le_energy hs0 (hfloor x hx) | |
| (a := coordPartial 1 u (coordinatePoint x theta)) (b := coordPartial 0 u (coordinatePoint x theta)) | |
| have hind : coordPartial i u (coordinatePoint x theta)^2 β€ | |
| coordPartial 1 u (coordinatePoint x theta)^2 + coordPartial 0 u (coordinatePoint x theta)^2 := by | |
| fin_cases i | |
| Β· change coordPartial 0 u (coordinatePoint x theta)^2 β€ _ | |
| nlinarith [sq_nonneg (coordPartial 1 u (coordinatePoint x theta))] | |
| Β· change coordPartial 1 u (coordinatePoint x theta)^2 β€ _ | |
| nlinarith [sq_nonneg (coordPartial 0 u (coordinatePoint x theta))] | |
| exact hind.trans hscalar) | |
| simpa only [intervalIntegral.integral_const_mul] using hh | |
| have hiBudget : (β« x in left..right, coordPartial i u (coordinatePoint x theta)^2) β€ | |
| (spatialEnergyNormBudget s0 A : β)^2 := by | |
| have hbound := hiInt.trans (mul_le_mul_of_nonneg_left hEA hC) | |
| change _ β€ (Real.sqrt C * (A : β))^2 | |
| rw [mul_pow, Real.sq_sqrt hC] | |
| exact hbound | |
| have hiLp := real_slice_eLpNorm_two_le_of_square_integral hlr | |
| (smooth_slice_memLp_two (hd i).continuousOn hseg) hiBudget | |
| have heq : (fun x => spatialJet (spatialFirstJet z i) ell (coordinatePoint x theta)) =α΅[ | |
| volume.restrict (Icc left right)] (fun x => coordPartial i u (coordinatePoint x theta)) := by | |
| filter_upwards [ae_restrict_mem measurableSet_Icc] with x hx | |
| rw [β horizontalJet_eq_spatialJet] | |
| exact horizontalJet_coordPartial hU hz i ell _ (hseg x hx) | |
| rw [eLpNorm_congr_ae heq] | |
| exact hiLp | |
| end SmoothLocal.HighEquation | |
| end | |
| end OAI | |