Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.LinearAlgebra.ContactStationarity | |
| import OAI.Analysis.BiholderTransport.Contact.LocalUniformTestPDE | |
| import OAI.Analysis.BiholderTransport.LinearAlgebra.NormDetCoercivity | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle Module | |
| open scoped Topology ContDiff BoundedContinuousFunction | |
| namespace WeakMTWTransport | |
| section RelativeHessianBound | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty 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] | |
| def mixedCostOperator (a b : M) (z y : Model n) : Model n βL[β] Model n := | |
| bilinearOperator (-((fderiv β (chartCostCovector a b) (z,y)).comp | |
| (ContinuousLinearMap.inr β (Model n) (Model n)))) | |
| omit [Nonempty M] in | |
| lemma relative_hessian_operator_factor {a : M} {z : Model n} {Ο : Model n β β} | |
| (hz : zβ(extChartAt π(β,Model n) a).target) (hΟ : ContDiffAt β 2 Ο z) | |
| (hp : chartGradientVector a z (fderiv β Ο z)βinjectivityDomain | |
| ((extChartAt π(β,Model n) a).symm z)) : | |
| let b := coordinateBackward a (-1,z,fderiv β Ο z) | |
| bilinearOperator (fderiv β (fderiv β Ο) z+fderiv β (fderiv β (chartCost a b)) z) = | |
| (mixedCostOperator a b z (extChartAt π(β,Model n) b b)).comp | |
| (fderiv β (chartTestContact a b Ο) z) := by | |
| dsimp only | |
| rw [chartTestContact_relative_hessian hz hΟ hp] | |
| apply ContinuousLinearMap.ext | |
| intro d | |
| apply ext_inner_right β | |
| intro e | |
| simp only [ContinuousLinearMap.comp_apply,bilinearOperator_inner,mixedCostOperator, | |
| neg_apply] | |
| variable [MeasurableSpace M] [BorelSpace M] | |
| lemma WeakMTW.exists_strict_relative_hessian_bound (hmtw : WeakMTW (n := n) (M := M)) | |
| {lam cap : β} (hlam : 0<lam) (hcap : 0β€cap) (a : M) (L : Model n βL[β] β) | |
| (hp : chartGradientVector a (extChartAt π(β,Model n) a a) Lβ | |
| injectivityDomain ((extChartAt π(β,Model n) a).symm (extChartAt π(β,Model n) a a))) | |
| {m : β} (hm : 0 < m) : | |
| let z := extChartAt π(β,Model n) a a | |
| let b := coordinateBackward a (-1,z,L) | |
| β Cβ₯0, β (x0 : M) (uv : (M βα΅ β)Γ(M βα΅ β)), | |
| uvβdensityDualClass (metricVolume n) lam cap x0 β | |
| β Ο : Model n β β, ContDiffAt β 2 Ο z β fderiv β Ο z=L β uv.1 a=Ο z β | |
| (β Ξ΅>0,βαΆ w in π z,Ξ΅*dist w z^2β€uv.1 ((extChartAt π(β,Model n) a).symm w)-Ο w) β | |
| (β d : Model n,m*βdβ^2β€fderiv β (fderiv β Ο) z d d+ | |
| fderiv β (fderiv β (chartCost a b)) z d d) β | |
| β d : Model n,fderiv β (fderiv β Ο) z d d+ | |
| fderiv β (fderiv β (chartCost a b)) z d dβ€C*βdβ^2 := by | |
| dsimp only | |
| let z := extChartAt π(β,Model n) a a | |
| let b := coordinateBackward a (-1,z,L) | |
| let B := mixedCostOperator (n := n) a b z (extChartAt π(β,Model n) b b) | |
| obtain β¨K,hK0,hKβ© := hmtw.exists_strict_test_det_bound hlam hcap a L hp | |
| let C := (finrank β (Model n):β)*(|B.det| *K)/m^(finrank β (Model n)-1) | |
| refine β¨C,by dsimp [C]; positivity,?_β© | |
| intro x0 uv huv Ο hΟ hL hval hgap hpos d | |
| have hdet := hK x0 uv huv Ο hΟ hL hval hgap β¨m,hm,hposβ© | |
| let W := fderiv β (fderiv β Ο) z+fderiv β (fderiv β (chartCost a b)) z | |
| have hfactor : bilinearOperator W=B.comp (fderiv β (chartTestContact a b Ο) z) := by | |
| have H := relative_hessian_operator_factor | |
| ((extChartAt π(β,Model n) a).map_source (mem_extChartAt_source a)) hΟ | |
| (show chartGradientVector a z (fderiv β Ο z)βinjectivityDomain | |
| ((extChartAt π(β,Model n) a).symm z) from by rwa [hL]) | |
| simpa only [hL] using H | |
| have hWdet : |(bilinearOperator W).det|β€|B.det| *K := by | |
| rw [hfactor] | |
| change |(B.toLinearMap.comp (fderiv β (chartTestContact a b Ο) z).toLinearMap).det|β€_ | |
| rw [LinearMap.det_comp,abs_mul] | |
| exact mul_le_mul_of_nonneg_left hdet (abs_nonneg _) | |
| exact bilinear_quadratic_bound_of_det hm hpos hWdet d | |
| end RelativeHessianBound | |
| end WeakMTWTransport | |
| end | |
| end | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle Module | |
| open scoped Topology ContDiff BoundedContinuousFunction | |
| namespace WeakMTWTransport | |
| section LocalUniformRelativeHessian | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty 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] | |
| omit [Nonempty M] in | |
| lemma relative_hessian_operator_factor_fixed {a b : M} {z : Model n} {Ο : Model n β β} | |
| (hz : zβ(extChartAt π(β,Model n) a).target) (hΟ : ContDiffAt β 2 Ο z) | |
| (hp : chartGradientVector a z (fderiv β Ο z)βinjectivityDomain | |
| ((extChartAt π(β,Model n) a).symm z)) | |
| (hb : coordinateBackward a (-1,z,fderiv β Ο z)β(extChartAt π(β,Model n) b).source) : | |
| let c := coordinateBackward a (-1,z,fderiv β Ο z) | |
| bilinearOperator (fderiv β (fderiv β Ο) z+fderiv β (fderiv β (chartCost a c)) z) = | |
| (mixedCostOperator a b z (extChartAt π(β,Model n) b c)).comp | |
| (fderiv β (chartTestContact a b Ο) z) := by | |
| dsimp only | |
| rw [chartTestContact_relative_hessian_fixed hz hΟ hp hb] | |
| apply ContinuousLinearMap.ext | |
| intro d | |
| apply ext_inner_right β | |
| intro e | |
| simp only [ContinuousLinearMap.comp_apply,bilinearOperator_inner,mixedCostOperator, | |
| neg_apply] | |
| omit [CompactSpace M] [Nonempty 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] in | |
| lemma mixedCostOperator_continuousAt {a b : M} {q : Model nΓModel n} | |
| (ha : q.1β(extChartAt π(β,Model n) a).target) | |
| (hb : q.2β(extChartAt π(β,Model n) b).target) | |
| (hc : ContMDiffAt (π(β,Model n).prod π(β,Model n)) π(β,β) β | |
| (fun z : MΓM => cost z.1 z.2) | |
| ((extChartAt π(β,Model n) a).symm q.1,(extChartAt π(β,Model n) b).symm q.2)) : | |
| ContinuousAt (fun q : Model nΓModel n => mixedCostOperator a b q.1 q.2) q := by | |
| have H := ((chartCostCovector_contDiffAt ha hb hc).fderiv_right | |
| (m := 0) (by simp)).continuousAt | |
| exact continuousAt_const.clm_comp ((H.clm_comp continuousAt_const).neg) | |
| variable [MeasurableSpace M] [BorelSpace M] | |
| lemma WeakMTW.exists_local_strict_relative_hessian_bound | |
| (hmtw : WeakMTW (n := n) (M := M)) {lam cap : β} | |
| (hlam : 0<lam) (hcap : 0β€cap) (a : M) (L : Model n βL[β] β) | |
| (hp : chartGradientVector a (extChartAt π(β,Model n) a a) Lβ | |
| injectivityDomain ((extChartAt π(β,Model n) a).symm (extChartAt π(β,Model n) a a))) | |
| {m : β} (hm : 0 < m) : | |
| let za := extChartAt π(β,Model n) a a | |
| β N : Set (Model nΓ(Model n βL[β] β)), Nβπ (za,L) β§ | |
| β Cβ₯0,β (x0:M) (uv : (M βα΅ β)Γ(M βα΅ β)), | |
| uvβdensityDualClass (metricVolume n) lam cap x0 β | |
| β (z : Model n) (Ο : Model n β β), (z,fderiv β Ο z)βN β | |
| ContDiffAt β 2 Ο z β | |
| uv.1 ((extChartAt π(β,Model n) a).symm z)=Ο z β | |
| (β Ξ΅>0,βαΆ w in π z,Ξ΅*dist w z^2β€uv.1 ((extChartAt π(β,Model n) a).symm w)-Ο w) β | |
| (β d : Model n,m*βdβ^2β€fderiv β (fderiv β Ο) z d d+ | |
| fderiv β (fderiv β (chartCost a (coordinateBackward a (-1,z,fderiv β Ο z)))) z d d) β | |
| β d : Model n,fderiv β (fderiv β Ο) z d d+ | |
| fderiv β (fderiv β (chartCost a (coordinateBackward a (-1,z,fderiv β Ο z)))) z d dβ€C*βdβ^2 := by | |
| dsimp only | |
| let za := extChartAt π(β,Model n) a a | |
| let b := coordinateBackward a (-1,za,L) | |
| let yb := extChartAt π(β,Model n) b b | |
| let Y := fun q : Model nΓ(Model n βL[β] β) => coordinateBackward a (-1,q.1,q.2) | |
| let J := fun q : Model nΓ(Model n βL[β] β) => (q.1,extChartAt π(β,Model n) b (Y q)) | |
| have ha : zaβ(extChartAt π(β,Model n) a).target := | |
| (extChartAt π(β,Model n) a).map_source (mem_extChartAt_source a) | |
| have hb : ybβ(extChartAt π(β,Model n) b).target := | |
| (extChartAt π(β,Model n) b).map_source (mem_extChartAt_source b) | |
| have hY : ContinuousAt Y (za,L) := | |
| (coordinateBackward_contMDiffAt (q := (-1,za,L)) ha).continuousAt.comp | |
| (x := (za,L)) (continuousAt_const.prodMk continuousAt_id) | |
| have hJ : ContinuousAt J (za,L) := continuousAt_fst.prodMk | |
| ((show ContinuousAt (extChartAt π(β,Model n) b) (Y (za,L)) from continuousAt_extChartAt b).comp (x := (za,L)) (f := Y) hY) | |
| have hc := cost_contMDiffAt_of_injectivityDomain | |
| (β¨(extChartAt π(β,Model n) a).symm za,chartGradientVector a za Lβ© : | |
| TangentBundle π(β,Model n) M) hp | |
| have hc' : ContMDiffAt (π(β,Model n).prod π(β,Model n)) π(β,β) β | |
| (fun z:MΓM => cost z.1 z.2) | |
| ((extChartAt π(β,Model n) a).symm za,(extChartAt π(β,Model n) b).symm yb) := by | |
| rw [(extChartAt π(β,Model n) b).left_inv (mem_extChartAt_source b)] | |
| rw [show b=riemannianExp _ (chartGradientVector a za L) from coordinateBackward_eq_exp_chartGradient ha _] | |
| exact hc | |
| let F := fun q : Model nΓ(Model n βL[β] β) => | |
| |(mixedCostOperator a b (J q).1 (J q).2).det| | |
| have hF : ContinuousAt F (za,L) := | |
| (ContinuousLinearMap.continuous_det.continuousAt.comp | |
| ((mixedCostOperator_continuousAt ha hb hc').comp hJ)).abs | |
| let B := F (za,L)+1 | |
| have hB : 0β€B := by dsimp [B,F]; positivity | |
| have hFn : βαΆ q in π (za,L),F qβ€B := | |
| (hF.eventually (gt_mem_nhds (show F (za,L)<B by dsimp [B]; linarith))).mono (fun _ h => h.le) | |
| obtain β¨U,hU,haU,V,hV,hbV,K,hK,HKβ© := hmtw.exists_locally_uniform_test_det_bound hlam hcap a b | |
| let N := {q : Model nΓ(Model n βL[β] β) | q.1βU β§ | |
| q.1β(extChartAt π(β,Model n) a).target β§ Y qβV β§ | |
| Y qβ(extChartAt π(β,Model n) b).source β§ | |
| chartGradientVector a q.1 q.2βinjectivityDomain ((extChartAt π(β,Model n) a).symm q.1) β§ F qβ€B} | |
| have hN : Nβπ (za,L) := by | |
| filter_upwards [continuousAt_fst.preimage_mem_nhds (hU.mem_nhds haU), | |
| continuousAt_fst.preimage_mem_nhds ((isOpen_extChartAt_target a).mem_nhds ha), | |
| hY.preimage_mem_nhds (hV.mem_nhds hbV), | |
| hY.preimage_mem_nhds (extChartAt_source_mem_nhds (I := π(β,Model n)) b), | |
| chartGradientVector_regular_near ha hp,hFn] with q hβ hβ hβ hβ hβ hβ | |
| exact β¨hβ,hβ,hβ,hβ,hβ ,hββ© | |
| let C := (finrank β (Model n):β)*(B*K)/m^(finrank β (Model n)-1) | |
| refine β¨N,hN,C,by dsimp [C]; positivity,?_β© | |
| intro x0 uv huv z Ο hz hΟ hval hgap hpos d | |
| obtain β¨hzU,hzT,hYV,hYS,hpΟ,hBΟβ© := hz | |
| have hdet := HK z hzU x0 uv huv Ο hΟ hYV hpΟ hval hgap β¨m,hm,hposβ© | |
| let c := coordinateBackward a (-1,z,fderiv β Ο z) | |
| let W := fderiv β (fderiv β Ο) z+fderiv β (fderiv β (chartCost a c)) z | |
| have hfactor := relative_hessian_operator_factor_fixed hzT hΟ hpΟ hYS | |
| have hWdet : |(bilinearOperator W).det|β€B*K := by | |
| rw [hfactor] | |
| change |((mixedCostOperator a b z (extChartAt π(β,Model n) b c)).toLinearMap.comp | |
| (fderiv β (chartTestContact a b Ο) z).toLinearMap).det|β€_ | |
| rw [LinearMap.det_comp,abs_mul] | |
| exact mul_le_mul hBΟ hdet (abs_nonneg _) hB | |
| exact bilinear_quadratic_bound_of_det hm hpos hWdet d | |
| end LocalUniformRelativeHessian | |
| end WeakMTWTransport | |
| end | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 11.9 kB
- Xet hash:
- f9ff7ccce6d5f3cbb1826d42062edd71ac8758b4ded7b934a205ca9c36e6eaa6
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.