Eqs. (Elmag:BCS): boundary conditions on the primary field at a one-dimensional interface
ProvedCondMat0408017.primary_field_boundary_conditionsLet be an interface between two media, and fix a point of it where . Let , and let be the material constants of the two media ( for , for ). Let be the values at the point of the primary field on the two sides (, ), and let be the fields they determine through (Elmag:BS:p-pol), (Elmag:BS:s-pol). Then the Maxwell conditions without surface charge and current,
with the unit normal, hold if and only if
These are the boundary conditions (Elmag:BCS) on the primary field.
Formalization Note The normal is , for which . The paper prints , 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.
import Mathlib import Definitions.Def_CondMat0408017_Basic open MeasureTheory Filter Topology Complex
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 CondMat0408017Read-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 ;
- a real number with ;
- complex numbers and , both non-zero;
- a real number , standing for the surface slope at a point;
- six arbitrary complex numbers .
Despite the suggestive names, these six numbers are not tied to any field, function or derivative. They are independent complex parameters, and merely play the role of the partial derivatives and at a single point.
The normal vector. The vector is the complex 3-vector
The square root is the real, positive one, so .
The fields. For given , a pair of complex 3-vectors is defined by the polarization.
For :
For :
Write for the pair built from , and for the pair built from . The same parameter 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
The claim. Let denote the ordinary bilinear cross product on , with no complex conjugation. The theorem states that
holds if and only if
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 and exclude the zero denominators in the field formulas and in the right-hand side. All hypotheses are satisfiable.
- is allowed, in which case and .
- In each polarization, one of the two cross-product conditions involves only . The other involves only and .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.