Download data/lean/OAI/Geometry/IsometricImmersion/Pulses/QReferenceForcingMargins.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.12 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Pulses/QReferenceForcingMargins.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Pulses/QReferenceForcingMargins.lean
-
curl -L -o QReferenceForcingMargins.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Pulses/QReferenceForcingMargins.lean
5.12 kB
| import OAI.Geometry.IsometricImmersion.Darboux.QSameStripMargins | |
| import OAI.Geometry.IsometricImmersion.Pulses.ForcingCoefficientSign | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter | |
| open scoped ContDiff Topology Matrix Matrix.Norms.Elementwise | |
| namespace SmoothLocal.HighEquation | |
| open SmoothLocal.Geometry SmoothLocal.Weighted SmoothLocal.Pulse | |
| theorem actual_det_upper_of_entry_bound (g : MetricField) (p : Coord) {G : β} | |
| (hG : 0 β€ G) (hg : β i j, |g p i j| β€ G) : (g p).det β€ 2*G^2 := by | |
| rw [Matrix.det_fin_two] | |
| calc | |
| g p 0 0*g p 1 1-g p 0 1*g p 1 0 β€ | |
| |g p 0 0*g p 1 1|+|g p 0 1*g p 1 0| := by | |
| linarith [le_abs_self (g p 0 0*g p 1 1), | |
| neg_le_abs (g p 0 1*g p 1 0)] | |
| _ = |g p 0 0| *|g p 1 1|+|g p 0 1| *|g p 1 0| := by rw [abs_mul,abs_mul] | |
| _ β€ G*G+G*G := add_le_add | |
| (mul_le_mul (hg 0 0) (hg 1 1) (abs_nonneg _) hG) | |
| (mul_le_mul (hg 0 1) (hg 1 0) (abs_nonneg _) hG) | |
| _ = _ := by ring | |
| theorem exists_uniform_reference_forcing_margins (G R M M0 : β) | |
| {d nu c eta kappa : β} (hG : 0 β€ G) (hR : 0 β€ R) | |
| (hM : 0 β€ M) (hM0 : 0 β€ M0) | |
| (hd : 0 < d) (hnu : 0 < nu) (hc : 0 < c) (heta : 0 < eta) (hkappa : 0 < kappa) : | |
| β epsilon A : β, 0 < epsilon β§ 1 β€ A β§ | |
| β (g g0 : MetricField) (z z0 : Coord β β) (U : Set Coord), | |
| SmoothPositiveOn g U β SmoothPositiveOn g0 U β IsOpen U β | |
| ContDiffOn β β z U β ContDiffOn β β z0 U β | |
| β left right a b : β, a β€ b β | |
| closedRectangle left right a b β U β | |
| (β p β closedRectangle left right a b, βpβ β€ R) β | |
| (β i j k, k β€ 2 β β p β closedRectangle left right a b, | |
| βiteratedFDeriv β k (fun x => g x i j) pβ β€ G) β | |
| (β i j k, k β€ 2 β β p β closedRectangle left right a b, | |
| βiteratedFDeriv β k (fun x => g0 x i j) pβ β€ G) β | |
| CoordinateBound z (closedRectangle left right a b) 3 M β | |
| CoordinateBound z0 (closedRectangle left right a b) 3 M0 β | |
| (β p β closedRectangle left right a b, d β€ |(g p).det|) β | |
| (β p β closedRectangle left right a b, d β€ |(g0 p).det|) β | |
| (β i j k, k β€ 2 β β p β closedRectangle left right a b, | |
| βiteratedFDeriv β k (fun x => g0 x i j - g x i j) pβ β€ epsilon) β | |
| (M + M0) * (b - a) β€ epsilon β | |
| (β x β Ioo left right, z0 (boxPoint x a) = z (boxPoint x a)) β | |
| (β x β Ioo left right, | |
| coordPartial 1 z0 (boxPoint x a) = coordPartial 1 z (boxPoint x a)) β | |
| (β p β closedRectangle left right a b, nu β€ |covHessian g z p 0 0|) β | |
| (β p β closedRectangle left right a b, c β€ |covHessian g z p 1 1|) β | |
| (β p β closedRectangle left right a b, eta β€ heightEnergy g z p) β | |
| (β p β closedRectangle left right a b, gaussianCurvature g p β€ -kappa) β | |
| (β p β closedRectangle left right a b, | |
| (covHessian g z p).det = gaussianCurvature g p * heightEnergy g z p) β | |
| (β p β closedRectangle left right a b, | |
| (hessianQuotient g z p)^2 + gaussianCurvature g p * darbouxG g z p < 0) β | |
| β l r : β, left < l β r < right β | |
| β p β closedRectangle l r a b, | |
| eta/2 β€ heightEnergy g0 z p β§ | |
| nu/2 β€ |covHessian g0 z p 0 0| β§ | |
| |covHessian g0 z p 0 0| β€ A β§ | |
| (g0 p).det β€ 2*G^2 β§ | |
| forcingFloor (eta/2) (2*G^2) A β€ |forcingCoefficient g0 z p| := by | |
| obtain β¨epsilon,A,hepsilon,hA,hmarginβ© := | |
| exists_uniform_Q_same_strip_margins G R M M0 hG hR hM hM0 hd hnu hc heta hkappa | |
| refine β¨epsilon,A,hepsilon,hA,?_β© | |
| intro g g0 z z0 U hg hg0 hU hz hz0 left right a b hab hbox hpoint | |
| hgB hg0B hzB hz0B hdet hdet0 hmetric hwidth hvalue hvelocity | |
| hxx hyy henergy hK hD htime l r hleft hright p hp | |
| have hp0 : p 0 β Ioo left right := | |
| β¨hleft.trans_le hp.1.1, hp.1.2.trans_lt hrightβ© | |
| have hpointEq : boxPoint (p 0) (p 1) = p := by | |
| ext i | |
| fin_cases i <;> simp [boxPoint] | |
| have hpbox : p β closedRectangle left right a b := | |
| β¨β¨hp0.1.le,hp0.2.leβ©,hp.2β© | |
| have hm := ((hmargin g g0 z z0 U hg hg0 hU hz hz0 left right a b hab hbox hpoint | |
| hgB hg0B hzB hz0B hdet hdet0 hmetric hwidth hvalue hvelocity | |
| hxx hyy henergy hK hD htime (p 0) hp0 (p 1) hp.2).1 1 (by norm_num)) | |
| simp only [qHeightJetSegment,stateSegment_one,hpointEq, | |
| stateQDenominator_qSolutionJet] at hm | |
| have hE : eta/2 β€ heightEnergy g0 z p := by | |
| have hs := hm.2.2.1 | |
| unfold stateEnergy at hs | |
| rw [statePoint_qSolutionJet,stateGradient_qSolutionJet, | |
| jetEnergy_at_height hg0 (hbox hpbox) z] at hs | |
| exact hs | |
| have hentry (i j : Fin 2) : |g0 p i j| β€ G := by | |
| have hh := hg0B i j 0 (by norm_num) p hpbox | |
| simpa only [norm_iteratedFDeriv_zero,Real.norm_eq_abs] using hh | |
| have hdetup := actual_det_upper_of_entry_bound g0 p hG hentry | |
| exact β¨hE,hm.1,hm.2.1,hdetup, | |
| forcingCoefficient_floor_of_reference_margins hg0 (hbox hpbox) | |
| (half_pos heta) (half_pos hnu) hE hdetup hm.1 hm.2.1β© | |
| end SmoothLocal.HighEquation | |
| end | |
| end OAI | |