Arc length, curvature, Frenet trihedron and torsion of a space curve
DefinitionDoCarmo_local_theory_curvesThe vocabulary of do Carmo §1-5, the local theory of curves parametrized by arc length.
A curve is parametrized by arc length when it is smooth on and for all . Its unit tangent is and its curvature is .
At points where the normal vector is the unit vector with , and the binormal is . Since is a unit vector and is orthogonal to , the derivative is a multiple of , and the torsion is defined by ; equivalently, and as formalized here, .
This is do Carmo's sign convention for the torsion; many other authors write for the same quantity.
The formalization uses total functions that are required to be smooth and unit-speed only on . All theorems in this mission take to be an open interval , so that the ordinary derivative agrees with the derivative along at every point of . Where the normal, binormal and torsion take junk values, so every statement mentioning them assumes explicitly.
import Definitions.Def_DoCarmo_vector_product
namespace DoCarmoDG
/-- A curve `α : I → ℝ³` parametrized by arc length: `α` is smooth on `I` and its velocity
has unit length at every point of `I`. do Carmo, §1-3 and §1-5.
All statements below use an **open** interval `I`, so that `deriv` is the honest derivative
at every point of `I`. -/
def IsArcLengthCurve (I : Set ℝ) (α : ℝ → EuclideanSpace ℝ (Fin 3)) : Prop :=
ContDiffOn ℝ (⊤ : ℕ∞) α I ∧ ∀ s ∈ I, ‖deriv α s‖ = 1
/-- The unit tangent vector `t(s) = α'(s)` of a curve parametrized by arc length, do Carmo §1-5. -/
noncomputable def tangent (α : ℝ → EuclideanSpace ℝ (Fin 3)) : ℝ → EuclideanSpace ℝ (Fin 3) :=
deriv α
/-- The curvature `k(s) = |α''(s)|` of a curve parametrized by arc length, do Carmo §1-5. -/
noncomputable def curvature (α : ℝ → EuclideanSpace ℝ (Fin 3)) (s : ℝ) : ℝ :=
‖deriv (deriv α) s‖
/-- The normal vector `n(s)`, the unit vector in the direction of `α''(s)`, defined by
`α''(s) = k(s) n(s)` at points where `k(s) ≠ 0`, do Carmo §1-5. -/
noncomputable def normal (α : ℝ → EuclideanSpace ℝ (Fin 3)) (s : ℝ) : EuclideanSpace ℝ (Fin 3) :=
(curvature α s)⁻¹ • deriv (deriv α) s
/-- The binormal vector `b(s) = t(s) ∧ n(s)`, do Carmo §1-5. -/
noncomputable def binormal (α : ℝ → EuclideanSpace ℝ (Fin 3)) (s : ℝ) :
EuclideanSpace ℝ (Fin 3) :=
cross (tangent α s) (normal α s)
/-- The torsion `τ(s)`, defined by `b'(s) = τ(s) n(s)`, do Carmo §1-5.
(do Carmo's sign convention: many authors write `-τ` for this quantity.) -/
noncomputable def torsion (α : ℝ → EuclideanSpace ℝ (Fin 3)) (s : ℝ) : ℝ :=
inner ℝ (deriv (binormal α) s) (normal α s)
end DoCarmoDG
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Provenance note — this read-back is NOT blind. It was written by the same agent that drafted this Lean statement, at the explicit instruction of the mission's human owner, and not by an independent auditor with fresh context. It is therefore self-testimony, not independent testimony, and a reviewer must not treat it as a second opinion; an independent read-back should be obtained before this item is relied upon.
This file fixes the vocabulary for curves in . Throughout, a "curve" is a total function (defined at every real number, not just on an interval), and all derivatives are the ordinary derivative of such a function, taken pointwise: denotes the function , whose value is by convention at any point where is not differentiable, and is the derivative of that function, again with value at points of non-differentiability.
Arc-length parametrization. For a set and a curve , the property is the conjunction of two clauses:
- is on in the sense of differentiability relative to the set ; and
- for every , where is the ordinary derivative described above.
Nothing forces to be an interval, to be open, or to be nonempty: for both clauses hold trivially, so every curve is an arc-length curve on the empty set. For a set that is not open, the relative condition and the ordinary derivative are logically independent conditions, and the second clause constrains the ordinary derivative.
Tangent. , the ordinary derivative function of , defined at every real number.
Curvature. , a non-negative real number defined for every real (with the junk value wherever the relevant derivatives do not exist).
Normal. . Because division by zero yields zero in this setting, at any point where one gets ; thus is a unit vector only where , and is the zero vector otherwise.
Binormal. , the coordinatewise cross product
applied to the tangent and normal at . Where this is the zero vector.
Torsion. , the real inner product of the ordinary derivative of the binormal function at with the normal vector at . This is a total function of ; no hypothesis relating to is imposed by the definition, so is the component of along whether or not happens to be parallel to , and at every point where .
No smoothness, regularity, or positivity hypothesis is attached to any of these five definitions; they are total functions of and .