Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (43)-(45): non-conservative and conservative Cartesian streaming terms

Proved
Arxiv1110_5134.cartesian_streaming_forms

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

graded-index-mediapolarizationradiative-transferstokes-parameterstransport-equation

In Cartesian coordinates, let ∂/∂s\partial/\partial s∂/∂s be the Eulerian streaming operator of Eq. (42),

∂∂s=Ω⋅∇+1sin⁡θ{[(ξΩ−k)⋅∇nn]∂∂θ+[s1⋅∇nn]∂∂φ}.\frac{\partial}{\partial s}=\boldsymbol\Omega\cdot\nabla+\frac1{\sin\theta}\Big\{\Big[(\xi\boldsymbol\Omega-\mathbf k)\cdot\frac{\nabla n}n\Big]\frac{\partial}{\partial\theta}+\Big[\mathbf s_1\cdot\frac{\nabla n}n\Big]\frac{\partial}{\partial\varphi}\Big\}.∂s∂​=Ω⋅∇+sinθ1​{[(ξΩ−k)⋅n∇n​]∂θ∂​+[s1​⋅n∇n​]∂φ∂​}.

Let n>0n>0n>0 be differentiable at a point r\mathbf rr, let I(r,θ,φ)\mathbf I(\mathbf r,\theta,\varphi)I(r,θ,φ) be differentiable in r\mathbf rr, θ\thetaθ and φ\varphiφ there, and let sin⁡θ≠0\sin\theta\ne0sinθ=0. Then (Eq. 43)

n2∂∂s[In2]=∂I∂s−2n∂n∂sI,n^2\frac{\partial}{\partial s}\Big[\frac{\mathbf I}{n^2}\Big]=\frac{\partial\mathbf I}{\partial s}-\frac2n\frac{\partial n}{\partial s}\mathbf I,n2∂s∂​[n2I​]=∂s∂I​−n2​∂s∂n​I,

with ∂n/∂s=Ω⋅∇n\partial n/\partial s=\boldsymbol\Omega\cdot\nabla n∂n/∂s=Ω⋅∇n. In non-conservative form (Eq. 44),

n2∂∂s[In2]=Ω⋅∇I+1sin⁡θ{[(ξΩ−k)⋅∇nn]∂I∂θ+[s1⋅∇nn]∂I∂φ}−2(Ω⋅∇nn)I,n^2\frac{\partial}{\partial s}\Big[\frac{\mathbf I}{n^2}\Big]=\boldsymbol\Omega\cdot\nabla\mathbf I+\frac1{\sin\theta}\Big\{\Big[(\xi\boldsymbol\Omega-\mathbf k)\cdot\frac{\nabla n}n\Big]\frac{\partial\mathbf I}{\partial\theta}+\Big[\mathbf s_1\cdot\frac{\nabla n}n\Big]\frac{\partial\mathbf I}{\partial\varphi}\Big\}-2\Big(\boldsymbol\Omega\cdot\frac{\nabla n}n\Big)\mathbf I,n2∂s∂​[n2I​]=Ω⋅∇I+sinθ1​{[(ξΩ−k)⋅n∇n​]∂θ∂I​+[s1​⋅n∇n​]∂φ∂I​}−2(Ω⋅n∇n​)I,

and in conservative form (Eq. 45),

n2∂∂s[In2]=Ω⋅∇I+1sin⁡θ{∂∂θ[((ξΩ−k)⋅∇nn)I]+∂∂φ[(s1⋅∇nn)I]}.n^2\frac{\partial}{\partial s}\Big[\frac{\mathbf I}{n^2}\Big]=\boldsymbol\Omega\cdot\nabla\mathbf I+\frac1{\sin\theta}\Big\{\frac{\partial}{\partial\theta}\Big[\Big((\xi\boldsymbol\Omega-\mathbf k)\cdot\frac{\nabla n}n\Big)\mathbf I\Big]+\frac{\partial}{\partial\varphi}\Big[\Big(\mathbf s_1\cdot\frac{\nabla n}n\Big)\mathbf I\Big]\Big\}.n2∂s∂​[n2I​]=Ω⋅∇I+sinθ1​{∂θ∂​[((ξΩ−k)⋅n∇n​)I]+∂φ∂​[(s1​⋅n∇n​)I]}.

