Download data/lean/OAI/Geometry/IsometricImmersion/Caps/HeightCapLowData.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.88 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Caps/HeightCapLowData.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Caps/HeightCapLowData.lean
-
curl -L -o HeightCapLowData.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Caps/HeightCapLowData.lean
5.88 kB
| import OAI.Geometry.IsometricImmersion.Darboux.HeightPrincipalBounds | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Function | |
| open scoped ContDiff Topology | |
| namespace SmoothLocal.Flow | |
| open SmoothLocal.Geometry SmoothLocal.ODE SmoothLocal.Weighted | |
| def heightCapCurvatureBound (G Z d c : β) : β := | |
| curvatureFirstBound G d*(1+flowCoordinateBound (heightQuotientJetBound G Z d c)) | |
| def heightCapCValueBound (G Z d c e0 : β) (ell : β) : β := | |
| ((ell : β)+1)*heightAJetBound G Z d c + | |
| heightAJetBound G Z d c*heightRemainderBound G Z d c e0 ell | |
| def heightCapCoefficientBound (G Z d c e0 : β) (ell : β) : β := | |
| heightAJetBound G Z d c + 2*heightBJetBound G Z d c ell + heightCapCValueBound G Z d c e0 ell | |
| theorem heightCapCurvatureBound_nonneg {G Z d c : β} | |
| (hG : 0 β€ G) (hZ : 0 β€ Z) (hd : 0 < d) (hc : 0 < c) : | |
| 0 β€ heightCapCurvatureBound G Z d c := by | |
| have hK := curvatureFirstBound_nonneg hG hd | |
| have hF := flowCoordinateBound_nonneg (heightQuotientJetBound_nonneg hG hZ hd hc) | |
| unfold heightCapCurvatureBound | |
| positivity | |
| theorem heightCapCoefficientBound_dominates {G Z d c e0 : β} | |
| (hG : 0 β€ G) (hZ : 0 β€ Z) (hd : 0 < d) (hc : 0 < c) (he0 : 0 < e0) (ell : β) : | |
| 0 β€ heightCapCoefficientBound G Z d c e0 ell β§ | |
| heightAJetBound G Z d c β€ heightCapCoefficientBound G Z d c e0 ell β§ | |
| 2*heightBJetBound G Z d c ell β€ heightCapCoefficientBound G Z d c e0 ell β§ | |
| heightBJetBound G Z d c ell β€ heightCapCoefficientBound G Z d c e0 ell β§ | |
| heightCapCValueBound G Z d c e0 ell β€ heightCapCoefficientBound G Z d c e0 ell := by | |
| have hA := heightAJetBound_nonneg hG hZ hd hc | |
| have hB := heightBJetBound_nonneg hG hZ hd hc ell | |
| have hr := heightRemainderBound_nonneg hG hZ hd hc he0 ell | |
| have hC : 0 β€ heightCapCValueBound G Z d c e0 ell := by | |
| unfold heightCapCValueBound | |
| positivity | |
| unfold heightCapCoefficientBound | |
| constructor | |
| Β· positivity | |
| constructor | |
| Β· linarith only [hB,hC] | |
| constructor | |
| Β· linarith only [hA,hC] | |
| constructor | |
| Β· linarith only [hA,hB,hC] | |
| Β· linarith only [hA,hB] | |
| theorem heightChartC_value_bound | |
| {g : MetricField} {z : Coord β β} {Y : β β β β β} {G Z d c e0 : β} | |
| (hG : 0 β€ G) (hZ : 0 β€ Z) (hd : 0 < d) (hc : 0 < c) (he0 : 0 < e0) (ell : β) | |
| (hAB : CoordinateBound (heightChartA g z Y) capChartDomain 1 (heightAJetBound G Z d c)) | |
| (hrB : β p β capChartDomain, | |
| |heightChartRemainder g z Y ell p| β€ heightRemainderBound G Z d c e0 ell β§ | |
| heightChartC g z Y ell p = ((ell : β)+1)*coordPartial 1 (heightChartA g z Y) p + | |
| heightChartA g z Y p*heightChartRemainder g z Y ell p) | |
| {p : Coord} (hp : p β capChartDomain) : | |
| |heightChartC g z Y ell p| β€ heightCapCValueBound G Z d c e0 ell := by | |
| have hel : 0 β€ (ell : β)+1 := by positivity | |
| have hfirst := mul_le_mul_of_nonneg_left (hAB [1] (by norm_num) p hp) hel | |
| have hsecond := | |
| (mul_le_mul_of_nonneg_left (hrB p hp).1 (abs_nonneg (heightChartA g z Y p))).trans | |
| (mul_le_mul_of_nonneg_right (hAB [] (by norm_num) p hp) | |
| (heightRemainderBound_nonneg hG hZ hd hc he0 ell)) | |
| rw [(hrB p hp).2] | |
| calc | |
| _ β€ |((ell : β)+1)*coordPartial 1 (heightChartA g z Y) p| + | |
| |heightChartA g z Y p*heightChartRemainder g z Y ell p| := abs_add_le _ _ | |
| _ β€ _ := by | |
| rw [abs_mul,abs_of_nonneg hel,abs_mul] | |
| exact add_le_add hfirst hsecond | |
| theorem heightChartB_primitive_first_bounds | |
| {g : MetricField} {z : Coord β β} {Y : β β β β β} {MB : β} (ell : β) | |
| (hMB : 0 β€ MB) (hB : ContDiffOn β β (heightChartB g z Y ell) capChartDomain) | |
| (hBB : CoordinateBound (heightChartB g z Y ell) capChartDomain 1 MB) | |
| {p : Coord} (hp : p β capChartDomain) : | |
| |coordinatePrimitive (heightChartB g z Y ell) p| β€ 2*MB β§ | |
| β i : Fin 2, |coordPartial i (coordinatePrimitive (heightChartB g z Y ell)) p| β€ 2*MB := by | |
| obtain β¨hIv,hIsβ© := heightChartB_primitive_bounds ell hB hBB hp | |
| refine β¨hIv,?_β© | |
| intro i | |
| fin_cases i | |
| Β· simp only [Fin.mk_zero] | |
| rw [coordinatePrimitive_partial_t hB (by norm_num : (0 : β) < 2) hp] | |
| exact (hBB [] (by norm_num) p hp).trans (by linarith only [hMB]) | |
| Β· simpa only [Fin.mk_one] using hIs | |
| theorem heightCurvaturePullback_bound_one | |
| {g : MetricField} {z : Coord β β} {U : Set Coord} {Y : β β β β β} {G Z d c : β} | |
| (hg : SmoothPositiveOn g U) (hU : IsOpen U) (hSU : modelSquare β U) | |
| (hG : 0 β€ G) (hZ : 0 β€ Z) (hd : 0 < d) (hc : 0 < c) | |
| (hgB : β i j : Fin 2, CoordinateBound (fun p => g p i j) modelSquare 4 G) | |
| (hdet : β p β modelSquare, d β€ |(g p).det|) | |
| (hY : ContDiffOn β β (fun p : β Γ β => Y p.2 p.1) (pairRectangle 2 (-2) 2)) | |
| (hvar : β s β Ioo (-2 : β) 2, β t β Ioo (-2 : β) 2, 0 < deriv (fun r => Y r t) s) | |
| (hode : β s β Icc (-2 : β) 2, β t β Icc (-2 : β) 2, | |
| HasDerivWithinAt (Y s) (-hessianQuotient g z (coordinatePoint t (Y s t))) (Icc (-2 : β) 2) t) | |
| (hmapS : MapsTo (capChart Y) capChartDomain modelSquare) | |
| (hsmall : β p β modelSquare, |hessianQuotient g z p| β€ (1 : β)/100) | |
| (hrho : β p β capChartDomain, 1/Real.exp (2*heightQuotientJetBound G Z d c) β€ capChartRho Y p) : | |
| CoordinateBound (capPullback Y (gaussianCurvature g)) capChartDomain 1 (heightCapCurvatureBound G Z d c) := by | |
| have hM := heightQuotientJetBound_nonneg hG hZ hd hc | |
| have hF := flowCoordinateBound_nonneg hM | |
| have hK := curvatureFirstBound_nonneg hG hd | |
| exact capPullback_bound_one_from_partials hY (gaussianCurvature_contDiffOn hg hU) hU | |
| (fun p hp => hSU (hmapS hp)) hmapS hK hF | |
| (gaussianCurvature_coordinate_bound_one_closed hg hU hSU hG hd hgB hdet) | |
| (fun i p hp => capFlowHeight_partial_bound_of_rho hY hvar hode hmapS hsmall hM hrho hp i) | |
| end SmoothLocal.Flow | |
| end | |
| end OAI | |