Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. for ∂n+/∂ω\partial n_+/\partial\omega∂n+​/∂ω (after eq. (5)): the frequency derivative of n+n_+n+​

Proved
Arxiv1007_0377.deriv_nPlus_formula

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

complex-square-rootkramers-kronigmetamaterialsnegative-refractionrefractive-index

Let ϵ,μ:R→C\epsilon,\mu:\mathbb{R}\to\mathbb{C}ϵ,μ:R→C be the permittivity and permeability as functions of the real frequency ω\omegaω, both differentiable at ω\omegaω, and write ′=d/dω'=d/d\omega′=d/dω. Let R(ω)=ϵrμr−ϵiμi+∣ϵ∣∣μ∣R(\omega)=\epsilon_r\mu_r-\epsilon_i\mu_i+|\epsilon||\mu|R(ω)=ϵr​μr​−ϵi​μi​+∣ϵ∣∣μ∣ and suppose R(ω)>0R(\omega)>0R(ω)>0. Then n+(ω)=R(ω)/2n_+(\omega)=\sqrt{R(\omega)}/\sqrt2n+​(ω)=R(ω)​/2​ is differentiable at ω\omegaω, with

∂n+∂ω=1212(ϵr′μr+ϵrμr′−(ϵi′μi+ϵiμi′)ϵrμr−ϵiμi+∣ϵ∣∣μ∣)+1212(∣ϵ∣′∣μ∣+∣ϵ∣∣μ∣′ϵrμr−ϵiμi+∣ϵ∣∣μ∣).\frac{\partial n_+}{\partial\omega}=\frac{1}{\sqrt2}\frac12\left(\frac{\epsilon_r'\mu_r+\epsilon_r\mu_r'-(\epsilon_i'\mu_i+\epsilon_i\mu_i')}{\sqrt{\epsilon_r\mu_r-\epsilon_i\mu_i+|\epsilon||\mu|}}\right)+\frac{1}{\sqrt2}\frac12\left(\frac{|\epsilon|'|\mu|+|\epsilon||\mu|'}{\sqrt{\epsilon_r\mu_r-\epsilon_i\mu_i+|\epsilon||\mu|}}\right).∂ω∂n+​​=2​1​21​(ϵr​μr​−ϵi​μi​+∣ϵ∣∣μ∣​ϵr′​μr​+ϵr​μr′​−(ϵi′​μi​+ϵi​μi′​)​)+2​1​21​(ϵr​μr​−ϵi​μi​+∣ϵ∣∣μ∣​∣ϵ∣′∣μ∣+∣ϵ∣∣μ∣′​).

The paper reads this formula as showing where the branch n+n_+n+​ can stop being smooth: only where the radicand vanishes.

Formalization Note The paper writes the formula without hypotheses. The statement assumes that ϵ\epsilonϵ and μ\muμ are differentiable at ω\omegaω and that R(ω)>0R(\omega)>0R(ω)>0, which the formula needs because it divides by R\sqrt{R}R​. R(ω)>0R(\omega)>0R(ω)>0 forces ϵ(ω)≠0\epsilon(\omega)\neq0ϵ(ω)=0 and μ(ω)≠0\mu(\omega)\neq0μ(ω)=0, so ∣ϵ∣|\epsilon|∣ϵ∣ and ∣μ∣|\mu|∣μ∣ are differentiable at ω\omegaω. The paper's further claims, that n+n_+n+​ has a divergent derivative where R=0R=0R=0 and that the branches (n±,κ±)(n_\pm,\kappa_\pm)(n±​,κ±​) violate the Kramers–Kronig relations, are not part of this statement.

Preamble
import Mathlib
import Definitions.Def_Arxiv1007_0377_Basic

open Complex Polynomial
Formal statement
namespace Arxiv1007_0377

theorem deriv_nPlus_formula (ε μ : ℝ → ℂ) (ω : ℝ)
    (hε : DifferentiableAt ℝ ε ω) (hμ : DifferentiableAt ℝ μ ω)
    (hR : 0 < branchRadicand (ε ω) (μ ω)) :
    HasDerivAt (fun w => nPlus (ε w) (μ w))
      (1 / Real.sqrt 2 * (1 / 2) *
          (((deriv ε ω).re * (μ ω).re + (ε ω).re * (deriv μ ω).re -
              ((deriv ε ω).im * (μ ω).im + (ε ω).im * (deriv μ ω).im)) /
            Real.sqrt (branchRadicand (ε ω) (μ ω))) +
        1 / Real.sqrt 2 * (1 / 2) *
          ((deriv (fun w => ‖ε w‖) ω * ‖μ ω‖ + ‖ε ω‖ * deriv (fun w => ‖μ w‖) ω) /
            Real.sqrt (branchRadicand (ε ω) (μ ω)))) ω := by sorry

end Arxiv1007_0377
Source
Hickey, Akyurtlu and Kussow, Relationship between the Kramers-Kronig relations and negative index of refraction, arXiv:1007.0377v2 (2010), claim c003 (part (i)); main text, unnumbered display between Fig. 1 and eq. (6), PDF p. 2
Read-back

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

