Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (46)-(47): the torsion of a ray from the refractive-index gradient

Proved
Arxiv1110_5134.torsion_formula

by Xeroth · Nov 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

graded-index-mediapolarizationradiative-transferstokes-parameterstransport-equation

Let n:R3→Rn:\mathbb R^3\to\mathbb Rn:R3→R be positive and twice continuously differentiable. Let r(s)\mathbf r(s)r(s) be a ray parametrised by arc length with unit tangent Ω(s)\boldsymbol\Omega(s)Ω(s), obeying the ray equation dds(nΩ)=∇n\frac{d}{ds}(n\boldsymbol\Omega)=\nabla ndsd​(nΩ)=∇n. At a point where Ω×∇n≠0\boldsymbol\Omega\times\nabla n\ne0Ω×∇n=0:

  • the curvature is K=∣Ω×∇n/n∣K=|\boldsymbol\Omega\times\nabla n/n|K=∣Ω×∇n/n∣;
  • the principal normal is ν=(δ−ΩΩ)⋅∇n/(Kn)\boldsymbol\nu=(\boldsymbol\delta-\boldsymbol\Omega\boldsymbol\Omega)\cdot\nabla n/(Kn)ν=(δ−ΩΩ)⋅∇n/(Kn);
  • the binormal is b=(Ω×∇n/n)/K\mathbf b=(\boldsymbol\Omega\times\nabla n/n)/Kb=(Ω×∇n/n)/K;
  • the torsion κ=−b⋅∂ν/∂s\kappa=-\mathbf b\cdot\partial\boldsymbol\nu/\partial sκ=−b⋅∂ν/∂s of Eq. (46) equals (Eq. 47)
κ=Ω×∇n∣Ω×∇n∣⋅∂∂s[(ΩΩ−δ)⋅∇n∣Ω×∇n∣].\kappa=\frac{\boldsymbol\Omega\times\nabla n}{|\boldsymbol\Omega\times\nabla n|}\cdot\frac{\partial}{\partial s}\Big[\frac{(\boldsymbol\Omega\boldsymbol\Omega-\boldsymbol\delta)\cdot\nabla n}{|\boldsymbol\Omega\times\nabla n|}\Big].κ=∣Ω×∇n∣Ω×∇n​⋅∂s∂​[∣Ω×∇n∣(ΩΩ−δ)⋅∇n​].

Formalization Note The derivative ∂/∂s\partial/\partial s∂/∂s 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 ν=K−1dΩ/ds\boldsymbol\nu=K^{-1}d\boldsymbol\Omega/dsν=K−1dΩ/ds and b=Ω×ν\mathbf b=\boldsymbol\Omega\times\boldsymbol\nub=Ω×ν, and the torsion has the sign of Eq. (46).

Preamble
import Mathlib
import Definitions.Def_Arxiv1110_5134_Basic

open MeasureTheory Filter Topology
open scoped Matrix
Formal statement
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_5134
Source
Zhao, Tan and Liu, On the Derivation of Vector Radiative Transfer Equation for Polarized Radiative Transport in Graded Index Media, arXiv:1110.5134v1 (2011), claim c027; Section 4.2.2, Eqs. (46)-(47), PDF p. 20
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Setting. Work in R3\mathbb{R}^3R3, with vectors written as component triples v=(v0,v1,v2)v = (v_0, v_1, v_2)v=(v0​,v1​,v2​). The notations are:

  • u⋅v=∑iuiviu \cdot v = \sum_i u_i v_iu⋅v=∑i​ui​vi​ is the standard dot product.
  • u×vu \times vu×v is the standard cross product.
  • ∣v∣=v⋅v|v| = \sqrt{v \cdot v}∣v∣=v⋅v​ is the Euclidean length.
  • For a function f:R3→Rf:\mathbb{R}^3\to\mathbb{R}f:R3→R, ∇f(q)\nabla f(q)∇f(q) is the vector (∂0f(q),∂1f(q),∂2f(q))\big(\partial_0 f(q), \partial_1 f(q), \partial_2 f(q)\big)(∂0​f(q),∂1​f(q),∂2​f(q)). Each ∂if(q)\partial_i f(q)∂i​f(q) is the ordinary one-variable derivative of r↦f(q with its i-th coordinate replaced by r)r \mapsto f(q \text{ with its } i\text{-th coordinate replaced by } r)r↦f(q with its i-th coordinate replaced by r) at r=qir = q_ir=qi​. By convention it is 000 if that derivative does not exist.
  • Throughout, deriv⁡\operatorname{deriv}deriv means "the derivative if it exists, otherwise 000".
  • Reciprocals use the convention 0−1=00^{-1} = 00−1=0.

