File size: 7,895 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | import Mathlib
import OAI.Analysis.BiholderTransport.Coordinates.ManifoldLipschitz
import OAI.Analysis.BiholderTransport.Coordinates.ChartCostJets
namespace OAI
noncomputable section
namespace WeakMTWTransport
section
open Set Filter
open scoped Topology ContDiff
variable {Q E : Type*} [NormedAddCommGroup Q] [NormedSpace β Q]
[NormedAddCommGroup E] [NormedSpace β E]
lemma compact_parameter_second_jet {K : Set Q} (hK : IsCompact K)
{F : (βΓQ) β E β β} {t : β}
(hF : β qβK, ContDiffAt β β (Function.uncurry F) ((t,q),0)) :
β B>0, βαΆ s in π t, β qβK,
ContDiffAt β 2 (F (s,q)) 0 β§ βfderiv β (fderiv β (F (s,q))) 0ββ€B := by
let H := fun z : βΓQ => fderiv β (fderiv β (F z)) 0
have hH : β qβK, ContinuousAt H (t,q) := by
intro q hq
exact (ContDiffAt.partial_snd_fderiv_two (hF q hq)).continuousAt.comp
(x := (t,q)) (f := fun z : βΓQ => (z,(0:E)))
(continuousAt_id.prodMk continuousAt_const)
obtain β¨B,hB,HBβ© := compact_eventually_fiberwise_bound hK
(f := fun _ : Q => ()) continuous_const (g := fun _ : β => ())
(continuousAt_const (x := t)) (h := H) (fun q hq _ => hH q hq)
have HS : βαΆ s in π t, β qβK, ()=() β ContDiffAt β 2 (F (s,q)) 0 := by
apply compact_eventually_fiberwise hK (f := fun _ : Q => ()) continuous_const
(g := fun _ : β => ()) (continuousAt_const (x := t))
intro q hq _
have He := ((hF q hq).of_le
(m := 2) (ENat.natCast_le_of_coe_top_le_withTop le_rfl 2)).eventually (by simp)
have hc : ContinuousAt (fun z : βΓQ => (z,(0:E))) (t,q) :=
continuousAt_id.prodMk continuousAt_const
filter_upwards [hc.tendsto.eventually He] with z hz
exact hz.comp (0:E) (contDiffAt_const.prodMk contDiffAt_id)
refine β¨B,hB,?_β©
filter_upwards [HB,HS] with s hb hs
exact fun q hq => β¨hs q hq rfl,hb q hq rflβ©
end
open Set Filter Manifold Bundle Metric
open scoped Topology ContDiff NNReal
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]
def shortLegCost (x : M) (t : β) (p h : TangentSpace π(β,Model n) x) : β :=
cost (riemannianExp x (t β’ (p+h))) (riemannianExp x p)
def movingShortLegCost (a : M) (z : β Γ (Model n Γ Model n)) (h : Model n) : β :=
cost (movingNormal a (z.2.1,z.1 β’ (z.2.2+h))) (movingNormal a z.2)
lemma movingShortLegCost_contDiffAt {a : M} {b p : Model n}
(hb : bβ(extChartAt π(β,Model n) a).target) :
ContDiffAt β β (Function.uncurry (movingShortLegCost a)) ((1,(b,p)),0) := by
let Z := (β Γ (Model n Γ Model n)) Γ Model n
have hA : ContMDiffAt π(β,Z) π(β,Model n) β
(fun q : Z => movingNormal a (q.1.2.1,q.1.1 β’ (q.1.2.2+q.2))) ((1,(b,p)),0) := by
refine (show ContMDiffAt π(β,Model n Γ Model n) π(β,Model n) β
(movingNormal a) (b,(1:β) β’ (p+0)) from by simpa using movingNormal_contMDiffAt hb).comp
(f := fun q : Z => (q.1.2.1,q.1.1 β’ (q.1.2.2+q.2))) ((1,(b,p)),0) ?_
exact (contDiffAt_fst.snd.fst.prodMk
(contDiffAt_fst.fst.smul (contDiffAt_fst.snd.snd.add contDiffAt_snd))).contMDiffAt
have hB : ContMDiffAt π(β,Z) π(β,Model n) β
(fun q : Z => movingNormal a q.1.2) ((1,(b,p)),0) :=
(movingNormal_contMDiffAt (q := (b,p)) hb).comp ((1,(b,p)),0)
contDiffAt_fst.snd.contMDiffAt
have hC : ContMDiffAt (π(β,Model n).prod π(β,Model n)) π(β,β) β
(fun q : M Γ M => cost q.1 q.2)
(movingNormal a (b,(1:β) β’ (p+0)),movingNormal a (b,p)) := by
simpa only [add_zero,one_smul,riemannianExp_zero] using
cost_contMDiffAt_of_injectivityDomain
(β¨movingNormal a (b,p),0β© : TangentBundle π(β,Model n) M)
(zero_mem_injectivityDomain (movingNormal a (b,p)))
exact (hC.comp ((1,(b,p)),0) (hA.prodMk hB)).contDiffAt
lemma shortLeg_second_bound_near_base (R : β) (a : M) :
β C : ββ₯0, β Kβπ a, βαΆ t in π (1:β), β xβK,
β p : TangentSpace π(β,Model n) x, βpββ€R β
ContDiffAt β 2 (shortLegCost x t p) 0 β§
β k : TangentSpace π(β,Model n) x,
βfderiv β (fderiv β (shortLegCost x t p)) 0 k kββ€C*βkβ^2 := by
have : IsContinuousRiemannianBundle (Model n)
(fun x : M => TangentSpace π(β,Model n) x) :=
continuousRiemannianBundle_of_smooth (IB := π(β,Model n))
obtain β¨B,hBpos,hBβ© := eventually_norm_trivializationAt_lt (Model n)
(fun x : M => TangentSpace π(β,Model n) x) a
obtain β¨K,hKn,hKs,hKcβ© := local_compact_nhds
(inter_mem (extChartAt_source_mem_nhds (I := π(β,Model n)) a) hB)
let Ο := extChartAt π(β,Model n) a
let P := (Ο '' K) ΓΛ’ closedBall (0 : Model n) (B*R)
have hPc : IsCompact P :=
(hKc.image_of_continuousOn ((continuousOn_extChartAt a).mono
(fun x hx => (hKs hx).1))).prod (isCompact_closedBall _ _)
obtain β¨D,hDpos,HDβ© := compact_parameter_second_jet hPc
(F := movingShortLegCost a) (t := 1) (fun q hq => movingShortLegCost_contDiffAt (by
obtain β¨x,hx,hxqβ© := hq.1
rw [βhxq]
exact Ο.map_source (hKs hx).1))
refine β¨β¨D*B^2,mul_nonneg hDpos.le (sq_nonneg B)β©,K,hKn,?_β©
filter_upwards [HD] with t ht
intro x hx p hp
let A := (trivializationAt (Model n) (TangentSpace π(β,Model n)) a).continuousLinearMapAt β x
have hpP : (Ο x,A p)βP := by
refine β¨mem_image_of_mem Ο hx,?_β©
rw [mem_closedBall,dist_zero_right]
exact (A.le_opNorm p).trans (mul_le_mul (hKs hx).2.le hp (norm_nonneg _) hBpos.le)
have he : shortLegCost x t p = (fun h => movingShortLegCost a (t,(Ο x,A p)) (A h)) := by
funext h
dsimp only [shortLegCost,movingShortLegCost]
rw [βmap_add,βmap_smul,movingNormal_trivialization_exp (hKs hx).1,
movingNormal_trivialization_exp (hKs hx).1]
rw [he]
have HD' := ht (Ο x,A p) hpP
refine β¨(show ContDiffAt β 2 (movingShortLegCost a (t,(Ο x,A p))) (A 0) from by
simpa only [map_zero] using HD'.1).comp 0 A.contDiff.contDiffAt,?_β©
intro k
rw [second_fderiv_comp_linear_zero HD'.1 A k]
let H := fderiv β (fderiv β (movingShortLegCost a (t,(Ο x,A p)))) 0
have hAk : βA kββ€B*βkβ :=
(A.le_opNorm k).trans (mul_le_mul_of_nonneg_right (hKs hx).2.le (norm_nonneg _))
calc
βH (A k) (A k)ββ€βH (A k)β*βA kβ := (H (A k)).le_opNorm _
_β€(βHβ*βA kβ)*βA kβ := mul_le_mul_of_nonneg_right (H.le_opNorm _) (norm_nonneg _)
_β€(D*βA kβ)*βA kβ := by gcongr; exact HD'.2
_β€(D*(B*βkβ))*(B*βkβ) := by gcongr
_=(D*B^2)*βkβ^2 := by ring
lemma exists_uniform_shortLeg_second_bound (R : β) :
β C : ββ₯0, βαΆ t in π (1:β), β x : M,
β p : TangentSpace π(β,Model n) x, βpββ€R β
ContDiffAt β 2 (shortLegCost x t p) 0 β§
β k : TangentSpace π(β,Model n) x,
βfderiv β (fderiv β (shortLegCost x t p)) 0 k kββ€C*βkβ^2 := by
classical
choose C K hKn hK using shortLeg_second_bound_near_base (n := n) (M := M) R
obtain β¨s,hsβ© := finite_cover_nhds hKn
refine β¨s.sup C,?_β©
have HT := (eventually_all_finset s).mpr (fun a _ => hK a)
filter_upwards [HT] with t ht
intro x p hp
have hx : xβ β aβs,K a := by rw [hs]; trivial
obtain β¨a,ha,hxaβ© := mem_iUnionβ.mp hx
have H := ht a ha x hxa p hp
refine β¨H.1,fun k => (H.2 k).trans ?_β©
exact mul_le_mul_of_nonneg_right (by exact_mod_cast Finset.le_sup (f := C) ha) (sq_nonneg _)
end WeakMTWTransport
end
end OAI
|