Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Broadband transmission matrix, exponential decay, Gaussian envelope and spectral degrees of freedom

Definition
Arxiv1707_02146_Basic

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

gaussian-spectrumscattering-mediaspeckletransmission-matrixwave-optics

Objects of the broadband-transmission-matrix model of Mounaix, de Aguiar and Gigan (2017).

  1. Spectral channels and fields (eq. 1). The pulse is split into NλN_\lambdaNλ​ uncorrelated spectral channels λ1,…,λNλ\lambda_1,\dots,\lambda_{N_\lambda}λ1​,…,λNλ​​. At channel λi\lambda_iλi​ the monochromatic transmission matrix T(λi)T(\lambda_i)T(λi​) maps the field Ein(λi)∈CnE^{in}(\lambda_i)\in\mathbb{C}^nEin(λi​)∈Cn on the nnn modulated SLM pixels to the modulated output field Eout,M(λi)=T(λi)Ein(λi)∈CmE^{out,M}(\lambda_i)=T(\lambda_i)E^{in}(\lambda_i)\in\mathbb{C}^mEout,M(λi​)=T(λi​)Ein(λi​)∈Cm on the mmm camera pixels. Eout,R(λi)∈CmE^{out,R}(\lambda_i)\in\mathbb{C}^mEout,R(λi​)∈Cm is the output field produced by the static reference part of the SLM.
  2. Broadband intensity (eq. 1). At camera pixel xxx, the intensity is Ix=∑i∣Exout,R(λi)+Exout,M(λi)∣2I_x=\sum_{i}\big|E^{out,R}_x(\lambda_i)+E^{out,M}_x(\lambda_i)\big|^2Ix​=∑i​​Exout,R​(λi​)+Exout,M​(λi​)​2, and the static term is I0,x=∑i(∣Exout,R(λi)∣2+∣Exout,M(λi)∣2)I_{0,x}=\sum_i\big(|E^{out,R}_x(\lambda_i)|^2+|E^{out,M}_x(\lambda_i)|^2\big)I0,x​=∑i​(∣Exout,R​(λi​)∣2+∣Exout,M​(λi​)∣2).
  3. Effective TM and BBTM. T′(λi)=diag⁡(Eout,R(λi)‾) T(λi)T'(\lambda_i)=\operatorname{diag}\big(\overline{E^{out,R}(\lambda_i)}\big)\,T(\lambda_i)T′(λi​)=diag(Eout,R(λi​)​)T(λi​), i.e. row xxx of T(λi)T(\lambda_i)T(λi​) multiplied by Exout,R(λi)‾\overline{E^{out,R}_x(\lambda_i)}Exout,R​(λi​)​, and the Broadband Transmission Matrix is B=∑i=1NλT′(λi)B=\sum_{i=1}^{N_\lambda}T'(\lambda_i)B=∑i=1Nλ​​T′(λi​).
  4. Exponential decay. A profile fff decays with decay time τ>0\tau>0τ>0 if f(t)=C e−t/τf(t)=C\,e^{-t/\tau}f(t)=Ce−t/τ for all t≥0t\ge0t≥0, for some constant C≠0C\neq0C=0.
  5. Traversal time. τ=κ/δλ\tau=\kappa/\delta\lambdaτ=κ/δλ for a spectral correlation bandwidth δλ\delta\lambdaδλ and a fixed constant κ\kappaκ (the relation τm∝1/δλm\tau_m\propto1/\delta\lambda_mτm​∝1/δλm​).
  6. Gaussian envelope. GA,λ0,w(λ)=Aexp⁡ ⁣(−4ln⁡2 (λ−λ0)2/w2)G_{A,\lambda_0,w}(\lambda)=A\exp\!\big(-4\ln2\,(\lambda-\lambda_0)^2/w^2\big)GA,λ0​,w​(λ)=Aexp(−4ln2(λ−λ0​)2/w2) is the Gaussian centred at λ0\lambda_0λ0​ with full width at half maximum www. A function is a Gaussian of FWHM www centred at λ0\lambda_0λ0​ if it equals GA,λ0,wG_{A,\lambda_0,w}GA,λ0​,w​ for some A>0A>0A>0 and w>0w>0w>0.
  7. Spectral degrees of freedom. Nλ=Δλ/δλN_\lambda=\Delta\lambda/\delta\lambdaNλ​=Δλ/δλ for an envelope of width Δλ\Delta\lambdaΔλ and correlation bandwidth δλ\delta\lambdaδλ.

