Lean 4 Β· 1
declaration statementsfull
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.CostGeometry.CostSmooth | |
| import OAI.Analysis.BiholderTransport.Coordinates.ChartCostJets | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Manifold Bundle Metric | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace 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] | |
| lemma uniform_half_cost_hessian (a : M) : | |
| β B>0, β r>0, | |
| ball (extChartAt π(β,Model n) a a) r β (extChartAt π(β,Model n) a).target β§ | |
| β xβball (extChartAt π(β,Model n) a a) r, | |
| β p : TangentSpace π(β,Model n) ((extChartAt π(β,Model n) a).symm x), | |
| pβminimizingVectors ((extChartAt π(β,Model n) a).symm x) β | |
| β zβball (extChartAt π(β,Model n) a a) r, | |
| ContDiffAt β 2 (chartCost a (riemannianExp _ ((1/2:β) β’ p))) z β§ | |
| βfderiv β (fderiv β (chartCost a (riemannianExp _ ((1/2:β) β’ p)))) zββ€B := by | |
| let Ο := extChartAt π(β,Model n) a | |
| let zβ := Ο a | |
| let Y : TangentBundle π(β,Model n) M β M := fun V => riemannianExp V.1 ((1/2:β) β’ V.2) | |
| have hY : Continuous Y := contMDiff_riemannianExp.continuous.comp | |
| (contMDiff_tangentScale.continuous.comp (continuous_const.prodMk continuous_id)) | |
| have haT : zββΟ.target := Ο.map_source (mem_extChartAt_source a) | |
| have hΟ : ContinuousAt Ο.symm zβ := | |
| (continuousOn_extChartAt_symm a zβ haT).continuousAt ((isOpen_extChartAt_target a).mem_nhds haT) | |
| have hproj : Continuous (fun V : TangentBundle π(β,Model n) M => V.1) := | |
| FiberBundle.continuous_proj _ _ | |
| have hg : ContinuousAt (fun q : Model nΓModel n => Ο.symm q.1) (zβ,zβ) := | |
| hΟ.comp (x := (zβ,zβ)) (f := fun q : Model nΓModel n => q.1) continuousAt_fst | |
| have hloc : β V : TangentBundle π(β,Model n) M, | |
| V.2βminimizingVectors V.1 β V.1=Ο.symm zβ β | |
| ContinuousAt (fun q : Model nΓM => fderiv β (fderiv β (chartCost a q.2)) q.1) (zβ,Y V) β§ | |
| βαΆ q : Model nΓM in π (zβ,Y V), ContDiffAt β 2 (chartCost a q.2) q.1 := by | |
| intro V hV he | |
| apply chartCost_jet_continuous haT | |
| have hc := cost_contMDiffAt_of_injectivityDomain | |
| (β¨V.1,(1/2:β) β’ V.2β© : TangentBundle π(β,Model n) M) | |
| (contracted_minimizer_mem_injectivityDomain hV (by norm_num : (0:β)<1/2) (by norm_num : (1/2:β)<1)) | |
| change ContMDiffAt _ _ β (fun q : MΓM => cost q.1 q.2) (Ο.symm zβ,Y V) | |
| rw [βhe] | |
| exact hc | |
| let H := fun q : (Model nΓModel n)ΓTangentBundle π(β,Model n) M => | |
| fderiv β (fderiv β (chartCost a (Y q.2))) q.1.2 | |
| have hc : Continuous (fun q : (Model nΓModel n)ΓTangentBundle π(β,Model n) M => | |
| (q.1.2,Y q.2)) := continuous_fst.snd.prodMk (hY.comp continuous_snd) | |
| obtain β¨B,hB,hBnearβ© := compact_eventually_fiberwise_bound isCompact_total_minimizingVectors | |
| hproj hg (h := H) (fun V hV he => by | |
| convert (hloc V hV he).1.comp | |
| (x := ((zβ,zβ),V)) (f := fun q : (Model nΓModel n)ΓTangentBundle π(β,Model n) M => (q.1.2,Y q.2)) hc.continuousAt using 1 | |
| rfl) | |
| have hSnear : βαΆ q : Model nΓModel n in π (zβ,zβ), | |
| β V : TangentBundle π(β,Model n) M, V.2βminimizingVectors V.1 β V.1=Ο.symm q.1 β | |
| ContDiffAt β 2 (chartCost a (Y V)) q.2 := by | |
| apply compact_eventually_fiberwise isCompact_total_minimizingVectors hproj hg | |
| intro V hV he | |
| exact (hc.continuousAt (x := ((zβ,zβ),V))).tendsto.eventually (hloc V hV he).2 | |
| obtain β¨rβ,hrβ,hrβ© := Metric.eventually_nhds_iff.mp (hSnear.and hBnear) | |
| obtain β¨rβ,hrβ,hrTβ© := Metric.mem_nhds_iff.mp ((isOpen_extChartAt_target a).mem_nhds haT) | |
| refine β¨B,hB,min rβ rβ,lt_min hrβ hrβ,?_,?_β© | |
| Β· exact fun x hx => hrT (ball_subset_ball (min_le_right _ _) hx) | |
| Β· intro x hx p hp z hz | |
| have hpair : dist (x,z) (zβ,zβ)<rβ := by | |
| rw [Prod.dist_eq,max_lt_iff] | |
| exact β¨lt_of_lt_of_le hx (min_le_left _ _),lt_of_lt_of_le hz (min_le_left _ _)β© | |
| exact β¨(hr hpair).1 β¨Ο.symm x,pβ© hp rfl,(hr hpair).2 β¨Ο.symm x,pβ© hp rflβ© | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Outline
Xet Storage Details
- Size:
- 4.46 kB
- Xet hash:
- cbac4205a8d83d5d968ddcbb7e6a7c9a8c1a9a2a80bde61c4f2b12933d274cd2
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.