math / data /lean /OAI /Geometry /IsometricImmersion /Comparison /ActualUniformComparisonGradient.lean
Download data/lean/OAI/Geometry/IsometricImmersion/Comparison/ActualUniformComparisonGradient.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 6.94 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ActualUniformComparisonGradient.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ActualUniformComparisonGradient.lean
-
curl -L -o ActualUniformComparisonGradient.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ActualUniformComparisonGradient.lean
6.94 kB
| import OAI.Geometry.IsometricImmersion.Taylor.ActualUniformTaylorRich | |
| import OAI.Geometry.IsometricImmersion.Comparison.ActualClassComparisonSourceBound | |
| import OAI.Geometry.IsometricImmersion.Comparison.ActualClassComparisonGradient | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Function MeasureTheory | |
| open scoped ContDiff Topology Matrix Matrix.Norms.Elementwise | |
| namespace SmoothLocal.Perturbation | |
| open SmoothLocal.Geometry SmoothLocal.Pulse SmoothLocal.HighEquation SmoothLocal.Flow | |
| open SmoothLocal.ODE SmoothLocal.Weighted SmoothLocal.Hyperbolic SmoothLocal.Taylor | |
| theorem exists_actual_uniform_comparison_gradient | |
| {gStar : MetricField} {V : Set Coord} | |
| (hgStar : SmoothPositiveOn gStar V) (hV : IsOpen V) (hSV : modelSquare β V) | |
| {G d kappa q0 : β} (M : β) (hG : 0 β€ G) (hd : 0 < d) | |
| (hgStarB : β i j k, k β€ 2 β β p β modelSquare, | |
| βiteratedFDeriv β k (fun q => gStar q i j) pβ β€ G) | |
| (hdStar : β p β modelSquare, d β€ (gStar p).det) | |
| (hkappa : 0 < kappa) (hM : 0 < M) (hq0 : |q0| β€ 1/20) : | |
| β r : β, 0 < r β§ r < 1/2 β§ boundedClassWidth kappa M*r β€ 1/20 β§ | |
| heightQuotientJetBound G (M : β) d (1/(M : β))* | |
| (r+107*(boundedClassWidth kappa M*r)/100) β€ 9/(100*boundedClassWidth kappa M) β§ | |
| β N : β, 2 < N β β Cres Csource Cgradient : β, | |
| 0 β€ Cres β§ 0 < Csource β§ 0 β€ Cgradient β§ | |
| β delta : β, 0 < delta β delta β€ 1/2 β | |
| βαΆ tau : β in atTop, | |
| β (g0 : MetricField) (eta : metricPatchSet g0 kappa) (U W : Set Coord) | |
| (z : Coord β β) (Y : β β β β β), | |
| SmoothPositiveOn (perturbedMetric g0 eta.val) U β IsOpen U β | |
| CapInductionHeight (perturbedMetric g0 eta.val) U (M : β) (1/(M : β)) (1/(M : β)) z β | |
| CapInductionFlow (perturbedMetric g0 eta.val) U G (M : β) d (1/(M : β)) (1/(M : β)) kappa z Y W β | |
| BoundedAdmissibleHeight (perturbedMetric g0 eta.val) M z β | |
| (β i j k, k β€ 4 β β p β modelSquare, | |
| βiteratedFDeriv β k (fun q => perturbedMetric g0 eta.val q i j) pβ β€ G) β | |
| (β p β modelSquare, d β€ |(perturbedMetric g0 eta.val p).det|) β | |
| |hessianQuotient (perturbedMetric g0 eta.val) z 0-q0| β€ 1/(100*boundedClassWidth kappa M) β | |
| (β i j : Fin 2, β k β€ tau, β p β modelSquare, | |
| βiteratedFDeriv β k (fun q => perturbedMetric g0 eta.val q i j- | |
| testMetric gStar q0 (boundedClassWidth kappa M*r/16) N delta (tau : β) q i j) pβ β€ | |
| metricApproximationAccuracy tau) β | |
| let zs := heightInShearCoordinates z q0 | |
| let gs := metricInShearCoordinates gStar q0 | |
| let P := taylorApproximation gs (-delta/(tau : β)) | |
| (heightCauchyValue zs (-delta/(tau : β))) | |
| (heightCauchyVelocity zs (-delta/(tau : β))) N | |
| ContDiffOn β β P (spatialStrip (Ioo (-(boundedClassWidth kappa M*r)) (boundedClassWidth kappa M*r))) β§ | |
| (β x β Ioo (-(boundedClassWidth kappa M*r)) (boundedClassWidth kappa M*r), | |
| P ![x,-delta/(tau : β)] = zs ![x,-delta/(tau : β)] β§ | |
| coordPartial 1 P ![x,-delta/(tau : β)] = coordPartial 1 zs ![x,-delta/(tau : β)]) β§ | |
| (β x, β Q : Polynomial β, Q.natDegree β€ N+1 β§ β t, Q.eval t = P ![x,t]) β§ | |
| (β x : β, |x| β€ boundedClassWidth kappa M*r/2 β | |
| β t β Icc (-delta/(tau : β)) (delta/(tau : β)), | |
| (boundedClassSpeed kappa M)^2/(8*(M : β)) β€ |covHessian gs P ![x,t] 0 0| β§ | |
| |qResidual gs P ![x,t]| β€ Cres/(tau : β)^N) β§ | |
| ContinuousOn (qResidual gs P) | |
| (pulseStrip (boundedClassWidth kappa M*r/16) delta (tau : β)) β§ | |
| |pulseWeightedMoment (boundedClassWidth kappa M*r/16) delta (tau : β) (qResidual gs P)| β€ | |
| (2*Cres*(β« x : β, axisBump (boundedClassWidth kappa M*r/16) x))*delta/(tau : β)^(N+1) β§ | |
| (β p β pulseStrip (boundedClassWidth kappa M*r/2) delta (tau : β), | |
| |actualComparisonSource gStar (perturbedMetric g0 eta.val) z q0 P p| β€ | |
| Csource*(tau : β)^2/(tau : β)^N) β§ | |
| (β theta β Icc (-(delta/(tau : β))) (delta/(tau : β)), β i : Fin 2, | |
| Real.sqrt (β« x in Icc (-(boundedClassWidth kappa M*r/16)) (boundedClassWidth kappa M*r/16), | |
| (coordPartial i (comparisonDifference P zs) (boxPoint x theta))^2) β€ | |
| Cgradient*delta*(tau : β)/(tau : β)^N) := by | |
| obtain β¨r,hr,hrhalf,hLr,hrsmall,hTaylorβ© := | |
| exists_actual_uniform_taylor_comparison_and_moment hgStar hV hSV M hG hd hkappa hM hq0 | |
| refine β¨r,hr,hrhalf,hLr,hrsmall,?_β© | |
| intro N hN | |
| obtain β¨Cres,hCres,hTaylorNβ© := hTaylor N | |
| obtain β¨Csource,hCsource,hsourceβ© := exists_actual_class_comparison_source_bound_at_radius | |
| hgStar hV hSV M hG hd hgStarB hdStar hkappa hM hq0 hr hrhalf hLr hrsmall N hN Cres hCres | |
| obtain β¨CE,hCE,hgradientβ© := exists_actual_class_comparison_gradient_from_source | |
| hgStar hV hSV M hG hd hgStarB hdStar hkappa hM hq0 hr hrhalf hLr hrsmall N hN | |
| refine β¨Cres,Csource,CE*Csource,hCres,hCsource,mul_nonneg hCE hCsource.le,?_β© | |
| intro delta hdelt hdhalf | |
| filter_upwards [hTaylorN delta hdelt hdhalf,hsource delta hdelt hdhalf,hgradient delta hdelt hdhalf] | |
| with tau htaylor hsourceTau hgradientTau | |
| intro g0 eta U W z Y hg hU hh hf hclass hgB hdet hcenter happ | |
| let L := boundedClassWidth kappa M | |
| let zs := heightInShearCoordinates z q0 | |
| let gs := metricInShearCoordinates gStar q0 | |
| let P := taylorApproximation gs (-delta/(tau : β)) | |
| (heightCauchyValue zs (-delta/(tau : β))) | |
| (heightCauchyVelocity zs (-delta/(tau : β))) N | |
| have ht := htaylor g0 eta U W z Y hg hU hh hf hclass hgB hdet hcenter happ | |
| have hres (p : Coord) (hp : p β pulseStrip (L*r/2) delta (tau : β)) : | |
| |qResidual gs P p| β€ Cres/(tau : β)^N := by | |
| have he : ![p 0,p 1] = p := by ext i; fin_cases i <;> rfl | |
| have htime : p 1 β Icc (-delta/(tau : β)) (delta/(tau : β)) := by | |
| simpa only [neg_div] using hp.2 | |
| simpa only [he] using (ht.2.2.2.1 (p 0) (abs_le.mpr hp.1) (p 1) htime).2 | |
| have hs := hsourceTau.2 g0 eta U W z Y hg hU hh hf hclass hgB hdet hcenter happ P hres | |
| refine β¨ht.1,ht.2.1,ht.2.2.1,ht.2.2.2.1,ht.2.2.2.2.1,ht.2.2.2.2.2,hs,?_β© | |
| have htpos : (0 : β) < tau := zero_lt_one.trans_le (by exact_mod_cast hsourceTau.1) | |
| have hF : 0 β€ Csource*(tau : β)^2/(tau : β)^N := by positivity | |
| intro theta htheta i | |
| have hgrad := hgradientTau g0 eta U W z Y hg hU hh hf hclass hgB hdet hcenter happ | |
| (Csource*(tau : β)^2/(tau : β)^N) hF hs theta htheta i | |
| apply hgrad.trans_eq | |
| field_simp [htpos.ne'] | |
| end SmoothLocal.Perturbation | |
| end | |
| end OAI | |