Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (7): intensity over n2n^2n2 is preserved across a layer interface

Proved
Arxiv1110_5134.layered_clausius_invariant

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

graded-index-mediapolarizationradiative-transferstokes-parameterstransport-equation

Let two adjacent layers have refractive indices n1,n2>0n_1,n_2>0n1​,n2​>0. A beam crosses from layer 1 to layer 2 with zenith angle θ1∈(0,π/2)\theta_1\in(0,\pi/2)θ1​∈(0,π/2), and the transmitted zenith angle θ2=θ2(θ1)\theta_2=\theta_2(\theta_1)θ2​=θ2​(θ1​) is given near θ1\theta_1θ1​ by Snell's law n1sin⁡θ1=n2sin⁡θ2n_1\sin\theta_1=n_2\sin\theta_2n1​sinθ1​=n2​sinθ2​. Suppose θ2\theta_2θ2​ is differentiable at θ1\theta_1θ1​. Energy is conserved across the interface (Eqs. 4-5):

I1cos⁡θ1sin⁡θ1 dθ1=I2cos⁡θ2sin⁡θ2 dθ2,I_1\cos\theta_1\sin\theta_1\,d\theta_1=I_2\cos\theta_2\sin\theta_2\,d\theta_2 ,I1​cosθ1​sinθ1​dθ1​=I2​cosθ2​sinθ2​dθ2​,

with the azimuth unchanged by refraction. Then Snell's law takes the differential form (Eq. 6)

n12 dcos⁡2θ1=n22 dcos⁡2θ2,n_1^2\,d\cos^2\theta_1=n_2^2\,d\cos^2\theta_2,n12​dcos2θ1​=n22​dcos2θ2​,

and the intensities satisfy (Eq. 7)

I1n12=I2n22.\frac{I_1}{n_1^2}=\frac{I_2}{n_2^2}.n12​I1​​=n22​I2​​.

Formalization Note The differentials are derivatives with respect to θ1\theta_1θ1​, so energy conservation reads I1cos⁡θ1sin⁡θ1=I2cos⁡θ2sin⁡θ2 θ2′(θ1)I_1\cos\theta_1\sin\theta_1=I_2\cos\theta_2\sin\theta_2\,\theta_2'(\theta_1)I1​cosθ1​sinθ1​=I2​cosθ2​sinθ2​θ2′​(θ1​). The paper's further limit of vanishing index steps, which gives Eq. (3), is not part of this statement.

Preamble
import Mathlib
import Definitions.Def_Arxiv1110_5134_Basic

open MeasureTheory Filter Topology
open scoped Matrix
Formal statement
namespace Arxiv1110_5134

