Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Coordinates.PoleCoordinates | |
| 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] | |
| def chartGradientVector (a : M) (z : Model n) (L : Model n βL[β] β) : | |
| TangentSpace π(β,Model n) ((extChartAt π(β,Model n) a).symm z) := | |
| (trivializationAt (Model n) (TangentSpace π(β,Model n)) a).symmL β | |
| ((extChartAt π(β,Model n) a).symm z) ((riemannianCoordinateMetric a z).inverse L) | |
| omit [CompactSpace M] [Nonempty M] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] in | |
| lemma coordinateBackward_eq_exp_chartGradient {a : M} {z : Model n} | |
| (hz : zβ(extChartAt π(β,Model n) a).target) (L : Model n βL[β] β) : | |
| coordinateBackward a (-1,z,L)=riemannianExp | |
| ((extChartAt π(β,Model n) a).symm z) (chartGradientVector a z L) := by | |
| rw [coordinateBackward,neg_neg,one_smul,movingNormal_eq hz] | |
| rfl | |
| omit [CompactSpace M] [Nonempty M] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] in | |
| lemma chartGradientVector_total_eq {a : M} {q : Model nΓ(Model n βL[β] β)} | |
| (hq : q.1β(extChartAt π(β,Model n) a).target) : | |
| (β¨(extChartAt π(β,Model n) a).symm q.1,chartGradientVector a q.1 q.2β© : | |
| TangentBundle π(β,Model n) M) = | |
| (extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β© : TangentBundle π(β,Model n) M)).symm | |
| (q.1,(riemannianCoordinateMetric a q.1).inverse q.2) := by | |
| have hx : (extChartAt π(β,Model n) a).symm q.1β(chartAt (Model n) a).source := by | |
| simpa only [extChartAt_source] using (extChartAt π(β,Model n) a).map_target hq | |
| dsimp only [chartGradientVector] | |
| rw [TangentBundle.symmL_trivializationAt_eq_core hx] | |
| rfl | |
| omit [CompactSpace M] [Nonempty M] [IsRiemannianManifold π(β,Model n) M] in | |
| lemma coordinateRaise_contDiffAt {a : M} {q : Model nΓ(Model n βL[β] β)} | |
| (hq : q.1β(extChartAt π(β,Model n) a).target) : | |
| ContDiffAt β β (fun q : Model nΓ(Model n βL[β] β) => | |
| (q.1,(riemannianCoordinateMetric a q.1).inverse q.2)) q := by | |
| have hg := (contDiffOn_riemannianCoordinateMetric (E := Model n) a).contDiffAt | |
| ((isOpen_extChartAt_target a).mem_nhds hq) | |
| have hi := (riemannianCoordinateMetric_isInvertible hq).contDiffAt_map_inverse.comp q.1 hg | |
| exact contDiffAt_fst.prodMk ((hi.comp q contDiffAt_fst).clm_apply contDiffAt_snd) | |
| omit [CompactSpace M] [Nonempty M] [IsRiemannianManifold π(β,Model n) M] in | |
| lemma chartGradientVector_total_continuousAt {a : M} {q : Model nΓ(Model n βL[β] β)} | |
| (hq : q.1β(extChartAt π(β,Model n) a).target) : | |
| ContinuousAt (fun q : Model nΓ(Model n βL[β] β) => | |
| (β¨(extChartAt π(β,Model n) a).symm q.1,chartGradientVector a q.1 q.2β© : | |
| TangentBundle π(β,Model n) M)) q := by | |
| let c := extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β© : TangentBundle π(β,Model n) M) | |
| let f := fun q : Model nΓ(Model n βL[β] β) => | |
| (q.1,(riemannianCoordinateMetric a q.1).inverse q.2) | |
| have hT : f qβc.target := (tangent_chart_target_iff _ (f q)).mpr hq | |
| have hc : ContinuousAt c.symm (f q) := | |
| (continuousOn_extChartAt_symm _).continuousAt ((isOpen_extChartAt_target _).mem_nhds hT) | |
| have hf : ContinuousAt f q := (coordinateRaise_contDiffAt hq).continuousAt | |
| apply (hc.comp (x := q) hf).congr_of_eventuallyEq | |
| have he : βαΆ q' : Model nΓ(Model n βL[β] β) in π q, | |
| q'.1β(extChartAt π(β,Model n) a).target := | |
| continuousAt_fst.preimage_mem_nhds ((isOpen_extChartAt_target a).mem_nhds hq) | |
| filter_upwards [he] with q' hq' | |
| exact chartGradientVector_total_eq hq' | |
| omit [Nonempty M] in | |
| lemma chartGradientVector_regular_near {a : M} {q : Model nΓ(Model n βL[β] β)} | |
| (hq : q.1β(extChartAt π(β,Model n) a).target) | |
| (hp : chartGradientVector a q.1 q.2βinjectivityDomain | |
| ((extChartAt π(β,Model n) a).symm q.1)) : | |
| βαΆ q' : Model nΓ(Model n βL[β] β) in π q, | |
| chartGradientVector a q'.1 q'.2βinjectivityDomain | |
| ((extChartAt π(β,Model n) a).symm q'.1) := | |
| (chartGradientVector_total_continuousAt hq).preimage_mem_nhds | |
| (isOpen_total_injectivityDomain.mem_nhds hp) | |
| omit [Nonempty M] in | |
| lemma chartCost_gradient_at_contact {a : M} {z : Model n} {L : Model n βL[β] β} | |
| (hz : zβ(extChartAt π(β,Model n) a).target) | |
| (hp : chartGradientVector a z LβinjectivityDomain | |
| ((extChartAt π(β,Model n) a).symm z)) : | |
| HasFDerivAt (chartCost a (coordinateBackward a (-1,z,L))) (-L) z := by | |
| let Ο := extChartAt π(β,Model n) a | |
| let x := Ο.symm z | |
| let p := chartGradientVector a z L | |
| have hx : xβΟ.source := Ο.map_target hz | |
| have hx' : xβ(chartAt (Model n) a).source := by simpa only [Ο,extChartAt_source] using hx | |
| have H := coordinate_gradient_of_hasMFDerivAt (β¨x,pβ© : TangentBundle π(β,Model n) M) | |
| hx (fun w => cost w (riemannianExp x p)) (-1) | |
| (by simpa only [neg_one_smul] using cost_start_gradient_of_injectivityDomain hp) | |
| have hcoord : (extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β© : TangentBundle π(β,Model n) M) (β¨x,pβ© : TangentBundle π(β,Model n) M)).2 = | |
| (riemannianCoordinateMetric a z).inverse L := by | |
| have hsame : (extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β© : TangentBundle π(β,Model n) M) (β¨x,pβ© : TangentBundle π(β,Model n) M)).2 = | |
| (trivializationAt (Model n) (TangentSpace π(β,Model n)) a).continuousLinearMapAt β x p := by | |
| rw [TangentBundle.continuousLinearMapAt_trivializationAt_eq_core hx'] | |
| rfl | |
| rw [hsame] | |
| exact Trivialization.continuousLinearMapAt_symmL _ hx' _ | |
| dsimp only [Bundle.TotalSpace.proj,Bundle.TotalSpace.snd] at H | |
| rw [hcoord] at H | |
| have he : Ο x=z := Ο.right_inv hz | |
| change HasFDerivAt (fun q => cost (Ο.symm q) (riemannianExp x p)) | |
| ((-1:β) β’ riemannianCoordinateMetric a (Ο x) ((riemannianCoordinateMetric a z).inverse L)) (Ο x) at H | |
| rw [he,(riemannianCoordinateMetric_isInvertible hz).self_apply_inverse] at H | |
| rw [coordinateBackward_eq_exp_chartGradient hz] | |
| apply H.congr_fderiv | |
| ext w | |
| change (-1:β)*L w= -L w | |
| ring | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 6.93 kB
- Xet hash:
- f55c2b5c4c26b30e6c4ae11cb4f97017c8c9dcc55d9fc6ccefa551999714561f
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.