Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eqs. (Elmag:BCS): boundary conditions on the primary field at a one-dimensional interface

Proved
CondMat0408017.primary_field_boundary_conditions

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

reduced-rayleigh-equationrough-surface-scatteringsmall-amplitude-perturbation-theoryspeckle-correlationssurface-plasmon-polaritons

Let x3=ζ(x1)x_3=\zeta(x_1)x3​=ζ(x1​) be an interface between two media, and fix a point of it where ζ′(x1)=ζ′\zeta'(x_1)=\zeta'ζ′(x1​)=ζ′. Let ω≠0\omega\ne0ω=0, and let κ±≠0\kappa^\pm\ne0κ±=0 be the material constants of the two media (κ=ε\kappa=\varepsilonκ=ε for ppp, κ=μ\kappa=\muκ=μ for sss). Let Φ±,∂1Φ±,∂3Φ±\Phi^\pm,\partial_1\Phi^\pm,\partial_3\Phi^\pmΦ±,∂1​Φ±,∂3​Φ± be the values at the point of the primary field on the two sides (Φp=H2\Phi_p=H_2Φp​=H2​, Φs=E2\Phi_s=E_2Φs​=E2​), and let E±,H±E^\pm,H^\pmE±,H± be the fields they determine through (Elmag:BS:p-pol), (Elmag:BS:s-pol). Then the Maxwell conditions without surface charge and current,

n×(E−−E+)=0,n×(H−−H+)=0,n\times(E^--E^+)=0,\qquad n\times(H^--H^+)=0,n×(E−−E+)=0,n×(H−−H+)=0,

with nnn the unit normal, hold if and only if

Φ+=Φ−,1κ+∂nΦ+=1κ−∂nΦ−,∂n=−ζ′∂x1+∂x31+ζ′2.\Phi^+=\Phi^-,\qquad \frac{1}{\kappa^+}\partial_n\Phi^+=\frac{1}{\kappa^-}\partial_n\Phi^-,\qquad \partial_n=\frac{-\zeta'\partial_{x_1}+\partial_{x_3}}{\sqrt{1+\zeta'^2}} .Φ+=Φ−,κ+1​∂n​Φ+=κ−1​∂n​Φ−,∂n​=1+ζ′2​−ζ′∂x1​​+∂x3​​​.

These are the boundary conditions (Elmag:BCS) on the primary field.

Formalization Note The normal is n=(−ζ′,0,1)/1+ζ′2n=(-\zeta',0,1)/\sqrt{1+\zeta'^2}n=(−ζ′,0,1)/1+ζ′2​, for which n⋅∇=∂nn\cdot\nabla=\partial_nn⋅∇=∂n​. The paper prints (ζ′e1+e3)/1+ζ′2(\zeta'e_1+e_3)/\sqrt{1+\zeta'^2}(ζ′e1​+e3​)/1+ζ′2​, a sign slip. Only the tangential conditions (Elmag:BC3), (Elmag:BC4) are imposed: for these fields the paper's derivation uses only them, and the normal conditions add no constraint.

Preamble
import Mathlib
import Definitions.Def_CondMat0408017_Basic

open MeasureTheory Filter Topology Complex
Formal statement
namespace CondMat0408017

theorem primary_field_boundary_conditions (ν : Polarization) (ω : ℝ) (hω : ω ≠ 0)
    (κP κM : ℂ) (hκP : κP ≠ 0) (hκM : κM ≠ 0) (dζ : ℝ) (ΦP d1P d3P ΦM d1M d3M : ℂ) :
    (crossProduct (surfaceNormal dζ)
          ((emFields ν ω κM ΦM d1M d3M).1 - (emFields ν ω κP ΦP d1P d3P).1) = 0 ∧
        crossProduct (surfaceNormal dζ)
          ((emFields ν ω κM ΦM d1M d3M).2 - (emFields ν ω κP ΦP d1P d3P).2) = 0) ↔
      (ΦP = ΦM ∧ normalDeriv dζ d1P d3P / κP = normalDeriv dζ d1M d3M / κM) := by sorry

end CondMat0408017
Source
I. Simonsen, A random walk through surface scattering phenomena: Theory and phenomenology, arXiv:cond-mat/0408017v1 (2004), claim c045; Sec. II.C.1, eqs. (Elmag:BCSa)-(Elmag:BCSc) from (Elmag:BC3)-(Elmag:BC4), (Elmag:BS:p-pol), (Elmag:BS:s-pol), PDF p. 8
Read-back

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

For every choice of the following data, the theorem asserts an equivalence between two conditions:

  • a polarization ν∈{p,s}\nu \in \{p, s\}ν∈{p,s};
  • a real number ω\omegaω with ω≠0\omega \neq 0ω=0;
  • complex numbers κ+\kappa^+κ+ and κ−\kappa^-κ−, both non-zero;
  • a real number ζ′\zeta'ζ′, standing for the surface slope at a point;
  • six arbitrary complex numbers Φ+,d1+,d3+,Φ−,d1−,d3−\Phi^+, d_1^+, d_3^+, \Phi^-, d_1^-, d_3^-Φ+,d1+​,d3+​,Φ−,d1−​,d3−​.

