Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.CostGeometry.Slack | |
| import OAI.Analysis.BiholderTransport.Coordinates.NormalCoordinates3 | |
| namespace OAI | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| 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 WeakMTW.finite_scaled_transverse_positive | |
| (hmtw : WeakMTW (n := n) (M := M)) | |
| {ΞΉ : Type*} [Fintype ΞΉ] {x : M} | |
| (p : ΞΉ β TangentSpace π(β,Model n) x) (w : ΞΉ β β) | |
| (hw : β i, 0 β€ w i) (hsum : β i, w i = 1) | |
| (hmin : β i, p i β minimizingVectors x) | |
| {t s : β} (ht : 0 β€ t) (hts : t < s) (hs : s < 1) | |
| (hID : β q β convexHull β (range p), t β’ q β injectivityDomain x) | |
| {xi : TangentSpace π(β,Model n) x} (hxi : xi β 0) | |
| (hle : β i, t * inner β (p i - β j, w j β’ p j) xi β€ 0) : | |
| 0 < β i, w i * (hessianValue x (t β’ β j, w j β’ p j) xi - | |
| (t / s) * hessianValue x (s β’ p i) xi) := by | |
| rcases eq_or_lt_of_le ht with ht0 | ht0 | |
| Β· subst t | |
| simp only [zero_smul,hessianValue_zero,zero_div,zero_mul,sub_zero,βFinset.sum_mul,hsum,one_mul] | |
| exact sq_pos_of_pos (norm_pos_iff.mpr hxi) | |
| Β· let r := β j, w j β’ p j | |
| have hneg : β i, inner β (p i-r) xi β€ 0 := by | |
| intro i | |
| exact nonpos_of_mul_nonpos_right (hle i) ht0 | |
| have hmean : β i, w i * inner β (p i-r) xi = 0 := by | |
| simp only [inner_sub_left,mul_sub,Finset.sum_sub_distrib,βFinset.sum_mul,hsum,one_mul] | |
| have he : (β i, w i * inner β (p i) xi) = inner β r xi := by | |
| simp only [r,sum_inner,real_inner_smul_left] | |
| rw [he,sub_self] | |
| have horth : β i, 0 < w i β inner β xi (p i-r) = 0 := by | |
| intro i hi | |
| rw [real_inner_comm] | |
| exact finite_nonnegative_weight_zero_on_pos w (fun i => inner β (p i-r) xi) hw hneg hmean i hi | |
| have H := hmtw.finite_nonnegative_transverse_slack_strict p w hw hsum hmin ht0 hts hs hID hxi horth | |
| have H' := (mul_lt_mul_of_pos_left H ht0) | |
| have he : t * (hessianValue x (t β’ r) xi / t) = hessianValue x (t β’ r) xi := by | |
| field_simp | |
| rw [he] at H' | |
| have heq : (β i, w i * (hessianValue x (t β’ r) xi - | |
| (t/s)*hessianValue x (s β’ p i) xi)) = | |
| hessianValue x (t β’ r) xi - t * β i, w i * (hessianValue x (s β’ p i) xi / s) := by | |
| simp only [mul_sub,Finset.sum_sub_distrib,βFinset.sum_mul,hsum,one_mul] | |
| rw [Finset.mul_sum] | |
| congr 1 | |
| apply Finset.sum_congr rfl | |
| intro i _ | |
| ring | |
| rw [heq] | |
| exact sub_pos.mpr H' | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 2.92 kB
- Xet hash:
- eb114233f1041586fd32564ff1833b319ac2936b7a89b8c67e6fce1323bda6a7
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.