Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Duality.CompactDual | |
| import OAI.Analysis.BiholderTransport.CostGeometry.ProjectionContinuation | |
| namespace OAI | |
| noncomputable section | |
| namespace WeakMTWTransport | |
| section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| 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] | |
| lemma WeakMTW.global_support | |
| (hmtw : WeakMTW (n := n) (M := M)) {v : M โ โ} (hv : Continuous v) | |
| {x : M} {p : TangentSpace ๐(โ,Model n) x} | |
| (hp : p โ normalSubdifferential (cTransform v) x) : | |
| p โ minimizingVectors x โง โ a : M, | |
| cTransform v x+cost x (riemannianExp x p) โค | |
| cTransform v a+cost a (riemannianExp x p) := by | |
| let z : subgradientGraph (n := n) (cTransform v) := โจโจx,pโฉ,hpโฉ | |
| have H := graph_global_min_at_left_limit (continuous_cTransform hv) (by norm_num : (0:โ)<1) | |
| (fun t ht => hmtw.injective_graphProjection hv ht.1 ht.2) z | |
| simpa only [one_smul,div_one,graphProjection,z] using H | |
| lemma WeakMTW.active_hull_global_support | |
| (hmtw : WeakMTW (n := n) (M := M)) {v : M โ โ} (hv : Continuous v) | |
| {x : M} {p : TangentSpace ๐(โ,Model n) x} | |
| (hp : p โ convexHull โ (activeLogs (n := n) v x)) : | |
| p โ minimizingVectors x โง โ a : M, | |
| cTransform v x+cost x (riemannianExp x p) โค | |
| cTransform v a+cost a (riemannianExp x p) := | |
| hmtw.global_support hv (active_hull_subset_normalSubdifferential hv x hp) | |
| end | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| variable {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty M] | |
| def twoMountain (x yโ yโ z : M) : โ := | |
| max (cost x yโ-cost z yโ) (cost x yโ-cost z yโ) | |
| omit [CompactSpace M] [Nonempty M] in | |
| lemma continuous_twoMountain (x yโ yโ : M) : Continuous (twoMountain x yโ yโ) := | |
| (continuous_const.sub (continuous_cost_left yโ)).max (continuous_const.sub (continuous_cost_left yโ)) | |
| omit [CompactSpace M] [Nonempty M] in | |
| lemma twoMountain_self (x yโ yโ : M) : twoMountain x yโ yโ x=0 := by simp [twoMountain] | |
| lemma cTransform_eq_of_lower_mountain {f : M โ โ} (hf : Continuous f) | |
| {x y : M} (hx : f x=0) (hm : โ z, cost x y-cost z yโคf z) : | |
| cTransform f y = -cost x y := by | |
| apply le_antisymm | |
| ยท rw [cTransform_le_iff hf] | |
| intro z | |
| rw [cost_symm y z] | |
| linarith [hm z] | |
| ยท have hh := cTransform_gap_nonneg hf y x | |
| rw [contactGap,cost_symm y x,hx] at hh | |
| linarith | |
| lemma cTransform_twoMountain_left (x yโ yโ : M) : | |
| cTransform (twoMountain x yโ yโ) yโ = -cost x yโ := | |
| cTransform_eq_of_lower_mountain (continuous_twoMountain x yโ yโ) | |
| (twoMountain_self x yโ yโ) (fun _ => le_max_left _ _) | |
| lemma cTransform_twoMountain_right (x yโ yโ : M) : | |
| cTransform (twoMountain x yโ yโ) yโ = -cost x yโ := | |
| cTransform_eq_of_lower_mountain (continuous_twoMountain x yโ yโ) | |
| (twoMountain_self x yโ yโ) (fun _ => le_max_right _ _) | |
| lemma cTransform_cTransform_twoMountain (x yโ yโ : M) : | |
| cTransform (cTransform (twoMountain x yโ yโ))=twoMountain x yโ yโ := by | |
| funext z | |
| apply le_antisymm (cTransform_cTransform_le (continuous_twoMountain x yโ yโ) z) | |
| apply max_le | |
| ยท have h := cTransform_gap_nonneg (continuous_cTransform (continuous_twoMountain x yโ yโ)) z yโ | |
| rw [contactGap,cTransform_twoMountain_left] at h | |
| linarith | |
| ยท have h := cTransform_gap_nonneg (continuous_cTransform (continuous_twoMountain x yโ yโ)) z yโ | |
| rw [contactGap,cTransform_twoMountain_right] at h | |
| linarith | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 3.91 kB
- Xet hash:
- bb098697432c925cb4db1353506628758ec1ade5480c91acbd6d10a690a2360e
ยท
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.