Despite the suggestive names, these six numbers are not tied to any field, function or derivative. They are independent complex parameters, and d1±,d3±d_1^\pm, d_3^\pmd1±​,d3±​ merely play the role of the partial derivatives ∂x1Φ±\partial_{x_1}\Phi^\pm∂x1​​Φ± and ∂x3Φ±\partial_{x_3}\Phi^\pm∂x3​​Φ± at a single point.

The normal vector. The vector n\mathbf nn is the complex 3-vector

n=11+ζ′2 (−ζ′, 0, 1).\mathbf n = \frac{1}{\sqrt{1+\zeta'^2}}\,(-\zeta',\,0,\,1).n=1+ζ′2​1​(−ζ′,0,1).

The square root is the real, positive one, so 1+ζ′2≥1\sqrt{1+\zeta'^2} \ge 11+ζ′2​≥1.

The fields. For given κ,Φ,d1,d3\kappa, \Phi, d_1, d_3κ,Φ,d1​,d3​, a pair of complex 3-vectors (E,H)(\mathbf E, \mathbf H)(E,H) is defined by the polarization.

For ν=p\nu = pν=p:

E=(−iωκ d3,  0,  iωκ d1),H=(0, Φ, 0).\mathbf E = \Big(-\tfrac{i}{\omega\kappa}\,d_3,\;0,\;\tfrac{i}{\omega\kappa}\,d_1\Big), \qquad \mathbf H = (0,\,\Phi,\,0).E=(−ωκi​d3​,0,ωκi​d1​),H=(0,Φ,0).

For ν=s\nu = sν=s:

E=(0, Φ, 0),H=(iωκ d3,  0,  −iωκ d1).\mathbf E = (0,\,\Phi,\,0), \qquad \mathbf H = \Big(\tfrac{i}{\omega\kappa}\,d_3,\;0,\;-\tfrac{i}{\omega\kappa}\,d_1\Big).E=(0,Φ,0),H=(ωκi​d3​,0,−ωκi​d1​).

Write (E+,H+)(\mathbf E^+, \mathbf H^+)(E+,H+) for the pair built from (κ+,Φ+,d1+,d3+)(\kappa^+, \Phi^+, d_1^+, d_3^+)(κ+,Φ+,d1+​,d3+​), and (E−,H−)(\mathbf E^-, \mathbf H^-)(E−,H−) for the pair built from (κ−,Φ−,d1−,d3−)(\kappa^-, \Phi^-, d_1^-, d_3^-)(κ−,Φ−,d1−​,d3−​). The same parameter κ\kappaκ is used in both polarizations; nothing in the statement distinguishes a permittivity from a permeability.

The normal derivative. For each side, the "normal derivative" is the number

∂n±=−ζ′ d1±+d3±1+ζ′2.\partial_n^\pm = \frac{-\zeta'\,d_1^\pm + d_3^\pm}{\sqrt{1+\zeta'^2}}.∂n±​=1+ζ′2​−ζ′d1±​+d3±​​.

The claim. Let ×\times× denote the ordinary bilinear cross product on C3\mathbb C^3C3, with no complex conjugation. The theorem states that

n×(E−−E+)=0andn×(H−−H+)=0\mathbf n \times (\mathbf E^- - \mathbf E^+) = \mathbf 0 \quad\text{and}\quad \mathbf n \times (\mathbf H^- - \mathbf H^+) = \mathbf 0n×(E−−E+)=0andn×(H−−H+)=0

holds if and only if

Φ+=Φ−and∂n+κ+=∂n−κ−.\Phi^+ = \Phi^- \quad\text{and}\quad \frac{\partial_n^+}{\kappa^+} = \frac{\partial_n^-}{\kappa^-}.Φ+=Φ−andκ+∂n+​​=κ−∂n−​​.

Scope and edge cases.

  • The equivalence is a purely algebraic statement about these finitely many numbers at one point. No surface profile, differential equation, medium or Maxwell's equations appear.
  • The hypotheses ω≠0\omega \neq 0ω=0 and κ±≠0\kappa^\pm \neq 0κ±=0 exclude the zero denominators in the field formulas and in the right-hand side. All hypotheses are satisfiable.
  • ζ′=0\zeta' = 0ζ′=0 is allowed, in which case n=(0,0,1)\mathbf n = (0,0,1)n=(0,0,1) and ∂n±=d3±\partial_n^\pm = d_3^\pm∂n±​=d3±​.
  • In each polarization, one of the two cross-product conditions involves only Φ±\Phi^\pmΦ±. The other involves only d1±,d3±,κ±d_1^\pm, d_3^\pm, \kappa^\pmd1±​,d3±​,κ± and ω\omegaω.
Human review
  • Endorsed by Shuze Chen · Nov 26, 2026

    Confirmed by the moderator at approval.

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