Formalization Note Fields are complex vectors indexed by Fin n\mathrm{Fin}\,nFinn (SLM pixels) and Fin m\mathrm{Fin}\,mFinm (camera pixels); spectral channels are indexed by Fin Nλ\mathrm{Fin}\,N_\lambdaFinNλ​. The FWHM is built into the parametrisation of the Gaussian; the statement on the Gaussian cross product also states the half-maximum set explicitly.

Definition code
import Mathlib

/-!
Mounaix, de Aguiar and Gigan, *Temporal recompression through a scattering medium via a broadband
transmission matrix*, arXiv:1707.02146v1 (2017): the broadband intensity model and Broadband
Transmission Matrix of eq. (1) (PDF p. 2), the exponential time-of-flight decay and the relation
`τ ∝ 1/δλ` (PDF pp. 2-3), the Gaussian spectral envelope (PDF pp. 3-4) and the number of spectral
degrees of freedom `N_λ = Δλ/δλ` (PDF p. 2).
-/

open Matrix ComplexConjugate

noncomputable section

namespace Arxiv1707_02146

section BBTM

variable {N m n : ℕ}

/-- Eq. (1), PDF p. 2: the modulated output fields `E^{out,M}(λ_i) = T(λ_i) E^{in}(λ_i)` at the `m`
camera pixels, for `N` spectral channels `λ_1, …, λ_N`, monochromatic transmission matrices
`T(λ_i)` (`m` output pixels × `n` modulated SLM pixels) and input fields `E^{in}(λ_i)` on the
modulated SLM pixels. -/
def modulatedField (T : Fin N → Matrix (Fin m) (Fin n) ℂ) (Ein : Fin N → Fin n → ℂ)
    (i : Fin N) : Fin m → ℂ :=
  T i *ᵥ Ein i

/-- Eq. (1), first line, PDF p. 2: the spectrally unresolved intensity at camera pixel `x`, the
incoherent sum over the `N` spectral channels of `|E^{out,R}(λ_i) + E^{out,M}(λ_i)|²`, where
`ER i x = E^{out,R}(λ_i)` at pixel `x` is the output field of the static reference part. -/
def broadbandIntensity (ER : Fin N → Fin m → ℂ) (T : Fin N → Matrix (Fin m) (Fin n) ℂ)
    (Ein : Fin N → Fin n → ℂ) (x : Fin m) : ℝ :=
  ∑ i, Complex.normSq (ER i x + modulatedField T Ein i x)

/-- Eq. (1), second line, PDF p. 2: the static term `I_0` at pixel `x`, which contains all
field-squared terms `|E^{out,R}(λ_i)|² + |E^{out,M}(λ_i)|²`. -/
def staticTerm (ER : Fin N → Fin m → ℂ) (T : Fin N → Matrix (Fin m) (Fin n) ℂ)
    (Ein : Fin N → Fin n → ℂ) (x : Fin m) : ℝ :=
  ∑ i, (Complex.normSq (ER i x) + Complex.normSq (modulatedField T Ein i x))

/-- Eq. (1), third line, PDF p. 2 (and the monochromatic case `T' = S_ref^* T`, PDF p. 2): the
effective transmission matrix `T'(λ_i) = (E^{out,R}(λ_i))^* T(λ_i)`, i.e. row `x` of `T(λ_i)`
multiplied by the complex conjugate of the reference field at pixel `x`. -/
def effectiveTM (ER : Fin N → Fin m → ℂ) (T : Fin N → Matrix (Fin m) (Fin n) ℂ) (i : Fin N) :
    Matrix (Fin m) (Fin n) ℂ :=
  Matrix.diagonal (fun x => conj (ER i x)) * T i

