Download data/lean/OAI/Analysis/BiholderTransport/Calculus/SampleJetData.lean from introvoyz045/math: direct link, hf CLI and curl.
- Browser
- Download file 5.55 kB
-
https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/Calculus/SampleJetData.lean
- Command line
-
hf download hf://datasets/introvoyz045/math/data/lean/OAI/Analysis/BiholderTransport/Calculus/SampleJetData.lean
-
curl -L -o SampleJetData.lean https://huggingface.co/datasets/introvoyz045/math/resolve/main/data/lean/OAI/Analysis/BiholderTransport/Calculus/SampleJetData.lean
5.55 kB
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Geodesics.UniformFixedCrossing | |
| import OAI.Analysis.BiholderTransport.Calculus.SamplePoleDerivative | |
| import OAI.Analysis.BiholderTransport.Regularity.NonnegativeTransfer | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty M] | |
| [ChartedSpace (Model n) M] [IsManifold π(β,Model n) β M] | |
| [RiemannianBundle (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] | |
| omit [Nonempty M] in | |
| lemma exists_actual_uniform_regular_split_after {t:β} (ht : 0<t) (ht1 : t<1) : | |
| β s:β,t<s β§ s<1 β§ β x:M,β p:TangentSpace π(β,Model n) x, | |
| pβminimizingVectors x β s β’ pβinjectivityDomain x β§ | |
| (1-s) β’ (sprayFlow s (β¨x,pβ©:TangentBundle π(β,Model n) M)).2β | |
| injectivityDomain (sprayFlow s (β¨x,pβ©:TangentBundle π(β,Model n) M)).1 := by | |
| have H : βαΆ s in π[<] (1:β),t<s β§ s<1 β§ β x:M, | |
| β p:TangentSpace π(β,Model n) x,βpββ€Metric.diam (univ:Set M) β | |
| (1-s) β’ (sprayFlow s (β¨x,pβ©:TangentBundle π(β,Model n) M)).2β | |
| injectivityDomain (sprayFlow s (β¨x,pβ©:TangentBundle π(β,Model n) M)).1 := by | |
| filter_upwards [(uniformly_shifted_injectivityDomain_near_one | |
| (n := n) (M := M) (Metric.diam (univ:Set M))).filter_mono nhdsWithin_le_nhds, | |
| (eventually_gt_nhds ht1).filter_mono nhdsWithin_le_nhds,self_mem_nhdsWithin] | |
| with s hs hst hs1 | |
| exact β¨hst,hs1,hsβ© | |
| obtain β¨s,hst,hs1,hsβ© := H.exists | |
| exact β¨s,hst,hs1,fun x p hp=>β¨contracted_minimizer_mem_injectivityDomain hp | |
| (ht.trans hst) hs1,hs x p (minimizing_norm_le_diam hp)β©β© | |
| lemma WeakMTW.actual_sample_pole_matrix (hmtw : WeakMTW (n := n) (M := M)) | |
| {v : M β β} (hv : Continuous v) {t : β} (ht : 0<t) (ht1 : t<1) | |
| {x a c : M} {p : TangentSpace π(β,Model n) x} | |
| (hp : pβnormalSubdifferential (n := n) (cTransform v) x) | |
| (hz : riemannianExp x (t β’ p)β(extChartAt π(β,Model n) a).source) | |
| (hx : xβ(extChartAt π(β,Model n) c).source) | |
| (hD : DifferentiableAt β | |
| (fun w : Model n => extChartAt π(β,Model n) c | |
| (hopfPole (n := n) t (cTransform v) ((extChartAt π(β,Model n) a).symm w))) | |
| (extChartAt π(β,Model n) a (riemannianExp x (t β’ p)))) : | |
| let V := TangentSpace π(β,Model n) x | |
| let I : V βL[β] V βL[β] β := innerSL β | |
| let L : V βL[β] V βL[β] β := t β’ I - fderiv β (fderiv β | |
| (fun q:V=>hopfLax t (cTransform v) (riemannianExp x (t β’ q)))) p | |
| DifferentiableAt β (fderiv β | |
| (fun q:V=>hopfLax t (cTransform v) (riemannianExp x (t β’ q)))) p β§ | |
| (β d:V,0β€L d d) β§ (β d e:V,L d e=L e d) β§ | |
| (β qβactiveLogs v x,β d:V,L (q-p) d=0) β§ | |
| (β (ΞΉ:Type) [Fintype ΞΉ] (pj:ΞΉ β V) (w:ΞΉ β β), | |
| (β j,0β€w j) β (β j,w j=1) β (β j,w j β’ pj j=p) β | |
| (β j,pj jβactiveLogs v x) β β i,0<w i β | |
| HasLowerSecondTaylor (fun d:V=>v (riemannianExp x (pj i+d))+βpj i+dβ^2/2) | |
| 0 (w i β’ L)) := by | |
| dsimp only | |
| let V := TangentSpace π(β,Model n) x | |
| let : NormedAddCommGroup (V βL[β] β) := ContinuousLinearMap.toNormedAddCommGroup | |
| let : NormedSpace β (V βL[β] β) := ContinuousLinearMap.toNormedSpace | |
| let : NormedAddCommGroup (V βL[β] V βL[β] β) := ContinuousLinearMap.toNormedAddCommGroup | |
| let q : subgradientGraph (n := n) (cTransform v) := β¨β¨x,pβ©,hpβ© | |
| have hpole : hopfPole (n := n) t (cTransform v) (riemannianExp x (t β’ p))=x := by | |
| exact congrArg Bundle.TotalSpace.proj (hmtw.hopfLax_backward_flow hv ht ht1 q) | |
| obtain β¨e,R,he,he0,herepβ© := hmtw.exists_actual_normal_pole_derivative hv ht ht1 hz hx hpole hD | |
| have hpre := hmtw.active_hull_precut hv ht ht1 x p | |
| (normalSubdifferential_subset_active_hull hv x hp) | |
| have hdual : IsCostDualPair (cTransform v) (cTransform (cTransform v)) := | |
| β¨(cTransform_triple hv).symm,rflβ© | |
| have HD' := hmtw.actualPole_second_derivative (continuous_cTransform hv) | |
| (continuous_cTransform (continuous_cTransform hv)) hdual ht ht1 hpre he he0 herep | |
| have HD := HD'.fderiv | |
| rw [HD,sub_sub_cancel] | |
| have H := hmtw.actualPole_taylor (continuous_cTransform hv) | |
| (continuous_cTransform (continuous_cTransform hv)) hdual ht ht1 hpre he he0 herep | |
| obtain β¨s,hts,hs1,hsβ© := exists_actual_uniform_regular_split_after (n := n) (M := M) ht ht1 | |
| refine β¨HD'.differentiableAt,H.2.1,?_,?_,?_β© | |
| Β· intro d f | |
| change inner β (R d) f=inner β (R f) d | |
| exact (H.2.2 d f).trans (real_inner_comm (R f) d) | |
| Β· intro r hr d | |
| have hk := hmtw.actualPole_kernel (continuous_cTransform hv) | |
| (continuous_cTransform (continuous_cTransform hv)) hdual ht ht1 (ht.trans hts) hs1 | |
| hpre hr.1 (active_contact_biconjugate hv hr.2).2 (hs x r hr.1).1 (hs x r hr.1).2 | |
| he he0 herep | |
| simp only [ContinuousLinearMap.comp_apply,hk,map_zero,zero_apply] | |
| Β· intro ΞΉ _ pj w hw hw1 hbar ha i hi | |
| exact hmtw.modified_active_lower_jet_nonneg hv ht hts hs1 pj w hw hw1 i hi | |
| (fun j=>(ha j).1) (fun j=>(ha j).2) (fun j=>(hs x (pj j) (ha j).1).1) | |
| (fun j=>(hs x (pj j) (ha j).1).2) (hbar βΈ he) (hbar βΈ he0) (hbar βΈ herep) | |
| end WeakMTWTransport | |
| end | |
| end OAI | |