Here Ω=(sin⁡θcos⁡φ,sin⁡θsin⁡φ,cos⁡θ)\boldsymbol\Omega=(\sin\theta\cos\varphi,\sin\theta\sin\varphi,\cos\theta)Ω=(sinθcosφ,sinθsinφ,cosθ), ξ=cos⁡θ\xi=\cos\thetaξ=cosθ and s1=(−sin⁡φ,cos⁡φ,0)\mathbf s_1=(-\sin\varphi,\cos\varphi,0)s1​=(−sinφ,cosφ,0).

Formalization Note Eq. (42) is quoted by the paper from Ref. [26] and is taken as the definition of ∂/∂s\partial/\partial s∂/∂s.

Preamble
import Mathlib
import Definitions.Def_Arxiv1110_5134_Basic

open MeasureTheory Filter Topology
open scoped Matrix
Formal statement
namespace Arxiv1110_5134

theorem cartesian_streaming_forms (n : Vec3 → ℝ) (F : Vec3 → ℝ → ℝ → Stokes) (q : Vec3)
    (θ φ : ℝ) (hn : 0 < n q) (hnd : DifferentiableAt ℝ n q)
    (hFq : DifferentiableAt ℝ (fun y => F y θ φ) q)
    (hFθ : DifferentiableAt ℝ (fun θ' => F q θ' φ) θ)
    (hFφ : DifferentiableAt ℝ (fun φ' => F q θ φ') φ) (hθ : Real.sin θ ≠ 0) :
    n q ^ 2 • cartStream n (fun y θ' φ' => (n y ^ 2)⁻¹ • F y θ' φ') q θ φ =
      cartStream n F q θ φ - (2 / n q * dirDot θ φ (cartGrad n q)) • F q θ φ ∧
    n q ^ 2 • cartStream n (fun y θ' φ' => (n y ^ 2)⁻¹ • F y θ' φ') q θ φ =
      dirDot θ φ (cartGrad (fun y => F y θ φ) q) +
        angularStream ((n q)⁻¹ • cartGrad n q) F q θ φ -
        (2 * (dirVec θ φ ⬝ᵥ ((n q)⁻¹ • cartGrad n q))) • F q θ φ ∧
    n q ^ 2 • cartStream n (fun y θ' φ' => (n y ^ 2)⁻¹ • F y θ' φ') q θ φ =
      dirDot θ φ (cartGrad (fun y => F y θ φ) q) +
        angularCons ((n q)⁻¹ • cartGrad n q) F q θ φ := 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 c026; Section 4.2.2, Eqs. (42)-(45), PDF pp. 19-20
Read-back

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

Setting. The statement concerns:

  • a real-valued function n:R3→Rn:\mathbb{R}^3\to\mathbb{R}n:R3→R (the refractive index);
  • a Stokes-vector field F:R3×R×R→R4F:\mathbb{R}^3\times\mathbb{R}\times\mathbb{R}\to\mathbb{R}^4F:R3×R×R→R4, written F(y,θ′,φ′)F(y,\theta',\varphi')F(y,θ′,φ′);
  • a point q=(q0,q1,q2)∈R3q=(q_0,q_1,q_2)\in\mathbb{R}^3q=(q0​,q1​,q2​)∈R3;
  • two real angles θ,φ\theta,\varphiθ,φ.

These are all arbitrary, subject to six hypotheses:

  1. n(q)>0n(q)>0n(q)>0.
  2. nnn is (Fréchet) differentiable at qqq.
  3. y↦F(y,θ,φ)y\mapsto F(y,\theta,\varphi)y↦F(y,θ,φ) is (Fréchet) differentiable at y=qy=qy=q.
  4. θ′↦F(q,θ′,φ)\theta'\mapsto F(q,\theta',\varphi)θ′↦F(q,θ′,φ) is differentiable at θ′=θ\theta'=\thetaθ′=θ.
  5. φ′↦F(q,θ,φ′)\varphi'\mapsto F(q,\theta,\varphi')φ′↦F(q,θ,φ′) is differentiable at φ′=φ\varphi'=\varphiφ′=φ.
  6. sin⁡θ≠0\sin\theta\neq 0sinθ=0.

