Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Reciprocal periodic slab media, TM/TE scalar reductions, weak quasi-periodic solutions with Rayleigh expansions (Eq. (4)) for incidence from above and below, and the amplitude ratio of Eq. (9)

Definition
Arxivphysics_0610143_Basic

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

diffraction-gratingelectromagnetic-reciprocityhelmholtz-equationlorentz-reciprocityrayleigh-expansiontransmittance

Objects of M. Iwanaga, A. S. Vengurlekar, T. Hatano and T. Ishihara, Reciprocal transmittances and reflectances: An elementary proof (arXiv:physics/0610143v4), Sections II–III, in the plane-wave limit of the paper's far-field dipole arrays. Points of the plane of incidence are (x,z)∈R2(x,z)\in\mathbb R^2(x,z)∈R2; the structure is uniform along yyy.

  1. Harmonics (Eq. (4)). For period ddd, wavenumber kkk and incident tangential wavenumber α\alphaα: kx,m=α+2πm/dk_{x,m}=\alpha+2\pi m/dkx,m​=α+2πm/d (m∈Zm\in\mathbb Zm∈Z), and β(a)=k2−a2\beta(a)=\sqrt{k^2-a^2}β(a)=k2−a2​ if a2≤k2a^2\le k^2a2≤k2, β(a)=ia2−k2\beta(a)=i\sqrt{a^2-k^2}β(a)=ia2−k2​ otherwise; βm=β(kx,m)\beta_m=\beta(k_{x,m})βm​=β(kx,m​). The up-going harmonic is ei(kx,mx+βmz)e^{i(k_{x,m}x+\beta_mz)}ei(kx,m​x+βm​z) and the down-going one ei(kx,mx−βmz)e^{i(k_{x,m}x-\beta_mz)}ei(kx,m​x−βm​z); closed channels decay away from the object.

  2. Media (Sec. II, Figs. 3–4). Relative permittivity and permeability tensor fields ε,μ:R2→C3×3\varepsilon,\mu:\mathbb R^2\to\mathbb C^{3\times3}ε,μ:R2→C3×3 (indices x,y,zx,y,zx,y,z), each satisfying:

    • entries, and entries of the inverse of the xzxzxz block, are measurable and bounded; the xzxzxz block is invertible;
    • symmetric, Mij=MjiM_{ij}=M_{ji}Mij​=Mji​, with Mxy=Mzy=0M_{xy}=M_{zy}=0Mxy​=Mzy​=0 (yyy decoupled from the xzxzxz plane);
    • periodic: M(x+d,z)=M(x,z)M(x+d,z)=M(x,z)M(x+d,z)=M(x,z);
    • vacuum outside the slab: M=1M=1M=1 for ∣z∣>h|z|>h∣z∣>h.

    Complex entries (absorption) are allowed; the unit cell is otherwise arbitrary. The configuration without object is ε=μ=1\varepsilon=\mu=1ε=μ=1 everywhere.

  3. Scalar equations. With J(a,b)=(−b,a)J(a,b)=(-b,a)J(a,b)=(−b,a) and MxzM_{xz}Mxz​ the xzxzxz block of MMM:

    • TM polarization (E\mathbf EE in the xzxzxz plane), field u=Hyu=H_yu=Hy​: ∇⋅(A∇u)+k2μyyu=0\nabla\cdot(A\nabla u)+k^2\mu_{yy}u=0∇⋅(A∇u)+k2μyy​u=0 with A=JTεxz−1JA=J^{\mathsf T}\varepsilon_{xz}^{-1}JA=JTεxz−1​J;
    • TE polarization (E∥y\mathbf E\parallel yE∥y), field u=Eyu=E_yu=Ey​: the same with A=JTμxz−1JA=J^{\mathsf T}\mu_{xz}^{-1}JA=JTμxz−1​J and μyy\mu_{yy}μyy​ replaced by εyy\varepsilon_{yy}εyy​.
  4. Weak solution. uuu and a weak gradient ggg are in L2L^2L2 on every ball, and ∫(Ag)⋅∇φ−k2s u φ=0\int (Ag)\cdot\nabla\varphi-k^2 s\,u\,\varphi=0∫(Ag)⋅∇φ−k2suφ=0 for every real-valued smooth compactly supported φ\varphiφ (by complex linearity, equivalently for complex φ\varphiφ); the weak gradient satisfies ∫u ∂iφ=−∫giφ\int u\,\partial_i\varphi=-\int g_i\varphi∫u∂i​φ=−∫gi​φ for the same φ\varphiφ.

  5. Quasi-periodicity. u(x+d,z)=eiαdu(x,z)u(x+d,z)=e^{i\alpha d}u(x,z)u(x+d,z)=eiαdu(x,z).

  6. Incidence from above (coefficients A,sA,sA,s, tangential wavenumber α\alphaα, amplitudes rm,tmr_m,t_mrm​,tm​): uuu is a quasi-periodic weak solution with

    • u=ei(αx−β0z)+∑mrmei(kx,mx+βmz)u=e^{i(\alpha x-\beta_0z)}+\sum_m r_m e^{i(k_{x,m}x+\beta_mz)}u=ei(αx−β0​z)+∑m​rm​ei(kx,m​x+βm​z) for z>hz>hz>h;
    • u=∑mtmei(kx,mx−βmz)u=\sum_m t_m e^{i(k_{x,m}x-\beta_mz)}u=∑m​tm​ei(kx,m​x−βm​z) for z<−hz<-hz<−h;

    the series converging (unconditionally) at every point.

  7. Incidence from below: the same with up and down exchanged: u=ei(αx+β0z)+∑mrmei(kx,mx−βmz)u=e^{i(\alpha x+\beta_0z)}+\sum_m r_me^{i(k_{x,m}x-\beta_mz)}u=ei(αx+β0​z)+∑m​rm​ei(kx,m​x−βm​z) for z<−hz<-hz<−h and u=∑mtmei(kx,mx+βmz)u=\sum_m t_me^{i(k_{x,m}x+\beta_mz)}u=∑m​tm​ei(kx,m​x+βm​z) for z>hz>hz>h.

  8. Eq. (9). ratio(a,b)=∣a/b∣2\mathrm{ratio}(a,b)=|a/b|^2ratio(a,b)=∣a/b∣2, so that Ti=∣Ei(0)/Eino,(0)∣2T_i=|E_i^{(0)}/E_i^{\rm no,(0)}|^2Ti​=∣Ei(0)​/Eino,(0)​∣2 is the ratio of zeroth-order amplitudes with and without object.

