lemmavelocity_second_formula (t x : ℝ) :
iteratedDeriv 2 (φ.velocity t) x =
deriv Real.smoothTransition t * iteratedDeriv 2 φ (φ.inverse t x) /
φ.jacobian t (φ.inverse t x)^3:=by
proof · 19
lines
havehfun : deriv (φ.velocity t) = fun z =>
deriv Real.smoothTransition t * (deriv φ (φ.inverse t z)-1) /
φ.jacobian t (φ.inverse t z) :=
funext fun z => (φ.velocity_space_derivative t z).deriv
have hi := φ.inverse_space_derivative t x
have h2 := (φ.jet_hasDerivAt 1 (φ.inverse t x)).comp x hi
rw [iteratedDeriv_one] at h2
have hj := (φ.jacobian_space_derivative t (φ.inverse t x)).comp x hi
have hd := ((h2.sub_const 1).const_mul (deriv Real.smoothTransition t)).div hj
(ne_of_gt (φ.jacobian_pos t (φ.inverse t x)))
simp only [Function.comp_def] at hd
rw [show (2:ℕ)=1+1by rfl, iteratedDeriv_succ, iteratedDeriv_one, hfun]
calc _ = _ := hd.deriv
_ = _ :=byhave hne := ne_of_gt (φ.jacobian_pos t (φ.inverse t x))
simp only [iteratedDeriv_succ, iteratedDeriv_zero]
field_simp [hne]
simp only [jacobian]
ring
lemmavelocity_third_formula (t x : ℝ) :
iteratedDeriv 3 (φ.velocity t) x = deriv Real.smoothTransition t *
(iteratedDeriv 3 φ (φ.inverse t x) / φ.jacobian t (φ.inverse t x)^4 -
3 * Real.smoothTransition t * (iteratedDeriv 2 φ (φ.inverse t x))^2 /
φ.jacobian t (φ.inverse t x)^5) :=by
proof · 16
lines
havehfun : iteratedDeriv 2 (φ.velocity t) = fun z =>
deriv Real.smoothTransition t * iteratedDeriv 2 φ (φ.inverse t z) /
φ.jacobian t (φ.inverse t z)^3:= funext (φ.velocity_second_formula t)
have hi := φ.inverse_space_derivative t x
have h3 := (φ.jet_hasDerivAt 2 (φ.inverse t x)).comp x hi
have hj := (φ.jacobian_space_derivative t (φ.inverse t x)).comp x hi
have hd := (h3.const_mul (deriv Real.smoothTransition t)).div (hj.pow 3)
(pow_ne_zero _ (ne_of_gt (φ.jacobian_pos t (φ.inverse t x))))
simp only [Function.comp_def, Pi.pow_apply] at hd
rw [show (3:ℕ)=2+1by rfl, iteratedDeriv_succ, hfun]
calc _ = _ := hd.deriv
_ = _ :=byhave hne := ne_of_gt (φ.jacobian_pos t (φ.inverse t x))
simp only [iteratedDeriv_succ, iteratedDeriv_zero]
field_simp [hne]
ring
lemmavelocity_fourth_formula (t x : ℝ) :
iteratedDeriv 4 (φ.velocity t) x = deriv Real.smoothTransition t *
(iteratedDeriv 4 φ (φ.inverse t x) / φ.jacobian t (φ.inverse t x)^5 -
10 * Real.smoothTransition t * iteratedDeriv 2 φ (φ.inverse t x) *
iteratedDeriv 3 φ (φ.inverse t x) / φ.jacobian t (φ.inverse t x)^6 +
15 * Real.smoothTransition t^2 * (iteratedDeriv 2 φ (φ.inverse t x))^3 /
φ.jacobian t (φ.inverse t x)^7) :=by
proof · 19
lines
havehfun : iteratedDeriv 3 (φ.velocity t) = fun z => deriv Real.smoothTransition t *
(iteratedDeriv 3 φ (φ.inverse t z) / φ.jacobian t (φ.inverse t z)^4 -
3 * Real.smoothTransition t * (iteratedDeriv 2 φ (φ.inverse t z))^2 /
φ.jacobian t (φ.inverse t z)^5) := funext (φ.velocity_third_formula t)
have hi := φ.inverse_space_derivative t x
have h3 := (φ.jet_hasDerivAt 2 (φ.inverse t x)).comp x hi
have h4 := (φ.jet_hasDerivAt 3 (φ.inverse t x)).comp x hi
have hj := (φ.jacobian_space_derivative t (φ.inverse t x)).comp x hi
have hne := ne_of_gt (φ.jacobian_pos t (φ.inverse t x))
have hd := ((h4.div (hj.pow 4) (pow_ne_zero _ hne)).sub
(((h3.pow 2).const_mul (3*Real.smoothTransition t)).div (hj.pow 5)
(pow_ne_zero _ hne))).const_mul (deriv Real.smoothTransition t)
simp only [Function.comp_def, Pi.div_apply, Pi.pow_apply, Pi.sub_apply] at hd
rw [show (4:ℕ)=3+1by rfl, iteratedDeriv_succ, hfun]
calc _ = _ := hd.deriv
_ = _ :=by
simp only [iteratedDeriv_succ, iteratedDeriv_zero]
field_simp [hne]
ring
lemmajacobian_lower_near_identity {ε : ℝ} (hε : ε ≤1/2)
(h1 : ∀ x, |deriv φ x-1| ≤ ε) (t y : ℝ) : 1/2≤ φ.jacobian t y :=by
proof · 7
lines
have hd := (abs_le.mp (h1 y)).1have hb0 :=Real.smoothTransition.nonneg t
have hb1 :=Real.smoothTransition.le_one t
havehe : -(Real.smoothTransition t)*ε ≤Real.smoothTransition t*(deriv φ y-1) :=by nlinarith
dsimp only [jacobian]
nlinarith