Buckets:
cfahlgren1/math / lean /OAI /Analysis /BiholderTransport /CostGeometry /QuantitativeDividedAction.lean
| 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.