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