Buckets:
| import Mathlib | |
| import OAI.Geometry.WeakMTW.Coordinates.PairNormalDistance | |
| namespace OAI | |
| namespace WeakMTWGlobalSupport | |
| section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff Manifold | |
| namespace CoordinateGeometry | |
| noncomputable section | |
| variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] | |
| omit [FiniteDimensional ℝ E] in | |
| theorem varying_quadratic_speed_eq {B : ℝ → MetricTensor E} {v : ℝ → E} {w : E} {a K : ℝ} | |
| (hB : ContinuousAt B a) (hd : HasDerivAt v w a) (hzero : v a = 0) | |
| (he : ∀ᶠ t in 𝓝[>] a, B t (v t) (v t) = K * (t-a)^2) : B a w w = K := by | |
| have hc : Continuous (fun q : MetricTensor E × E => q.1 q.2 q.2) := | |
| (continuous_fst.clm_apply continuous_snd).clm_apply continuous_snd | |
| have hBt : Tendsto B (𝓝[≠] a) (𝓝 (B a)) := hB.tendsto.mono_left nhdsWithin_le_nhds | |
| have hl := hc.tendsto (B a,w) |>.comp (hBt.prodMk_nhds hd.tendsto_slope) | |
| have hl' : Tendsto (fun t => B t (slope v a t) (slope v a t)) (𝓝[>] a) (𝓝 (B a w w)) := | |
| hl.mono_left (nhdsWithin_mono _ (fun _ ht => ne_of_gt ht)) | |
| have he' : (fun t => B t (slope v a t) (slope v a t)) =ᶠ[𝓝[>] a] (fun _ => K) := by | |
| filter_upwards [he,self_mem_nhdsWithin] with t ht hta | |
| have hne : t-a ≠ 0 := sub_ne_zero.mpr (ne_of_gt hta) | |
| simp only [slope,hzero,vsub_eq_sub,sub_zero,map_smul,smul_apply,smul_eq_mul] | |
| rw [ht] | |
| field_simp | |
| exact tendsto_nhds_unique hl' (tendsto_const_nhds.congr' he'.symm) | |
| end | |
| end CoordinateGeometry | |
| namespace RiemannianLocal | |
| noncomputable section | |
| variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] [FiniteDimensional ℝ E] | |
| {M : Type*} [MetricSpace 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] | |
| open NormalNeighborhood NormalFlow ChartMetric CoordinateGeometry NormalCoordinates | |
| theorem two_point_coordinate_speed (x : M) {a b : ℝ → E} {u v : E} {C : ℝ} | |
| (ha : HasDerivAt a u 0) (hb : HasDerivAt b v 0) (hab : a 0 = b 0) | |
| (hat : a 0 ∈ (chartAt E x).target) | |
| (he : ∀ᶠ t in 𝓝[>] (0 : ℝ), | |
| dist ((chartAt E x).symm (a t)) ((chartAt E x).symm (b t)) = C*t) : | |
| metric x (a 0) (v-u) (v-u) = C ^ 2 := by | |
| let c := chartAt E x | |
| let z := c.symm (a 0) | |
| have hz : z ∈ c.source := c.map_target hat | |
| have hcz : c z = a 0 := c.right_inv hat | |
| obtain ⟨N⟩ := exists_normalFlow c.open_target (metric_smooth x) | |
| (fun z hz v hv => metric_positive x hz hv) (c.map_source hz) | |
| have hzero : (a 0, (0 : E)) ∈ N.normal.source := by | |
| simpa only [hcz] using N.center_mem | |
| let ν : ℝ → E := fun t => (N.normal.symm (a t,b t)).2 | |
| have hd : HasDerivAt ν (N.time⁻¹ • (v-u)) 0 := by | |
| have hD := N.normal_inverse_hasFDerivAt_center c.open_target (metric_smooth x) | |
| (fun z hz v hv => metric_positive x hz hv) hzero | |
| have hD' : HasFDerivAt N.normal.symm | |
| ((normalShear (E := E) N.time N.time_pos.ne').symm : E × E →L[ℝ] E × E) (a 0,b 0) := by | |
| simpa only [← hab] using hD | |
| have hh := hD'.comp_hasDerivAt 0 (ha.prodMk hb) | |
| have hh' := (ContinuousLinearMap.snd ℝ E E).hasFDerivAt.comp_hasDerivAt 0 hh | |
| exact hh' | |
| have hν₀ : ν 0 = 0 := by | |
| have hh := N.normal.left_inv hzero | |
| rw [N.normal_zero c.open_target (metric_smooth x) | |
| (fun z hz v hv => metric_positive x hz hv) hzero] at hh | |
| simpa only [ν,hab] using congrArg Prod.snd hh | |
| have hγa : ContinuousAt (fun t => c.symm (a t)) 0 := (c.symm.continuousAt hat).comp ha.continuousAt | |
| have hγb : ContinuousAt (fun t => c.symm (b t)) 0 := | |
| (c.symm.continuousAt (hab ▸ hat)).comp hb.continuousAt | |
| have hp : Tendsto (fun t => (c.symm (a t),c.symm (b t))) (𝓝 (0 : ℝ)) (𝓝 (z,z)) := by | |
| simpa only [← hab, z] using (hγa.prodMk hγb).tendsto | |
| have hpair : ∀ᶠ t in 𝓝 (0 : ℝ), dist (c.symm (a t)) (c.symm (b t)) = N.time * | |
| Real.sqrt (metric x (c (c.symm (a t))) | |
| (N.normal.symm (c (c.symm (a t)),c (c.symm (b t)))).2 | |
| (N.normal.symm (c (c.symm (a t)),c (c.symm (b t)))).2) := | |
| hp (eventually_dist_normal_pair x z hz N) | |
| have hG : ContinuousAt (fun t => metric x (a t)) 0 := | |
| ((metric_smooth x).continuousOn.continuousAt (c.open_target.mem_nhds hat)).comp ha.continuousAt | |
| have hnearA : ∀ᶠ t in 𝓝 (0 : ℝ), a t ∈ c.target := | |
| ha.continuousAt.preimage_mem_nhds (c.open_target.mem_nhds hat) | |
| have hnearB : ∀ᶠ t in 𝓝 (0 : ℝ), b t ∈ c.target := | |
| hb.continuousAt.preimage_mem_nhds (c.open_target.mem_nhds (hab ▸ hat)) | |
| have hquad : ∀ᶠ t in 𝓝[>] (0 : ℝ), metric x (a t) (ν t) (ν t) = (C/N.time)^2 * (t-0)^2 := by | |
| filter_upwards [he,hpair.filter_mono nhdsWithin_le_nhds, | |
| hnearA.filter_mono nhdsWithin_le_nhds, hnearB.filter_mono nhdsWithin_le_nhds] | |
| with t het hpt hat' hbt' | |
| change dist (c.symm (a t)) (c.symm (b t)) = _ at hpt | |
| rw [c.right_inv hat', c.right_inv hbt'] at hpt | |
| have hpos : 0 ≤ metric x (a t) (ν t) (ν t) := by | |
| by_cases hv : ν t = 0 | |
| · simp [hv] | |
| · exact (metric_positive x hat' hv).le | |
| have hs : Real.sqrt (metric x (a t) (ν t) (ν t)) = C*t/N.time := by | |
| apply (eq_div_iff N.time_pos.ne').mpr | |
| nlinarith [hpt,het] | |
| have hsq := Real.sq_sqrt hpos | |
| rw [hs] at hsq | |
| rw [← hsq] | |
| ring | |
| have hh := varying_quadratic_speed_eq hG hd hν₀ hquad | |
| simp only [map_smul,smul_apply,smul_eq_mul] at hh | |
| have hT := N.time_pos.ne' | |
| field_simp at hh | |
| nlinarith | |
| end | |
| end RiemannianLocal | |
| end | |
| end WeakMTWGlobalSupport | |
| end OAI | |
Xet Storage Details
- Size:
- 5.68 kB
- Xet hash:
- 01c738f6effe144fe79e1ee10538f06b4e6785ecac170a0cb45099519447f2c1
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.