math / data /lean /OAI /Geometry /IsometricImmersion /Comparison /ComparisonCoefficientDerivative.lean
Download data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientDerivative.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 4.64 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientDerivative.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientDerivative.lean
-
curl -L -o ComparisonCoefficientDerivative.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientDerivative.lean
4.64 kB
| import OAI.Geometry.IsometricImmersion.Comparison.ComparisonCoefficientSmooth | |
| import OAI.Geometry.IsometricImmersion.Darboux.QLowActualBounds | |
| import Mathlib.MeasureTheory.Integral.Bochner.ContinuousLinearMap | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter MeasureTheory | |
| open scoped ContDiff Topology | |
| namespace SmoothLocal.Analytic | |
| open SmoothLocal.Geometry | |
| theorem compactParameterIntegral_coordPartial | |
| {H : Coord Γ β β β} {U : Set Coord} {D : Set (Coord Γ β)} | |
| (hH : ContDiffOn β β H D) (hD : IsOpen D) (hU : IsOpen U) | |
| (hUD : U ΓΛ’ Icc (0 : β) 1 β D) {p : Coord} (hp : p β U) (j : Fin 2) : | |
| coordPartial j (compactParameterIntegral H) p = | |
| β« sigma in Icc (0 : β) 1, compactParameterPartial H (p,sigma) (Pi.single j 1) := by | |
| have hH1 : ContDiffOn β 1 H D := hH.of_le (by simp) | |
| have hd := compactParameterIntegral_hasFDerivAt hH1 hD hU hUD hp | |
| have hpart : ContinuousOn (compactParameterPartial H) D := | |
| (compactParameterPartial_contDiffOn hD 0 hH1).continuousOn | |
| have hint : Integrable (fun sigma => compactParameterPartial H (p,sigma)) | |
| (volume.restrict (Icc (0 : β) 1)) := | |
| (parameter_slice_continuousOn hpart hUD hp).integrableOn_compact isCompact_Icc | |
| change fderiv β (compactParameterIntegral H) p (Pi.single j 1) = _ | |
| rw [hd.fderiv] | |
| exact ContinuousLinearMap.integral_apply hint (Pi.single j 1) | |
| end SmoothLocal.Analytic | |
| namespace SmoothLocal.HighEquation | |
| open SmoothLocal.Geometry SmoothLocal.Analytic | |
| theorem comparisonIntegrand_parameter_partial | |
| {g : MetricField} {P z : Coord β β} {U : Set Coord} | |
| (hg : SmoothPositiveOn g U) (hU : IsOpen U) | |
| (hP : ContDiffOn β β P U) (hz : ContDiffOn β β z U) | |
| {p : Coord} {sigma : β} (hp : p β U) | |
| (hsegment : qHeightJetSegment P z sigma p β darbouxQStateDomain g U) | |
| (i : Fin 6) (j : Fin 2) : | |
| compactParameterPartial (comparisonIntegrand g P z i) (p,sigma) (Pi.single j 1) = | |
| fderiv β (qFirstCoefficient g i) (qHeightJetSegment P z sigma p) | |
| ((1-sigma) β’ coordPartial j (qSolutionJet P) p + | |
| sigma β’ coordPartial j (qSolutionJet z) p) := by | |
| have hJP := ((qSolutionJet_contDiffOn hU hP).contDiffAt (hU.mem_nhds hp)).differentiableAt (by simp) | |
| have hJz := ((qSolutionJet_contDiffOn hU hz).contDiffAt (hU.mem_nhds hp)).differentiableAt (by simp) | |
| have hQ := ((qFirstCoefficient_contDiffOn hg hU i).contDiffAt | |
| ((darbouxQStateDomain_isOpen hg hU).mem_nhds hsegment)).differentiableAt (by simp) | |
| have hstate : HasFDerivAt (fun x => qHeightJetSegment P z sigma x) | |
| ((1-sigma) β’ fderiv β (qSolutionJet P) p + sigma β’ fderiv β (qSolutionJet z) p) p := | |
| (hJP.hasFDerivAt.const_smul (1-sigma)).add (hJz.hasFDerivAt.const_smul sigma) | |
| have hchain := hQ.hasFDerivAt.comp p hstate | |
| have hparam := compactParameter_slice_hasFDerivAt | |
| ((comparisonIntegrand_contDiffOn hg hU hP hz i).of_le (by simp)) | |
| (comparisonParameterDomain_isOpen hg hU hP hz) | |
| (show (p,sigma) β comparisonParameterDomain g P z U from | |
| β¨β¨hp,mem_univ _β©,hsegmentβ©) | |
| have he := hparam.unique hchain | |
| simpa only [ContinuousLinearMap.comp_apply,add_apply, | |
| smul_apply,coordPartial] using | |
| congrArg (fun A : Coord βL[β] β => A (Pi.single j 1)) he | |
| theorem comparisonCoefficient_partial | |
| {g : MetricField} {P z : Coord β β} {U W : Set Coord} | |
| (hg : SmoothPositiveOn g U) (hU : IsOpen U) | |
| (hP : ContDiffOn β β P U) (hz : ContDiffOn β β z U) | |
| (hW : IsOpen W) (hWU : W β U) | |
| (hsegment : β p β W, β sigma β Icc (0 : β) 1, | |
| qHeightJetSegment P z sigma p β darbouxQStateDomain g U) | |
| {p : Coord} (hp : p β W) (i : Fin 6) (j : Fin 2) : | |
| coordPartial j (comparisonCoefficient g P z i) p = | |
| β« sigma in (0 : β)..1, | |
| fderiv β (qFirstCoefficient g i) (qHeightJetSegment P z sigma p) | |
| ((1-sigma) β’ coordPartial j (qSolutionJet P) p + | |
| sigma β’ coordPartial j (qSolutionJet z) p) := by | |
| rw [comparisonCoefficient_eq_parameterIntegral] | |
| have hUD : W ΓΛ’ Icc (0 : β) 1 β comparisonParameterDomain g P z U := by | |
| intro q hq | |
| exact β¨β¨hWU hq.1,mem_univ _β©,hsegment q.1 hq.1 q.2 hq.2β© | |
| rw [compactParameterIntegral_coordPartial (comparisonIntegrand_contDiffOn hg hU hP hz i) | |
| (comparisonParameterDomain_isOpen hg hU hP hz) hW hUD hp j, | |
| intervalIntegral.integral_of_le zero_le_one,β integral_Icc_eq_integral_Ioc] | |
| apply setIntegral_congr_fun measurableSet_Icc | |
| intro sigma hs | |
| exact comparisonIntegrand_parameter_partial hg hU hP hz (hWU hp) (hsegment p hp sigma hs) i j | |
| end SmoothLocal.HighEquation | |
| end | |
| end OAI | |