Formalization Note The paper's sources are finite arrays of point dipoles whose far fields are 'to a good approximation' plane waves. The formalization works in the exact plane-wave limit that this approximation targets, which is also the setting of the paper's numerics (Sec. IV). The paper writes the fields in terms of E\mathbf EE. In vacuum the zeroth-order E\mathbf EE and H\mathbf HH amplitudes are proportional with the same factor with and without object, so the ratios of Eq. (9) agree for HyH_yHy​ and E\mathbf EE. Symmetry of ε,μ\varepsilon,\muε,μ is not stated in the paper but is the hypothesis of the reciprocal theorem it cites (Landau–Lifshitz). Writing the radiated harmonics as e+iβm∣z∣e^{+i\beta_m|z|}e+iβm​∣z∣ corresponds to the time factor e−iωte^{-i\omega t}e−iωt. Since ε,μ\varepsilon,\muε,μ range over all complex values, the statements cover either sign convention for absorption.

Definition code
import Mathlib

/-!
M. Iwanaga, A. S. Vengurlekar, T. Hatano and T. Ishihara, *Reciprocal transmittances and reflectances: An elementary proof* (arXiv:physics/0610143v4),
Sections II–III: the reciprocal configurations of Fig. 1 for a one-dimensionally periodic object
(period `d` along `x`, finite thickness along `z`) in vacuum, illuminated by a plane wave of
wavenumber `k` in the `xz` plane, in the plane-wave limit of the paper's far-field dipole arrays.

Points of the plane of incidence are `(x, z) : ℝ × ℝ`. The structure is uniform along `y`.
The media are linear and local, `D_i = ∑_j ε_ij E_j`, `B_i = ∑_j μ_ij H_j` (Sec. II), with
relative tensors `ε μ : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ`, indices `0, 1, 2 = x, y, z`. They are
taken symmetric (the hypothesis of the reciprocal theorem in Landau–Lifshitz, Ref. 4) and with
`y` decoupled from the `xz` plane, so that TM (`E` in the `xz` plane) and TE (`E ∥ y`) fields
separate (Sec. III, polarization paragraph).

For TM polarization the field `u = H_y` satisfies `∇·(A∇u) + k² μ_yy u = 0` with
`A = Jᵀ ε_xz⁻¹ J`, where `ε_xz` is the `xz` block of `ε` and `J(a, b) = (-b, a)`
(from `curl H = iωε₀εE`, `curl E = -iωμ₀μH`); for TE polarization `u = E_y` satisfies the same
equation with `A = Jᵀ μ_xz⁻¹ J` and `μ_yy` replaced by `ε_yy`. In vacuum `A = 1` and the
equation is `Δu + k²u = 0`. The equation is taken in the weak sense, with `u ∈ H¹_loc`.

