Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Contact.GraphProjection | |
| import OAI.Analysis.BiholderTransport.Coordinates.ActiveHullUniform | |
| namespace OAI | |
| noncomputable section | |
| namespace WeakMTWTransport | |
| section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| 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 WeakMTW.uniform_local_scaled_gap | |
| (hmtw : WeakMTW (n := n) (M := M)) | |
| {v : M β β} (hv : Continuous v) {T : β} (hT : T < 1) | |
| (hID : β x : M, β p β convexHull β (activeLogs (n := n) v x), | |
| β t β Icc (0:β) T, t β’ p β injectivityDomain x) : | |
| β Ξ΄ > 0, β x z : M, dist x z < Ξ΄ β x β z β | |
| β p β convexHull β (activeLogs (n := n) v x), β t β Icc (0:β) T, | |
| 0 < t * (cTransform v z-cTransform v x) + | |
| cost z (riemannianExp x (t β’ p)) - cost x (riemannianExp x (t β’ p)) := by | |
| have : IsContinuousRiemannianBundle (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x) := | |
| continuousRiemannianBundle_of_smooth (IB := π(β,Model n)) | |
| let P := fun z : TangentBundle π(β,Model n) M => | |
| β p β convexHull β (activeLogs (n := n) v z.1), β t β Icc (0:β) T, | |
| riemannianExp z.1 z.2 β z.1 β | |
| 0 < t * (cTransform v (riemannianExp z.1 z.2)-cTransform v z.1) + | |
| cost (riemannianExp z.1 z.2) (riemannianExp z.1 (t β’ p)) - | |
| cost z.1 (riemannianExp z.1 (t β’ p)) | |
| have H : βαΆ r : β in π 0, β z : TangentBundle π(β,Model n) M, | |
| z.2 β minimizingVectors z.1 β βz.2β=r β P z := by | |
| apply compact_eventually_fiberwise (isCompact_total_minimizingVectors (n := n) (M := M)) | |
| continuous_bundle_norm (continuousAt_id (x := (0:β))) | |
| rintro β¨a,qβ© _ he | |
| have hq : q = 0 := norm_eq_zero.mp he | |
| subst q | |
| obtain β¨K,hKn,hKa,hKβ© := local_compact_nhds | |
| ((isOpen_extChartAt_source (I := π(β,Model n)) a).mem_nhds (mem_extChartAt_source a)) | |
| have HG := hmtw.active_hull_uniform_strict_growth hv hK hKa hT | |
| (fun x _ p hp t ht => hID x p hp t ht) | |
| let Ο := extChartAt (π(β,Model n).prod π(β,Model n)) | |
| (β¨a,0β© : TangentBundle π(β,Model n) M) | |
| have hΟ0 : (Ο (β¨a,0β© : TangentBundle π(β,Model n) M)).2 = 0 := | |
| map_zero (tangentCoordChange π(β,Model n) a a a) | |
| have hc : Tendsto (fun q : β Γ TangentBundle π(β,Model n) M => (Ο q.2).2) | |
| (π (0,β¨a,0β©)) (π 0) := by | |
| have hΟ : ContinuousAt Ο (β¨a,0β© : TangentBundle π(β,Model n) M) := continuousAt_extChartAt _ | |
| have hh := hΟ.snd.comp | |
| (f := fun q : β Γ TangentBundle π(β,Model n) M => q.2) (x := (0,β¨a,0β©)) continuousAt_snd | |
| convert hh.tendsto using 1 <;> simp only [Function.comp_def,hΟ0] | |
| have hbase : βαΆ q : β Γ TangentBundle π(β,Model n) M in π (0,β¨a,0β©), q.2.1 β K := | |
| ((FiberBundle.continuous_proj _ _).comp continuous_snd).continuousAt.preimage_mem_nhds hKn | |
| filter_upwards [hc.eventually HG,hbase] with q hG hqK p hp t ht hne | |
| have hm : movingNormal a (extChartAt π(β,Model n) a q.2.1,(Ο q.2).2) = | |
| riemannianExp q.2.1 q.2.2 := movingNormal_chart (hKa hqK) q.2.2 | |
| have hn : (Ο q.2).2 β 0 := by | |
| intro hz | |
| rw [hz,movingNormal_zero ((extChartAt π(β,Model n) a).map_source (hKa hqK)), | |
| (extChartAt π(β,Model n) a).left_inv (hKa hqK)] at hm | |
| exact hne hm.symm | |
| have hh := hG q.2.1 hqK p hp t ht hn | |
| simpa only [hm] using hh | |
| obtain β¨Ξ΄,hΞ΄,HΞ΄β© := Metric.eventually_nhds_iff.mp H | |
| refine β¨Ξ΄,hΞ΄,?_β© | |
| intro x z hxz hne p hp t ht | |
| obtain β¨q,hq,hqzβ© := exists_minimizing_vector (n := n) x z | |
| have hnq : βqβ = dist x z := by rw [βhq,hqz] | |
| have hr : dist (dist x z) 0 < Ξ΄ := by simpa only [Real.dist_eq,sub_zero,abs_of_nonneg dist_nonneg] using hxz | |
| have hh := HΞ΄ hr β¨x,qβ© hq hnq p hp t ht (by rw [hqz]; exact hne.symm) | |
| simpa only [hqz] using hh | |
| end | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| 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 WeakMTW.uniform_graph_fiber_separation | |
| (hmtw : WeakMTW (n := n) (M := M)) | |
| {v : M β β} (hv : Continuous v) {T : β} (hT : T < 1) | |
| (hID : β x : M, β p β convexHull β (activeLogs (n := n) v x), | |
| β t β Icc (0:β) T, t β’ p β injectivityDomain x) : | |
| β Ξ΄ > 0, β t β Ioc (0:β) T, | |
| β z w : subgradientGraph (n := n) (cTransform v), | |
| dist z.1.1 w.1.1 < Ξ΄ β | |
| graphProjection (cTransform v) t z = graphProjection (cTransform v) t w β z = w := by | |
| obtain β¨Ξ΄,hΞ΄,HΞ΄β© := hmtw.uniform_local_scaled_gap hv hT hID | |
| refine β¨Ξ΄,hΞ΄,?_β© | |
| rintro t ht β¨β¨x,pβ©,hpβ© β¨β¨z,qβ©,hqβ© hdist he | |
| have hpH := normalSubdifferential_subset_active_hull hv x hp | |
| have hqH := normalSubdifferential_subset_active_hull hv z hq | |
| change riemannianExp x (t β’ p) = riemannianExp z (t β’ q) at he | |
| have hxz : x = z := by | |
| by_contra hn | |
| have h1 := HΞ΄ x z hdist hn p hpH t β¨ht.1.le,ht.2β© | |
| have h2 := HΞ΄ z x (by rwa [dist_comm]) (Ne.symm hn) q hqH t β¨ht.1.le,ht.2β© | |
| rw [he] at h1 | |
| linarith | |
| subst z | |
| have hpq : t β’ p = t β’ q := riemannianExp_injOn_injectivityDomain x | |
| (hID x p hpH t β¨ht.1.le,ht.2β©) (hID x q hqH t β¨ht.1.le,ht.2β©) he | |
| have hpq' : p = q := (smul_right_injective _ ht.1.ne') hpq | |
| subst q | |
| rfl | |
| lemma graphProjection_base_dist {v : M β β} (hv : Continuous v) | |
| {t : β} (ht : 0 β€ t) (z : subgradientGraph (n := n) (cTransform v)) : | |
| dist z.1.1 (graphProjection (cTransform v) t z) β€ t * Metric.diam (univ : Set M) := by | |
| apply (dist_riemannianExp_le z.1.1 (t β’ z.1.2)).trans | |
| rw [norm_smul,Real.norm_eq_abs,abs_of_nonneg ht] | |
| exact mul_le_mul_of_nonneg_left | |
| (active_hull_norm_le_diam (normalSubdifferential_subset_active_hull hv z.1.1 z.2)) ht | |
| lemma WeakMTW.exists_short_injective_graphProjection | |
| (hmtw : WeakMTW (n := n) (M := M)) {v : M β β} (hv : Continuous v) : | |
| β Ο > 0, Ο < 1 β§ β t β Ioc (0:β) Ο, | |
| Function.Injective (graphProjection (n := n) (cTransform v) t) := by | |
| obtain β¨T,hT,hT1,Hβ© := exists_uniform_short_active_hull_contraction (n := n) (M := M) | |
| obtain β¨Ξ΄,hΞ΄,HΞ΄β© := hmtw.uniform_graph_fiber_separation hv hT1 | |
| (fun x p hp t ht => H v x p hp t ht.1 ht.2) | |
| let D := Metric.diam (univ : Set M) | |
| have hD : 0 β€ D := Metric.diam_nonneg | |
| let Ο := min T (Ξ΄/(4*(D+1))) | |
| have hΟ : 0 < Ο := lt_min hT (div_pos hΞ΄ (by positivity)) | |
| refine β¨Ο,hΟ,(min_le_left _ _).trans_lt hT1,?_β© | |
| intro t ht z w he | |
| apply HΞ΄ t β¨ht.1,ht.2.trans (min_le_left _ _)β© z w _ he | |
| have hz := graphProjection_base_dist hv ht.1.le z | |
| have hw := graphProjection_base_dist hv ht.1.le w | |
| rw [βhe] at hw | |
| have hd := dist_triangle z.1.1 (graphProjection (cTransform v) t z) w.1.1 | |
| rw [dist_comm (graphProjection (cTransform v) t z) w.1.1] at hd | |
| have htΞ΄ : t * (4*(D+1)) β€ Ξ΄ := | |
| (le_div_iffβ (by positivity : 0 < 4*(D+1))).mp (ht.2.trans (min_le_right _ _)) | |
| change dist z.1.1 (graphProjection (cTransform v) t z) β€ t*D at hz | |
| change dist w.1.1 (graphProjection (cTransform v) t z) β€ t*D at hw | |
| nlinarith [mul_nonneg ht.1.le hD] | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 7.89 kB
- Xet hash:
- 2e6ff7599cd7ae696ea0cde8ce870d16abaf07a7d8dfd6fde6040f363bee4b55
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.