Setting. Let ε,μ:R→C\varepsilon, \mu : \mathbb{R} \to \mathbb{C}ε,μ:R→C be arbitrary complex-valued functions of a real variable, and let ω∈R\omega \in \mathbb{R}ω∈R be a point. For complex numbers a,ba, ba,b, the bundle defines the real-valued branch radicand

R(a,b)  =  Re⁡a Re⁡b  −  Im⁡a Im⁡b  +  ∣a∣ ∣b∣,R(a,b) \;=\; \operatorname{Re}a\,\operatorname{Re}b \;-\; \operatorname{Im}a\,\operatorname{Im}b \;+\; |a|\,|b|,R(a,b)=ReaReb−ImaImb+∣a∣∣b∣,

where ∣⋅∣|\cdot|∣⋅∣ is the usual complex modulus. It also defines the non-negative branch

n+(a,b)  =  R(a,b)2,n_+(a,b) \;=\; \frac{\sqrt{R(a,b)}}{\sqrt{2}},n+​(a,b)=2​R(a,b)​​,

where ⋅\sqrt{\cdot}⋅​ is the real square root, taking the value 000 on negative inputs.

Hypotheses.

  1. ε\varepsilonε is differentiable at ω\omegaω, as a function R→C\mathbb{R} \to \mathbb{C}R→C over the reals.
  2. μ\muμ is differentiable at ω\omegaω in the same sense.
  3. The radicand is strictly positive at ω\omegaω: R(ε(ω),μ(ω))>0R(\varepsilon(\omega), \mu(\omega)) > 0R(ε(ω),μ(ω))>0.

Write ε′(ω),μ′(ω)∈C\varepsilon'(\omega), \mu'(\omega) \in \mathbb{C}ε′(ω),μ′(ω)∈C for the derivatives of ε,μ\varepsilon, \muε,μ at ω\omegaω. Write ∣ε∣′(ω)|\varepsilon|'(\omega)∣ε∣′(ω) and ∣μ∣′(ω)|\mu|'(\omega)∣μ∣′(ω) for the derivatives at ω\omegaω of the real functions w↦∣ε(w)∣w \mapsto |\varepsilon(w)|w↦∣ε(w)∣ and w↦∣μ(w)∣w \mapsto |\mu(w)|w↦∣μ(w)∣.

These two modulus derivatives are taken in the "total" sense: if a modulus function were not differentiable at ω\omegaω, its derivative would be assigned the value 000. Hypothesis 3 does, however, force ε(ω)≠0\varepsilon(\omega) \neq 0ε(ω)=0 and μ(ω)≠0\mu(\omega) \neq 0μ(ω)=0, since if either is zero then R=0R = 0R=0. None of the hypotheses is impossible to satisfy.

Conclusion. The real function w↦n+(ε(w),μ(w))w \mapsto n_+(\varepsilon(w), \mu(w))w↦n+​(ε(w),μ(w)) is differentiable at ω\omegaω, and its derivative there is exactly

12⋅12⋅Re⁡ε′(ω) Re⁡μ(ω)+Re⁡ε(ω) Re⁡μ′(ω)−(Im⁡ε′(ω) Im⁡μ(ω)+Im⁡ε(ω) Im⁡μ′(ω))R(ε(ω),μ(ω))\frac{1}{\sqrt2}\cdot\frac12\cdot \frac{\operatorname{Re}\varepsilon'(\omega)\,\operatorname{Re}\mu(\omega) + \operatorname{Re}\varepsilon(\omega)\,\operatorname{Re}\mu'(\omega) - \bigl(\operatorname{Im}\varepsilon'(\omega)\,\operatorname{Im}\mu(\omega) + \operatorname{Im}\varepsilon(\omega)\,\operatorname{Im}\mu'(\omega)\bigr)}{\sqrt{R(\varepsilon(\omega),\mu(\omega))}}2​1​⋅21​⋅R(ε(ω),μ(ω))​Reε′(ω)Reμ(ω)+Reε(ω)Reμ′(ω)−(Imε′(ω)Imμ(ω)+Imε(ω)Imμ′(ω))​   +  12⋅12⋅∣ε∣′(ω) ∣μ(ω)∣+∣ε(ω)∣ ∣μ∣′(ω)R(ε(ω),μ(ω)).\;+\; \frac{1}{\sqrt2}\cdot\frac12\cdot \frac{|\varepsilon|'(\omega)\,|\mu(\omega)| + |\varepsilon(\omega)|\,|\mu|'(\omega)}{\sqrt{R(\varepsilon(\omega),\mu(\omega))}}.+2​1​⋅21​⋅R(ε(ω),μ(ω))​∣ε∣′(ω)∣μ(ω)∣+∣ε(ω)∣∣μ∣′(ω)​.

The statement concerns only the branch n+n_+n+​ and only points where the radicand is strictly positive. It says nothing about n−n_-n−​, about points where R=0R = 0R=0 (the paper's Condition (6)), or about Condition (7).

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