Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (B1)–(B2): composition law for the scattering matrices of two reciprocal slabs

Proved
Arxiv2205_09423.scattering_matrix_composition

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

disordered-mediapolarizationrandom-matricesscattering-matrixtransfer-matrix

Let S1=(r1t1′t1r1′)\mathbf S_1=\begin{pmatrix}\mathbf r_1&\mathbf t_1'\\\mathbf t_1&\mathbf r_1'\end{pmatrix}S1​=(r1​t1​​t1′​r1′​​) and S2=(r2t2′t2r2′)\mathbf S_2=\begin{pmatrix}\mathbf r_2&\mathbf t_2'\\\mathbf t_2&\mathbf r_2'\end{pmatrix}S2​=(r2​t2​​t2′​r2′​​) be the normalized scattering matrices, of size 2⋅2(2Nk+1)2\cdot2(2N_k+1)2⋅2(2Nk​+1), of two reciprocal slabs, S1\mathcal S_1S1​ to the left of S2\mathcal S_2S2​. Reciprocal means Sm=ΠSmTΠ\mathbf S_m=\Pi\mathbf S_m^{\mathrm T}\PiSm​=ΠSmT​Π with Π=diag(J2Nk+1⊗σz,J2Nk+1⊗σz)\Pi=\mathrm{diag}(\mathbf J_{2N_k+1}\otimes\boldsymbol\sigma_z,\mathbf J_{2N_k+1}\otimes\boldsymbol\sigma_z)Π=diag(J2Nk​+1​⊗σz​,J2Nk​+1​⊗σz​). Suppose I−r1′r2\mathbb I-\mathbf r_1'\mathbf r_2I−r1′​r2​ is invertible and put Q=(I−r1′r2)−1\mathbf Q=(\mathbb I-\mathbf r_1'\mathbf r_2)^{-1}Q=(I−r1′​r2​)−1. Then a matrix S\mathbf SS is the scattering matrix of the combined system if and only if

S=(r1+t1′r2Qt1(J2Nk+1⊗σz)(t2Qt1)T(J2Nk+1⊗σz)t2Qt1r2′+t2Qr1′t2′).\mathbf S=\begin{pmatrix}\mathbf r_1+\mathbf t_1'\mathbf r_2\mathbf Q\mathbf t_1&(\mathbf J_{2N_k+1}\otimes\boldsymbol\sigma_z)(\mathbf t_2\mathbf Q\mathbf t_1)^{\mathrm T}(\mathbf J_{2N_k+1}\otimes\boldsymbol\sigma_z)\\\mathbf t_2\mathbf Q\mathbf t_1&\mathbf r_2'+\mathbf t_2\mathbf Q\mathbf r_1'\mathbf t_2'\end{pmatrix}.S=(r1​+t1′​r2​Qt1​t2​Qt1​​(J2Nk​+1​⊗σz​)(t2​Qt1​)T(J2Nk​+1​⊗σz​)r2′​+t2​Qr1′​t2′​​).

Here Jn\mathbf J_nJn​ is the exchange matrix and σz=diag(1,−1)\boldsymbol\sigma_z=\mathrm{diag}(1,-1)σz​=diag(1,−1). This composition law cascades scattering matrices directly, as an alternative to multiplying transfer matrices.

Formalization Note "Scattering matrix of the combined system" is defined by the matching conditions between the slabs (see the definitions). The upper-right block is written through reciprocity, so the formula is stated for reciprocal slabs. The reciprocity relation is that of Byrnes and Foreman (2021), Eq. (98), which this paper uses. For non-reciprocal slabs that block is t1′(I−r2r1′)−1t2′\mathbf t_1'(\mathbb I-\mathbf r_2\mathbf r_1')^{-1}\mathbf t_2't1′​(I−r2​r1′​)−1t2′​.

Preamble
import Mathlib
import Definitions.Def_Arxiv2205_09423_Basic

open MeasureTheory ProbabilityTheory Matrix
Formal statement
namespace Arxiv2205_09423

theorem scattering_matrix_composition {Nk : ℕ}
    (S1 S2 : Matrix (MIdx Nk ⊕ MIdx Nk) (MIdx Nk ⊕ MIdx Nk) ℂ)
    (h1 : IsReciprocal S1) (h2 : IsReciprocal S2)
    (hQ : IsUnit (1 - S1.toBlocks₂₂ * S2.toBlocks₁₁).det)
    (S : Matrix (MIdx Nk ⊕ MIdx Nk) (MIdx Nk ⊕ MIdx Nk) ℂ) :
    let r1 := S1.toBlocks₁₁
    let t1p := S1.toBlocks₁₂
    let t1 := S1.toBlocks₂₁
    let r1p := S1.toBlocks₂₂
    let r2 := S2.toBlocks₁₁
    let t2p := S2.toBlocks₁₂
    let t2 := S2.toBlocks₂₁
    let r2p := S2.toBlocks₂₂
    let Q := (1 - r1p * r2)⁻¹
    IsCascade S1 S2 S ↔
      S = Matrix.fromBlocks (r1 + t1p * r2 * Q * t1)
        (piMat Nk * (t2 * Q * t1).transpose * piMat Nk) (t2 * Q * t1) (r2p + t2 * Q * r1p * t2p) := by sorry

end Arxiv2205_09423
Source
Byrnes and Foreman, Random matrix theory of polarized light scattering in disordered media, arXiv:2205.09423v1 (2022), claim c024; Appendix B, Eqs. (B1)-(B2), PDF pp. 24-25
Read-back

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

