Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Solution branches of N2=ϵμN^2=\epsilon\muN2=ϵμ and the switching conditions (6), (7)

Definition
Arxiv1007_0377_Basic

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

complex-square-rootkramers-kronigmetamaterialsnegative-refractionrefractive-index

Objects 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 ϵ=ϵr+iϵi\epsilon=\epsilon_r+i\epsilon_iϵ=ϵr​+iϵi​ and a complex relative permeability μ=μr+iμi\mu=\mu_r+i\mu_iμ=μr​+iμi​. Its complex refractive index N=n+iκN=n+i\kappaN=n+iκ (n,κ∈Rn,\kappa\in\mathbb{R}n,κ∈R) satisfies N2=ϵμN^2=\epsilon\muN2=ϵμ.

  1. Real and imaginary parts of ϵμ\epsilon\muϵμ. A=ϵrμr−ϵiμi=Re⁡(ϵμ)A=\epsilon_r\mu_r-\epsilon_i\mu_i=\operatorname{Re}(\epsilon\mu)A=ϵr​μr​−ϵi​μi​=Re(ϵμ) and B=ϵrμi+ϵiμr=Im⁡(ϵμ)B=\epsilon_r\mu_i+\epsilon_i\mu_r=\operatorname{Im}(\epsilon\mu)B=ϵr​μi​+ϵi​μr​=Im(ϵμ).
  2. The quartic (eq. 1). The polynomial n4−(B2)2−A n2n^4-\left(\tfrac{B}{2}\right)^2-A\,n^2n4−(2B​)2−An2, with complex coefficients, in the indeterminate nnn.
  3. The radicand (eqs. 2, 6). R=ϵrμr−ϵiμi+∣ϵ∣∣μ∣R=\epsilon_r\mu_r-\epsilon_i\mu_i+|\epsilon||\mu|R=ϵr​μr​−ϵi​μi​+∣ϵ∣∣μ∣.
  4. The real branches (eq. 2). n±=±R/2n_\pm=\pm\sqrt{R}/\sqrt2n±​=±R​/2​.
  5. Condition (6). R=0R=0R=0.
  6. Condition (7). ϵr=−ϵiμr/μi\epsilon_r=-\epsilon_i\mu_r/\mu_iϵr​=−ϵi​μr​/μi​.

Formalization Note ϵ\epsilonϵ and μ\muμ are complex numbers. Where the paper treats them as functions of frequency (the derivative of n+n_+n+​), the statement takes maps R→C\mathbb{R}\to\mathbb{C}R→C and evaluates these definitions pointwise. Condition (7) is only meaningful for μi≠0\mu_i\neq0μi​=0, and every statement that uses it assumes μi≠0\mu_i\neq0μi​=0. In Lean, division by 000 returns 000.

Definition code
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
Source
Hickey, Akyurtlu and Kussow, Relationship between the Kramers-Kronig relations and negative index of refraction, arXiv:1007.0377v2 (2010), https://arxiv.org/abs/1007.0377, main text (unsectioned), eqs. (1), (2), (6), (7), PDF p. 2
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, ε\varepsilonε and μ\muμ 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 ε=εr+i εi\varepsilon = \varepsilon_r + i\,\varepsilon_iε=εr​+iεi​ and μ=μr+i μi\mu = \mu_r + i\,\mu_iμ=μr​+iμi​, where εr,εi,μr,μi∈R\varepsilon_r, \varepsilon_i, \mu_r, \mu_i \in \mathbb{R}εr​,εi​,μr​,μi​∈R. The notation ∣⋅∣|\cdot|∣⋅∣ is the usual complex modulus.

epsMuRe. For complex ε,μ\varepsilon, \muε,μ, this is the real number

epsMuRe⁡(ε,μ)=εrμr−εiμi.\operatorname{epsMuRe}(\varepsilon,\mu) = \varepsilon_r \mu_r - \varepsilon_i \mu_i .epsMuRe(ε,μ)=εr​μr​−εi​μi​.

This equals Re⁡(εμ)\operatorname{Re}(\varepsilon\mu)Re(εμ).

epsMuIm. For complex ε,μ\varepsilon, \muε,μ, this is the real number

epsMuIm⁡(ε,μ)=εrμi+εiμr.\operatorname{epsMuIm}(\varepsilon,\mu) = \varepsilon_r \mu_i + \varepsilon_i \mu_r .epsMuIm(ε,μ)=εr​μi​+εi​μr​.

This equals Im⁡(εμ)\operatorname{Im}(\varepsilon\mu)Im(εμ).

indexQuartic. For complex ε,μ\varepsilon, \muε,μ, this is the polynomial in one indeterminate XXX with complex coefficients

