File size: 5,475 Bytes
4a56cd6 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | import OAI.Geometry.IsometricImmersion.Flows.FlowTransport
import OAI.Geometry.IsometricImmersion.Metrics.MetricLocality
import Mathlib.Analysis.ODE.ExistUnique
namespace OAI
noncomputable section
open Set Filter Function Metric
open scoped ContDiff Topology
namespace SmoothLocal.Flow
open SmoothLocal.Geometry SmoothLocal.ODE SmoothLocal.Weighted
theorem cap_trajectory_mem_ball_of_displacement {Y : β β β β β}
(hdisp : β p β capChartDomain, |capFlowHeight Y p-p 1| β€ (1:β)/50)
{s t : β} (hs : s β Ioo (-2:β) 2) (ht : t β Ioo (-2:β) 2) :
Y s t β closedBall (0:β) 3 := by
have hp : coordinatePoint t s β capChartDomain := by
change coordinatePoint t s 0 β Ioo (-2:β) 2 β§ coordinatePoint t s 1 β Ioo (-2:β) 2
simpa [coordinatePoint] using (show t β Ioo (-2:β) 2 β§ s β Ioo (-2:β) 2 from β¨ht,hsβ©)
have hd : |Y s t-s| β€ (1:β)/50 := by
simpa [capFlowHeight,coordinatePoint] using hdisp (coordinatePoint t s) hp
have hy : |Y s t| β€ 3 := by
have hh : |Y s t| β€ |Y s t-s|+|s| := by
simpa only [sub_add_cancel] using abs_add_le (Y s t-s) s
have hs' : |s| < 2 := abs_lt.mpr hs
linarith
simpa only [mem_closedBall,Real.dist_eq,sub_zero] using hy
theorem capChart_eqOn_of_same_ode
{q : Coord β β} {U : Set Coord} {Y Z : β β β β β}
(hq : ContDiffOn β β q U) (hU : IsOpen U) (hSU : modelSquare β U)
(hYstart : β s β Icc (-2:β) 2, Y s 0 = s)
(hYode : β s β Icc (-2:β) 2, β t β Icc (-2:β) 2,
HasDerivWithinAt (Y s) (-q (coordinatePoint t (Y s t))) (Icc (-2:β) 2) t)
(hYdisp : β p β capChartDomain, |capFlowHeight Y p-p 1| β€ (1:β)/50)
(hZstart : β s β Icc (-2:β) 2, Z s 0 = s)
(hZode : β s β Icc (-2:β) 2, β t β Icc (-2:β) 2,
HasDerivWithinAt (Z s) (-q (coordinatePoint t (Z s t))) (Icc (-2:β) 2) t)
(hZdisp : β p β capChartDomain, |capFlowHeight Z p-p 1| β€ (1:β)/50) :
EqOn (capChart Y) (capChart Z) capChartDomain := by
obtain β¨K,hKβ© := exists_flowField_lipschitz hq hU hSU
have hsame (s : β) (hs : s β Ioo (-2:β) 2) : EqOn (Y s) (Z s) (Ioo (-2:β) 2) := by
have hs' : s β Icc (-2:β) 2 := β¨hs.1.le,hs.2.leβ©
apply ODE_solution_unique_of_mem_Ioo
(v := flowField q) (s := fun _ => closedBall (0:β) 3)
(fun t ht => hK t β¨ht.1.le,ht.2.leβ©) (tβ := 0) (by norm_num)
Β· intro t ht
exact β¨(hYode s hs' t β¨ht.1.le,ht.2.leβ©).hasDerivAt (Icc_mem_nhds ht.1 ht.2),
cap_trajectory_mem_ball_of_displacement hYdisp hs htβ©
Β· intro t ht
exact β¨(hZode s hs' t β¨ht.1.le,ht.2.leβ©).hasDerivAt (Icc_mem_nhds ht.1 ht.2),
cap_trajectory_mem_ball_of_displacement hZdisp hs htβ©
Β· rw [hYstart s hs',hZstart s hs']
intro p hp
unfold capChart capFlowHeight
rw [hsame (p 1) hp.2 hp.1]
theorem capPullback_eventuallyEq_of_chart_eqOn {Y Z : β β β β β}
(heq : EqOn (capChart Y) (capChart Z) capChartDomain)
(f : Coord β β) {p : Coord} (hp : p β capChartDomain) :
capPullback Y f =αΆ [π p] capPullback Z f := by
filter_upwards [capChartDomain_isOpen.mem_nhds hp] with r hr
exact congrArg f (heq hr)
theorem capPullback_all_jets_eq_of_chart_eqOn {Y Z : β β β β β}
(heq : EqOn (capChart Y) (capChart Z) capChartDomain)
(f : Coord β β) (dirs : List (Fin 2)) {p : Coord} (hp : p β capChartDomain) :
iteratedCoordPartial dirs (capPullback Y f) p = iteratedCoordPartial dirs (capPullback Z f) p :=
(iteratedCoordPartial_eventuallyEq (capPullback_eventuallyEq_of_chart_eqOn heq f hp) dirs).self_of_nhds
theorem capChart_images_eq_of_eqOn {Y Z : β β β β β}
(heq : EqOn (capChart Y) (capChart Z) capChartDomain)
{S : Set Coord} (hS : S β capChartDomain) : capChart Y '' S = capChart Z '' S :=
Set.image_congr (fun _ hp => heq (hS hp))
theorem capPullback_square_rectangle_eq_of_chart_eqOn {Y Z : β β β β β}
(heq : EqOn (capChart Y) (capChart Z) capChartDomain)
(f : Coord β β) {tl tr sb st : β} (ht : tl β€ tr) (hs : sb β€ st)
(hbox : closedRectangle tl tr sb st β capChartDomain) :
rectangleIntegral tl tr sb st (fun p => (capPullback Y f p)^2) =
rectangleIntegral tl tr sb st (fun p => (capPullback Z f p)^2) := by
apply rectangleIntegral_congr ht hs
intro p hp
exact congrArg (fun x : Coord => (f x)^2) (heq (hbox hp))
theorem capPullback_gradient_rectangle_eq_of_chart_eqOn {Y Z : β β β β β}
(heq : EqOn (capChart Y) (capChart Z) capChartDomain)
(f : Coord β β) {tl tr sb st : β} (ht : tl β€ tr) (hs : sb β€ st)
(hbox : closedRectangle tl tr sb st β capChartDomain) :
rectangleIntegral tl tr sb st (fun p => (coordPartial 0 (capPullback Y f) p)^2+
(coordPartial 1 (capPullback Y f) p)^2) =
rectangleIntegral tl tr sb st (fun p => (coordPartial 0 (capPullback Z f) p)^2+
(coordPartial 1 (capPullback Z f) p)^2) := by
apply rectangleIntegral_congr ht hs
intro p hp
change (coordPartial 0 (capPullback Y f) p)^2 + (coordPartial 1 (capPullback Y f) p)^2 =
(coordPartial 0 (capPullback Z f) p)^2 + (coordPartial 1 (capPullback Z f) p)^2
rw [coordPartial_eq_of_eventuallyEq (capPullback_eventuallyEq_of_chart_eqOn heq f (hbox hp)) 0,
coordPartial_eq_of_eventuallyEq (capPullback_eventuallyEq_of_chart_eqOn heq f (hbox hp)) 1]
end SmoothLocal.Flow
end
end OAI
|