No differentiability of nnn or FFF is assumed at any other point or in any other direction. In particular, nothing is assumed about joint differentiability in (θ,φ)(\theta,\varphi)(θ,φ).

Notation. The direction vector, auxiliary vector and polar axis are

Ω(θ,φ)=(sin⁡θcos⁡φ, sin⁡θsin⁡φ, cos⁡θ),s1(φ)=(−sin⁡φ, cos⁡φ, 0),e3=(0,0,1).\Omega(\theta,\varphi)=(\sin\theta\cos\varphi,\ \sin\theta\sin\varphi,\ \cos\theta),\qquad s_1(\varphi)=(-\sin\varphi,\ \cos\varphi,\ 0),\qquad e_3=(0,0,1).Ω(θ,φ)=(sinθcosφ, sinθsinφ, cosθ),s1​(φ)=(−sinφ, cosφ, 0),e3​=(0,0,1).

The gradient ∇f(q)=(∂0f(q),∂1f(q),∂2f(q))\nabla f(q)=(\partial_0 f(q),\partial_1 f(q),\partial_2 f(q))∇f(q)=(∂0​f(q),∂1​f(q),∂2​f(q)) is the vector of ordinary one-variable partial derivatives in the Cartesian coordinates. Each ∂if(q)\partial_i f(q)∂i​f(q) is the derivative at r=qir=q_ir=qi​ of fff with the iii-th coordinate of qqq replaced by rrr; it is taken to be 000 if that derivative does not exist. Also write

g=∇n(q)n(q),∂θF=∂∂θ′F(q,θ′,φ)∣θ′=θ,∂φF=∂∂φ′F(q,θ,φ′)∣φ′=φ.g=\frac{\nabla n(q)}{n(q)},\qquad \partial_\theta F=\frac{\partial}{\partial\theta'}F(q,\theta',\varphi)\Big|_{\theta'=\theta},\qquad \partial_\varphi F=\frac{\partial}{\partial\varphi'}F(q,\theta,\varphi')\Big|_{\varphi'=\varphi}.g=n(q)∇n(q)​,∂θ​F=∂θ′∂​F(q,θ′,φ)​θ′=θ​,∂φ​F=∂φ′∂​F(q,θ,φ′)​φ′=φ​.

The two angular terms. For any vector g∈R3g\in\mathbb{R}^3g∈R3 and field FFF, the angular-redistribution term is

Ag[F]=1sin⁡θ{[(cos⁡θ Ω(θ,φ)−e3)⋅g] ∂θF+[s1(φ)⋅g] ∂φF}.A_g[F]=\frac{1}{\sin\theta}\Big\{\big[(\cos\theta\,\Omega(\theta,\varphi)-e_3)\cdot g\big]\,\partial_\theta F+\big[s_1(\varphi)\cdot g\big]\,\partial_\varphi F\Big\}.Ag​[F]=sinθ1​{[(cosθΩ(θ,φ)−e3​)⋅g]∂θ​F+[s1​(φ)⋅g]∂φ​F}.

Its conservative form is