Hypotheses. Let n:R3→Rn:\mathbb{R}^3\to\mathbb{R}n:R3→R be twice continuously differentiable with n(x)>0n(x) > 0n(x)>0 for every x∈R3x \in \mathbb{R}^3x∈R3. Let γ,Ω:R→R3\gamma, \Omega : \mathbb{R} \to \mathbb{R}^3γ,Ω:R→R3 be two curves such that, for every t∈Rt \in \mathbb{R}t∈R:

  • γ\gammaγ is differentiable at ttt with γ′(t)=Ω(t)\gamma'(t) = \Omega(t)γ′(t)=Ω(t);
  • Ω(t)⋅Ω(t)=1\Omega(t) \cdot \Omega(t) = 1Ω(t)⋅Ω(t)=1;
  • the map u↦n(γ(u)) Ω(u)u \mapsto n(\gamma(u))\,\Omega(u)u↦n(γ(u))Ω(u) is differentiable at ttt, with
ddt[n(γ(t)) Ω(t)]=∇n(γ(t)).\frac{d}{dt}\Big[n(\gamma(t))\,\Omega(t)\Big] = \nabla n(\gamma(t)).dtd​[n(γ(t))Ω(t)]=∇n(γ(t)).

Fix a parameter value s∈Rs \in \mathbb{R}s∈R. Write G=∇n(γ(s))G = \nabla n(\gamma(s))G=∇n(γ(s)) and Ω=Ω(s)\Omega = \Omega(s)Ω=Ω(s), and assume

Ω×G≠0.\Omega \times G \neq 0.Ω×G=0.

No assumption is made at parameters other than sss beyond the three conditions above.

Frenet quantities (as defined in the bundle). For the curve Ω(⋅)\Omega(\cdot)Ω(⋅), define at a parameter uuu:

  • the curvature K(u)=∣deriv⁡Ω(u)∣K(u) = |\operatorname{deriv}\Omega(u)|K(u)=∣derivΩ(u)∣;
  • the principal normal ν(u)=K(u)−1 deriv⁡Ω(u)\nu(u) = K(u)^{-1}\,\operatorname{deriv}\Omega(u)ν(u)=K(u)−1derivΩ(u), which is 000 if K(u)=0K(u) = 0K(u)=0;
  • the binormal b(u)=Ω(u)×ν(u)b(u) = \Omega(u) \times \nu(u)b(u)=Ω(u)×ν(u);
  • the torsion κ(u)=− b(u)⋅deriv⁡ν(u)\kappa(u) = -\,b(u) \cdot \operatorname{deriv}\nu(u)κ(u)=−b(u)⋅derivν(u). Here deriv⁡ν(u)\operatorname{deriv}\nu(u)derivν(u) is the derivative of the function u↦K(u)−1deriv⁡Ω(u)u \mapsto K(u)^{-1}\operatorname{deriv}\Omega(u)u↦K(u)−1derivΩ(u), taken as 000 if it is not differentiable at uuu.

Conclusion. All four of the following hold simultaneously at sss:

  1. Curvature:
K(s)=∣Ω×G∣n(γ(s)).K(s) = \frac{|\Omega \times G|}{n(\gamma(s))}.K(s)=n(γ(s))∣Ω×G∣​.
  1. Principal normal:
ν(s)=1∣Ω×G∣(G−(Ω⋅G) Ω).\nu(s) = \frac{1}{|\Omega \times G|}\Big(G - (\Omega\cdot G)\,\Omega\Big).ν(s)=∣Ω×G∣1​(G−(Ω⋅G)Ω).
  1. Binormal:
b(s)=Ω×G∣Ω×G∣.b(s) = \frac{\Omega \times G}{|\Omega \times G|}.b(s)=∣Ω×G∣Ω×G​.
  1. Torsion:
κ(s)=Ω×G∣Ω×G∣⋅deriv⁡ ⁣[ u↦1∣Ω(u)×∇n(γ(u))∣((Ω(u)⋅∇n(γ(u))) Ω(u)−∇n(γ(u)))](s).\kappa(s) = \frac{\Omega \times G}{|\Omega \times G|} \cdot \operatorname{deriv}\!\left[\,u \mapsto \frac{1}{|\Omega(u)\times \nabla n(\gamma(u))|}\Big((\Omega(u)\cdot\nabla n(\gamma(u)))\,\Omega(u) - \nabla n(\gamma(u))\Big)\right](s).κ(s)=∣Ω×G∣Ω×G​⋅deriv[u↦∣Ω(u)×∇n(γ(u))∣1​((Ω(u)⋅∇n(γ(u)))Ω(u)−∇n(γ(u)))](s).

The derivative on the right is taken as 000 if this function is not differentiable at sss. Inside it, the reciprocal is 000 at any uuu where Ω(u)×∇n(γ(u))=0\Omega(u)\times\nabla n(\gamma(u)) = 0Ω(u)×∇n(γ(u))=0.

Note on item 4: the expression being differentiated is the negative of the formula for ν\nuν in item 2, evaluated along the curve. No minus sign appears in front of the dot product on the right-hand side.

Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me