Download data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientSmooth.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.09 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientSmooth.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientSmooth.lean
-
curl -L -o ComparisonCoefficientSmooth.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Geometry/IsometricImmersion/Comparison/ComparisonCoefficientSmooth.lean
5.09 kB
| import OAI.Geometry.IsometricImmersion.Comparison.ActualComparisonEquation | |
| import OAI.Geometry.IsometricImmersion.Flows.CompactParameterIntegral | |
| import OAI.Geometry.IsometricImmersion.Darboux.QSpatialJets | |
| import Mathlib.Topology.Compactness.Compact | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter MeasureTheory | |
| open scoped ContDiff Topology | |
| namespace SmoothLocal.HighEquation | |
| open SmoothLocal.Geometry SmoothLocal.Analytic | |
| def comparisonStateMap (P z : Coord β β) (q : Coord Γ β) : DarbouxState := | |
| qHeightJetSegment P z q.2 q.1 | |
| def comparisonIntegrand (g : MetricField) (P z : Coord β β) (i : Fin 6) | |
| (q : Coord Γ β) : β := qFirstCoefficient g i (comparisonStateMap P z q) | |
| def comparisonParameterDomain (g : MetricField) (P z : Coord β β) (U : Set Coord) : | |
| Set (Coord Γ β) := | |
| (U ΓΛ’ (univ : Set β)) β© comparisonStateMap P z β»ΒΉ' darbouxQStateDomain g U | |
| theorem comparisonStateMap_contDiffOn {P z : Coord β β} {U : Set Coord} | |
| (hU : IsOpen U) (hP : ContDiffOn β β P U) (hz : ContDiffOn β β z U) : | |
| ContDiffOn β β (comparisonStateMap P z) (U ΓΛ’ (univ : Set β)) := by | |
| have h0 : ContDiffOn β β (fun q : Coord Γ β => qSolutionJet P q.1) | |
| (U ΓΛ’ (univ : Set β)) := (qSolutionJet_contDiffOn hU hP).comp contDiff_fst.contDiffOn | |
| (fun _ hq => hq.1) | |
| have h1 : ContDiffOn β β (fun q : Coord Γ β => qSolutionJet z q.1) | |
| (U ΓΛ’ (univ : Set β)) := (qSolutionJet_contDiffOn hU hz).comp contDiff_fst.contDiffOn | |
| (fun _ hq => hq.1) | |
| exact ((contDiffOn_const.sub contDiff_snd.contDiffOn).smul h0).add | |
| (contDiff_snd.contDiffOn.smul h1) | |
| theorem comparisonParameterDomain_isOpen {g : MetricField} {P z : Coord β β} | |
| {U : Set Coord} (hg : SmoothPositiveOn g U) (hU : IsOpen U) | |
| (hP : ContDiffOn β β P U) (hz : ContDiffOn β β z U) : | |
| IsOpen (comparisonParameterDomain g P z U) := | |
| (comparisonStateMap_contDiffOn hU hP hz).continuousOn.isOpen_inter_preimage | |
| (hU.prod isOpen_univ) (darbouxQStateDomain_isOpen hg hU) | |
| theorem comparisonIntegrand_contDiffOn {g : MetricField} {P z : Coord β β} | |
| {U : Set Coord} (hg : SmoothPositiveOn g U) (hU : IsOpen U) | |
| (hP : ContDiffOn β β P U) (hz : ContDiffOn β β z U) (i : Fin 6) : | |
| ContDiffOn β β (comparisonIntegrand g P z i) (comparisonParameterDomain g P z U) := | |
| (qFirstCoefficient_contDiffOn hg hU i).comp | |
| ((comparisonStateMap_contDiffOn hU hP hz).mono inter_subset_left) (fun _ hq => hq.2) | |
| theorem comparisonCoefficient_eq_parameterIntegral (g : MetricField) (P z : Coord β β) | |
| (i : Fin 6) : | |
| comparisonCoefficient g P z i = compactParameterIntegral (comparisonIntegrand g P z i) := by | |
| funext p | |
| change (β« sigma in (0 : β)..1, _) = β« sigma in Icc (0 : β) 1, _ | |
| simp only [intervalIntegral.integral_of_le zero_le_one, integral_Icc_eq_integral_Ioc] | |
| rfl | |
| theorem comparisonCoefficient_contDiffOn {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) (i : Fin 6) : | |
| ContDiffOn β β (comparisonCoefficient g P z i) W := by | |
| rw [comparisonCoefficient_eq_parameterIntegral] | |
| apply compactParameterIntegral_contDiffOn (comparisonIntegrand_contDiffOn hg hU hP hz i) | |
| (comparisonParameterDomain_isOpen hg hU hP hz) hW | |
| intro q hq | |
| exact β¨β¨hWU hq.1,mem_univ _β©,hsegment q.1 hq.1 q.2 hq.2β© | |
| theorem exists_comparison_coefficient_neighborhood | |
| {g : MetricField} {P z : Coord β β} {U S : Set Coord} | |
| (hg : SmoothPositiveOn g U) (hU : IsOpen U) | |
| (hP : ContDiffOn β β P U) (hz : ContDiffOn β β z U) | |
| (hS : IsCompact S) (hSU : S β U) | |
| (hsegment : β p β S, β sigma β Icc (0 : β) 1, | |
| qHeightJetSegment P z sigma p β darbouxQStateDomain g U) : | |
| β W : Set Coord, IsOpen W β§ S β W β§ W β U β§ | |
| (β p β W, β sigma β Icc (0 : β) 1, | |
| qHeightJetSegment P z sigma p β darbouxQStateDomain g U) β§ | |
| β i : Fin 6, ContDiffOn β β (comparisonCoefficient g P z i) W := by | |
| have hprod : S ΓΛ’ Icc (0 : β) 1 β comparisonParameterDomain g P z U := by | |
| intro q hq | |
| exact β¨β¨hSU hq.1,mem_univ _β©,hsegment q.1 hq.1 q.2 hq.2β© | |
| obtain β¨W,J,hW,_,hSW,hIJ,hWJβ© := generalized_tube_lemma hS isCompact_Icc | |
| (comparisonParameterDomain_isOpen hg hU hP hz) hprod | |
| have hWU : W β U := by | |
| intro p hp | |
| have hj : (0 : β) β J := hIJ (by norm_num) | |
| exact (hWJ (show (p, (0 : β)) β W ΓΛ’ J from β¨hp,hjβ©)).1.1 | |
| have hseg : β p β W, β sigma β Icc (0 : β) 1, | |
| qHeightJetSegment P z sigma p β darbouxQStateDomain g U := by | |
| intro p hp sigma hs | |
| exact (hWJ (show (p, sigma) β W ΓΛ’ J from β¨hp,hIJ hsβ©)).2 | |
| exact β¨W,hW,hSW,hWU,hseg,fun i => comparisonCoefficient_contDiffOn hg hU hP hz hW hWU hseg iβ© | |
| end SmoothLocal.HighEquation | |
| end | |
| end OAI | |