cfahlgren1/math / lean /OAI /Analysis /BiholderTransport /CostGeometry /QuantitativeDividedAction.lean
cfahlgren1's picture
download
raw
5.37 kB
import Mathlib
import OAI.Analysis.BiholderTransport.Calculus.JetPullback
import OAI.Analysis.BiholderTransport.Regularity.PrefixAction
import OAI.Analysis.BiholderTransport.Calculus.CompactParameterJets
namespace OAI
noncomputable section
open Set Filter Manifold Bundle
open scoped Topology ContDiff NNReal
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 splitTrialValue_middle_shortLeg {x : M} {p k : TangentSpace π“˜(ℝ,Model n) x}
{t : ℝ} (hp : t β€’ p∈injectivityDomain x)
(hF : ContDiffAt ℝ 2 (shortLegCost x t p) 0) :
splitTrialValue x t 0 k p = t*β€–kβ€–^2+
fderiv ℝ (fderiv ℝ (shortLegCost x t p)) 0 k k/(1-t) := by
let V := TangentSpace π“˜(ℝ,Model n) x
have hline : Tendsto (fun r : ℝ => p+r β€’ k) (𝓝 0) (𝓝 p) := by
simpa only [ContinuousAt,zero_smul,add_zero] using
(show ContinuousAt (fun r : ℝ => p+r β€’ k) 0 from by fun_prop)
have he : (fun r : ℝ => splitNormalAction x t p (r β€’ (0:V),p+r β€’ k)) =αΆ [𝓝 0]
(fun r : ℝ => t*(β€–p+r β€’ kβ€–^2/2)+shortLegCost x t p (r β€’ k)/(1-t)) := by
filter_upwards [hline.eventually (prefixAction_axis_near hp)] with r hr
simp only [splitNormalAction,smul_zero,riemannianExp_zero,shortLegCost]
have H : cost x (riemannianExp x (t β€’ (p+r β€’ k)))/t=t*(β€–p+r β€’ kβ€–^2/2) := by
simpa only [prefixAction,riemannianExp_zero] using hr
rw [H]
have hnorm : ContDiffAt ℝ 2 (fun v : V => β€–vβ€–^2/2) p :=
((half_norm_sq_contDiff (E := V)).of_le
(m := 2) (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2)).contDiffAt
have hnline : ContDiffAt ℝ 2 (fun r : ℝ => β€–p+r β€’ kβ€–^2/2) 0 := by
exact (show ContDiffAt ℝ 2 (fun v : V => β€–vβ€–^2/2) (p+(0:ℝ) β€’ k) from by
simpa only [zero_smul,add_zero] using hnorm).comp (f := fun r:ℝ => p+r β€’ k) 0 (by fun_prop)
have hsline : ContDiffAt ℝ 2 (fun r : ℝ => shortLegCost x t p (r β€’ k)) 0 := by
exact (show ContDiffAt ℝ 2 (shortLegCost x t p) ((0:ℝ) β€’ k) from by
simpa only [zero_smul] using hF).comp (f := fun r:ℝ => r β€’ k) 0 (by fun_prop)
rw [splitTrialValue,he.iteratedDeriv_eq 2,
iteratedDeriv_fun_add (contDiffAt_const.mul hnline) (hsline.div_const (1-t)),
iteratedDeriv_const_mul t hnline]
have hN := iteratedDeriv_two_affine_line hnorm k
rw [half_norm_sq_second_fderiv,real_inner_self_eq_norm_sq] at hN
have hS := iteratedDeriv_two_affine_line hF k
simp only [zero_add] at hS
rw [hN,iteratedDeriv_div_const,hS]
lemma exists_uniform_scaled_middle_bound (R : ℝ) :
βˆƒ C>0, βˆ€αΆ  t in 𝓝 (1:ℝ), βˆ€ x : M,
βˆ€ p k : TangentSpace π“˜(ℝ,Model n) x, β€–p‖≀R β†’ 0<t β†’ t<1 β†’
t β€’ p∈injectivityDomain x β†’ (1-t)*splitTrialValue x t 0 k p ≀ C*β€–kβ€–^2 := by
obtain ⟨B,HB⟩ := exists_uniform_shortLeg_second_bound (n := n) (M := M) R
refine ⟨(B:ℝ)+1,by positivity,?_⟩
filter_upwards [HB] with t ht
intro x p k hp h0 h1 hpre
have H := ht x p hp
rw [splitTrialValue_middle_shortLeg hpre H.1]
have he : (1-t)*(t*β€–kβ€–^2+
fderiv ℝ (fderiv ℝ (shortLegCost x t p)) 0 k k/(1-t)) =
(1-t)*t*β€–kβ€–^2+fderiv ℝ (fderiv ℝ (shortLegCost x t p)) 0 k k := by
field_simp [sub_ne_zero.mpr h1.ne']
rw [he]
have hB := (le_abs_self (fderiv ℝ (fderiv ℝ (shortLegCost x t p)) 0 k k)).trans
(by simpa only [Real.norm_eq_abs] using H.2 k)
have hcoef : (1-t)*t≀1 := by nlinarith
have Hmul := mul_le_mul_of_nonneg_right hcoef (sq_nonneg β€–kβ€–)
nlinarith
lemma exists_uniform_divided_hessian_gap (R : ℝ) :
βˆƒ c>0, βˆ€αΆ  t in 𝓝 (1:ℝ), βˆ€ x : M,
βˆ€ p xi : TangentSpace π“˜(ℝ,Model n) x, β€–p‖≀R β†’ 0<t β†’ t<1 β†’
p∈injectivityDomain x β†’
hessianValue x p xi+c*(1-t)*β€–xiβ€–^2 ≀ hessianValue x (t β€’ p) xi/t := by
obtain ⟨C,hC,HC⟩ := exists_uniform_scaled_middle_bound (n := n) (M := M) R
refine ⟨C⁻¹,inv_pos.mpr hC,?_⟩
filter_upwards [HC] with t ht
intro x p xi hp h0 h1 hpre
have hleft := contracted_minimizer_mem_injectivityDomain
(injectivityDomain_subset_minimizingVectors x hpre) h0 h1
by_cases hxi : xi=0
Β· subst xi
simp only [hessianValue_eq_normalHessian hpre,hessianValue_eq_normalHessian hleft,
map_zero,norm_zero,zero_pow two_ne_zero,mul_zero,add_zero,zero_div,le_refl]
have hpair : inner ℝ xi xiβ‰ 0 := inner_self_ne_zero.mpr hxi
have hright := shifted_injectivityDomain_of_injectivityDomain hpre h0.le h1
obtain ⟨hpos,hSchur⟩ := splitTrialValue_schur h0 h1 hpre hleft hright hpair
rw [splitTrialValue_source,real_inner_self_eq_norm_sq] at hSchur
have HB := ht x p xi hp h0 h1 hleft
have Hlower : C⁻¹*(1-t)*β€–xiβ€–^2≀(β€–xiβ€–^2)^2/splitTrialValue x t 0 xi p := by
apply (le_div_iffβ‚€ hpos).mpr
have Hmul := mul_le_mul_of_nonneg_right HB (sq_nonneg β€–xiβ€–)
have Hdiv := mul_le_mul_of_nonneg_left Hmul (inv_nonneg.mpr hC.le)
convert! Hdiv using 1 <;> field_simp [hC.ne']
linarith
end WeakMTWTransport
end
end OAI

Xet Storage Details

Size:
5.37 kB
Β·
Xet hash:
a04db744dc3e6939d9f048744cc89178e0edbd430f8e1005b728289d9778c87f

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.