Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.Calculus.LowerTaylorComposition | |
| import OAI.Analysis.BiholderTransport.Regularity.OuterIntrinsicSecond | |
| import OAI.Analysis.BiholderTransport.Coordinates.NormalEndpointInverse | |
| namespace OAI | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff BoundedContinuousFunction | |
| namespace WeakMTWTransport | |
| section OuterTrueMatrix | |
| variable {n : β} {M : Type*} [MetricSpace M] [CompactSpace M] [Nonempty M] | |
| [MeasurableSpace M] [BorelSpace 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] | |
| local instance otFinite (x:M) : FiniteDimensional β (TangentSpace π(β,Model n) x) := | |
| inferInstanceAs (FiniteDimensional β (Model n)) | |
| local instance otComplete (x:M):CompleteSpace (TangentSpace π(β,Model n) x):= | |
| FiniteDimensional.complete β _ | |
| lemma WeakMTW.exists_uniform_outer_true_matrix | |
| (hmtw:WeakMTW (n:=n) (M:=M)) {lam cap:β} (hlam:0<lam) (hcap:0β€cap) : | |
| βK>0,β (x y:M) (p:TangentSpace π(β,Model n) x) | |
| (r:TangentSpace π(β,Model n) y) (G:MΓM β β) (l:β), | |
| riemannianExp x p=y β riemannianExp y r=x β rβminimizingVectors y β | |
| Function.Injective (fderiv β (fun v=>extChartAt π(β,Model n) | |
| (riemannianExp x p) (riemannianExp x v)) p) β | |
| ContMDiffAt (π(β,Model n).prod π(β,Model n)) π(β,β) β G (y,x) β | |
| (βαΆ q in π p,G (riemannianExp x q,x)=βqβ^2/2) β | |
| (βαΆ z in π (β¨y,rβ©:TangentBundle π(β,Model n) M),z.2βinjectivityDomain z.1 β | |
| (fun q:MΓM=>cost q.1 q.2)=αΆ [π (z.1,riemannianExp z.1 z.2)] G) β 1<l β | |
| β (x0:M) (uv:(M βα΅ β)Γ(M βα΅ β)) (Ο:β β β), | |
| uvβdensityDualClass (metricVolume n) lam cap x0 β StrictMono Ο β | |
| ContDiffAt β 2 Ο (uv.2 y) β HasDerivAt Ο l (uv.2 y) β iteratedDeriv 2 Ο (uv.2 y)β€0 β | |
| β B:TangentSpace π(β,Model n) x βL[β] TangentSpace π(β,Model n) x βL[β] β, | |
| (βd e,B d e=B e d) β (βd,0β€B d d) β | |
| HasLowerSecondTaylor (fun d=>Ο (uv.2 (riemannianExp x (p+d)))+βp+dβ^2/2) 0 B β | |
| β (C:TangentSpace π(β,Model n) x βL[β] TangentSpace π(β,Model n) y) | |
| (V:TangentSpace π(β,Model n) x βL[β] TangentSpace π(β,Model n) x), | |
| Function.Injective C β§ C.toLinearMap.normDet=expJacobian (n:=n) x p β§ | |
| (βd,inner β r (C d)=-inner β p d) β§ | |
| (βd e,inner β (V d) e=inner β d (V e)) β§ | |
| (βd,dβ 0 β 0 < inner β (V d) d) β§ | |
| (βd,inner β (V d) d=B d d+(l*hessianValue y (lβ»ΒΉ β’ r) (C d)- | |
| fderiv β (fderiv β (fun w=>G (riemannianExp y w,x))) 0 (C d) (C d))- | |
| (iteratedDeriv 2 Ο (uv.2 y)/l^2)*(inner β p d)^2) β§ | |
| expJacobian (n:=n) y (lβ»ΒΉ β’ r)*V.detβ€l^n*K*(expJacobian (n:=n) x p)^2 := by | |
| obtain β¨K,hK,HKβ©:=hmtw.exists_uniform_outer_normal_det_bound_second hlam hcap | |
| refine β¨K,hK,?_β© | |
| intro x y p r G l hxy hyx hr hp hG hact hagree hl x0 uv Ο huv hmono hΟ hd hconc B hBs hB hjet | |
| subst y | |
| let y:=riemannianExp x p | |
| let E:=TangentSpace π(β,Model n) x | |
| let F:=TangentSpace π(β,Model n) y | |
| obtain β¨e,C,he,he0,hei,hCI,hCJ,hJC,hCdβ©:=exists_normal_endpoint_inverse hp | |
| let J:F βL[β] E:=fderiv β e 0 | |
| let H:=pullBilinear B J | |
| have hHs:βd e,H d e=H e d:=by intro d e; exact hBs (J d) (J e) | |
| have hHp:βd,0β€H d d:=fun d=>hB (J d) | |
| have hJcomp (d:E):J (C d)=d:=congrArg (fun A:E βL[β] E=>A d) hJC | |
| have hjet2:HasLowerSecondTaylor | |
| (fun w:F=>Ο (uv.2 (riemannianExp y w))+G (riemannianExp y w,x)) 0 H:=by | |
| have ha:HasFDerivAt (fun w:F=>e w-p) J 0:= | |
| (he.differentiableAt (by simp)).hasFDerivAt.sub_const p | |
| have Z:=HasLowerSecondTaylor.comp_stationary hjet ha (by rw [he0,sub_self]) | |
| have ha':=he.continuousAt.eventually (show βαΆ q in π (e 0),G (riemannianExp x q,x)=βqβ^2/2 | |
| from by rw [he0]; exact hact) | |
| have hEq:(fun w:F=>Ο (uv.2 (riemannianExp x (p+(e w-p))))+βp+(e w-p)β^2/2) =αΆ [π 0] | |
| (fun w:F=>Ο (uv.2 (riemannianExp y w))+G (riemannianExp y w,x)):=by | |
| filter_upwards [hei,ha'] with w hw ha | |
| have hh:p+(e w-p)=e w:=by abel | |
| rw [hh,βhw,ha] | |
| exact Z.mono hEq.eq_of_nhds hEq.le | |
| have hG':ContMDiffAt (π(β,Model n).prod π(β,Model n)) π(β,β) β G | |
| (y,riemannianExp y r):=by rw [hyx]; exact hG | |
| obtain β¨N,hNs,hNp,hNd,hNdetβ©:=HK y r G l hr hG' hagree hl x0 uv Ο huv hmono hΟ hd hconc H hHs hHp | |
| (by simpa only [y,hyx] using hjet2) | |
| have hcD:HasFDerivAt (fun w:F=>G (riemannianExp y w,x)) (innerSL β (-r)) 0:=by | |
| have HH:=cost_branch_normal_jets (r:=r) (T:=(1:β)) (by norm_num) | |
| (by simpa only [one_smul] using hG') (by simpa only [one_smul] using hagree) | |
| (fun s hs=>contracted_minimizer_mem_injectivityDomain hr hs.1 hs.2) | |
| simpa only [one_smul,hyx] using HH.2.1 | |
| have heq:(fun w:F=>G (riemannianExp y w,x)) =αΆ [π 0] (fun w:F=>βe wβ^2/2):=by | |
| have ha':=he.continuousAt.eventually (show βαΆ q in π (e 0),G (riemannianExp x q,x)=βqβ^2/2 | |
| from by rw [he0]; exact hact) | |
| filter_upwards [hei,ha'] with w hw ha | |
| rw [βhw,ha] | |
| have henergy:HasFDerivAt (fun v:E=>βvβ^2/2) (innerSL β p) p:=by | |
| convert! ((hasStrictFDerivAt_norm_sq p).hasFDerivAt.const_mul (1/2:β)) using 1 | |
| Β· ext v; ring | |
| Β· ext v; simp only [smul_apply,smul_eq_mul]; ring | |
| have henergy2:HasFDerivAt (fun w:F=>βe wβ^2/2) ((innerSL β p).comp J) 0:= | |
| (show HasFDerivAt (fun v:E=>βvβ^2/2) (innerSL β p) (e 0) from by rw [he0]; exact henergy).comp | |
| 0 (he.differentiableAt (by simp)).hasFDerivAt | |
| have hpair:βd,inner β r (C d)=-inner β p d:=by | |
| intro d | |
| have HH:innerSL β (-r)=(innerSL β p).comp J:= | |
| (hcD.congr_of_eventuallyEq heq.symm).unique henergy2 | |
| have hh:=congrArg (fun A:F βL[β] β=>A (C d)) HH | |
| simp only [ContinuousLinearMap.comp_apply,innerSL_apply_apply,inner_neg_left,hJcomp] at hh | |
| linarith only [hh] | |
| let V:=C.adjoint.comp (N.comp C) | |
| have hVs:βd e,inner β (V d) e=inner β d (V e):=by | |
| intro d e | |
| simp only [V,ContinuousLinearMap.comp_apply,ContinuousLinearMap.adjoint_inner_left, | |
| ContinuousLinearMap.adjoint_inner_right,hNs] | |
| have hpos:=det_positive_hessian_pullback (B:=C) (W:=N) | |
| ((tangent_finrank x).trans (tangent_finrank y).symm) hCI hNs hNp (l:=1) (by norm_num) | |
| simp only [one_smul,one_pow,one_mul] at hpos | |
| refine β¨C,V,hCI,hCd.symm,hpair,hVs,hpos.1,?_,?_β© | |
| Β· intro d | |
| simp only [V,ContinuousLinearMap.comp_apply,ContinuousLinearMap.adjoint_inner_left] | |
| rw [hNd,hyx] | |
| change B (J (C d)) (J (C d))+_ -_ =_ | |
| rw [hJcomp,hpair,neg_sq] | |
| Β· have HV:V.det=expJacobian (n:=n) x p^2*N.det:=by rw [hpos.2,βhCd] | |
| rw [HV] | |
| nlinarith only [mul_le_mul_of_nonneg_right hNdet (sq_nonneg (expJacobian (n:=n) x p))] | |
| end OuterTrueMatrix | |
| end WeakMTWTransport | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 7.23 kB
- Xet hash:
- d42b0405e440821c8cfe10a260be5282a2e3a35d5997853147f989a870ac494a
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.