Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (28) and Eq. (C1): scattering and transfer matrices of a translated slab

Proved
Arxiv2205_09423.translated_slab_matrices

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

disordered-mediapolarizationrandom-matricesscattering-matrixtransfer-matrix

Let the mode set be as in Section 2.1, and let a slab of thickness ΔL>0\Delta L>0ΔL>0 centred at z=0z=0z=0 contain particles with centres rp\mathbf r_prp​, ∣zp∣≤ΔL/2|z_p|\le\Delta L/2∣zp​∣≤ΔL/2, and amplitude matrices Ap\mathbf A_pAp​. Translate every particle by L0z^L_0\hat{\mathbf z}L0​z^, and write a superscript L0L_0L0​ for the matrices of the translated slab and 000 for those of the original one. Then:

  1. tˉ(j,i)L0=tˉ(j,i)0exp⁡[i(kiz−kjz)L0]\bar{\mathbf t}^{L_0}_{(j,i)}=\bar{\mathbf t}^{0}_{(j,i)}\exp[i(k_{iz}-k_{jz})L_0]tˉ(j,i)L0​​=tˉ(j,i)0​exp[i(kiz​−kjz​)L0​] for all modes i,ji,ji,j, hence tˉL0=Λ−L0tˉ0Λ+L0\bar{\mathbf t}^{L_0}=\Lambda_-^{L_0}\bar{\mathbf t}^0\Lambda_+^{L_0}tˉL0​=Λ−L0​​tˉ0Λ+L0​​ with Λ+L0=diag(eik−NkzL0,…,eikNkzL0)⊗I2\Lambda_+^{L_0}=\mathrm{diag}(e^{ik_{-N_kz}L_0},\dots,e^{ik_{N_kz}L_0})\otimes\mathbb I_2Λ+L0​​=diag(eik−Nk​z​L0​,…,eikNk​z​L0​)⊗I2​ and Λ−L0=(Λ+L0)∗\Lambda_-^{L_0}=(\Lambda_+^{L_0})^*Λ−L0​​=(Λ+L0​​)∗;
  2. SˉL0=Λ±L0Sˉ0Λ±L0\bar{\mathbf S}^{L_0}=\Lambda_\pm^{L_0}\bar{\mathbf S}^0\Lambda_\pm^{L_0}SˉL0​=Λ±L0​​Sˉ0Λ±L0​​, with Λ±L0=diag(Λ+L0,Λ−L0)\Lambda_\pm^{L_0}=\mathrm{diag}(\Lambda_+^{L_0},\Lambda_-^{L_0})Λ±L0​​=diag(Λ+L0​​,Λ−L0​​);
  3. if tˉ′ 0\bar{\mathbf t}'^{\,0}tˉ′0 is invertible, then MˉL0=Λ∓L0Mˉ0Λ±L0\bar{\mathbf M}^{L_0}=\Lambda_\mp^{L_0}\bar{\mathbf M}^0\Lambda_\pm^{L_0}MˉL0​=Λ∓L0​​Mˉ0Λ±L0​​, with Λ∓L0=(Λ±L0)∗\Lambda_\mp^{L_0}=(\Lambda_\pm^{L_0})^*Λ∓L0​​=(Λ±L0​​)∗.

This lets a slab at any position be generated from one at the origin, whose statistics are those of Section 2.2.

Formalization Note The transfer matrix is defined from Sˉ\bar{\mathbf S}Sˉ in Beenakker's convention, which the paper cites but does not write out; it requires tˉ′\bar{\mathbf t}'tˉ′ to be invertible, which is therefore assumed. tˉ′\bar{\mathbf t}'tˉ′ and rˉ′\bar{\mathbf r}'rˉ′ are written by analogy with Eqs. (14)–(15).

Preamble
import Mathlib
import Definitions.Def_Arxiv2205_09423_Basic

open MeasureTheory ProbabilityTheory Matrix
Formal statement
namespace Arxiv2205_09423

