Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (C2)–(C3): transfer matrix of a stack of layers

Proved
Arxiv2205_09423.transfer_matrix_cascade

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 N≥1N\ge1N≥1 layers be given, layer lll consisting of particles that lie in a slab of thickness ΔLl>0\Delta L_l>0ΔLl​>0 centred at the origin. Let Mˉl0\bar{\mathbf M}^0_lMˉl0​ be the transfer matrix of layer lll at the origin, assuming its tˉ′\bar{\mathbf t}'tˉ′ block is invertible. Let MˉlLl\bar{\mathbf M}^{L_l}_lMˉlLl​​ be the transfer matrix of the same layer translated to centre LlL_lLl​, with L1<⋯<LNL_1<\dots<L_NL1​<⋯<LN​. Then

MˉNLN⋯Mˉ1L1=Λ∓LNMˉN0Λ±LN−LN−1⋯Mˉ20Λ±L2−L1Mˉ10Λ±L1.\bar{\mathbf M}^{L_N}_N\cdots\bar{\mathbf M}^{L_1}_1=\Lambda_\mp^{L_N}\bar{\mathbf M}^0_N\Lambda_\pm^{L_N-L_{N-1}}\cdots\bar{\mathbf M}^0_2\Lambda_\pm^{L_2-L_1}\bar{\mathbf M}^0_1\Lambda_\pm^{L_1}.MˉNLN​​⋯Mˉ1L1​​=Λ∓LN​​MˉN0​Λ±LN​−LN−1​​⋯Mˉ20​Λ±L2​−L1​​Mˉ10​Λ±L1​​.

If moreover all layers have the same thickness ΔL\Delta LΔL and are contiguous, L1=0L_1=0L1​=0 and Ll+1−Ll=ΔLL_{l+1}-L_l=\Delta LLl+1​−Ll​=ΔL, then

MˉNLN⋯Mˉ1L1=Λ∓NΔL∏l=N1Λ±ΔLMˉl0\bar{\mathbf M}^{L_N}_N\cdots\bar{\mathbf M}^{L_1}_1=\Lambda_\mp^{N\Delta L}\prod_{l=N}^{1}\Lambda_\pm^{\Delta L}\bar{\mathbf M}^0_lMˉNLN​​⋯Mˉ1L1​​=Λ∓NΔL​l=N∏1​Λ±ΔL​Mˉl0​

(product with l=Nl=Nl=N on the left). For every LLL, left multiplication by Λ∓L\Lambda_\mp^{L}Λ∓L​ multiplies each 2×22\times22×2 block of a matrix by a single unimodular phase factor.

So a medium of thickness NΔLN\Delta LNΔL is obtained by cascading NNN matrices Λ±ΔLMˉ0\Lambda_\pm^{\Delta L}\bar{\mathbf M}^0Λ±ΔL​Mˉ0, up to a leading phase that does not alter intensity or polarization statistics.

Formalization Note Layers are indexed by l=0,…,N−1l=0,\dots,N-1l=0,…,N−1 in Lean. The general formula is written with the convention L0:=0L_0:=0L0​:=0 for the last factor, which is Λ±L1\Lambda_\pm^{L_1}Λ±L1​​. That the transfer matrix of a stack is the ordered product of the layers' transfer matrices is the premise (quoted from Beenakker); the statement is the identity between that product and the right-hand sides. The "intensity and polarization statistics" remark is stated as the precise block-phase property.

Preamble
import Mathlib
import Definitions.Def_Arxiv2205_09423_Basic

open MeasureTheory ProbabilityTheory Matrix
Formal statement
namespace Arxiv2205_09423

