Solution branches of and the switching conditions (6), (7)
DefinitionArxiv1007_0377_BasicObjects of the main text of Hickey, Akyurtlu and Kussow (2010), eqs. (1), (2), (6) and (7), PDF p. 2.
A scalar, isotropic, homogeneous medium has, at a given real frequency, a complex relative permittivity and a complex relative permeability . Its complex refractive index () satisfies .
- Real and imaginary parts of . and .
- The quartic (eq. 1). The polynomial , with complex coefficients, in the indeterminate .
- The radicand (eqs. 2, 6). .
- The real branches (eq. 2). .
- Condition (6). .
- Condition (7). .
Formalization Note and are complex numbers. Where the paper treats them as functions of frequency (the derivative of ), the statement takes maps and evaluates these definitions pointwise. Condition (7) is only meaningful for , and every statement that uses it assumes . In Lean, division by returns .
import Mathlib /-! Hickey, Akyurtlu and Kussow, *Relationship between the Kramers-Kronig relations and negative index of refraction*, arXiv:1007.0377v2 (2010): the solution branches of `N² = ε μ` for a scalar medium with complex permittivity `ε = ε_r + i ε_i` and permeability `μ = μ_r + i μ_i` (eqs. (1), (2), (6), (7), PDF p. 2). -/ open Polynomial noncomputable section namespace Arxiv1007_0377 /-- Eq. (1), PDF p. 2: the combination `ε_r μ_r - ε_i μ_i` (the real part of `ε μ`). -/ def epsMuRe (ε μ : ℂ) : ℝ := ε.re * μ.re - ε.im * μ.im /-- Eq. (1), PDF p. 2: the combination `ε_r μ_i + ε_i μ_r` (the imaginary part of `ε μ`). -/ def epsMuIm (ε μ : ℂ) : ℝ := ε.re * μ.im + ε.im * μ.re /-- Eq. (1), PDF p. 2: the quartic `n⁴ - ((ε_r μ_i + ε_i μ_r)/2)² - (ε_r μ_r - ε_i μ_i) n² = 0` satisfied by `n = Re N`, as a polynomial in `n` with complex coefficients. -/ def indexQuartic (ε μ : ℂ) : ℂ[X] := X ^ 4 - C (((epsMuIm ε μ / 2) ^ 2 : ℝ) : ℂ) - C ((epsMuRe ε μ : ℝ) : ℂ) * X ^ 2 /-- Eqs. (2) and (6), PDF p. 2: the radicand `ε_r μ_r - ε_i μ_i + |ε||μ|` of the real solution branches. -/ def branchRadicand (ε μ : ℂ) : ℝ := ε.re * μ.re - ε.im * μ.im + ‖ε‖ * ‖μ‖ /-- Eq. (2), PDF p. 2: the non-negative real solution branch `n_+ = √(ε_r μ_r - ε_i μ_i + |ε||μ|) / √2`. -/ def nPlus (ε μ : ℂ) : ℝ := Real.sqrt (branchRadicand ε μ) / Real.sqrt 2 /-- Eq. (2), PDF p. 2: the non-positive real solution branch `n_- = -√(ε_r μ_r - ε_i μ_i + |ε||μ|) / √2`. -/ def nMinus (ε μ : ℂ) : ℝ := -(Real.sqrt (branchRadicand ε μ) / Real.sqrt 2) /-- Eq. (6), PDF p. 2: the condition `ε_r μ_r - ε_i μ_i + |ε||μ| = 0` at which the paper says the branches `n_±` lose analyticity. -/ def Condition6 (ε μ : ℂ) : Prop := branchRadicand ε μ = 0 /-- Eq. (7), PDF p. 2: the condition `ε_r = -ε_i μ_r / μ_i` (meaningful for `μ_i ≠ 0`). -/ def Condition7 (ε μ : ℂ) : Prop := ε.re = -(ε.im * μ.re) / μ.im end Arxiv1007_0377
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
All declarations below are definitions; none asserts a theorem. Throughout, and are arbitrary complex numbers with no restrictions: they may be zero, and their real or imaginary parts may be zero or have either sign. Write and , where . The notation is the usual complex modulus.
epsMuRe. For complex , this is the real number
This equals .
epsMuIm. For complex , this is the real number
This equals .
indexQuartic. For complex , this is the polynomial in one indeterminate with complex coefficients
- The two lower coefficients are real numbers, regarded as complex numbers: for , and for the constant term.
- The definition is only a polynomial. It does not by itself assert anything about which numbers are its roots.
- It is always monic of degree , including when or . In that case it is .
branchRadicand. For complex , this is the real number
Since for every complex , this quantity is always .
nPlus. For complex , this is the real number
Here is the non-negative real square root. That root is defined to be on negative inputs, but because this convention is never triggered. Consequently .
nMinus. For complex , this is the real number
Consequently . Moreover, exactly when .
Condition6. For complex , this is the proposition
This holds exactly when , that is, when is a non-positive real number. In particular, it holds whenever or . The definition states only the equation; it says nothing about analyticity.
Condition7. For complex , this is the proposition
No hypothesis is imposed. When , the division is evaluated by the convention , so the condition becomes simply , regardless of and . When , the condition is equivalent to , i.e. .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.