theorem translated_slab_matrices {Nk N : ℕ} (K : ModeSet Nk) (hK : K.IsValid) (dL : ℝ)
    (hdL : 0 < dL) (A : Fin N → Amp) (r : Fin N → Fin 3 → ℝ)
    (hr : ∀ p, r p 2 ∈ Set.Icc (-dL / 2) (dL / 2)) (L0 : ℝ) :
    (∀ j i, tbar K A (shiftZ L0 r) j i =
      Complex.exp (Complex.I * (((K.kz i - K.kz j) * L0 : ℝ) : ℂ)) • tbar K A r j i) ∧
    assemble (tbar K A (shiftZ L0 r)) = lamMinus K L0 * assemble (tbar K A r) * lamPlus K L0 ∧
    sMat K A (shiftZ L0 r) = lamPM K L0 * sMat K A r * lamPM K L0 ∧
    (IsUnit (assemble (tpbar K A r)).det →
      transfer (sMat K A (shiftZ L0 r)) = lamMP K L0 * transfer (sMat K A r) * lamPM K L0) := by sorry

end Arxiv2205_09423
Source
Byrnes and Foreman, Random matrix theory of polarized light scattering in disordered media, arXiv:2205.09423v1 (2022), claim c008; Section 2.3, Eq. (28), PDF p. 11, and Appendix C, Eq. (C1), PDF p. 25
Read-back

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

Fix natural numbers NkN_kNk​ (the mode count parameter) and NNN (the number of particles), and a real number L0L_0L0​ (the translation distance).

Mode set. The mode set KKK consists of:

  • a real wavenumber kkk;
  • real transverse components kix,kiyk_{ix}, k_{iy}kix​,kiy​ for each of the 2Nk+12N_k+12Nk​+1 mode indices iii;
  • a real weight www.

It is assumed valid, meaning:

  • k>0k>0k>0;
  • kix2+kiy2<k2k_{ix}^2+k_{iy}^2<k^2kix2​+kiy2​<k2 for every iii;
  • reversing the index (i↦ıˉi\mapsto \bar\imathi↦ˉ, the mirror index in {0,…,2Nk}\{0,\dots,2N_k\}{0,…,2Nk​}) negates both transverse components;
  • the pairs (kix,kiy)(k_{ix},k_{iy})(kix​,kiy​) are pairwise distinct;
  • w=πk2/(2Nk+1)w=\pi k^2/(2N_k+1)w=πk2/(2Nk​+1).

Write kiz=k2−kix2−kiy2k_{iz}=\sqrt{k^2-k_{ix}^2-k_{iy}^2}kiz​=k2−kix2​−kiy2​​, which is strictly positive under validity. Write ki=(kix,kiy,kiz)\mathbf k_i=(k_{ix},k_{iy},k_{iz})ki​=(kix​,kiy​,kiz​) and k~i=(kix,kiy,−kiz)\tilde{\mathbf k}_i=(k_{ix},k_{iy},-k_{iz})k~i​=(kix​,kiy​,−kiz​), both of length kkk. Write

Cji=w2πkkjzkiz.C_{ji}=\frac{w}{2\pi k\sqrt{k_{jz}k_{iz}}}.Cji​=2πkkjz​kiz​​w​.

Particles. Also given are:

  • a real ΔL>0\Delta L>0ΔL>0;
  • for each particle ppp, a completely arbitrary function ApA_pAp​ assigning a complex 3×33\times 33×3 matrix Ap(uout,uin)A_p(\mathbf u_{\rm out},\mathbf u_{\rm in})Ap​(uout​,uin​) to every pair of vectors in R3\mathbb R^3R3 (no further properties are assumed);
  • a centre rp∈R3\mathbf r_p\in\mathbb R^3rp​∈R3 whose zzz-coordinate lies in [−ΔL/2,ΔL/2][-\Delta L/2,\Delta L/2][−ΔL/2,ΔL/2].

