Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.CostGeometry.RadialBounds | |
| import OAI.Analysis.BiholderTransport.LinearAlgebra.ShearBounds | |
| namespace OAI | |
| section | |
| section | |
| noncomputable section | |
| open Set Filter Manifold Bundle ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| namespace WeakMTWTransport | |
| section ShearedOperator | |
| 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] | |
| local instance (x : M) : FiniteDimensional β (TangentSpace π(β,Model n) x) := | |
| inferInstanceAs (FiniteDimensional β (Model n)) | |
| def shearedRadialOperator (x : M) (p q : TangentSpace π(β,Model n) x) (Ξ΄ t : β) : | |
| TangentSpace π(β,Model n) x βL[β] TangentSpace π(β,Model n) x := | |
| (InnerProductSpace.toDual β _).symm.toContinuousLinearEquiv.toContinuousLinearMap.comp | |
| ((radialHessianDefectBilinear x (p+t β’ q) Ξ΄).bilinearComp (spectralShear p q t) (spectralShear p q t)) | |
| omit [CompactSpace M] | |
| [IsContMDiffRiemannianBundle π(β,Model n) β (Model n) | |
| (fun x : M => TangentSpace π(β,Model n) x)] | |
| [IsRiemannianManifold π(β,Model n) M] in | |
| lemma inner_shearedRadialOperator (x : M) (p q : TangentSpace π(β,Model n) x) (Ξ΄ t : β) | |
| (v w : TangentSpace π(β,Model n) x) : | |
| inner β (shearedRadialOperator x p q Ξ΄ t v) w = | |
| radialHessianDefectBilinear x (p+t β’ q) Ξ΄ (spectralShear p q t v) (spectralShear p q t w) := | |
| InnerProductSpace.toDual_symm_apply | |
| lemma shearedRadialOperator_symmetric {x : M} {p q : TangentSpace π(β,Model n) x} | |
| {Ξ΄ t : β} (hp : (1-Ξ΄) β’ (p+t β’ q)βinjectivityDomain x) : | |
| (shearedRadialOperator x p q Ξ΄ t).toLinearMap.IsSymmetric := by | |
| intro v w | |
| change inner β (shearedRadialOperator x p q Ξ΄ t v) w = | |
| inner β v (shearedRadialOperator x p q Ξ΄ t w) | |
| rw [real_inner_comm (shearedRadialOperator x p q Ξ΄ t w) v,inner_shearedRadialOperator,inner_shearedRadialOperator] | |
| exact radialHessianDefect_symm hp _ _ | |
| lemma uniform_sheared_radial_quadratic_bounds {a B : β} (ha : 0<a) (hB : 0<B) | |
| (haB : a*Bβ€1/2) : | |
| β C : β, 0<C β§ β x : M, β p q : TangentSpace π(β,Model n) x, | |
| 0 < inner β p q β βqβ^2/inner β p qβ€B β | |
| (β tβIcc (-a) 1, p+t β’ qβminimizingVectors x) β | |
| β Ξ΄βIoc (0:β) (1/2), β tβIcc (-a) 1, β v, | |
| -C*Ξ΄*βvβ^2 β€ inner β (shearedRadialOperator x p q Ξ΄ t v) v β§ | |
| |inner β (shearedRadialOperator x p q Ξ΄ t v) v|β€C*βvβ^2 := by | |
| obtain β¨C,hC,Hβ© := uniform_radial_defect_quadratic_bounds (n := n) (M := M) | |
| refine β¨C*(2+B)^2,by positivity,?_β© | |
| intro x p q hpq hΞ² hline Ξ΄ hd t ht v | |
| rw [inner_shearedRadialOperator] | |
| have hs := (spectralShear_uniform_bounds p q ha hB haB hpq hΞ² ht v).2 | |
| have hs2 : βspectralShear p q t vβ^2 β€ (2+B)^2*βvβ^2 := by | |
| simpa only [mul_pow] using (sq_le_sqβ (norm_nonneg _) (by positivity)).mpr hs | |
| have hh := H x (p+t β’ q) (hline t ht) Ξ΄ hd (spectralShear p q t v) | |
| constructor | |
| Β· have HH := mul_le_mul_of_nonpos_left hs2 (mul_nonpos_of_nonpos_of_nonneg (neg_nonpos.mpr hC.le) hd.1.le) | |
| have := HH.trans hh.1 | |
| nlinarith only [this] | |
| Β· have HH := mul_le_mul_of_nonneg_left hs2 hC.le | |
| have := hh.2.trans HH | |
| nlinarith only [this] | |
| lemma WeakMTW.shearedRadialOperator_convexOn (hmtw : WeakMTW (n := n) (M := M)) | |
| (x : M) (p q : TangentSpace π(β,Model n) x) (hpq : inner β p qβ 0) | |
| {a Ξ΄ : β} (hd : Ξ΄βIoc (0:β) (1/2)) | |
| (hline : β tβIcc (-a) 1, p+t β’ qβminimizingVectors x) | |
| (v : TangentSpace π(β,Model n) x) : | |
| ConvexOn β (Icc (-a) 1) (fun t => inner β (shearedRadialOperator x p q Ξ΄ t v) v) := by | |
| simpa only [inner_shearedRadialOperator] using hmtw.spectralShear_convexOn x p q hpq hd.1.le | |
| (show Ξ΄β 1 by linarith [hd.2]) (convex_Icc _ _) | |
| (fun t ht => contracted_minimizer_mem_injectivityDomain (hline t ht) | |
| (show 0<1-Ξ΄ by linarith [hd.2]) (show 1-Ξ΄<1 by linarith [hd.1])) v | |
| end ShearedOperator | |
| end WeakMTWTransport | |
| end | |
| end | |
| section | |
| noncomputable section | |
| namespace WeakMTWTransport | |
| section BackgroundSpectrum | |
| variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E] | |
| [FiniteDimensional β E] | |
| lemma ordered_sheared_background_spectrum {F K : E ββ[β] E} | |
| (hF : F.IsSymmetric) (hK : K.IsPositive) (L : E ββ[β] E) | |
| (hL : Function.Bijective L) {l u Ξ΄ b : β} (hl : 0<l) (hu : 0β€u) (hd : 0β€Ξ΄) | |
| (hLn : β v, l*βvββ€βL vβ β§ βL vββ€u*βvβ) | |
| (hbg : β v, |inner β (F v) v-Ξ΄*inner β (K (L v)) (L v)|β€b*βvβ^2) | |
| {n : β} (hn : Module.finrank β E=n) (i : Fin n) : | |
| l^2*(Ξ΄*hK.isSymmetric.eigenvalues hn i)-b β€ hF.eigenvalues hn i β§ | |
| hF.eigenvalues hn i β€ u^2*(Ξ΄*hK.isSymmetric.eigenvalues hn i)+b := by | |
| let W := L.adjoint ββ K ββ L | |
| have hW : W.IsPositive := hK.adjoint_conj L | |
| have hw (v : E) : inner β (W v) v=inner β (K (L v)) (L v) := by | |
| simp only [W,LinearMap.comp_apply,LinearMap.adjoint_inner_left] | |
| have hcong := ordered_eigenvalues_bounded_congruence hW hK L hL hl hu hLn hw hn hn i | |
| have hup := ordered_eigenvalue_quadratic_comparison hF hW.isSymmetric hd | |
| (fun v => by have H := (abs_le.mp (hbg v)).2; rw [βhw] at H; linarith) hn i | |
| have hΞ΄W := hW.isSymmetric.smul (show starRingEnd β Ξ΄=Ξ΄ by simp) | |
| have hlo := ordered_eigenvalue_quadratic_comparison hΞ΄W hF (a := 1) (b := b) | |
| (by norm_num) (fun v => by | |
| have H := (abs_le.mp (hbg v)).1 | |
| change inner β (Ξ΄ β’ W v) v β€ 1*inner β (F v) v+b*βvβ^2 | |
| rw [real_inner_smul_left,hw] | |
| linarith) hn i | |
| rw [ordered_eigenvalues_nonneg_smul hW.isSymmetric hd hn i] at hlo | |
| have hcl : l^2*hK.isSymmetric.eigenvalues hn i β€ hW.isSymmetric.eigenvalues hn i := by | |
| have H := mul_le_mul_of_nonneg_left hcong.2 (sq_nonneg l) | |
| have he : l^2*(1/l)^2=1 := by field_simp | |
| rw [βmul_assoc,he,one_mul] at H | |
| exact H | |
| constructor | |
| Β· have H := mul_le_mul_of_nonneg_left hcl hd | |
| nlinarith only [H,hlo] | |
| Β· have H := mul_le_mul_of_nonneg_left hcong.1 hd | |
| nlinarith only [H,hup] | |
| end BackgroundSpectrum | |
| end WeakMTWTransport | |
| end | |
| end | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 6.44 kB
- Xet hash:
- 7e066ed7869f80792fe90e24ed2c963571865060695399120bb5e10eada642c6
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.