Eqs. (56)-(57): streaming term in spherical coordinates
ProvedArxiv1110_5134.spherical_streaming_formsIn the spherical coordinates of Fig. 8, with , and , let be the streaming operator of Eq. (55):
Assume , , , , and differentiability of and at the point. Then the non-conservative form (Eq. 56) holds,
and so does the conservative form (Eq. 57)
with .
Formalization Note Eq. (55) is quoted from Ref. [29] and is taken as the definition of .
import Mathlib import Definitions.Def_Arxiv1110_5134_Basic open MeasureTheory Filter Topology open scoped Matrix
namespace Arxiv1110_5134
theorem spherical_streaming_forms (n : Vec3 → ℝ) (F : Vec3 → ℝ → ℝ → Stokes)
(q : Vec3) (θ φ : ℝ) (hρ : 0 < q 2) (hΘ : Real.sin (q 0) ≠ 0) (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 • sphStream n (fun y θ' φ' => (n y ^ 2)⁻¹ • F y θ' φ') q θ φ =
dirDot θ φ (sphGrad (fun y => F y θ φ) q) -
(Real.sin θ / q 2) • dTheta F q θ φ -
(Real.sin θ * Real.sin φ * Real.cot (q 0) / q 2) • dPhi F q θ φ +
angularStream ((n q)⁻¹ • sphGrad n q) F q θ φ -
(2 * (dirVec θ φ ⬝ᵥ ((n q)⁻¹ • sphGrad n q))) • F q θ φ ∧
n q ^ 2 • sphStream n (fun y θ' φ' => (n y ^ 2)⁻¹ • F y θ' φ') q θ φ =
(Real.sin θ * Real.cos φ) •
((q 2 * Real.sin (q 0))⁻¹ • pd (fun y => Real.sin (y 0) • F y θ φ) 0 q) +
(Real.sin θ * Real.sin φ) • ((q 2 * Real.sin (q 0))⁻¹ • pd (fun y => F y θ φ) 1 q) +
Real.cos θ • ((q 2 ^ 2)⁻¹ • pd (fun y => y 2 ^ 2 • F y θ φ) 2 q) -
(q 2 * Real.sin θ)⁻¹ • deriv (fun θ' => Real.sin θ' ^ 2 • F q θ' φ) θ -
(Real.cot (q 0) / q 2) • deriv (fun φ' => (Real.sin θ * Real.sin φ') • F q θ φ') φ +
angularCons ((n q)⁻¹ • sphGrad n q) F q θ φ := by sorry
end Arxiv1110_5134Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. Points of are triples , read as spherical coordinates . A Stokes vector is an element of . The data are:
- an arbitrary real function (the refractive index);
- an arbitrary field , written , of position and two direction angles;
- a point and angles .
No relation between and is assumed. All derivatives of -valued functions are taken componentwise.
Hypotheses. All of them concern only the single point :
- , , , and ;
- is (Fréchet) differentiable at as a function on ;
- is differentiable at ;
- is differentiable at ;
- is differentiable at .
Nothing is assumed about neighbourhoods, continuity of derivatives, or the behaviour of or elsewhere.
Notation.
- , for , is the ordinary derivative at of .
- The "spherical gradient" of at is the triple
- The direction vector, the auxiliary vector and the polar axis are
- For a triple (of vectors), .
- The vector is .
- .
For a field , define the following two terms.
The angular term:
Its conservative counterpart:
The spherical streaming operator applied to is
with the angular derivatives evaluated at . In this operator is always built from (not from ).
Claim. Let . The theorem asserts that both of the following equalities hold.
(1)
(2)
Remarks on what is literal.
- In (1), every term on the right is built from itself rather than from , plus the extra term .
- In (2), there is no separate term. The conservative angular term is applied to , still with .
- The coefficient of the term in (2) is , acting on .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.