ΔL\Delta LΔL enters only through this last condition. No condition is placed on L0L_0L0​, so the translated centres need not lie in that interval. No randomness is involved: all objects are deterministic. The cases N=0N=0N=0 (no particles, all sums empty) and Nk=0N_k=0Nk​=0 (a single mode, necessarily with k0x=k0y=0k_{0x}=k_{0y}=0k0x​=k0y​=0) are included.

Polar basis. For a vector e\mathbf ee, define eϕ(e)\mathbf e_\phi(\mathbf e)eϕ​(e) as follows:

  • if ex=ey=0e_x=e_y=0ex​=ey​=0, it is (0,1,0)(0,1,0)(0,1,0) when ez>0e_z>0ez​>0 and (0,−1,0)(0,-1,0)(0,−1,0) otherwise;
  • otherwise it is the normalization of z^×e\hat z\times\mathbf ez^×e.

Define eθ(e)\mathbf e_\theta(\mathbf e)eθ​(e) as the normalization of eϕ(e)×e\mathbf e_\phi(\mathbf e)\times\mathbf eeϕ​(e)×e. Here normalization means v/∣v∣\mathbf v/|\mathbf v|v/∣v∣. Set (e0,e1)=(eθ,eϕ)(\mathbf e_0,\mathbf e_1)=(\mathbf e_\theta,\mathbf e_\phi)(e0​,e1​)=(eθ​,eϕ​).

Normalized blocks. For incident wavevectors viin\mathbf v^{\rm in}_iviin​ and outgoing wavevectors vjout\mathbf v^{\rm out}_jvjout​, define the 2×22\times22×2 matrix

[B(j,i)vin,vout(r)]mn=Cji∑pei(viin−vjout)⋅rp∑a,b=13em ⁣(vjoutk)a Ap ⁣(vjoutk,viink)ab en ⁣(viink)b,m,n∈{0,1}.\big[B^{\mathbf v^{\rm in},\mathbf v^{\rm out}}_{(j,i)}(\mathbf r)\big]_{mn}=C_{ji}\sum_{p}e^{i(\mathbf v^{\rm in}_i-\mathbf v^{\rm out}_j)\cdot\mathbf r_p}\sum_{a,b=1}^{3}\mathbf e_m\!\big(\tfrac{\mathbf v^{\rm out}_j}{k}\big)_a\,A_p\!\big(\tfrac{\mathbf v^{\rm out}_j}{k},\tfrac{\mathbf v^{\rm in}_i}{k}\big)_{ab}\,\mathbf e_n\!\big(\tfrac{\mathbf v^{\rm in}_i}{k}\big)_b,\qquad m,n\in\{0,1\}.[B(j,i)vin,vout​(r)]mn​=Cji​p∑​ei(viin​−vjout​)⋅rp​a,b=1∑3​em​(kvjout​​)a​Ap​(kvjout​​,kviin​​)ab​en​(kviin​​)b​,m,n∈{0,1}.

From these, the four normalized blocks are:

tˉ(j,i)=δijI2+B(j,i)k,k,rˉ(j,i)=B(j,i)k,k~,tˉ(j,i)′=δijI2+B(j,i)k~,k~,rˉ(j,i)′=B(j,i)k~,k.\bar t_{(j,i)}=\delta_{ij}I_2+B^{\mathbf k,\mathbf k}_{(j,i)},\quad \bar r_{(j,i)}=B^{\mathbf k,\tilde{\mathbf k}}_{(j,i)},\quad \bar t'_{(j,i)}=\delta_{ij}I_2+B^{\tilde{\mathbf k},\tilde{\mathbf k}}_{(j,i)},\quad \bar r'_{(j,i)}=B^{\tilde{\mathbf k},\mathbf k}_{(j,i)}.tˉ(j,i)​=δij​I2​+B(j,i)k,k​,rˉ(j,i)​=B(j,i)k,k~​,tˉ(j,i)′​=δij​I2​+B(j,i)k~,k~​,rˉ(j,i)′​=B(j,i)k~,k​.