Cg[F]=1sin⁡θ{∂∂θ′[((cos⁡θ′ Ω(θ′,φ)−e3)⋅g)F(q,θ′,φ)]θ′=θ+∂∂φ′[(s1(φ′)⋅g)F(q,θ,φ′)]φ′=φ}.C_g[F]=\frac{1}{\sin\theta}\Big\{\frac{\partial}{\partial\theta'}\Big[\big((\cos\theta'\,\Omega(\theta',\varphi)-e_3)\cdot g\big)F(q,\theta',\varphi)\Big]_{\theta'=\theta}+\frac{\partial}{\partial\varphi'}\Big[\big(s_1(\varphi')\cdot g\big)F(q,\theta,\varphi')\Big]_{\varphi'=\varphi}\Big\}.Cg​[F]=sinθ1​{∂θ′∂​[((cosθ′Ω(θ′,φ)−e3​)⋅g)F(q,θ′,φ)]θ′=θ​+∂φ′∂​[(s1​(φ′)⋅g)F(q,θ,φ′)]φ′=φ​}.

The streaming operator. The Cartesian streaming operator applied to a field HHH at (q,θ,φ)(q,\theta,\varphi)(q,θ,φ) is

D[H]=∑i=02Ωi(θ,φ) ∂iH(⋅,θ,φ)(q)  +  Ag[H],g=∇n(q)n(q).\mathcal{D}[H]=\sum_{i=0}^{2}\Omega_i(\theta,\varphi)\,\partial_i H(\cdot,\theta,\varphi)(q)\;+\;A_{g}[H],\qquad g=\frac{\nabla n(q)}{n(q)}.D[H]=i=0∑2​Ωi​(θ,φ)∂i​H(⋅,θ,φ)(q)+Ag​[H],g=n(q)∇n(q)​.

In this operator the angular derivatives are taken at the fixed point qqq.

Let G(y,θ′,φ′)=n(y)−2F(y,θ′,φ′)G(y,\theta',\varphi')=n(y)^{-2}F(y,\theta',\varphi')G(y,θ′,φ′)=n(y)−2F(y,θ′,φ′).

Claim. The theorem asserts that all three of the following equalities in R4\mathbb{R}^4R4 hold simultaneously:

n(q)2 D[G]=D[F]−2n(q)(Ω(θ,φ)⋅∇n(q)) F(q,θ,φ),n(q)^2\,\mathcal{D}[G]=\mathcal{D}[F]-\frac{2}{n(q)}\big(\Omega(\theta,\varphi)\cdot\nabla n(q)\big)\,F(q,\theta,\varphi),n(q)2D[G]=D[F]−n(q)2​(Ω(θ,φ)⋅∇n(q))F(q,θ,φ), n(q)2 D[G]=Ω(θ,φ)⋅∇yF(q,θ,φ)+Ag[F]−2(Ω(θ,φ)⋅g) F(q,θ,φ),n(q)^2\,\mathcal{D}[G]=\Omega(\theta,\varphi)\cdot\nabla_y F(q,\theta,\varphi)+A_{g}[F]-2\big(\Omega(\theta,\varphi)\cdot g\big)\,F(q,\theta,\varphi),n(q)2D[G]=Ω(θ,φ)⋅∇y​F(q,θ,φ)+Ag​[F]−2(Ω(θ,φ)⋅g)F(q,θ,φ), n(q)2 D[G]=Ω(θ,φ)⋅∇yF(q,θ,φ)+Cg[F].n(q)^2\,\mathcal{D}[G]=\Omega(\theta,\varphi)\cdot\nabla_y F(q,\theta,\varphi)+C_{g}[F].n(q)2D[G]=Ω(θ,φ)⋅∇y​F(q,θ,φ)+Cg​[F].

Throughout, g=∇n(q)/n(q)g=\nabla n(q)/n(q)g=∇n(q)/n(q). The second line is the first line with D[F]\mathcal{D}[F]D[F] expanded.

The third line therefore also asserts that the conservative angular term Cg[F]C_g[F]Cg​[F] equals Ag[F]−2(Ω⋅g)FA_g[F]-2(\Omega\cdot g)FAg​[F]−2(Ω⋅g)F. It asserts this for arbitrary θ,φ\theta,\varphiθ,φ with sin⁡θ≠0\sin\theta\neq0sinθ=0 and arbitrary n,Fn,Fn,F satisfying the pointwise hypotheses above.

Edge cases. The hypothesis sin⁡θ≠0\sin\theta\neq 0sinθ=0 excludes the poles θ∈πZ\theta\in\pi\mathbb{Z}θ∈πZ, where 1/sin⁡θ1/\sin\theta1/sinθ would otherwise be given the value 000. The hypothesis n(q)>0n(q)>0n(q)>0 ensures that the divisions by n(q)n(q)n(q) are genuine. Each derivative appearing in the statement is assigned the value 000 wherever it fails to exist.

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