/-- PDF p. 2, paragraph after eq. (1): the Broadband Transmission Matrix
`B = ∑_{i=1}^{N_λ} T'(λ_i)`. -/
def bbtm (ER : Fin N → Fin m → ℂ) (T : Fin N → Matrix (Fin m) (Fin n) ℂ) :
    Matrix (Fin m) (Fin n) ℂ :=
  ∑ i, effectiveTM ER T i

end BBTM

/-- PDF p. 3: a (time-of-flight) profile `f` decays for `t ≥ 0` in the form `∝ e^{-t/τ}`, with
decay time `τ > 0` and a nonzero proportionality constant. -/
def HasExpDecay (f : ℝ → ℝ) (τ : ℝ) : Prop :=
  0 < τ ∧ ∃ C : ℝ, C ≠ 0 ∧ ∀ t : ℝ, 0 ≤ t → f t = C * Real.exp (-t / τ)

/-- PDF p. 2 (`τ_m ∝ 1/δλ_m`): the traversal time `κ / δλ` attached to a spectral correlation
bandwidth `δλ`, with a fixed proportionality constant `κ`. -/
def traversalTime (κ bw : ℝ) : ℝ := κ / bw

/-- PDF pp. 3-4: the Gaussian spectral profile of amplitude `A`, centred at `l0`, with full width
at half maximum `w`: `A · exp(-4 ln 2 · (λ - l0)² / w²)`. -/
def gaussianProfile (A l0 w : ℝ) (lam : ℝ) : ℝ :=
  A * Real.exp (-(4 * Real.log 2) * (lam - l0) ^ 2 / w ^ 2)

/-- PDF pp. 3-4: `f` is a Gaussian centred at `l0` with FWHM `w > 0` and positive amplitude. -/
def IsGaussianFWHM (f : ℝ → ℝ) (l0 w : ℝ) : Prop :=
  0 < w ∧ ∃ A : ℝ, 0 < A ∧ f = gaussianProfile A l0 w

/-- PDF p. 2: the number of spectral degrees of freedom `N_λ = Δλ / δλ` of a spectral envelope of
width `Δλ` and spectral correlation bandwidth `δλ`. -/
def numSpectralModes (width bw : ℝ) : ℝ := width / bw

end Arxiv1707_02146
Source
Mounaix, de Aguiar and Gigan, Temporal recompression through a scattering medium via a broadband transmission matrix, arXiv:1707.02146v1 (2017), main text: eq. (1) and following paragraph (PDF p. 2), definition of N_lambda and tau_m proportional to 1/delta_lambda_m (PDF p. 2), time-domain and spectral paragraphs (PDF pp. 3-4)
Read-back

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

Modulated output field (modulatedField). Fix natural numbers NNN (spectral channels), mmm (output pixels) and nnn (input pixels); each may be 000. The inputs are:

  • a family T=(Ti)iT = (T_i)_{i}T=(Ti​)i​ of complex m×nm \times nm×n matrices, indexed by the NNN channels i∈{0,…,N−1}i \in \{0, \dots, N-1\}i∈{0,…,N−1};
  • a family Ein=(Eiin)iE^{\mathrm{in}} = (E^{\mathrm{in}}_i)_iEin=(Eiin​)i​ of complex vectors in Cn\mathbb{C}^nCn, one per channel;
  • a channel index iii.

The output is the vector in Cm\mathbb{C}^mCm given by the matrix–vector product

EiM  =  Ti Eiin,(EiM)x=∑k=1n(Ti)x,k (Eiin)k.E^{M}_i \;=\; T_i\,E^{\mathrm{in}}_i, \qquad (E^{M}_i)_x = \sum_{k=1}^{n} (T_i)_{x,k}\,(E^{\mathrm{in}}_i)_k .EiM​=Ti​Eiin​,(EiM​)x​=k=1∑n​(Ti​)x,k​(Eiin​)k​.