Assembled matrices. Let Tˉ,Rˉ,Tˉ′,Rˉ′\bar T,\bar R,\bar T',\bar R'Tˉ,Rˉ,Tˉ′,Rˉ′ be the 2(2Nk+1)2(2N_k+1)2(2Nk​+1)-square matrices whose entry in row (mode jjj, polarization mmm) and column (mode iii, polarization nnn) is the (m,n)(m,n)(m,n) entry of the corresponding (j,i)(j,i)(j,i) block. The scattering matrix is

Sˉ=(RˉTˉ′TˉRˉ′).\bar S=\begin{pmatrix}\bar R&\bar T'\\ \bar T&\bar R'\end{pmatrix}.Sˉ=(RˉTˉ​Tˉ′Rˉ′​).

The transfer matrix of Sˉ\bar SSˉ is

M(Sˉ)=(Tˉ−Rˉ′Tˉ′−1RˉRˉ′Tˉ′−1−Tˉ′−1RˉTˉ′−1).M(\bar S)=\begin{pmatrix}\bar T-\bar R'\bar T'^{-1}\bar R&\bar R'\bar T'^{-1}\\-\bar T'^{-1}\bar R&\bar T'^{-1}\end{pmatrix}.M(Sˉ)=(Tˉ−Rˉ′Tˉ′−1Rˉ−Tˉ′−1Rˉ​Rˉ′Tˉ′−1Tˉ′−1​).

Here the inverse is the matrix inverse, with the convention that a singular matrix has inverse 000.

Phase matrices. Let

Λ+=diag⁡i(eikizL0)⊗I2,Λ−=Λ+‾=diag⁡i(e−ikizL0)⊗I2,\Lambda_+=\operatorname{diag}_i\big(e^{ik_{iz}L_0}\big)\otimes I_2,\qquad \Lambda_-=\overline{\Lambda_+}=\operatorname{diag}_i\big(e^{-ik_{iz}L_0}\big)\otimes I_2,Λ+​=diagi​(eikiz​L0​)⊗I2​,Λ−​=Λ+​​=diagi​(e−ikiz​L0​)⊗I2​, Λ±=diag⁡(Λ+,Λ−),Λ∓=diag⁡(Λ−,Λ+).\Lambda_\pm=\operatorname{diag}(\Lambda_+,\Lambda_-),\qquad \Lambda_\mp=\operatorname{diag}(\Lambda_-,\Lambda_+).Λ±​=diag(Λ+​,Λ−​),Λ∓​=diag(Λ−​,Λ+​).

Quantities computed with the translated centres rp+(0,0,L0)\mathbf r_p+(0,0,L_0)rp​+(0,0,L0​) are marked by a superscript L0{}^{L_0}L0​.

The statement asserts all four of the following simultaneously:

  1. For all modes j,ij,ij,i:
tˉ(j,i)L0=ei(kiz−kjz)L0 tˉ(j,i).\bar t^{L_0}_{(j,i)}=e^{i(k_{iz}-k_{jz})L_0}\,\bar t_{(j,i)}.tˉ(j,i)L0​​=ei(kiz​−kjz​)L0​tˉ(j,i)​.
  1. The assembled transmission matrix transforms as:
TˉL0=Λ−TˉΛ+.\bar T^{L_0}=\Lambda_-\bar T\Lambda_+.TˉL0​=Λ−​TˉΛ+​.
  1. The scattering matrix transforms with the same matrix Λ±\Lambda_\pmΛ±​ on both sides:
SˉL0=Λ±Sˉ Λ±.\bar S^{L_0}=\Lambda_\pm\bar S\,\Lambda_\pm.SˉL0​=Λ±​SˉΛ±​.
  1. If the determinant of the untranslated Tˉ′\bar T'Tˉ′ is nonzero, then:
M(SˉL0)=Λ∓ M(Sˉ) Λ±.M(\bar S^{L_0})=\Lambda_\mp\,M(\bar S)\,\Lambda_\pm.M(SˉL0​)=Λ∓​M(Sˉ)Λ±​.
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