theorem layered_clausius_invariant (n₁ n₂ I₁ I₂ θ₁ θ₂' : ℝ) (θ₂ : ℝ → ℝ)
    (hn₁ : 0 < n₁) (hn₂ : 0 < n₂) (hθ₁ : θ₁ ∈ Set.Ioo 0 (Real.pi / 2))
    (hsnell : ∀ᶠ t in 𝓝 θ₁, n₁ * Real.sin t = n₂ * Real.sin (θ₂ t))
    (hθ₂ : HasDerivAt θ₂ θ₂' θ₁)
    (henergy : I₁ * Real.cos θ₁ * Real.sin θ₁ =
      I₂ * Real.cos (θ₂ θ₁) * Real.sin (θ₂ θ₁) * θ₂') :
    HasDerivAt (fun t => n₂ ^ 2 * Real.cos (θ₂ t) ^ 2)
      (n₁ ^ 2 * (-(2 * Real.cos θ₁ * Real.sin θ₁))) θ₁ ∧
    I₁ / n₁ ^ 2 = I₂ / n₂ ^ 2 := 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 c001; Section 2.3, Eqs. (4)-(7), PDF pp. 7-8
Read-back

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

The statement concerns real numbers n1,n2,I1,I2,θ1,θ2′n_1, n_2, I_1, I_2, \theta_1, \theta_2'n1​,n2​,I1​,I2​,θ1​,θ2′​ and a function θ2:R→R\theta_2 : \mathbb{R} \to \mathbb{R}θ2​:R→R. None of the bundle's definitions (Stokes vectors, rotation matrices, streaming operators, etc.) appear. Everything is plain real arithmetic and trigonometry. The quantities are:

  • n1,n2n_1, n_2n1​,n2​: two refractive indices;
  • I1,I2I_1, I_2I1​,I2​: two intensities, which are arbitrary real numbers with no sign constraint;
  • θ1\theta_1θ1​: an incidence angle;
  • θ2\theta_2θ2​: a function giving a refraction angle as a function of the incidence angle;
  • θ2′\theta_2'θ2′​: a real number serving as the derivative of θ2\theta_2θ2​ at θ1\theta_1θ1​.

Hypotheses.

  1. n1>0n_1 > 0n1​>0 and n2>0n_2 > 0n2​>0.
  2. 0<θ1<π/20 < \theta_1 < \pi/20<θ1​<π/2, an open interval.
  3. Snell's law on a neighbourhood: there is an open neighbourhood UUU of θ1\theta_1θ1​ such that for every t∈Ut \in Ut∈U,
n1sin⁡t=n2sin⁡(θ2(t)).n_1 \sin t = n_2 \sin\big(\theta_2(t)\big).n1​sint=n2​sin(θ2​(t)).

Nothing is assumed about θ2\theta_2θ2​ outside UUU. Nothing restricts the values θ2(t)\theta_2(t)θ2​(t) to any interval such as (0,π/2)(0, \pi/2)(0,π/2). This hypothesis cannot be satisfied if n1sin⁡θ1>n2n_1 \sin\theta_1 > n_2n1​sinθ1​>n2​. 4. θ2\theta_2θ2​ is differentiable at θ1\theta_1θ1​, with derivative θ2′(θ1)=θ2′\theta_2'(\theta_1) = \theta_2'θ2′​(θ1​)=θ2′​. 5. Energy balance at the single point θ1\theta_1θ1​:

I1cos⁡θ1sin⁡θ1=I2cos⁡(θ2(θ1)) sin⁡(θ2(θ1)) θ2′.I_1 \cos\theta_1 \sin\theta_1 = I_2 \cos\big(\theta_2(\theta_1)\big)\,\sin\big(\theta_2(\theta_1)\big)\,\theta_2'.I1​cosθ1​sinθ1​=I2​cos(θ2​(θ1​))sin(θ2​(θ1​))θ2′​.

Conclusion. Both of the following hold:

  • (a) The function t↦n22cos⁡2(θ2(t))t \mapsto n_2^2 \cos^2\big(\theta_2(t)\big)t↦n22​cos2(θ2​(t)) is differentiable at t=θ1t = \theta_1t=θ1​, with derivative
ddt[n22cos⁡2(θ2(t))]t=θ1=n12⋅(−2cos⁡θ1sin⁡θ1).\frac{d}{dt}\Big[n_2^2 \cos^2\big(\theta_2(t)\big)\Big]_{t=\theta_1} = n_1^2 \cdot \big(-2\cos\theta_1 \sin\theta_1\big).dtd​[n22​cos2(θ2​(t))]t=θ1​​=n12​⋅(−2cosθ1​sinθ1​).
  • (b) The ratios of intensity to squared index agree:
I1n12=I2n22.\frac{I_1}{n_1^2} = \frac{I_2}{n_2^2}.n12​I1​​=n22​I2​​.

Both denominators are strictly positive by hypothesis 1, so no division-by-zero convention is involved.

The conclusion is a statement about these numbers at the single point θ1\theta_1θ1​. It says nothing about layered media, beams, or Stokes vectors beyond what is encoded in the hypotheses above.

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