Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Geodesics.DoubleMountain | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| variable {n : β} {M : Type*} [MetricSpace M] | |
| [ChartedSpace (Model n) M] | |
| [RiemannianBundle (fun x : M => TangentSpace π(β,Model n) x)] | |
| def liftedGapSection (u v : M β β) (x : M) (r : β) : | |
| Set (TangentSpace π(β,Model n) x) := | |
| {p | pβminimizingVectors x β§ u x+βpβ^2/2+v (riemannianExp x p)β€r} | |
| lemma cost_minimizingVector {x : M} {p : TangentSpace π(β,Model n) x} | |
| (hp : pβminimizingVectors x) : cost x (riemannianExp x p)=βpβ^2/2 := by | |
| unfold cost | |
| rw [show dist x (riemannianExp x p)=βpβ from hp] | |
| lemma mem_liftedGapSection_iff {u v : M β β} {x : M} {r : β} | |
| {p : TangentSpace π(β,Model n) x} : | |
| pβliftedGapSection u v x r β pβminimizingVectors x β§ riemannianExp x pβgapSection u v x r := by | |
| constructor | |
| Β· intro hp | |
| exact β¨hp.1,by simpa only [gapSection,mem_ofPred_eq,contactGap,cost_minimizingVector hp.1] using hp.2β© | |
| Β· intro hp | |
| exact β¨hp.1,by simpa only [gapSection,mem_ofPred_eq,contactGap,cost_minimizingVector hp.1] using hp.2β© | |
| variable [CompactSpace M] [IsManifold π(β,Model n) β M] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] | |
| lemma liftedGapSection_image (u v : M β β) (x : M) (r : β) : | |
| riemannianExp x '' liftedGapSection (n := n) u v x r=gapSection u v x r := by | |
| apply Subset.antisymm | |
| Β· rintro y β¨p,hp,rflβ© | |
| exact (mem_liftedGapSection_iff.mp hp).2 | |
| Β· intro y hy | |
| obtain β¨p,hp,hpyβ© := exists_minimizing_vector (n := n) x y | |
| exact β¨p,mem_liftedGapSection_iff.mpr β¨hp,by rwa [hpy]β©,hpyβ© | |
| variable [Nonempty M] | |
| lemma WeakMTW.convex_liftedGapSection (hmtw : WeakMTW (n := n) (M := M)) | |
| {u v : M β β} (hu : Continuous u) (hv : Continuous v) (huv : IsCostDualPair u v) | |
| (x : M) (r : β) : Convex β (liftedGapSection (n := n) u v x r) := by | |
| intro p hp q hq a b ha hb hab | |
| have hp' := mem_liftedGapSection_iff.mp hp | |
| have hq' := mem_liftedGapSection_iff.mp hq | |
| obtain β¨hm,hcompβ© := hmtw.double_mountain hp.1 hq.1 ha hb hab | |
| rw [mem_liftedGapSection_iff] | |
| refine β¨hm,?_β© | |
| change u x+cost x (riemannianExp x (a β’ p+b β’ q))+v (riemannianExp x (a β’ p+b β’ q))β€r | |
| have HB : cTransform u (riemannianExp x (a β’ p+b β’ q))β€ | |
| r-u x-cost x (riemannianExp x (a β’ p+b β’ q)) := by | |
| rw [cTransform_le_iff hu] | |
| intro z | |
| rw [cost_symm (riemannianExp x (a β’ p+b β’ q)) z] | |
| have hcp := dualPair_gap_nonneg hv huv z (riemannianExp x p) | |
| have hcq := dualPair_gap_nonneg hv huv z (riemannianExp x q) | |
| have hpS : u x+cost x (riemannianExp x p)+v (riemannianExp x p)β€r := hp'.2 | |
| have hqS : u x+cost x (riemannianExp x q)+v (riemannianExp x q)β€r := hq'.2 | |
| have hpB : cost x (riemannianExp x p)-cost z (riemannianExp x p)β€r-u x+u z := by | |
| dsimp [contactGap] at hcp | |
| linarith [hpS] | |
| have hqB : cost x (riemannianExp x q)-cost z (riemannianExp x q)β€r-u x+u z := by | |
| dsimp [contactGap] at hcq | |
| linarith [hqS] | |
| have hmax := (hcomp z).trans (max_le hpB hqB) | |
| linarith | |
| rw [huv.2] | |
| linarith | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 3.4 kB
- Xet hash:
- 88460c5a10508d1624fbcf6adadd626e894cc506fadd2ea9b3a441822b9b4dcc
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.