Outside the slab `|z| ≤ h` the field is the Rayleigh (Fourier-harmonic) expansion of Eq. (4),
`k_{x,m} = α + 2πm/d`, `k_{z,m} = ±β_m`, `β_m = √(k² − k_{x,m}²)` (with `β_m = i√(k_{x,m}² − k²)`
for closed channels, so that these harmonics decay away from the object).
-/

open MeasureTheory Matrix

noncomputable section

namespace Arxivphysics_0610143

/-- The coordinate directions `e_x = (1, 0)` and `e_z = (0, 1)` of the plane of incidence. -/
def coordDir : Fin 2 → ℝ × ℝ := ![(1, 0), (0, 1)]

/-- Eq. (4), PDF p. 2: `k_{x,m} = α + 2πm/d` for the incident tangential wavenumber `α`. -/
def kxm (d α : ℝ) (m : ℤ) : ℝ := α + 2 * Real.pi * m / d

/-- Eq. (4), PDF p. 2: `β = √(k² − a²)` if `a² ≤ k²` (open channel) and `β = i√(a² − k²)`
otherwise (closed channel), so that `k_z = ±β`. -/
def kzOf (k a : ℝ) : ℂ :=
  if a ^ 2 ≤ k ^ 2 then (Real.sqrt (k ^ 2 - a ^ 2) : ℂ)
  else Complex.I * (Real.sqrt (a ^ 2 - k ^ 2) : ℂ)

/-- Eq. (4): the harmonic `exp(i(k_{x,m} x + β_m z))`, travelling (or decaying) towards `+z`. -/
def upMode (d k α : ℝ) (m : ℤ) (p : ℝ × ℝ) : ℂ :=
  Complex.exp (Complex.I * ((kxm d α m : ℂ) * p.1 + kzOf k (kxm d α m) * p.2))

/-- Eq. (4): the harmonic `exp(i(k_{x,m} x − β_m z))`, travelling (or decaying) towards `−z`. -/
def downMode (d k α : ℝ) (m : ℤ) (p : ℝ × ℝ) : ℂ :=
  Complex.exp (Complex.I * ((kxm d α m : ℂ) * p.1 - kzOf k (kxm d α m) * p.2))

/-- The `xz` block `[[M_xx, M_xz], [M_zx, M_zz]]` of a `3 × 3` tensor (indices `0, 1, 2 = x, y, z`). -/
def xzBlock (M : Matrix (Fin 3) (Fin 3) ℂ) : Matrix (Fin 2) (Fin 2) ℂ :=
  !![M 0 0, M 0 2; M 2 0, M 2 2]

/-- The rotation `J(a, b) = (-b, a)`, which maps `∇u = (∂ₓu, ∂_z u)` to the `xz` part of
`curl (u e_y) = (-∂_z u, ∂ₓu)`. -/
def rotJ : Matrix (Fin 2) (Fin 2) ℂ := !![0, -1; 1, 0]

/-- The coefficient `Jᵀ M⁻¹ J` of the scalar equation `∇·(A∇u) + k² s u = 0` obtained from
Maxwell's equations for a field `u e_y` when the other field lies in the `xz` plane and the
corresponding material tensor has `xz` block `M`. -/
def inPlaneCoeff (M : Matrix (Fin 2) (Fin 2) ℂ) : Matrix (Fin 2) (Fin 2) ℂ :=
  rotJᵀ * M⁻¹ * rotJ