Fix a natural number Nk≥0N_k \ge 0Nk​≥0. Let VVV be the finite index set of pairs (i,m)(i,m)(i,m), where iii is a mode index in {0,…,2Nk}\{0,\dots,2N_k\}{0,…,2Nk​} and m∈{0,1}m \in \{0,1\}m∈{0,1} is a polarization index. VVV therefore has 2(2Nk+1)2(2N_k+1)2(2Nk​+1) elements; even for Nk=0N_k = 0Nk​=0 it has 2. All matrices below have complex entries. They are indexed either by V×VV \times VV×V or by (V⊔V)×(V⊔V)(V \sqcup V)\times(V\sqcup V)(V⊔V)×(V⊔V); the latter are written in 2×22\times 22×2 block form, with the first copy of VVV giving the top/left block and the second copy giving the bottom/right block.

Data. Let S1,S2,SS_1, S_2, SS1​,S2​,S be arbitrary complex (V⊔V)×(V⊔V)(V\sqcup V)\times(V\sqcup V)(V⊔V)×(V⊔V) matrices. Write the blocks of S1S_1S1​ and S2S_2S2​ as

S1=(r1t1′t1r1′),S2=(r2t2′t2r2′),S_1 = \begin{pmatrix} r_1 & t_1' \\ t_1 & r_1' \end{pmatrix}, \qquad S_2 = \begin{pmatrix} r_2 & t_2' \\ t_2 & r_2' \end{pmatrix},S1​=(r1​t1​​t1′​r1′​​),S2​=(r2​t2​​t2′​r2′​​),

where each block is a V×VV\times VV×V matrix. No physical origin is assumed for these matrices; they need not come from slabs of particles.

The matrix Π\PiΠ. Define the V×VV\times VV×V matrix P=J⊗σzP = J \otimes \sigma_zP=J⊗σz​ (Kronecker product), with entries

P(i,m),(j,n)=[ i=2Nk−j ]⋅(σz)mn,σz=(100−1).P_{(i,m),(j,n)} = [\,i = 2N_k - j\,]\cdot(\sigma_z)_{mn}, \qquad \sigma_z = \begin{pmatrix}1&0\\0&-1\end{pmatrix}.P(i,m),(j,n)​=[i=2Nk​−j]⋅(σz​)mn​,σz​=(10​0−1​).

Here JJJ is the (2Nk+1)×(2Nk+1)(2N_k+1)\times(2N_k+1)(2Nk​+1)×(2Nk​+1) exchange matrix, with ones on the anti-diagonal and zeros elsewhere. Let Π=diag⁡(P,P)\Pi = \operatorname{diag}(P,P)Π=diag(P,P), the block-diagonal matrix with zero off-diagonal blocks.

Hypotheses.

  1. S1S_1S1​ is "reciprocal": S1=Π S1T ΠS_1 = \Pi\, S_1^{\mathsf T}\, \PiS1​=ΠS1T​Π, where T{}^{\mathsf T}T is the plain transpose with no complex conjugation.
  2. S2S_2S2​ is reciprocal in the same sense: S2=Π S2T ΠS_2 = \Pi\, S_2^{\mathsf T}\, \PiS2​=ΠS2T​Π.
  3. det⁡(I−r1′r2)≠0\det(I - r_1' r_2) \neq 0det(I−r1′​r2​)=0, where III is the V×VV\times VV×V identity.

Under hypothesis 3, the matrix Q=(I−r1′r2)−1Q = (I - r_1' r_2)^{-1}Q=(I−r1′​r2​)−1 is the genuine inverse. No assumption at all is placed on SSS; in particular SSS is not assumed reciprocal.

The "cascade" property. SSS is said to be a cascade of S1S_1S1​ followed by S2S_2S2​ if the following holds. For every pair of vectors a,d∈CVa, d \in \mathbb{C}^Va,d∈CV, there exist vectors b,c∈CVb, c \in \mathbb{C}^Vb,c∈CV (not required to be unique) such that

b=t1a+r1′c,c=r2b+t2′d,S(ad)=(r1a+t1′ct2b+r2′d).b = t_1 a + r_1' c, \qquad c = r_2 b + t_2' d, \qquad S\begin{pmatrix} a \\ d\end{pmatrix} = \begin{pmatrix} r_1 a + t_1' c \\ t_2 b + r_2' d \end{pmatrix}.b=t1​a+r1′​c,c=r2​b+t2′​d,S(ad​)=(r1​a+t1′​ct2​b+r2′​d​).

Assertion. Under hypotheses 1–3, SSS is a cascade of S1S_1S1​ and S2S_2S2​ in the above sense if and only if

S=(r1+t1′ r2 Q t1P (t2Qt1)T Pt2 Q t1r2′+t2 Q r1′ t2′).S = \begin{pmatrix} r_1 + t_1' \, r_2 \, Q \, t_1 & P\,(t_2 Q t_1)^{\mathsf T}\, P \\[4pt] t_2 \, Q \, t_1 & r_2' + t_2 \, Q \, r_1' \, t_2' \end{pmatrix}.S=(r1​+t1′​r2​Qt1​t2​Qt1​​P(t2​Qt1​)TPr2′​+t2​Qr1′​t2′​​).

Two features of this formula are exactly as written in the statement:

  • The top-right block is expressed through the transpose (again without conjugation) of the bottom-left block t2Qt1t_2 Q t_1t2​Qt1​, conjugated by PPP. It is not given directly in terms of t1′t_1't1′​ and t2′t_2't2′​.
  • All products are matrix products, taken in the order shown, with the single matrix Q=(I−r1′r2)−1Q = (I - r_1' r_2)^{-1}Q=(I−r1′​r2​)−1 appearing in every block.
Human review
  • Endorsed by Shuze Chen · Nov 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Xeroth · Nov 25, 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