If n=0n = 0n=0, this is the zero vector. No conditions are imposed on TTT or EinE^{\mathrm{in}}Ein.

Broadband intensity (broadbandIntensity). The inputs are N,m,nN, m, nN,m,n as above, plus:

  • a family ER=(EiR)iE^{R} = (E^{R}_i)_iER=(EiR​)i​ of vectors in Cm\mathbb{C}^mCm, one per channel;
  • the families TTT and EinE^{\mathrm{in}}Ein as above;
  • a pixel index x∈{0,…,m−1}x \in \{0, \dots, m-1\}x∈{0,…,m−1}.

The output is the nonnegative real number

I(x)  =  ∑i=0N−1∣ EiR(x)+(TiEiin)x ∣2.I(x) \;=\; \sum_{i=0}^{N-1} \bigl|\,E^{R}_i(x) + (T_i E^{\mathrm{in}}_i)_x\,\bigr|^2 .I(x)=i=0∑N−1​​EiR​(x)+(Ti​Eiin​)x​​2.

Here ∣z∣2=(Re⁡z)2+(Im⁡z)2|z|^2 = (\operatorname{Re} z)^2 + (\operatorname{Im} z)^2∣z∣2=(Rez)2+(Imz)2. When N=0N = 0N=0, the sum is empty and I(x)=0I(x) = 0I(x)=0. Nothing in this definition relates III to any other quantity defined here.

Static term (staticTerm). This takes the same inputs ER,T,Ein,xE^{R}, T, E^{\mathrm{in}}, xER,T,Ein,x as the broadband intensity. Its output is the real number

I0(x)  =  ∑i=0N−1(∣EiR(x)∣2+∣(TiEiin)x∣2),I_0(x) \;=\; \sum_{i=0}^{N-1} \Bigl( |E^{R}_i(x)|^2 + \bigl|(T_i E^{\mathrm{in}}_i)_x\bigr|^2 \Bigr),I0​(x)=i=0∑N−1​(∣EiR​(x)∣2+​(Ti​Eiin​)x​​2),

which equals 000 when N=0N = 0N=0. This is only a definition: no identity linking I0I_0I0​ to III (for example, I=I0+cross termsI = I_0 + \text{cross terms}I=I0​+cross terms) is stated.

Effective transmission matrix (effectiveTM). The inputs are a family ERE^{R}ER of vectors in Cm\mathbb{C}^mCm, a family TTT of complex m×nm\times nm×n matrices, and a channel index iii. The output is the complex m×nm \times nm×n matrix

Ti′  =  diag⁡(EiR(0)‾,…,EiR(m−1)‾) Ti,(Ti′)x,k=EiR(x)‾ (Ti)x,k.T'_i \;=\; \operatorname{diag}\bigl(\overline{E^{R}_i(0)}, \dots, \overline{E^{R}_i(m-1)}\bigr)\, T_i, \qquad (T'_i)_{x,k} = \overline{E^{R}_i(x)}\,(T_i)_{x,k}.Ti′​=diag(EiR​(0)​,…,EiR​(m−1)​)Ti​,(Ti′​)x,k​=EiR​(x)​(Ti​)x,k​.

In words, row xxx of TiT_iTi​ is multiplied by the complex conjugate of the reference field at pixel xxx. The input fields EinE^{\mathrm{in}}Ein play no role.

Broadband transmission matrix (bbtm). The inputs are ERE^{R}ER and TTT as above. The output is the complex m×nm \times nm×n matrix

B  =  ∑i=0N−1Ti′  =  ∑i=0N−1diag⁡(EiR‾) Ti,Bx,k=∑i=0N−1EiR(x)‾ (Ti)x,k.B \;=\; \sum_{i=0}^{N-1} T'_i \;=\; \sum_{i=0}^{N-1} \operatorname{diag}\bigl(\overline{E^{R}_i}\bigr)\,T_i, \qquad B_{x,k} = \sum_{i=0}^{N-1} \overline{E^{R}_i(x)}\,(T_i)_{x,k}.B=i=0∑N−1​Ti′​=i=0∑N−1​diag(EiR​​)Ti​,Bx,k​=i=0∑N−1​EiR​(x)​(Ti​)x,k​.