/-- TM polarization (Fig. 3, `E` in the `xz` plane), field `u = H_y`: coefficient
`A = Jᵀ ε_xz⁻¹ J`. -/
def tmCoeff (ε : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ) (p : ℝ × ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
  inPlaneCoeff (xzBlock (ε p))

/-- TM polarization, field `u = H_y`: zeroth-order coefficient `μ_yy`. -/
def tmPot (μ : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ) (p : ℝ × ℝ) : ℂ := μ p 1 1

/-- TE polarization (`E ∥ y`), field `u = E_y`: coefficient `A = Jᵀ μ_xz⁻¹ J`. -/
def teCoeff (μ : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ) (p : ℝ × ℝ) : Matrix (Fin 2) (Fin 2) ℂ :=
  inPlaneCoeff (xzBlock (μ p))

/-- TE polarization, field `u = E_y`: zeroth-order coefficient `ε_yy`. -/
def tePot (ε : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ) (p : ℝ × ℝ) : ℂ := ε p 1 1

/-- Sec. II and Figs. 3–4: `M` is the relative tensor field (permittivity or permeability) of a
linear, local, reciprocal medium containing a one-dimensionally periodic object of period `d`
along `x` inside the slab `|z| ≤ h`, with vacuum outside:
* the entries of `M` and of the inverse of its `xz` block are measurable and bounded, the `xz`
  block is invertible;
* `M` is symmetric, `M_ij = M_ji` (reciprocal medium) and `y` is decoupled:
  `M_xy = M_zy = 0`;
* `M(x + d, z) = M(x, z)`;
* `M = 1` for `|z| > h`.
Absorption (complex entries) is allowed, and the unit cell is arbitrary. -/
def IsPeriodicSlabTensor (d h : ℝ) (M : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ) : Prop :=
  (∀ i j, Measurable fun p => M p i j) ∧
  (∀ i j, Measurable fun p => (xzBlock (M p))⁻¹ i j) ∧
  (∃ C : ℝ, ∀ p, (∀ i j, ‖M p i j‖ ≤ C) ∧ ∀ i j, ‖(xzBlock (M p))⁻¹ i j‖ ≤ C) ∧
  (∀ p, IsUnit (xzBlock (M p)).det) ∧
  (∀ p, (M p)ᵀ = M p) ∧
  (∀ p, M p 0 1 = 0 ∧ M p 2 1 = 0) ∧
  (∀ x z : ℝ, M (x + d, z) = M (x, z)) ∧
  (∀ x z : ℝ, h < |z| → M (x, z) = 1)

/-- The medium of Figs. 3–4: permittivity `ε` and permeability `μ` both of the form
`IsPeriodicSlabTensor d h`. -/
def IsReciprocalGratingMedium (d h : ℝ) (ε μ : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ) : Prop :=
  IsPeriodicSlabTensor d h ε ∧ IsPeriodicSlabTensor d h μ

/-- The configuration without object (Eq. (8)): vacuum everywhere, `ε = μ = 1`. -/
def vacuumTensor : ℝ × ℝ → Matrix (Fin 3) (Fin 3) ℂ := fun _ => 1

/-- `u ∈ H¹_loc(ℝ²)` is a weak solution of `∇·(A∇u) + k² s u = 0`: `u` and a weak gradient
`g = (∂ₓu, ∂_z u)` are locally square integrable, and for every smooth compactly supported test
function `φ`, `∫ (A g)·∇φ − k² s u φ = 0`. -/
def IsWeakSolution (A : ℝ × ℝ → Matrix (Fin 2) (Fin 2) ℂ) (s : ℝ × ℝ → ℂ) (k : ℝ)
    (u : ℝ × ℝ → ℂ) : Prop :=
  (∀ R : ℝ, MemLp u 2 (volume.restrict (Metric.closedBall (0 : ℝ × ℝ) R))) ∧
  ∃ g : ℝ × ℝ → Fin 2 → ℂ,
    (∀ (i : Fin 2) (R : ℝ),
      MemLp (fun p => g p i) 2 (volume.restrict (Metric.closedBall (0 : ℝ × ℝ) R))) ∧
    (∀ (i : Fin 2) (φ : ℝ × ℝ → ℝ), ContDiff ℝ (⊤ : ℕ∞) φ → HasCompactSupport φ →
      ∫ p, u p * ((fderiv ℝ φ p (coordDir i) : ℝ) : ℂ) = -∫ p, g p i * ((φ p : ℝ) : ℂ)) ∧
    (∀ φ : ℝ × ℝ → ℝ, ContDiff ℝ (⊤ : ℕ∞) φ → HasCompactSupport φ →
      ∫ p, ((∑ i : Fin 2, ∑ j : Fin 2,
          A p i j * g p j * ((fderiv ℝ φ p (coordDir i) : ℝ) : ℂ)) -
        (k : ℂ) ^ 2 * s p * u p * ((φ p : ℝ) : ℂ)) = 0)

/-- `u` is quasi-periodic with tangential wavenumber `α`: `u(x + d, z) = e^{iαd} u(x, z)`. -/
def IsQuasiPeriodic (d α : ℝ) (u : ℝ × ℝ → ℂ) : Prop :=
  ∀ x z : ℝ, u (x + d, z) = Complex.exp (Complex.I * α * d) * u (x, z)

/-- Fig. 1(a), Figs. 3–4, Eq. (4): `u` is a field of the grating problem with coefficients `A`, `s`
for the unit plane wave `exp(i(αx − β₀z))` incident from above (`z > h`): `u` is a weak
solution, `α`-quasi-periodic, and
* `u = exp(i(αx − β₀z)) + ∑_m r_m exp(i(k_{x,m}x + β_m z))` for `z > h`;
* `u = ∑_m t_m exp(i(k_{x,m}x − β_m z))` for `z < −h`.
`r m`, `t m` are the reflected and transmitted Fourier amplitudes of order `m`. -/
def IsDownScattering (d k h α : ℝ) (A : ℝ × ℝ → Matrix (Fin 2) (Fin 2) ℂ) (s : ℝ × ℝ → ℂ)
    (u : ℝ × ℝ → ℂ) (r t : ℤ → ℂ) : Prop :=
  IsWeakSolution A s k u ∧ IsQuasiPeriodic d α u ∧
  (∀ x z : ℝ, h < z →
    HasSum (fun m : ℤ => r m * upMode d k α m (x, z)) (u (x, z) - downMode d k α 0 (x, z))) ∧
  (∀ x z : ℝ, z < -h → HasSum (fun m : ℤ => t m * downMode d k α m (x, z)) (u (x, z)))

/-- Fig. 1(b), Fig. 3, Eq. (4): `u` is a field of the grating problem with coefficients `A`, `s`
for the unit plane wave `exp(i(αx + β₀z))` incident from below (`z < −h`): `u` is a weak
solution, `α`-quasi-periodic, and
* `u = exp(i(αx + β₀z)) + ∑_m r_m exp(i(k_{x,m}x − β_m z))` for `z < −h`;
* `u = ∑_m t_m exp(i(k_{x,m}x + β_m z))` for `z > h`. -/
def IsUpScattering (d k h α : ℝ) (A : ℝ × ℝ → Matrix (Fin 2) (Fin 2) ℂ) (s : ℝ × ℝ → ℂ)
    (u : ℝ × ℝ → ℂ) (r t : ℤ → ℂ) : Prop :=
  IsWeakSolution A s k u ∧ IsQuasiPeriodic d α u ∧
  (∀ x z : ℝ, z < -h →
    HasSum (fun m : ℤ => r m * downMode d k α m (x, z)) (u (x, z) - upMode d k α 0 (x, z))) ∧
  (∀ x z : ℝ, h < z → HasSum (fun m : ℤ => t m * upMode d k α m (x, z)) (u (x, z)))

/-- Eq. (9), PDF p. 2: `|a / b|²`, the transmittance `T = |E^{(0)} / E^{no,(0)}|²` (and the
reflectance) as the squared modulus of a zeroth-order amplitude relative to its value without
object. -/
def ampRatioSq (a b : ℂ) : ℝ := Complex.normSq (a / b)

end Arxivphysics_0610143
Source
M. Iwanaga, A. S. Vengurlekar, T. Hatano, T. Ishihara, Reciprocal transmittances and reflectances: An elementary proof, arXiv:physics/0610143v4, Sec. II (linear local media, Eq. (1)); Sec. III, Eq. (4), Eqs. (8)-(9), Figs. 1, 3, 4, PDF pp. 1-3
Read-back

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

coordDir. This defines the two coordinate directions of the plane R2\mathbb{R}^2R2, whose points are written (x,z)(x,z)(x,z):

ex=(1,0),ez=(0,1).e_x = (1,0), \qquad e_z = (0,1).ex​=(1,0),ez​=(0,1).

Index 000 corresponds to xxx and index 111 to zzz.

kxm. For real numbers ddd (the period) and α\alphaα (the tangential wavenumber), and an integer mmm, this defines

kx,m(d,α)=α+2πmd.k_{x,m}(d,\alpha) = \alpha + \frac{2\pi m}{d}.kx,m​(d,α)=α+d2πm​.

No condition is placed on ddd. If d=0d = 0d=0, the quotient is taken to be 000, so kx,m=αk_{x,m} = \alphakx,m​=α for every mmm. If d<0d < 0d<0, the formula is used as written.

kzOf. For real numbers kkk and aaa, this defines the complex number

β(k,a)={k2−a2if a2≤k2,i a2−k2if a2>k2.\beta(k,a) = \begin{cases} \sqrt{k^2 - a^2} & \text{if } a^2 \le k^2, \\[2pt] i\,\sqrt{a^2 - k^2} & \text{if } a^2 > k^2. \end{cases}β(k,a)={k2−a2​ia2−k2​​if a2≤k2,if a2>k2.​

In the first case the value is real and ≥0\ge 0≥0; it equals 000 when a2=k2a^2 = k^2a2=k2. In the second case it is purely imaginary with positive imaginary part. Only k2k^2k2 enters, so the sign of kkk is irrelevant. The value k=0k = 0k=0 is allowed.

upMode. For real d,k,αd, k, \alphad,k,α, an integer mmm, and a point (x,z)(x,z)(x,z), write βm:=β(k,kx,m(d,α))\beta_m := \beta(k, k_{x,m}(d,\alpha))βm​:=β(k,kx,m​(d,α)). The "up" harmonic is

Um(x,z)=exp⁡ ⁣(i (kx,m x+βm z)).U_m(x,z) = \exp\!\big(i\,(k_{x,m}\,x + \beta_m\, z)\big).Um​(x,z)=exp(i(kx,m​x+βm​z)).
  • When kx,m2≤k2k_{x,m}^2 \le k^2kx,m2​≤k2, it has modulus 111.
  • Otherwise, Um(x,z)=eikx,mx e−kx,m2−k2 zU_m(x,z) = e^{i k_{x,m} x}\, e^{-\sqrt{k_{x,m}^2-k^2}\, z}Um​(x,z)=eikx,m​xe−kx,m2​−k2​z, which decays as z→+∞z \to +\inftyz→+∞ and grows as z→−∞z \to -\inftyz→−∞.

downMode. With the same notation, the "down" harmonic is

Dm(x,z)=exp⁡ ⁣(i (kx,m x−βm z)).D_m(x,z) = \exp\!\big(i\,(k_{x,m}\,x - \beta_m\, z)\big).Dm​(x,z)=exp(i(kx,m​x−βm​z)).
  • When kx,m2≤k2k_{x,m}^2 \le k^2kx,m2​≤k2, it has modulus 111.
  • Otherwise, Dm(x,z)=eikx,mx e+kx,m2−k2 zD_m(x,z) = e^{i k_{x,m} x}\, e^{+\sqrt{k_{x,m}^2-k^2}\, z}Dm​(x,z)=eikx,m​xe+kx,m2​−k2​z, which decays as z→−∞z \to -\inftyz→−∞ and grows as z→+∞z \to +\inftyz→+∞.

xzBlock. For a complex 3×33\times 33×3 matrix MMM with indices x,y,zx, y, zx,y,z, this is the 2×22\times 22×2 submatrix obtained by deleting the yyy row and column:

Mxz=(MxxMxzMzxMzz).M_{xz} = \begin{pmatrix} M_{xx} & M_{xz} \\ M_{zx} & M_{zz} \end{pmatrix}.Mxz​=(Mxx​Mzx​​Mxz​Mzz​​).

rotJ. This is the complex 2×22\times22×2 matrix

J=(0−110).J = \begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix}.J=(01​−10​).

It sends (a,b)↦(−b,a)(a,b) \mapsto (-b,a)(a,b)↦(−b,a).

inPlaneCoeff. For a complex 2×22\times 22×2 matrix NNN, this defines

A(N)=JTN−1J.\mathcal{A}(N) = J^{\mathsf T} N^{-1} J.A(N)=JTN−1J.

The inverse N−1N^{-1}N−1 is the true inverse when det⁡N≠0\det N \neq 0detN=0. When det⁡N=0\det N = 0detN=0, the inverse is taken to be the zero matrix, so A(N)=0\mathcal{A}(N) = 0A(N)=0. Entrywise, JTPJ=(P22−P21−P12P11)J^{\mathsf T} P J = \begin{pmatrix} P_{22} & -P_{21} \\ -P_{12} & P_{11}\end{pmatrix}JTPJ=(P22​−P12​​−P21​P11​​) for any PPP. Hence, for invertible NNN, this works out to

A(N)=NTdet⁡N.\mathcal{A}(N) = \frac{N^{\mathsf T}}{\det N}.A(N)=detNNT​.

tmCoeff. Given a field ε\varepsilonε assigning a complex 3×33\times33×3 matrix ε(p)\varepsilon(p)ε(p) to each point p∈R2p \in \mathbb{R}^2p∈R2, this is the 2×22\times 22×2 matrix field

ATM(p)=JT (ε(p)xz)−1J.A^{\mathrm{TM}}(p) = J^{\mathsf T}\,\big(\varepsilon(p)_{xz}\big)^{-1} J.ATM(p)=JT(ε(p)xz​)−1J.

The same zero-inverse convention applies at points where the xzxzxz block is singular.

tmPot. Given a matrix field μ\muμ, this is the scalar field sTM(p)=μ(p)yys^{\mathrm{TM}}(p) = \mu(p)_{yy}sTM(p)=μ(p)yy​.

teCoeff. Given a matrix field μ\muμ, this is

ATE(p)=JT (μ(p)xz)−1J,A^{\mathrm{TE}}(p) = J^{\mathsf T}\,\big(\mu(p)_{xz}\big)^{-1} J,ATE(p)=JT(μ(p)xz​)−1J,

with the same convention at singular points.

tePot. Given a matrix field ε\varepsilonε, this is the scalar field sTE(p)=ε(p)yys^{\mathrm{TE}}(p) = \varepsilon(p)_{yy}sTE(p)=ε(p)yy​.

IsPeriodicSlabTensor. For real numbers ddd and hhh, with no sign or nonzero conditions, a field M:R2→C3×3M : \mathbb{R}^2 \to \mathbb{C}^{3\times 3}M:R2→C3×3 satisfies this property exactly when all of the following hold:

  1. Every one of the nine entry functions p↦M(p)ijp \mapsto M(p)_{ij}p↦M(p)ij​ is Borel measurable.
  2. Every entry of p↦(M(p)xz)−1p \mapsto (M(p)_{xz})^{-1}p↦(M(p)xz​)−1 is Borel measurable.
  3. There is a single real constant CCC such that, for all ppp and all indices, ∣M(p)ij∣≤C|M(p)_{ij}| \le C∣M(p)ij​∣≤C and ∣(M(p)xz)ij−1∣≤C|(M(p)_{xz})^{-1}_{ij}| \le C∣(M(p)xz​)ij−1​∣≤C.
  4. For every ppp, det⁡M(p)xz≠0\det M(p)_{xz} \neq 0detM(p)xz​=0.
  5. For every ppp, M(p)M(p)M(p) is symmetric: M(p)T=M(p)M(p)^{\mathsf T} = M(p)M(p)T=M(p). This is plain transpose, not conjugate transpose.
  6. For every ppp, M(p)xy=0M(p)_{xy} = 0M(p)xy​=0 and M(p)zy=0M(p)_{zy} = 0M(p)zy​=0. By symmetry, also M(p)yx=M(p)yz=0M(p)_{yx} = M(p)_{yz} = 0M(p)yx​=M(p)yz​=0.
  7. For all real x,zx, zx,z, M(x+d,z)=M(x,z)M(x+d, z) = M(x,z)M(x+d,z)=M(x,z).
  8. For all real x,zx, zx,z with ∣z∣>h|z| > h∣z∣>h, M(x,z)M(x,z)M(x,z) is the 3×33\times 33×3 identity matrix.

Several things are not required:

  • No positivity, ellipticity, or sign condition on real or imaginary parts is imposed.
  • MyyM_{yy}Myy​ is unconstrained apart from boundedness; in particular it may vanish.

Some degenerate parameter values make conditions trivial or very strong:

  • If d=0d = 0d=0, periodicity is trivial.
  • If h<0h < 0h<0, condition 8 forces M≡IM \equiv IM≡I everywhere.
  • If h=0h = 0h=0, condition 8 forces M=IM = IM=I off the line z=0z = 0z=0.

IsReciprocalGratingMedium. For d,hd, hd,h and two matrix fields ε,μ\varepsilon, \muε,μ, this holds exactly when both ε\varepsilonε and μ\muμ satisfy the property above with the same ddd and hhh.

vacuumTensor. This is the constant field p↦I3p \mapsto I_3p↦I3​, the 3×33\times33×3 identity matrix at every point.

IsWeakSolution. The inputs are:

  • a 2×22\times22×2 complex matrix field AAA;
  • a complex scalar field sss;
  • a real number kkk;
  • a function u:R2→Cu : \mathbb{R}^2 \to \mathbb{C}u:R2→C.

The property holds exactly when all three of the following are true.

First, for every real RRR, uuu is square-integrable with respect to Lebesgue measure on the closed ball of radius RRR about the origin. In the product metric used on R2\mathbb{R}^2R2, this ball is the square [−R,R]2[-R,R]^2[−R,R]2, and it is empty for R<0R < 0R<0.

Second, there exists g=(gx,gz):R2→C2g = (g_x, g_z) : \mathbb{R}^2 \to \mathbb{C}^2g=(gx​,gz​):R2→C2 such that:

  • each gig_igi​ is square-integrable on every such ball;
  • for each i∈{x,z}i \in \{x,z\}i∈{x,z} and every real-valued, infinitely differentiable, compactly supported φ\varphiφ,
∫R2u ∂iφ dp=−∫R2gi φ dp.\int_{\mathbb{R}^2} u\,\partial_i\varphi \,dp = -\int_{\mathbb{R}^2} g_i\,\varphi\,dp.∫R2​u∂i​φdp=−∫R2​gi​φdp.

Third, for every such φ\varphiφ,

∫R2(∑i,j∈{x,z}Aij(p) gj(p) ∂iφ(p)  −  k2 s(p) u(p) φ(p)) dp=0.\int_{\mathbb{R}^2} \Big( \sum_{i,j\in\{x,z\}} A_{ij}(p)\, g_j(p)\, \partial_i\varphi(p) \;-\; k^2\, s(p)\, u(p)\, \varphi(p) \Big)\, dp = 0.∫R2​(i,j∈{x,z}∑​Aij​(p)gj​(p)∂i​φ(p)−k2s(p)u(p)φ(p))dp=0.

Some features of this definition:

  • No conjugation appears, and test functions are real-valued only.
  • No measurability or boundedness of AAA or sss is assumed here.
  • Under the convention used, the integral of a non-integrable function is 000. So whenever the integrand in the last condition fails to be integrable, that condition holds automatically for that φ\varphiφ.

IsQuasiPeriodic. For real d,αd, \alphad,α, a function uuu is quasi-periodic exactly when, for all real x,zx, zx,z,

u(x+d,z)=eiαd u(x,z).u(x+d, z) = e^{i\alpha d}\, u(x,z).u(x+d,z)=eiαdu(x,z).

This is required at every point, not almost everywhere. If d=0d = 0d=0, it is trivially true.

IsDownScattering. The inputs are real d,k,h,αd, k, h, \alphad,k,h,α, fields A,sA, sA,s, a function uuu, and sequences r,t:Z→Cr, t : \mathbb{Z} \to \mathbb{C}r,t:Z→C. The property holds exactly when:

  1. uuu is a weak solution for (A,s,k)(A, s, k)(A,s,k) as defined above.
  2. uuu is quasi-periodic with (d,α)(d,\alpha)(d,α).
  3. For every xxx and every z>hz > hz>h, the series over all m∈Zm\in\mathbb{Z}m∈Z converges unconditionally (equivalently, absolutely) with
∑m∈Zrm Um(x,z)=u(x,z)−D0(x,z).\sum_{m\in\mathbb{Z}} r_m\, U_m(x,z) = u(x,z) - D_0(x,z).m∈Z∑​rm​Um​(x,z)=u(x,z)−D0​(x,z).
  1. For every xxx and every z<−hz < -hz<−h,
∑m∈Ztm Dm(x,z)=u(x,z),\sum_{m\in\mathbb{Z}} t_m\, D_m(x,z) = u(x,z),m∈Z∑​tm​Dm​(x,z)=u(x,z),

again with unconditional convergence.

Here D0(x,z)=exp⁡(i(αx−β(k,α)z))D_0(x,z) = \exp\big(i(\alpha x - \beta(k,\alpha) z)\big)D0​(x,z)=exp(i(αx−β(k,α)z)), since kx,0=αk_{x,0} = \alphakx,0​=α always. Some consequences of the conditions as stated:

  • If α2>k2\alpha^2 > k^2α2>k2, this subtracted term is eiαxeα2−k2 ze^{i\alpha x} e^{\sqrt{\alpha^2-k^2}\,z}eiαxeα2−k2​z, which grows as z→+∞z\to+\inftyz→+∞.
  • If h<0h < 0h<0, both expansions are required simultaneously on the strip h<z<−hh < z < -hh<z<−h.
  • No uniqueness of uuu, rrr or ttt is asserted. The definition is a relation among them.

IsUpScattering. The inputs are the same as for IsDownScattering. The property holds exactly when:

  1. uuu is a weak solution for (A,s,k)(A,s,k)(A,s,k).
  2. uuu is quasi-periodic with (d,α)(d,\alpha)(d,α).
  3. For every xxx and every z<−hz < -hz<−h,
∑m∈Zrm Dm(x,z)=u(x,z)−U0(x,z).\sum_{m\in\mathbb{Z}} r_m\, D_m(x,z) = u(x,z) - U_0(x,z).m∈Z∑​rm​Dm​(x,z)=u(x,z)−U0​(x,z).
  1. For every xxx and every z>hz > hz>h,
∑m∈Ztm Um(x,z)=u(x,z).\sum_{m\in\mathbb{Z}} t_m\, U_m(x,z) = u(x,z).m∈Z∑​tm​Um​(x,z)=u(x,z).

Both series converge unconditionally. Here U0(x,z)=exp⁡(i(αx+β(k,α)z))U_0(x,z) = \exp\big(i(\alpha x + \beta(k,\alpha) z)\big)U0​(x,z)=exp(i(αx+β(k,α)z)). The same remarks apply:

  • If α2>k2\alpha^2 > k^2α2>k2, U0U_0U0​ grows as z→−∞z \to -\inftyz→−∞.
  • If h<0h<0h<0, both expansions are required simultaneously on the overlap strip.
  • No uniqueness is asserted.

ampRatioSq. For complex a,ba, ba,b, this is the real number

∣ab∣2.\left|\frac{a}{b}\right|^2.​ba​​2.

When b=0b = 0b=0, the quotient is taken to be 000, so the value is 000.

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