File size: 11,835 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 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 | import Mathlib
import OAI.Analysis.BiholderTransport.LinearAlgebra.FirstMatrixLimit
import OAI.Analysis.BiholderTransport.Coordinates.CoordinateMatrices
import OAI.Analysis.BiholderTransport.Coordinates.ChartActiveLimit
namespace OAI
noncomputable section
open Set Filter Manifold Bundle
open scoped Topology ContDiff
namespace WeakMTWTransport
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]
structure ChartFixedPrefixLimit (a : M) (v G : M β β) (t : β)
(q : β β subgradientGraph (n := n) (cTransform v))
(qβ : subgradientGraph (n := n) (cTransform v)) where
Ο : β β β
strictMono : StrictMono Ο
pj : β β Fin (Module.finrank β (Model n)+1) β Model n
w : β β Fin (Module.finrank β (Model n)+1) β β
pjβ : Fin (Module.finrank β (Model n)+1) β Model n
wβ : Fin (Module.finrank β (Model n)+1) β β
H : Model n βL[β] Model n βL[β] β
L : Model n βL[β] Model n βL[β] β
activeLimit : β i,chartFiberInverse a (graphBaseCoordinate a qβ.1) (pjβ i)β
activeLogs v ((extChartAt π(β,Model n) a).symm (graphBaseCoordinate a qβ.1))
nonnegLimit : β i,0β€wβ i
totalLimit : β i,wβ i=1
baryLimit : β i,wβ i β’ pjβ i=graphVelocityCoordinate a qβ.1
pjLimit : Tendsto pj atTop (π pjβ)
wLimit : Tendsto w atTop (π wβ)
HLimit : Tendsto (fun k=>coordinateCenterMatrix a t G
(graphBaseCoordinate a (q (Ο k)).1)
(graphVelocityCoordinate a (q (Ο k)).1)) atTop (π H)
LLimit : Tendsto (fun k=>coordinatePoleMatrix a t v
(graphBaseCoordinate a (q (Ο k)).1)
(graphVelocityCoordinate a (q (Ο k)).1)) atTop (π L)
positive : β d:Model n,0β€L d d
symmetric : β d e:Model n,L d e=L e d
kernel : β i,β d:Model n,L (pjβ i-graphVelocityCoordinate a qβ.1) d=0
upper : β d:Model n,H d dβ€L d d
samples : βαΆ k in atTop,
let b := graphBaseCoordinate a (q (Ο k)).1
let p := graphVelocityCoordinate a (q (Ο k)).1
let A := chartFiberInverse a b
(β i,0β€w k i) β§ (β i,w k i=1) β§ (β i,w k i β’ pj k i=p) β§
(β i,A (pj k i)βactiveLogs v ((extChartAt π(β,Model n) a).symm b)) β§
(β i,0<w k i β HasLowerSecondTaylor
(fun r:Model n=>v (movingNormal a (b,pj k i+r))+βA (pj k i+r)β^2/2) 0
(w k i β’ coordinatePoleMatrix a t v b p))
lemma WeakMTW.first_fixed_prefix_limit_in_chart
(hmtw : WeakMTW (n := n) (M := M)) {v G : M β β} (hv : Continuous v)
{t : β} (ht : 0<t) (ht1 : t<1)
(q : β β subgradientGraph (n := n) (cTransform v))
(qβ : subgradientGraph (n := n) (cTransform v))
(hz : Tendsto (fun k=>graphProjection (cTransform v) t (q k)) atTop
(π (graphProjection (cTransform v) t qβ)))
{a c d : M}
(ha0 : qβ.1.1β(extChartAt π(β,Model n) a).source)
(hc : graphProjection (cTransform v) t qββ(extChartAt π(β,Model n) c).source)
(hd : qβ.1.1β(extChartAt π(β,Model n) d).source) :
let Ο := extChartAt π(β,Model n) c
let F := fun z:Model n=>hopfLax t (cTransform v) (Ο.symm z)
let C := fun z:Model n=>G (Ο.symm z)
let z := fun k=>Ο (graphProjection (cTransform v) t (q k))
let zβ := Ο (graphProjection (cTransform v) t qβ)
β Af Ac : Model n βL[β] Model n βL[β] β,
ContinuousAt (fderiv β F) zβ β ContinuousAt (fderiv β C) zβ β
(βαΆ z in π zβ,DifferentiableAt β F z β§ DifferentiableAt β C z) β
Tendsto (fun k=>fderiv β (fderiv β F) (z k)) atTop (π Af) β
Tendsto (fun k=>fderiv β (fderiv β C) (z k)) atTop (π Ac) β
Tendsto (fun k=>fderiv β F (z k)+fderiv β C (z k)) atTop (π 0) β
(β r:Model n,Af r r+Ac r rβ€0) β
(βαΆ k in atTop,DifferentiableAt β (fderiv β F) (z k) β§
DifferentiableAt β (fderiv β C) (z k) β§ DifferentiableAt β
(fun w:Model n=>extChartAt π(β,Model n) d
(hopfPole (n := n) t (cTransform v) (Ο.symm w))) (z k)) β
Nonempty (ChartFixedPrefixLimit a v G t q qβ) := by
dsimp only
intro Af Ac hF hC hnear hAf hAc herr hquad hsample
let Ο := extChartAt π(β,Model n) c
let F := fun z:Model n=>hopfLax t (cTransform v) (Ο.symm z)
let C := fun z:Model n=>G (Ο.symm z)
let z := fun k=>Ο (graphProjection (cTransform v) t (q k))
let zβ := Ο (graphProjection (cTransform v) t qβ)
have hzCoord : Tendsto z atTop (π zβ) :=
((continuousOn_extChartAt _).continuousAt ((isOpen_extChartAt_source _).mem_nhds hc)).tendsto.comp hz
have hjF := hF.tendsto.comp hzCoord
have hjC := hC.tendsto.comp hzCoord
have hgrad : fderiv β F zβ+fderiv β C zβ=0 := tendsto_nhds_unique (hjF.add hjC) herr
obtain β¨K,hK,hKs,pj,w,pjβ,wβ,Ο,hΟ,hs,hpj,hw,ha,hn,h1,hbarβ© :=
hmtw.active_barycentric_tail_limit_in_chart hv ht ht1 q qβ hz ha0
let b := fun k=>graphBaseCoordinate a (q (Ο k)).1
let p := fun k=>graphVelocityCoordinate a (q (Ο k)).1
let bβ := graphBaseCoordinate a qβ.1
let pβ := graphVelocityCoordinate a qβ.1
have hq := hmtw.graph_points_tendsto hv ht ht1 (hz.comp hΟ.tendsto_atTop)
have hbase := (FiberBundle.continuous_proj (Model n) (TangentSpace π(β,Model n))).tendsto qβ.1 |>.comp hq
have hbsource : βαΆ k in atTop,(q (Ο k)).1.1β(extChartAt π(β,Model n) a).source :=
hbase.eventually ((isOpen_extChartAt_source _).mem_nhds ha0)
have hdsource : βαΆ k in atTop,(q (Ο k)).1.1β(extChartAt π(β,Model n) d).source :=
hbase.eventually ((isOpen_extChartAt_source _).mem_nhds hd)
have hzsource : βαΆ k in atTop,graphProjection (cTransform v) t (q (Ο k))βΟ.source :=
(hz.comp hΟ.tendsto_atTop).eventually ((isOpen_extChartAt_source _).mem_nhds hc)
obtain β¨hb,hpβ© := hmtw.graph_coordinate_limit_in_chart hv ht ht1 (hz.comp hΟ.tendsto_atTop) ha0
have hbβ : bββ(extChartAt π(β,Model n) a).target :=
(extChartAt π(β,Model n) a).map_source ha0
have hpβ : t β’ chartFiberInverse a bβ pββ
injectivityDomain ((extChartAt π(β,Model n) a).symm bβ) := by
exact
hmtw.graphCoordinate_prefix_regular hv ht ht1 qβ ha0
have heβ : movingPrefix a t bβ pβ=graphProjection (cTransform v) t qβ := by
exact
movingPrefix_graph_coordinates ha0 t (q := qβ.1)
have hg := movingPrefixChart_contDiffAt hbβ (heβ βΈ hc)
have henergy := movingPrefixEnergy_contDiffAt hbβ hpβ
have he : βαΆ k in atTop,movingPrefix a t (b k) (p k)=
graphProjection (cTransform v) t (q (Ο k)) :=
hbsource.mono (fun k hk=>movingPrefix_graph_coordinates hk t)
have hzEq : βαΆ k in atTop,movingPrefixChart a c t (b k) (p k)=z (Ο k) :=
he.mono (fun k hk=>congrArg Ο hk)
have hM : βαΆ k in atTop,
(β r:Model n,0β€coordinatePoleMatrix a t v (b k) (p k) r r) β§
(β r s:Model n,coordinatePoleMatrix a t v (b k) (p k) r s=
coordinatePoleMatrix a t v (b k) (p k) s r) β§
(β i,β r:Model n,coordinatePoleMatrix a t v (b k) (p k) (pj k i-p k) r=0) β§
(β i,chartFiberInverse a (b k) (pj k i)β
activeLogs v ((extChartAt π(β,Model n) a).symm (b k))) β§
(β i,0<w k i β HasLowerSecondTaylor
(fun r:Model n=>v (movingNormal a (b k,pj k i+r))+
βchartFiberInverse a (b k) (pj k i+r)β^2/2) 0
(w k i β’ coordinatePoleMatrix a t v (b k) (p k))) := by
filter_upwards [hbsource,hdsource,hzsource,he,hzEq,hΟ.tendsto_atTop.eventually hsample]
with k hbk hdk hzk hek hzEk hsk
have hbtk := (extChartAt π(β,Model n) a).map_source hbk
have hba : (extChartAt π(β,Model n) a).symm (b k)=(q (Ο k)).1.1 :=
(extChartAt π(β,Model n) a).left_inv hbk
have hact : β i,chartFiberInverse a (b k) (pj k i)β
activeLogs v ((extChartAt π(β,Model n) a).symm (b k)) :=
fun i=>(mem_active_coordinates hKs ((hs k).1 i)).2.1
obtain β¨hpos,hsym,hker,hjetβ© := hmtw.coordinate_sample_pole_matrix hv ht ht1 hbtk
(graphCoordinate_normalSubdifferential (q (Ο k)) hbk) (hek βΈ hzk) (hba βΈ hdk)
(show DifferentiableAt β _ (movingPrefixChart a c t (b k) (p k)) from hzEk βΈ hsk.2.2)
exact β¨hpos,hsym,fun i=>hker (pj k i) (hact i),hact,
fun i hi=>hjet _ (pj k) (w k) (hs k).2.1 (hs k).2.2.1 (hs k).2.2.2 hact i hiβ©
have hL_eq : βαΆ k in atTop,coordinatePoleMatrix a t v (b k) (p k)=
fderiv β (fderiv β (movingPrefixEnergy a t (b k))) (p k)-
fderiv β (fderiv β (fun r=>F (movingPrefixChart a c t (b k) r))) (p k) := by
filter_upwards [hbsource,hzsource,he] with k hbk hzk hek
exact coordinatePoleMatrix_chart ((extChartAt π(β,Model n) a).map_source hbk) (hek βΈ hzk)
have hH_eq : βαΆ k in atTop,coordinateCenterMatrix a t G (b k) (p k)=
fderiv β (fderiv β (movingPrefixEnergy a t (b k))) (p k)+
fderiv β (fderiv β (fun r=>C (movingPrefixChart a c t (b k) r))) (p k) := by
filter_upwards [hbsource,hzsource,he] with k hbk hzk hek
exact coordinateCenterMatrix_chart ((extChartAt π(β,Model n) a).map_source hbk) (hek βΈ hzk)
have hDz : βαΆ k in atTop,
(βαΆ y in π (movingPrefixChart a c t (b k) (p k)),DifferentiableAt β F y β§ DifferentiableAt β C y) β§
DifferentiableAt β (fderiv β F) (movingPrefixChart a c t (b k) (p k)) β§
DifferentiableAt β (fderiv β C) (movingPrefixChart a c t (b k) (p k)) := by
filter_upwards [(hzCoord.comp hΟ.tendsto_atTop).eventually (eventually_eventually_nhds.mpr hnear),
hΟ.tendsto_atTop.eventually hsample,hzEq] with k hnk hsk hek
rw [hek]
exact β¨hnk,hsk.1,hsk.2.1β©
have hpos : βαΆ k in atTop,β r:Model n,
0β€(fderiv β (fderiv β (movingPrefixEnergy a t (b k))) (p k)-
fderiv β (fderiv β (fun r=>F (movingPrefixChart a c t (b k) r))) (p k)) r r := by
filter_upwards [hM,hL_eq] with k hk he; rw [βhe]; exact hk.1
have hker : βαΆ k in atTop,β i,β r:Model n,
(fderiv β (fderiv β (movingPrefixEnergy a t (b k))) (p k)-
fderiv β (fderiv β (fun r=>F (movingPrefixChart a c t (b k) r))) (p k)) (pj k i-p k) r=0 := by
filter_upwards [hM,hL_eq] with k hk he; rw [βhe]; exact hk.2.2.1
obtain β¨H,L,hH,hL,hpositive,hkernel,hupperβ© := first_fixed_prefix_matrix_limit
henergy hg hb hp (fun i=>tendsto_pi_nhds.mp hpj i)
((hjF.comp hΟ.tendsto_atTop).congr' (hzEq.mono (fun k hk=>congrArg (fderiv β F) hk.symm)))
((hjC.comp hΟ.tendsto_atTop).congr' (hzEq.mono (fun k hk=>congrArg (fderiv β C) hk.symm)))
((hAf.comp hΟ.tendsto_atTop).congr' (hzEq.mono (fun k hk=>congrArg (fderiv β (fderiv β F)) hk.symm)))
((hAc.comp hΟ.tendsto_atTop).congr' (hzEq.mono (fun k hk=>congrArg (fderiv β (fderiv β C)) hk.symm)))
(hDz.mono (fun k hk=>β¨hk.1.mono (fun y hy=>hy.1),hk.2.1β©))
(hDz.mono (fun k hk=>β¨hk.1.mono (fun y hy=>hy.2),hk.2.2β©)) hgrad hquad hpos hker
have hH' := hH.congr' (hH_eq.mono (fun k hk=>hk.symm))
have hL' := hL.congr' (hL_eq.mono (fun k hk=>hk.symm))
refine β¨β¨Ο,hΟ,pj,w,pjβ,wβ,H,L,(fun i=>(mem_active_coordinates hKs (ha i)).2.1),hn,h1,hbar,hpj,hw,hH',hL',hpositive,
fun r s=>bilinear_limit_symm hL' (hM.mono (fun k hk=>hk.2.1)) r s,?_,hupper,?_β©β©
Β· exact hkernel
Β· filter_upwards [hM] with k hk
exact β¨(hs k).2.1,(hs k).2.2.1,(hs k).2.2.2,hk.2.2.2.1,hk.2.2.2.2β©
end WeakMTWTransport
end
end OAI
|