Buckets:
| import Mathlib | |
| import OAI.Geometry.WeakMTW.Geodesics.CompleteExistence | |
| namespace OAI | |
| namespace WeakMTWGlobalSupport | |
| section | |
| open Set Filter Manifold Bundle | |
| open scoped Topology ContDiff Manifold | |
| namespace RiemannianLocal | |
| noncomputable section | |
| variable {E : Type*} [NormedAddCommGroup E] [InnerProductSpace ℝ E] | |
| {M : Type*} [MetricSpace M] [ChartedSpace E M] [IsManifold 𝓘(ℝ, E) ∞ M] | |
| def mulState (a : ℝ) (p : TangentBundle 𝓘(ℝ, E) M) : TangentBundle 𝓘(ℝ, E) M := | |
| ⟨p.1, a • p.2⟩ | |
| omit [IsManifold 𝓘(ℝ, E) ∞ M] in | |
| theorem curveState_comp_affine {γ : ℝ → M} {t a b : ℝ} | |
| (hγ : MDifferentiableAt 𝓘(ℝ, ℝ) 𝓘(ℝ, E) γ (a*t+b)) : | |
| curveState (E := E) (fun s => γ (a*s+b)) t = mulState a (curveState (E := E) γ (a*t+b)) := by | |
| refine TotalSpace.ext ?_ ?_ | |
| · rfl | |
| apply heq_of_eq | |
| dsimp only [curveState, mulState] | |
| change mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, E) (γ ∘ fun s => a*s+b) t 1 = _ | |
| have hd : HasDerivAt (fun s : ℝ => a*s+b) a t := by | |
| simpa using ((hasDerivAt_id t).const_mul a).add_const b | |
| have hs := mdifferentiableAt_iff_differentiableAt.mpr hd.differentiableAt | |
| rw [mfderiv_comp t hγ hs] | |
| simp only [mfderiv_eq_fderiv] | |
| change mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, E) γ (a*t+b) (fderiv ℝ (fun s : ℝ => a*s+b) t 1) = _ | |
| rw [fderiv_apply_one_eq_deriv, hd.deriv] | |
| let derivative : ℝ →L[ℝ] TangentSpace 𝓘(ℝ, E) (γ (a*t+b)) := | |
| mfderiv 𝓘(ℝ, ℝ) 𝓘(ℝ, E) γ (a*t+b) | |
| change derivative a = a • derivative 1 | |
| simpa only [smul_eq_mul, mul_one] using derivative.map_smul a (1 : ℝ) | |
| theorem intrinsic_affine_dist {γ : ℝ → M} {C a b : ℝ} | |
| (hγ : ∀ t, ∃ ε : ℝ, 0 < ε ∧ ∀ s ∈ Metric.ball t ε, ∀ r ∈ Metric.ball t ε, | |
| dist (γ s) (γ r) = C * |s-r|) : | |
| ∀ t, ∃ ε : ℝ, 0 < ε ∧ ∀ s ∈ Metric.ball t ε, ∀ r ∈ Metric.ball t ε, | |
| dist (γ (a*s+b)) (γ (a*r+b)) = (|a| * C) * |s-r| := by | |
| intro t | |
| obtain ⟨ε, hε, hh⟩ := hγ (a*t+b) | |
| have ha : 0 < |a|+1 := by positivity | |
| refine ⟨ε/(|a|+1), div_pos hε ha, ?_⟩ | |
| have hm : ∀ s ∈ Metric.ball t (ε/(|a|+1)), a*s+b ∈ Metric.ball (a*t+b) ε := by | |
| intro s hs | |
| rw [Metric.mem_ball, Real.dist_eq] at hs ⊢ | |
| have hs' := (lt_div_iff₀ ha).mp hs | |
| rw [show a*s+b-(a*t+b) = a*(s-t) by ring, abs_mul] | |
| nlinarith [abs_nonneg (s-t)] | |
| intro s hs r hr | |
| rw [hh _ (hm s hs) _ (hm r hr), show a*s+b-(a*r+b) = a*(s-r) by ring, abs_mul] | |
| ring | |
| end | |
| end RiemannianLocal | |
| namespace WeakMTW | |
| noncomputable section | |
| open RiemannianLocal | |
| variable {n : ℕ} {M : Type*} [MetricSpace 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] | |
| omit [IsManifold (model n) ∞ M] | |
| [IsContMDiffRiemannianBundle (model n) ∞ (Model n) (fun x : M => TangentSpace (model n) x)] | |
| [IsRiemannianManifold (model n) M] in | |
| theorem completeGeodesic_iff_state (x : M) (v : TangentSpace (model n) x) (γ : ℝ → M) : | |
| CompleteGeodesicWithInitialData x v γ ↔ | |
| ContMDiff 𝓘(ℝ, ℝ) (model n) ∞ γ ∧ curveState (E := Model n) γ 0 = ⟨x,v⟩ ∧ | |
| ∀ t, ∃ ε : ℝ, 0 < ε ∧ ∀ s ∈ Metric.ball t ε, ∀ r ∈ Metric.ball t ε, | |
| dist (γ s) (γ r) = ‖v‖ * |s-r| := by | |
| constructor | |
| · rintro ⟨hγ, hx, hv, hd⟩ | |
| refine ⟨hγ, TotalSpace.ext hx ?_, hd⟩ | |
| exact eqRec_heq_iff.mp (heq_of_eq hv) | |
| · rintro ⟨hγ, hs, hd⟩ | |
| have hp := TotalSpace.ext_iff.mp hs | |
| exact ⟨hγ, hp.1, eq_of_heq (eqRec_heq_iff.mpr hp.2), hd⟩ | |
| omit [IsManifold (model n) ∞ M] | |
| [IsContMDiffRiemannianBundle (model n) ∞ (Model n) (fun x : M => TangentSpace (model n) x)] | |
| [IsRiemannianManifold (model n) M] in | |
| theorem completeGeodesic_comp_mul {x : M} {v : TangentSpace (model n) x} {γ : ℝ → M} | |
| (hγ : CompleteGeodesicWithInitialData x v γ) (a : ℝ) : | |
| CompleteGeodesicWithInitialData x (a • v) (fun t => γ (a*t)) := by | |
| obtain ⟨hγs, hγ₀, hγd⟩ := (completeGeodesic_iff_state x v γ).mp hγ | |
| apply (completeGeodesic_iff_state _ _ _).mpr | |
| refine ⟨hγs.comp (contMDiff_iff_contDiff.mpr (contDiff_const.mul contDiff_id)), ?_, ?_⟩ | |
| · have hh := curveState_comp_affine (E := Model n) (γ := γ) (a := a) (b := 0) (t := 0) | |
| (hγs.mdifferentiable (by simp) _) | |
| simp only [add_zero, mul_zero] at hh | |
| rw [hγ₀] at hh | |
| exact hh | |
| · simpa only [add_zero, norm_smul, Real.norm_eq_abs] using | |
| (intrinsic_affine_dist (a := a) (b := 0) hγd) | |
| theorem exp_eq_of_complete {x : M} {v : TangentSpace (model n) x} {γ : ℝ → M} | |
| (hγ : CompleteGeodesicWithInitialData x v γ) : exp x v = γ 1 := by | |
| classical | |
| have hx : ∃ y, ExpEndpoint x v y := ⟨γ 1, γ, hγ, rfl⟩ | |
| unfold exp | |
| rw [dite_eq_left hx] | |
| obtain ⟨η, hη, he⟩ := Classical.choose_spec hx | |
| rw [← he, completeGeodesic_unique hη hγ] | |
| theorem exp_mul_eq_of_complete {x : M} {v : TangentSpace (model n) x} {γ : ℝ → M} | |
| (hγ : CompleteGeodesicWithInitialData x v γ) (a : ℝ) : exp x (a • v) = γ a := by | |
| simpa only [mul_one] using exp_eq_of_complete (completeGeodesic_comp_mul hγ a) | |
| variable [CompactSpace M] | |
| noncomputable def geodesic (p : TangentBundle (model n) M) : ℝ → M := | |
| Classical.choose (completeGeodesic_exists p.1 p.2) | |
| theorem geodesic_complete (p : TangentBundle (model n) M) : | |
| CompleteGeodesicWithInitialData p.1 p.2 (geodesic p) := | |
| Classical.choose_spec (completeGeodesic_exists p.1 p.2) | |
| theorem geodesic_smooth (p : TangentBundle (model n) M) : | |
| ContMDiff 𝓘(ℝ, ℝ) (model n) ∞ (geodesic p) := (geodesic_complete p).1 | |
| theorem geodesic_state_zero (p : TangentBundle (model n) M) : | |
| curveState (E := Model n) (geodesic p) 0 = p := | |
| ((completeGeodesic_iff_state _ _ _).mp (geodesic_complete p)).2.1 | |
| theorem geodesic_dist (p : TangentBundle (model n) M) : | |
| ∀ t, ∃ ε : ℝ, 0 < ε ∧ ∀ s ∈ Metric.ball t ε, ∀ r ∈ Metric.ball t ε, | |
| dist (geodesic p s) (geodesic p r) = ‖p.2‖ * |s-r| := | |
| ((completeGeodesic_iff_state _ _ _).mp (geodesic_complete p)).2.2 | |
| theorem geodesic_zero (p : TangentBundle (model n) M) : geodesic p 0 = p.1 := | |
| congrArg TotalSpace.proj (geodesic_state_zero p) | |
| theorem exp_eq_geodesic (x : M) (v : TangentSpace (model n) x) : | |
| exp x v = geodesic ⟨x,v⟩ 1 := exp_eq_of_complete (geodesic_complete _) | |
| theorem exp_mul_eq_geodesic (p : TangentBundle (model n) M) (t : ℝ) : | |
| exp p.1 (t • p.2) = geodesic p t := exp_mul_eq_of_complete (geodesic_complete p) t | |
| theorem exp_zero (x : M) : exp x (0 : TangentSpace (model n) x) = x := by | |
| simpa only [zero_smul, geodesic_zero] using exp_mul_eq_geodesic (⟨x,0⟩ : TangentBundle (model n) M) 0 | |
| end | |
| end WeakMTW | |
| end | |
| end WeakMTWGlobalSupport | |
| end OAI | |
Xet Storage Details
- Size:
- 6.9 kB
- Xet hash:
- 65a83cc634c372dbe237a804740b2815ab4f46a665455df263aae8cdfeb9e070
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.