cfahlgren1's picture
download
raw
2.92 kB
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.