theorem transfer_matrix_cascade {Nk : ℕ} (K : ModeSet Nk) (hK : K.IsValid) (M : ℕ) (hM : 0 < M)
    (Np : ℕ → ℕ) (A : ∀ l, Fin (Np l) → Amp) (r : ∀ l, Fin (Np l) → Fin 3 → ℝ)
    (dL : ℕ → ℝ) (hdL : ∀ l, 0 < dL l) (hr : ∀ l p, r l p 2 ∈ Set.Icc (-dL l / 2) (dL l / 2))
    (hinv : ∀ l, IsUnit (assemble (tpbar K (A l) (r l))).det)
    (L : ℕ → ℝ) (hL : ∀ l, l + 1 < M → L l < L (l + 1)) :
    let M0 := fun l => transfer (sMat K (A l) (r l))
    let ML := fun l => transfer (sMat K (A l) (shiftZ (L l) (r l)))
    ((List.range M).map ML).reverse.prod =
        lamMP K (L (M - 1)) *
          ((List.range M).map fun l =>
            M0 l * lamPM K (L l - if l = 0 then 0 else L (l - 1))).reverse.prod ∧
    (∀ D : ℝ, (∀ l, dL l = D) → L 0 = 0 → (∀ l, l + 1 < M → L (l + 1) - L l = D) →
      ((List.range M).map ML).reverse.prod =
        lamMP K (M * D) * ((List.range M).map fun l => lamPM K D * M0 l).reverse.prod) ∧
    ∀ L' : ℝ, ∃ ph : Fin (2 * Nk + 1) ⊕ Fin (2 * Nk + 1) → ℂ, (∀ s, ‖ph s‖ = 1) ∧
      ∀ (X : Matrix (MIdx Nk ⊕ MIdx Nk) (MIdx Nk ⊕ MIdx Nk) ℂ) x y,
        (lamMP K L' * X) x y = ph (Sum.map Prod.fst Prod.fst x) * X x y := by sorry

end Arxiv2205_09423
Source
Byrnes and Foreman, Random matrix theory of polarized light scattering in disordered media, arXiv:2205.09423v1 (2022), claim c009; Section 2.3, PDF p. 11, and Appendix C, Eqs. (C2)-(C3), PDF pp. 25-26
Read-back

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

Fix a natural number NkN_kNk​ and a mode set KKK, with modes indexed by i∈{0,…,2Nk}i \in \{0,\dots,2N_k\}i∈{0,…,2Nk​}. The mode set consists of:

  • a wavenumber kkk;
  • transverse wavevectors κi=(kix,kiy)\kappa_i = (k_{ix}, k_{iy})κi​=(kix​,kiy​);
  • a weight www.

KKK is assumed valid, which means all of the following hold:

  • k>0k > 0k>0;
  • kix2+kiy2<k2k_{ix}^2 + k_{iy}^2 < k^2kix2​+kiy2​<k2 for every iii;
  • κ2Nk−i=−κi\kappa_{2N_k - i} = -\kappa_iκ2Nk​−i​=−κi​ for every iii;
  • the 2Nk+12N_k+12Nk​+1 vectors κi\kappa_iκi​ are pairwise distinct;
  • w=πk2/(2Nk+1)w = \pi k^2/(2N_k+1)w=πk2/(2Nk​+1).

From these, put kiz=k2−kix2−kiy2k_{iz} = \sqrt{k^2 - k_{ix}^2 - k_{iy}^2}kiz​=k2−kix2​−kiy2​​, which is positive under validity. Define the right-propagating and left-propagating wavevectors

ki=(kix,kiy,kiz),k~i=(kix,kiy,−kiz),\mathbf k_i = (k_{ix}, k_{iy}, k_{iz}), \qquad \tilde{\mathbf k}_i = (k_{ix}, k_{iy}, -k_{iz}),ki​=(kix​,kiy​,kiz​),k~i​=(kix​,kiy​,−kiz​),

their unit directions ui=ki/ku_i = \mathbf k_i/kui​=ki​/k and u~i=k~i/k\tilde u_i = \tilde{\mathbf k}_i/ku~i​=k~i​/k, and the coefficients

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

Slabs. Let M≥1M \ge 1M≥1 be a natural number. The theorem considers a sequence of slabs indexed by all l∈Nl \in \mathbb Nl∈N. Slab lll consists of:

  • NlN_lNl​ particles, where Nl=0N_l = 0Nl​=0 is allowed;
  • for each particle ppp, a centre rl,p∈R3r_{l,p} \in \mathbb R^3rl,p​∈R3;
  • for each particle ppp, an arbitrary amplitude function Al,pA_{l,p}Al,p​, assigning a complex 3×33\times 33×3 matrix Al,p(uout,uin)A_{l,p}(u_{\text{out}}, u_{\text{in}})Al,p​(uout​,uin​) to each pair of vectors.

Each slab also has a thickness ΔLl>0\Delta L_l > 0ΔLl​>0. The hypothesis is that every centre satisfies

−ΔLl/2≤(rl,p)z≤ΔLl/2.-\Delta L_l/2 \le (r_{l,p})_z \le \Delta L_l/2.−ΔLl​/2≤(rl,p​)z​≤ΔLl​/2.

ΔLl\Delta L_lΔLl​ appears nowhere else in the hypotheses or in the first conclusion. Finally, let L0,L1,…L_0, L_1, \dotsL0​,L1​,… be real numbers with Ll<Ll+1L_l < L_{l+1}Ll​<Ll+1​ whenever l+1<Ml+1 < Ml+1<M. Nothing is assumed about LlL_lLl​ for l≥Ml \ge Ml≥M. When M=1M = 1M=1 this hypothesis is vacuous. The hypotheses do not require shifted slabs to be disjoint or non-overlapping. There is no randomness: all data are fixed.

Polarization basis and blocks. For a unit vector eee, the polarization basis is (eθ(e),eφ(e))(e_\theta(e), e_\varphi(e))(eθ​(e),eφ​(e)):

  • eφ(e)=(z^×e)/∣z^×e∣e_\varphi(e) = (\hat z \times e)/|\hat z\times e|eφ​(e)=(z^×e)/∣z^×e∣, except that when ex=ey=0e_x = e_y = 0ex​=ey​=0 one takes eφ=y^e_\varphi = \hat yeφ​=y^​ if ez>0e_z > 0ez​>0 and eφ=−y^e_\varphi = -\hat yeφ​=−y^​ otherwise;
  • eθ(e)=(eφ×e)/∣eφ×e∣e_\theta(e) = (e_\varphi \times e)/|e_\varphi\times e|eθ​(e)=(eφ​×e)/∣eφ​×e∣.

For a 3×33\times33×3 matrix XXX, an incident direction uinu_{\text{in}}uin​ and an outgoing direction uoutu_{\text{out}}uout​, the reduced 2×22\times 22×2 matrix has entries

[em(uout)T X en(uin)]m,n,m,n∈{θ,φ}.\big[e_m(u_{\text{out}})^{\mathsf T}\, X\, e_n(u_{\text{in}})\big]_{m,n}, \qquad m, n \in \{\theta, \varphi\}.[em​(uout​)TXen​(uin​)]m,n​,m,n∈{θ,φ}.

For a slab with centres rpr_prp​, the four normalized 2×22\times22×2 blocks for (j,i)(j,i)(j,i) are built as follows. Each sums over the particles ppp, and Ap(⋅)A_p^{(\cdot)}Ap(⋅)​ denotes the reduced matrix of Ap(out,in)A_p(\text{out}, \text{in})Ap​(out,in) for the indicated directions:

tˉ(j,i)=δijI2+Cji∑pei(ki−kj)⋅rp Ap(ui→uj),\bar t_{(j,i)} = \delta_{ij} I_2 + C_{ji}\sum_p e^{i(\mathbf k_i - \mathbf k_j)\cdot r_p}\, A_p^{(u_i \to u_j)},tˉ(j,i)​=δij​I2​+Cji​p∑​ei(ki​−kj​)⋅rp​Ap(ui​→uj​)​, rˉ(j,i)=Cji∑pei(ki−k~j)⋅rp Ap(ui→u~j),\bar r_{(j,i)} = C_{ji}\sum_p e^{i(\mathbf k_i - \tilde{\mathbf k}_j)\cdot r_p}\, A_p^{(u_i \to \tilde u_j)},rˉ(j,i)​=Cji​p∑​ei(ki​−k~j​)⋅rp​Ap(ui​→u~j​)​, tˉ(j,i)′=δijI2+Cji∑pei(k~i−k~j)⋅rp Ap(u~i→u~j),\bar t'_{(j,i)} = \delta_{ij} I_2 + C_{ji}\sum_p e^{i(\tilde{\mathbf k}_i - \tilde{\mathbf k}_j)\cdot r_p}\, A_p^{(\tilde u_i \to \tilde u_j)},tˉ(j,i)′​=δij​I2​+Cji​p∑​ei(k~i​−k~j​)⋅rp​Ap(u~i​→u~j​)​, rˉ(j,i)′=Cji∑pei(k~i−kj)⋅rp Ap(u~i→uj).\bar r'_{(j,i)} = C_{ji}\sum_p e^{i(\tilde{\mathbf k}_i - \mathbf k_j)\cdot r_p}\, A_p^{(\tilde u_i \to u_j)}.rˉ(j,i)′​=Cji​p∑​ei(k~i​−kj​)⋅rp​Ap(u~i​→uj​)​.

Each family of blocks is assembled into a square matrix indexed by pairs (mode, polarization). The block in block-row jjj and block-column iii is the (j,i)(j,i)(j,i) block. The scattering matrix is then

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

It is indexed by two copies ("first" and "second") of the (mode, polarization) set.

Transfer matrix. The transfer matrix of Sˉ\bar SSˉ is

T(Sˉ)=(tˉ−rˉ′ tˉ′−1rˉrˉ′ tˉ′−1−tˉ′−1rˉtˉ′−1).\mathcal T(\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}.T(Sˉ)=(tˉ−rˉ′tˉ′−1rˉ−tˉ′−1rˉ​rˉ′tˉ′−1tˉ′−1​).

It is assumed that, for every l∈Nl \in \mathbb Nl∈N (not only l<Ml < Ml<M), the assembled tˉ′\bar t'tˉ′ of the unshifted slab lll has nonzero determinant.

Define two transfer matrices for each slab:

  • Ml\mathcal M_lMl​ is the transfer matrix of slab lll as given;
  • MlL\mathcal M_l^{L}MlL​ is the transfer matrix of slab lll after every centre is translated to rl,p+(0,0,Ll)r_{l,p} + (0,0,L_l)rl,p​+(0,0,Ll​).

Phase matrices. For real LLL:

  • Λ+L\Lambda_+^{L}Λ+L​ is diagonal, with entry eikizLe^{ik_{iz}L}eikiz​L at every index (mode iii, either polarization).
  • Λ−L\Lambda_-^{L}Λ−L​ is its complex conjugate.
  • Λ±L=diag⁡(Λ+L,Λ−L)\Lambda_\pm^{L} = \operatorname{diag}(\Lambda_+^{L}, \Lambda_-^{L})Λ±L​=diag(Λ+L​,Λ−L​).
  • Λ∓L=diag⁡(Λ−L,Λ+L)\Lambda_\mp^{L} = \operatorname{diag}(\Lambda_-^{L}, \Lambda_+^{L})Λ∓L​=diag(Λ−L​,Λ+L​), the entrywise conjugate of Λ±L\Lambda_\pm^{L}Λ±L​.

The theorem asserts three things.

  1. The shifted transfer matrices multiply as
MM−1L⋯M1LM0L=Λ∓LM−1 (MM−1Λ±LM−1−LM−2)⋯(M1Λ±L1−L0)(M0Λ±L0).\mathcal M^{L}_{M-1}\cdots\mathcal M^{L}_1\mathcal M^{L}_0 = \Lambda_\mp^{L_{M-1}}\,\big(\mathcal M_{M-1}\Lambda_\pm^{L_{M-1}-L_{M-2}}\big)\cdots\big(\mathcal M_1\Lambda_\pm^{L_1-L_0}\big)\big(\mathcal M_0\Lambda_\pm^{L_0}\big).MM−1L​⋯M1L​M0L​=Λ∓LM−1​​(MM−1​Λ±LM−1​−LM−2​​)⋯(M1​Λ±L1​−L0​​)(M0​Λ±L0​​).

In the last factor the shift is L0L_0L0​ itself, not a difference.

  1. Let DDD be any real number, and suppose that:

    • ΔLl=D\Delta L_l = DΔLl​=D for all l∈Nl \in \mathbb Nl∈N (which forces D>0D > 0D>0);
    • L0=0L_0 = 0L0​=0;
    • Ll+1−Ll=DL_{l+1} - L_l = DLl+1​−Ll​=D whenever l+1<Ml+1 < Ml+1<M.

    Then

MM−1L⋯M0L=Λ∓MD (Λ±DMM−1)⋯(Λ±DM0).\mathcal M^{L}_{M-1}\cdots\mathcal M^{L}_0 = \Lambda_\mp^{MD}\,\big(\Lambda_\pm^{D}\mathcal M_{M-1}\big)\cdots\big(\Lambda_\pm^{D}\mathcal M_0\big).MM−1L​⋯M0L​=Λ∓MD​(Λ±D​MM−1​)⋯(Λ±D​M0​).

The prefactor exponent is MDMDMD, not LM−1=(M−1)DL_{M-1} = (M-1)DLM−1​=(M−1)D. Inside each factor, Λ±D\Lambda_\pm^{D}Λ±D​ stands to the left of Ml\mathcal M_lMl​.

  1. For every real L′L'L′ there exist unit-modulus complex numbers ϕs,i\phi_{s,i}ϕs,i​, one for each copy s∈{first,second}s \in \{\text{first}, \text{second}\}s∈{first,second} and each mode iii, with the following property. For every complex matrix XXX indexed like Sˉ\bar SSˉ and all indices x,yx, yx,y,
(Λ∓L′X)x,y=ϕs(x), i(x) Xx,y,(\Lambda_\mp^{L'} X)_{x,y} = \phi_{s(x),\,i(x)}\, X_{x,y},(Λ∓L′​X)x,y​=ϕs(x),i(x)​Xx,y​,

where s(x)s(x)s(x) is the copy and i(x)i(x)i(x) the mode of the row index xxx. The polarization of xxx does not enter.

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