theoremcoordinateCircle_equation (center : Coord) (radius t : ℝ) :
(coordinateCircle center radius t 0 - center 0) ^ 2 +
(coordinateCircle center radius t 1 - center 1) ^ 2 = radius ^ 2:=by
proof · 6
lines
calc
_ = radius ^ 2 * (Real.cos t ^ 2 + Real.sin t ^ 2) :=by
simp only [coordinateCircle, Pi.add_apply, Pi.smul_apply, smul_eq_mul,
Matrix.cons_val_zero, Matrix.cons_val_one]
ring
_ = radius ^ 2:=by rw [Real.cos_sq_add_sin_sq, mul_one]
theoremunitNormalField_circle_constant
(hg : SmoothPositiveOn g U) (hF : IsometricOn g FU) (hU : IsOpenU)
(hcircle : ∀ t, coordinateCircle center radius t ∈U)
(hII : ∀ t, secondFundamental F
(unitNormalField F (coordinateCircle center radius t))
(coordinateCircle center radius t) = 0) (s t : ℝ) :
unitNormalField F (coordinateCircle center radius s) =
unitNormalField F (coordinateCircle center radius t) :=by
proof · 3
lines
have hd := unitNormalField_circle_hasDerivAt_zero hg hF hU hcircle hII
exact is_const_of_deriv_eq_zero (fun a => (hd a).differentiableAt)
(fun a => (hd a).deriv) s t
theoremheight_circle_hasDerivAt_zero
(hF : IsometricOn g FU) (hU : IsOpenU)
(hcircle : ∀ t, coordinateCircle center radius t ∈U) (e : Ambient)
(he : ∀ t, IsUnitNormalAtF e (coordinateCircle center radius t)) (t : ℝ) :
HasDerivAt (funs : ℝ=> height F e (coordinateCircle center radius s)) 0 t :=by
proof · 6
lines
have hh := height_smooth hF.1 e
havehd : DifferentiableAtℝ (height F e) (coordinateCircle center radius t) :=
(((hh _ (hcircle t)).contDiffAt (hU.mem_nhds (hcircle t))).differentiableAt (by simp))
have hzero := height_derivative_at_normal hF.1 hU (hcircle t) (he t)
simpa only [Function.comp_def, hzero, zero_apply] using
hd.hasFDerivAt.comp_hasDerivAt t (coordinateCircle_hasDerivAt center radius t)
theoremheight_circle_constant
(hF : IsometricOn g FU) (hU : IsOpenU)
(hcircle : ∀ t, coordinateCircle center radius t ∈U) (e : Ambient)
(he : ∀ t, IsUnitNormalAtF e (coordinateCircle center radius t)) (s t : ℝ) :
height F e (coordinateCircle center radius s) =
height F e (coordinateCircle center radius t) :=by
proof · 3
lines
have hd := height_circle_hasDerivAt_zero hF hU hcircle e he
exact is_const_of_deriv_eq_zero (fun a => (hd a).differentiableAt)
(fun a => (hd a).deriv) s t
theoremexists_circle_constant_normal_and_height
(hg : SmoothPositiveOn g U) (hF : IsometricOn g FU) (hU : IsOpenU)
(hcircle : ∀ t, coordinateCircle center radius t ∈U)
(hII : ∀ t, secondFundamental F
(unitNormalField F (coordinateCircle center radius t))
(coordinateCircle center radius t) = 0) :
∃e : Ambient, ∃c : ℝ, inner ℝ e e = 1∧
(∀ t, unitNormalField F (coordinateCircle center radius t) = e) ∧
(∀ t, IsUnitNormalAtF e (coordinateCircle center radius t)) ∧
(∀ t, height F e (coordinateCircle center radius t) = c) :=by
proof · 9
lines
let e := unitNormalField F (coordinateCircle center radius 0)
have hconst (t : ℝ) : unitNormalField F (coordinateCircle center radius t) = e :=
unitNormalField_circle_constant hg hF hU hcircle hII t 0have he (t : ℝ) : IsUnitNormalAtF e (coordinateCircle center radius t) :=by
rw [← hconst t]
exact unitNormalField_isUnitNormalAt hg hF (hcircle t)
refine ⟨e, height F e (coordinateCircle center radius 0), (he 0).1, hconst, he, ?_⟩
intro t
exact height_circle_constant hF hU hcircle e he t 0