Qε,μ(X)=X4−Re⁡(εμ) X2−(Im⁡(εμ)2)2.Q_{\varepsilon,\mu}(X) = X^4 - \operatorname{Re}(\varepsilon\mu)\, X^2 - \left(\frac{\operatorname{Im}(\varepsilon\mu)}{2}\right)^2 .Qε,μ​(X)=X4−Re(εμ)X2−(2Im(εμ)​)2.
  • The two lower coefficients are real numbers, regarded as complex numbers: −(εrμr−εiμi)-(\varepsilon_r\mu_r - \varepsilon_i\mu_i)−(εr​μr​−εi​μi​) for X2X^2X2, and −14(εrμi+εiμr)2-\tfrac14(\varepsilon_r\mu_i + \varepsilon_i\mu_r)^2−41​(εr​μi​+εi​μr​)2 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 444, including when ε=0\varepsilon = 0ε=0 or μ=0\mu = 0μ=0. In that case it is X4X^4X4.

branchRadicand. For complex ε,μ\varepsilon, \muε,μ, this is the real number

R(ε,μ)=εrμr−εiμi+∣ε∣ ∣μ∣=Re⁡(εμ)+∣εμ∣.R(\varepsilon,\mu) = \varepsilon_r\mu_r - \varepsilon_i\mu_i + |\varepsilon|\,|\mu| = \operatorname{Re}(\varepsilon\mu) + |\varepsilon\mu| .R(ε,μ)=εr​μr​−εi​μi​+∣ε∣∣μ∣=Re(εμ)+∣εμ∣.

Since Re⁡(z)≥−∣z∣\operatorname{Re}(z) \ge -|z|Re(z)≥−∣z∣ for every complex zzz, this quantity is always ≥0\ge 0≥0.

nPlus. For complex ε,μ\varepsilon, \muε,μ, this is the real number

n+(ε,μ)=R(ε,μ)2=εrμr−εiμi+∣ε∣∣μ∣2.n_+(\varepsilon,\mu) = \frac{\sqrt{R(\varepsilon,\mu)}}{\sqrt{2}} = \frac{\sqrt{\varepsilon_r\mu_r - \varepsilon_i\mu_i + |\varepsilon||\mu|}}{\sqrt 2} .n+​(ε,μ)=2​R(ε,μ)​​=2​εr​μr​−εi​μi​+∣ε∣∣μ∣​​.

Here ⋅\sqrt{\cdot}⋅​ is the non-negative real square root. That root is defined to be 000 on negative inputs, but because R≥0R \ge 0R≥0 this convention is never triggered. Consequently n+≥0n_+ \ge 0n+​≥0.

nMinus. For complex ε,μ\varepsilon, \muε,μ, this is the real number

n−(ε,μ)=−R(ε,μ)2=−n+(ε,μ).n_-(\varepsilon,\mu) = -\frac{\sqrt{R(\varepsilon,\mu)}}{\sqrt{2}} = -n_+(\varepsilon,\mu) .n−​(ε,μ)=−2​R(ε,μ)​​=−n+​(ε,μ).

Consequently n−≤0n_- \le 0n−​≤0. Moreover, n+=n−=0n_+ = n_- = 0n+​=n−​=0 exactly when R(ε,μ)=0R(\varepsilon,\mu) = 0R(ε,μ)=0.

Condition6. For complex ε,μ\varepsilon, \muε,μ, this is the proposition

εrμr−εiμi+∣ε∣ ∣μ∣=0,i.e. R(ε,μ)=0.\varepsilon_r\mu_r - \varepsilon_i\mu_i + |\varepsilon|\,|\mu| = 0, \qquad \text{i.e. } R(\varepsilon,\mu) = 0 .εr​μr​−εi​μi​+∣ε∣∣μ∣=0,i.e. R(ε,μ)=0.

This holds exactly when Re⁡(εμ)=−∣εμ∣\operatorname{Re}(\varepsilon\mu) = -|\varepsilon\mu|Re(εμ)=−∣εμ∣, that is, when εμ\varepsilon\muεμ is a non-positive real number. In particular, it holds whenever ε=0\varepsilon = 0ε=0 or μ=0\mu = 0μ=0. The definition states only the equation; it says nothing about analyticity.

Condition7. For complex ε,μ\varepsilon, \muε,μ, this is the proposition

εr=− εi μrμi.\varepsilon_r = \frac{-\,\varepsilon_i\,\mu_r}{\mu_i} .εr​=μi​−εi​μr​​.

No hypothesis μi≠0\mu_i \neq 0μi​=0 is imposed. When μi=0\mu_i = 0μi​=0, the division is evaluated by the convention x/0=0x/0 = 0x/0=0, so the condition becomes simply εr=0\varepsilon_r = 0εr​=0, regardless of εi\varepsilon_iεi​ and μr\mu_rμr​. When μi≠0\mu_i \neq 0μi​=0, the condition is equivalent to εrμi+εiμr=0\varepsilon_r\mu_i + \varepsilon_i\mu_r = 0εr​μi​+εi​μr​=0, i.e. Im⁡(εμ)=0\operatorname{Im}(\varepsilon\mu) = 0Im(εμ)=0.

Human review
  • Endorsed by Shuze Chen · Nov 24, 2026

    Confirmed by the moderator at approval.

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