Eqs. (46)-(47): the torsion of a ray from the refractive-index gradient
ProvedArxiv1110_5134.torsion_formulaLet be positive and twice continuously differentiable. Let be a ray parametrised by arc length with unit tangent , obeying the ray equation . At a point where :
- the curvature is ;
- the principal normal is ;
- the binormal is ;
- the torsion of Eq. (46) equals (Eq. 47)
Formalization Note The derivative is the derivative along the ray, which is what the streaming operator gives when it acts on a quantity evaluated along the ray. The Frenet frame is and , and the torsion has the sign of Eq. (46).
import Mathlib import Definitions.Def_Arxiv1110_5134_Basic open MeasureTheory Filter Topology open scoped Matrix
namespace Arxiv1110_5134
theorem torsion_formula (n : Vec3 → ℝ) (hn : ContDiff ℝ 2 n) (hpos : ∀ x, 0 < n x)
(γ Ω : ℝ → Vec3) (hγ : ∀ t, HasDerivAt γ (Ω t) t) (hunit : ∀ t, Ω t ⬝ᵥ Ω t = 1)
(hray : ∀ t, HasDerivAt (fun u => n (γ u) • Ω u) (cartGrad n (γ t)) t)
(s : ℝ) (hK : Ω s ⨯₃ cartGrad n (γ s) ≠ 0) :
rayCurvature Ω s = vlen (Ω s ⨯₃ cartGrad n (γ s)) / n (γ s) ∧
frenetNormal Ω s = (vlen (Ω s ⨯₃ cartGrad n (γ s)))⁻¹ •
(cartGrad n (γ s) - (Ω s ⬝ᵥ cartGrad n (γ s)) • Ω s) ∧
frenetBinormal Ω s = (vlen (Ω s ⨯₃ cartGrad n (γ s)))⁻¹ • (Ω s ⨯₃ cartGrad n (γ s)) ∧
rayTorsion Ω s =
((vlen (Ω s ⨯₃ cartGrad n (γ s)))⁻¹ • (Ω s ⨯₃ cartGrad n (γ s))) ⬝ᵥ
deriv (fun u => (vlen (Ω u ⨯₃ cartGrad n (γ u)))⁻¹ •
((Ω u ⬝ᵥ cartGrad n (γ u)) • Ω u - cartGrad n (γ u))) s := by sorry
end Arxiv1110_5134Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Work in , with vectors written as component triples . The notations are:
- is the standard dot product.
- is the standard cross product.
- is the Euclidean length.
- For a function , is the vector . Each is the ordinary one-variable derivative of at . By convention it is if that derivative does not exist.
- Throughout, means "the derivative if it exists, otherwise ".
- Reciprocals use the convention .
Hypotheses. Let be twice continuously differentiable with for every . Let be two curves such that, for every :
- is differentiable at with ;
- ;
- the map is differentiable at , with
Fix a parameter value . Write and , and assume
No assumption is made at parameters other than beyond the three conditions above.
Frenet quantities (as defined in the bundle). For the curve , define at a parameter :
- the curvature ;
- the principal normal , which is if ;
- the binormal ;
- the torsion . Here is the derivative of the function , taken as if it is not differentiable at .
Conclusion. All four of the following hold simultaneously at :
- Curvature:
- Principal normal:
- Binormal:
- Torsion:
The derivative on the right is taken as if this function is not differentiable at . Inside it, the reciprocal is at any where .
Note on item 4: the expression being differentiated is the negative of the formula for in item 2, evaluated along the curve. No minus sign appears in front of the dot product on the right-hand side.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.