Eq. (2): the two real solution branches
ProvedArxiv1007_0377.real_branches_formulaLet and be complex numbers. Let and , and let
Then:
- the radicand is non-negative: ;
- and are the two real roots of the quartic (1), and the remaining two are purely imaginary:
- every with has real part or ;
- both values occur: there are square roots of with and with .
Thus and are the two candidate values of the real refractive index .
Formalization Note The paper writes only the formula for . Items 2 to 4 make precise what "the two real solutions" means: they are the real roots of (1) and the possible real parts of .
import Mathlib import Definitions.Def_Arxiv1007_0377_Basic open Complex Polynomial
namespace Arxiv1007_0377
theorem real_branches_formula (ε μ : ℂ) :
0 ≤ branchRadicand ε μ ∧
indexQuartic ε μ =
(X - C ((nPlus ε μ : ℝ) : ℂ)) * (X - C ((nMinus ε μ : ℝ) : ℂ)) *
(X - C (((Real.sqrt (‖ε‖ * ‖μ‖ - epsMuRe ε μ) / Real.sqrt 2 : ℝ) : ℂ) * I)) *
(X + C (((Real.sqrt (‖ε‖ * ‖μ‖ - epsMuRe ε μ) / Real.sqrt 2 : ℝ) : ℂ) * I)) ∧
(∀ N : ℂ, N ^ 2 = ε * μ → N.re = nPlus ε μ ∨ N.re = nMinus ε μ) ∧
(∃ N : ℂ, N ^ 2 = ε * μ ∧ N.re = nPlus ε μ) ∧
(∃ N : ℂ, N ^ 2 = ε * μ ∧ N.re = nMinus ε μ) := by sorry
end Arxiv1007_0377Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Throughout, and are arbitrary complex numbers, with no hypotheses at all (in particular or is allowed). Write and with real parts and imaginary parts . Write for the usual complex absolute values.
The statement uses the following real quantities built from :
so that and are the real and imaginary parts of . It also uses the "radicand"
From these it defines the two real numbers
and also
Here is the real square root, under the convention that whenever . So , , and exactly when .
Finally, is the polynomial in one indeterminate with complex coefficients
The real numbers and are regarded as complex constants.
The theorem asserts that the following five statements all hold simultaneously, for every :
-
Non-negativity of the radicand: , i.e. .
-
Factorization of the quartic: the following is an identity of polynomials over (equality of all coefficients, not just of values at some points):
Here and are viewed as complex numbers. In particular, the four complex roots of , with multiplicity, are .
-
Every square root has real part : for every complex with , either or .
-
The branch is attained: there exists a complex with and .
-
The branch is attained: there exists a complex with and .
Nothing in the statement concerns analyticity, the conditions or , or which root is physically selected. In the degenerate case , all of are , , and is the only square root.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.