When N=0N = 0N=0, BBB is the zero matrix.

Exponential decay predicate (HasExpDecay). For a function f:R→Rf : \mathbb{R} \to \mathbb{R}f:R→R and a real number τ\tauτ, the statement "fff has exponential decay with time τ\tauτ" means both of the following hold:

  1. τ>0\tau > 0τ>0;
  2. there exists a real constant C≠0C \neq 0C=0 such that
f(t)=C e−t/τfor every real t≥0.f(t) = C\, e^{-t/\tau} \quad \text{for every real } t \ge 0 .f(t)=Ce−t/τfor every real t≥0.

Several things are left open:

  • CCC may be negative.
  • Nothing is required of f(t)f(t)f(t) for t<0t < 0t<0.
  • No normalization of fff is imposed.

Traversal time (traversalTime). For real numbers κ\kappaκ and δλ\delta\lambdaδλ, this is the real number κ/δλ\kappa / \delta\lambdaκ/δλ. No sign or nonzero conditions are imposed on either argument. Division by zero is defined to give 000, so δλ=0\delta\lambda = 0δλ=0 yields traversal time 000.

Gaussian profile (gaussianProfile). For real numbers AAA, λ0\lambda_0λ0​, www and a real variable λ\lambdaλ, this is the real number

gA,λ0,w(λ)  =  Aexp⁡ ⁣(−4ln⁡2 (λ−λ0)2w2).g_{A,\lambda_0,w}(\lambda) \;=\; A \exp\!\left( \frac{-4\ln 2\,(\lambda - \lambda_0)^2}{w^2} \right).gA,λ0​,w​(λ)=Aexp(w2−4ln2(λ−λ0​)2​).

There are no conditions on AAA, λ0\lambda_0λ0​ or www. As a result:

  • AAA may be zero or negative.
  • www and −w-w−w give the same function.
  • If w=0w = 0w=0, division by zero is defined to give 000, so the exponent is 000 and gA,λ0,0(λ)=Ag_{A,\lambda_0,0}(\lambda) = AgA,λ0​,0​(λ)=A for every λ\lambdaλ, a constant function.

Gaussian-with-FWHM predicate (IsGaussianFWHM). For a function f:R→Rf : \mathbb{R} \to \mathbb{R}f:R→R and real numbers λ0\lambda_0λ0​ and www, the statement means both of the following hold:

  1. w>0w > 0w>0;
  2. there exists a real A>0A > 0A>0 such that, for every real λ\lambdaλ,
f(λ)=Aexp⁡ ⁣(−4ln⁡2 (λ−λ0)2w2),f(\lambda) = A \exp\!\left( \frac{-4\ln 2\,(\lambda - \lambda_0)^2}{w^2} \right),f(λ)=Aexp(w2−4ln2(λ−λ0​)2​),

an equality of functions on all of R\mathbb{R}R.

The centre λ0\lambda_0λ0​ is an arbitrary real number. The definition does not itself assert that www is the full width at half maximum; it only fixes the formula above.

Number of spectral modes (numSpectralModes). For real numbers Δλ\Delta\lambdaΔλ (width) and δλ\delta\lambdaδλ (bandwidth), this is the real number

Nλ=Δλδλ.N_\lambda = \frac{\Delta\lambda}{\delta\lambda}.Nλ​=δλΔλ​.

It is not required to be an integer or positive, and no sign conditions are imposed. If δλ=0\delta\lambda = 0δλ=0, division by zero is defined to give 000, so Nλ=0N_\lambda = 0Nλ​=0. This real number has no stated link to the natural number NNN of channels used in the matrix definitions above.

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