Buckets:
| import Mathlib | |
| import OAI.Analysis.BiholderTransport.LinearAlgebra.BilinearMetricSpeedSquare | |
| import OAI.Analysis.BiholderTransport.LocalFlow.NormalFlow | |
| namespace OAI | |
| noncomputable section | |
| open Set MeasureTheory Manifold Bundle | |
| open scoped ContDiff Manifold ENNReal NNReal Topology | |
| open Set Filter | |
| open scoped Topology NNReal | |
| open Set Filter | |
| open scoped Topology | |
| open Set Manifold MeasureTheory Bundle | |
| open scoped ENNReal ContDiff Topology | |
| open Set | |
| open scoped Topology | |
| open Set Filter Manifold Bundle ContinuousLinearMap | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter ContinuousLinearMap InnerProductSpace | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open scoped NNReal | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology ContDiff | |
| open Set Filter ContinuousLinearMap | |
| open scoped Topology | |
| open MeasureTheory | |
| open scoped ContDiff ENNReal | |
| open Set Filter Manifold Bundle ContinuousLinearMap MeasureTheory | |
| open scoped Topology ContDiff Manifold Bundle ENNReal | |
| open Set Filter Manifold MeasureTheory Bundle | |
| open scoped ENNReal ContDiff Topology Manifold | |
| open Set Filter Manifold Bundle ContinuousLinearMap | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff Manifold Bundle | |
| open Set Filter Bundle | |
| open scoped Topology Bundle | |
| open scoped Topology | |
| open Function Manifold Set | |
| open Manifold Bundle | |
| open scoped Manifold Bundle | |
| open Set | |
| namespace WeakMTWTransport | |
| variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace β E] | |
| [FiniteDimensional β E] | |
| {M : Type*} [MetricSpace M] [CompactSpace M] [ChartedSpace E M] | |
| [IsManifold π(β,E) β M] | |
| [RiemannianBundle (fun x : M => TangentSpace π(β,E) x)] | |
| [IsContMDiffRiemannianBundle π(β,E) β E (fun x : M => TangentSpace π(β,E) x)] | |
| [IsRiemannianManifold π(β,E) M] | |
| lemma metric_curve_speed_square {Ξ³ : β β M} {t k : β} | |
| (hΞ³ : ContMDiffAt π(β,β) π(β,E) β Ξ³ t) | |
| (hd : βαΆ s in π t, dist (Ξ³ t) (Ξ³ s) = |s-t| * k) : | |
| βmfderiv π(β,β) π(β,E) Ξ³ t (1:β)β^2 = k^2 := by | |
| let a := Ξ³ t | |
| let c := extChartAt π(β,E) a | |
| let q : β β E := c β Ξ³ | |
| let g := riemannianCoordinateMetric (E := E) a (c a) | |
| obtain β¨Ξ΄,_,Ο,hΞ΄,_,hΟ,_,_,_,e,_,_,_,_,_,hes,he0,_,hed,hei,_,hdist,hDβ© := | |
| exists_metric_normal_flow (E := E) a | |
| have hqat : q t β e.target := by change c a β e.target; rw [βhe0]; exact e.map_source hes | |
| have hq : ContDiffAt β β q t := | |
| ((contMDiffAt_extChartAt (I := π(β,E)) (x := a)).comp t hΞ³).contDiffAt | |
| let f : β β E := e.symm β q | |
| have hf : ContDiffAt β β f t := | |
| (hei.contDiffAt (e.open_target.mem_nhds hqat)).comp t hq | |
| have hf0 : f t = 0 := by | |
| change e.symm (c a) = 0 | |
| rw [βhe0]; exact e.left_inv hes | |
| have hn : βαΆ s in π t, Ξ³ s β Metric.ball a Ξ΄ := | |
| hΞ³.continuousAt.preimage_mem_nhds (Metric.ball_mem_nhds a hΞ΄) | |
| have hgs : βαΆ s in π t, g (f s) (f s) = (k^2/Ο^2)*(s-t)^2 := by | |
| filter_upwards [hn,hd] with s hs hds | |
| have H : Ο^2 * g (f s) (f s) = (s-t)^2*k^2 := by | |
| calc | |
| _ = (Ο * Real.sqrt (g (f s) (f s)))^2 := by | |
| rw [mul_pow,Real.sq_sqrt (positive_bilinear_nonneg g | |
| (fun v hv => riemannianCoordinateMetric_positive (mem_extChartAt_target a) hv) _)] | |
| _ = dist (Ξ³ t) (Ξ³ s)^2 := by rw [hdist (Ξ³ s) hs]; rfl | |
| _ = _ := by rw [hds,mul_pow,sq_abs] | |
| rw [div_mul_eq_mul_div] | |
| apply (eq_div_iff (pow_ne_zero 2 hΟ.ne')).mpr | |
| nlinarith [H] | |
| have hjet := bilinear_metric_speed_of_square hf hf0 hgs | |
| have hedf : HasDerivAt (fun s => e (f s)) (Ο β’ deriv f t) t := by | |
| have H := (hed.contDiffAt (e.open_source.mem_nhds hes)).differentiableAt (by simp) | |
| have H' : HasFDerivAt e (Ο β’ ContinuousLinearMap.id β E) (f t) := by | |
| rw [hf0]; rw [βhD]; exact H.hasFDerivAt | |
| simpa only [Function.comp_def,smul_apply,ContinuousLinearMap.id_apply] using | |
| H'.comp_hasDerivAt t (hf.differentiableAt (by simp)).hasDerivAt | |
| have heq : (fun s => e (f s)) =αΆ [π t] q := by | |
| filter_upwards [hq.continuousAt.preimage_mem_nhds (e.open_target.mem_nhds hqat)] with s hs | |
| exact e.right_inv hs | |
| have hqder : deriv q t = Ο β’ deriv f t := | |
| (hedf.congr_of_eventuallyEq heq.symm).deriv | |
| have hspeed : g (deriv q t) (deriv q t) = k^2 := by | |
| simp only [hqder,map_smul,smul_apply,smul_eq_mul,hjet] | |
| field_simp [hΟ.ne'] | |
| have hm := mfderiv_comp t (mdifferentiableAt_extChartAt | |
| (I := π(β,E)) (mem_chart_source E a)) (hΞ³.mdifferentiableAt (by simp)) | |
| rw [mfderiv_eq_fderiv] at hm | |
| have hval : deriv q t = mfderiv π(β,E) π(β,E) c a | |
| (mfderiv π(β,β) π(β,E) Ξ³ t 1) := | |
| congrArg (fun L : β βL[β] E => L 1) hm | |
| have hnorm := coordinate_metric_chart_derivative_norm (mem_extChartAt_source (I := π(β,E)) a) | |
| (g := g) (by | |
| intro u v | |
| change riemannianCoordinateMetric a (c a) u v = _ | |
| rw [riemannianCoordinateMetric_apply,c.left_inv (mem_extChartAt_source (I := π(β,E)) a)]) | |
| (mfderiv π(β,β) π(β,E) Ξ³ t 1) | |
| rw [βhval] at hnorm | |
| calc | |
| _ = (Real.sqrt (g (deriv q t) (deriv q t)))^2 := | |
| congrArg (fun x : β => x^2) hnorm.symm | |
| _ = g (deriv q t) (deriv q t) := Real.sq_sqrt (positive_bilinear_nonneg g | |
| (fun v hv => riemannianCoordinateMetric_positive (mem_extChartAt_target a) hv) _) | |
| _ = k^2 := hspeed | |
| end WeakMTWTransport | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 5.72 kB
- Xet hash:
- 02a08e6e7875df883f2c3a6d1c6d546ebb8320f49620ec833b1bfe920eef7e4d
Β·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.