betaFeedback

WorksComputer Science

Formalization of Robust Strictly Positive Real Synthesis for Fourth-Order Interval Polynomial Families

Abstract

That every robustly Hurwitz-stable fourth-order interval polynomial family admits a common strictly positive real (SPR) numerator was conjectured by Anderson et al. and proved by Yu and Wang. In this paper, we present a complete formalization of this classical synthesis theorem in the Lean~4 interactive theorem prover.

Introduction

Background and the Classical Fourth-Order Synthesis Theorem

Strictly positive real (SPR) transfer functions play a fundamental role in passivity analysis, absolute stability, adaptive control, and output-error system identification [4, 12]. When the denominator coefficients vary independently within closed uncertainty intervals, the robust SPR synthesis problem asks for a single fixed real numerator polynomial that renders the transfer function strictly positive real for every admissible denominator in the family and at all real frequencies. Although Kharitonov’s theorem [6] reduces robust Hurwitz stability of an interval polynomial family to four vertex polynomials, and robust SPR analysis for a prescribed numerator can similarly be reduced to finite vertex combinations [1, 10], the synthesis problem is existential: the numerator coefficients must be fixed once and for all before the plant varies over the interval box and the frequency varies over the real line.

For fourth-order robustly Hurwitz-stable interval polynomial families, Anderson et al. [1] conjectured in 1990 that a common SPR numerator always exists, proposing an argument based on linear programming. After Betser and Zeheb [2] demonstrated via counterexample that the proposed linear-programming condition was not necessary, Yu and Wang [11] established a complete constructive proof of Anderson’s claim in 2001 (see also [10, 13, 12]). In the classical proof [11, 12], each fourth-order Hurwitz denominator a(s)a(s) determines a convex feasible region Ωa=Ωea∪Ωta⊂R2\Omega^a = \Omega^a_e \cup\Omega^a_t \subset\mathbb{R}^2 bounded by an ellipse and tangent lines in the space of cubic numerator parameters (x,y)(x,y). Nonemptiness of the four-vertex intersection ⋂i=14Ωai\bigcap_{i=1}^{4} \Omega^{a_i} is proved by intersecting chords connecting tangency points—splitting into cases according to whether the odd-part root endpoints coincide or are strictly separated—followed by two sequential small-parameter perturbations justified by compactness infima on bounded frequency intervals.

Formalization Obstacles, Proof Reconstruction, and Related Work

Our goal in this work is to construct a complete, kernel-verified formal proof of the fourth-order interval SPR synthesis theorem in the Lean 4 theorem prover [5] using the mathlib library [9]. As witnessed across modern formalized mathematics, paper proofs that rely on geometric region intersections, implicit nondegeneracy conventions, and qualitative “sufficiently small parameter” arguments often require structural reformulation into explicit algebraic invariants and quantitative bounds before they can be checked effectively by a proof assistant kernel. For instance, Dahmen, Hölzl, and Lewis [3], in formalizing the solution to the cap set problem in Lean, systematically separated the reuse of mathlib’s algebraic hierarchy from the combinatorics reformulations needed for dependent type theory. Mahboubi and Sibut-Pinote [8], in their formal proof of the irrationality of ζ(3)\zeta(3), combined a posteriori verification of expanded polynomial identities with explicit quantitative estimates to replace qualitative asymptotic steps. Likewise, Li and Paulson [7], in formalizing the Budan–Fourier theorem and polynomial root counting in Isabelle/HOL, demonstrated both the substantial infrastructure required for general complex/real root counting via Sturm chains and Cauchy indices and the utility of Taylor shifts in root isolation.

Specifically, mechanizing the classical fourth-order interval SPR synthesis proof directly faces three main formalization obstacles: bridging the semantic open left-half-plane root predicate to fourth-order Routh–Hurwitz inequalities, constructing a common cubic candidate without branching on whether coefficient intervals degenerate to single points, and eliminating nonconstructive compactness infima and sequential small-parameter limits while respecting the strict quantifier order “there exists one numerator for all box members and all real frequencies.” To address these challenges, we develop a formalization-oriented proof reconstruction (§ 3–§ 5): a degree-six horizontal translation polynomial bridges semantic Hurwitz stability directly to the third Routh–Hurwitz determinant and the two-vertex positive root band; a chord intersection anchored at the strictly separated roots of the worst-case even part provides a degeneracy-uniform cubic candidate with piecewise square-plus-linear lower bounds and a closed-form positive margin over the entire frequency half-axis; and a single explicit perturbation parameter simultaneously restores zero-frequency strictness and lifts the numerator to a monic quartic polynomial. The complete proof chain is verified by the Lean 4 kernel within 598 lines of code using only the three standard foundational axioms.

Formal Specification and Proof Overview

Mathematical Statement and Quantifier Structure

A real polynomial a(s)∈R[s]a(s) \in\mathbb{R}[s] is Hurwitz stable if all of its complex roots lie in the open left half-plane {z∈C:Re⁡z<0}\{z \in\mathbb{C} : \operatorname{Re} z < 0\}, and a polynomial family is robustly Hurwitz stable if every member is Hurwitz stable. Following the equal-degree frequency-domain SPR convention [12], for a fourth-order Hurwitz-stable denominator a(s)a(s) and a monic fourth-order real numerator b(s)b(s), the transfer function b(s)/a(s)b(s)/a(s) is strictly positive real on the imaginary axis if

Re⁡b(iω)a(iω)>0(∀ω∈R).(1)\operatorname{Re} \frac{b(i\omega)}{a(i\omega)} > 0 \qquad(\forall\omega\in\mathbb{R}). \tag*{(1)}

Theorem 2.1 (Fourth-Order Interval SPR Synthesis [1, 11]). Let lj≤ujl_j \leq u_j (1≤j≤4)(1 \leq j \leq4) be real interval endpoints, and consider the fourth-order monic independent closed interval polynomial family

K={a(s)=s4+a1s3+a2s2+a3s+a4:lj≤aj≤uj, 1≤j≤4}.(2)K = \left\{ a(s) = s^4 + a_1s^3 + a_2s^2 + a_3s + a_4 : l_j \leq a_j \leq u_j,\ 1 \leq j \leq4 \right\}. \tag*{(2)}

If KK is robustly Hurwitz stable, then there exists a single monic real polynomial b(s)b(s) of degree four such that

Re⁡b(iω)a(iω)>0(∀a∈K, ∀ω∈R).(3)\operatorname{Re} \frac{b(i\omega)}{a(i\omega)} > 0 \qquad(\forall a \in K,\ \forall\omega\in\mathbb{R}). \tag*{(3)}

In the logical prefix ∀K,∃b,∀a∈K,∀ω∈R\forall K, \exists b, \forall a \in K, \forall\omega\in\mathbb{R} of Theorem 2.1, the quantifier order (uniform witness constraint) governs the entire formalization: the common numerator b(s)b(s) and all intermediate construction parameters (the cubic coefficients x,yx,y, the uniform frequency margin mm, and the perturbation parameter ε\varepsilon) must be defined solely in terms of the eight box endpoints (lj,uj)(l_j,u_j), prior to introducing a∈Ka \in K or ω∈R\omega\in\mathbb{R}.

Setting the squared frequency t=ω2≥0t = \omega^2 \geq0, decompose any denominator a∈Ka \in K and candidate real numerator b(s)b(s) into their even and odd parts along the imaginary axis:

a(iω)=Ea(t)+iωOa(t),Ea(t)=t2−a2t+a4,Oa(t)=a3−a1t,(4)a(i\omega) = E_a(t) + i\omega O_a(t), \qquad E_a(t) = t^2 - a_2t + a_4, \qquad O_a(t) = a_3 - a_1t, \tag*{(4)}

and b(iω)=Eb(t)+iωOb(t)b(i\omega) = E_b(t) + i\omega O_b(t). Define the real frequency pairing polynomial

Qa,b(t):=Re⁡[b(iω)a(iω)‾]=Eb(t)Ea(t)+tOb(t)Oa(t).(5)Q_{a,b}(t) := \operatorname{Re}[b(i\omega)\overline{a(i\omega)}] = E_b(t)E_a(t) + tO_b(t)O_a(t). \tag*{(5)}

Because every Hurwitz-stable a∈Ka \in K is nonvanishing on the imaginary axis, ∣a(iω)∣2=Ea(ω2)2+ω2Oa(ω2)2>0|a(i\omega)|^2 = E_a(\omega^2)^2 + \omega^2 O_a(\omega^2)^2 > 0 and Re⁡[b(iω)/a(iω)]=Qa,b(ω2)/∣a(iω)∣2\operatorname{Re}[b(i\omega)/a(i\omega)] = Q_{a,b}(\omega^2)/|a(i\omega)|^2. Consequently, (3) holds for all a∈Ka \in K and ω∈R\omega\in\mathbb{R} if and only if Qa,b(t)>0Q_{a,b}(t) > 0 for all a∈Ka \in K and all t≥0t \ge0.

Formal Encoding in Lean 4

In Lean/SPR/Common/Hurwitz.lean and Lean/SPR/N4/Basic.lean, the core data structures, predicates, and top-level synthesis target are formalized as follows (shown verbatim from the source files, omitting only docstrings and rendering mathematical symbols in standard notation):

def SPR.IsHurwitz (a : ℝ[X]) : Prop :=
  ∀ z : ℂ, (a.map (algebraMap ℝ ℂ)).IsRoot z → z.re < 0
structure Poly4 where (a1 a2 a3 a4 : ℝ)
def Poly4.poly (a : Poly4) : ℝ[X] :=
  X ^ 4 + C a.a1 * X ^ 3 + C a.a2 * X ^ 2 + C a.a3 * X + C a.a4
structure Box4 where
  lower : Poly4
  upper : Poly4
  ordered1 : lower.a1 ≤ upper.a1
  ordered2 : lower.a2 ≤ upper.a2
  ordered3 : lower.a3 ≤ upper.a3
  ordered4 : lower.a4 ≤ upper.a4
def Box4.Contains (K : Box4) (a : Poly4) : Prop :=
  K.lower.a1 ≤ a.a1 ∧ a.a1 ≤ K.upper.a1 ∧
  K.lower.a2 ≤ a.a2 ∧ a.a2 ≤ K.upper.a2 ∧
  K.lower.a3 ≤ a.a3 ∧ a.a3 ≤ K.upper.a3 ∧
  K.lower.a4 ≤ a.a4 ∧ a.a4 ≤ K.upper.a4
def Box4.RobustlyHurwitz (K : Box4) : Prop :=
  ∀ a, K.Contains a → SPR.IsHurwitz a.poly
def FrequencySPR (a b : ℝ[X]) : Prop :=
  ∀ w : ℝ, 0 < ((b.eval₂ (algebraMap ℝ ℂ) ((w : ℂ) * Complex.I)) /
    (a.eval₂ (algebraMap ℝ ℂ) ((w : ℂ) * Complex.I))).re
def RobustSPRStatement : Prop :=
  ∀ K : Box4, K.RobustlyHurwitz →
    ∃ b : ℝ[X], b.Monic ∧ b.natDegree = 4 ∧
      ∀ a : Poly4, K.Contains a → FrequencySPR a.poly b

Proof Overview and Dependency Architecture

The formal proof decomposes Theorem 2.1 into a five-stage unidirectional pipeline, illustrated in Figure 1. Table 1 summarizes the five core source files (598 lines in total) plus the public entry point Lean/Main.lean, their declaration counts, and their proof reconstructions relative to [11, 12].

Formalization pipeline and declaration dependency graph for fourth-order interval SPR synthesis

Figure 1. Formalization pipeline and declaration dependency graph for fourth-order interval SPR synthesis.

Module PathLines / DeclsKey Lean 4 DeclarationsProof Reconstruction vs. [11, 12]
Common/Hurwitz.lean77 lines (1 def, 6 thms)IsHurwitz, eval_pos, hurwitz_derivative, hurwitz_coeff_posDerivative induction via mathlib’s Gauss–Lucas theorem instead of quadratic root pairing
N4/Basic.lean80 lines (2 structs, 11 defs)Poly4, Box4, weight, middle, margin, candidate, RobustSPRStatementNon-strict bounds lj≤ujl_j \le u_j preserving all degenerate boxes; parameters defined purely from KK
N4/Hurwitz.lean194 lines (3 defs, 12 thms)shifted, determinantPolynomial, hurwitz_determinant, stable_box_bandDegree-6 translation polynomial H(r)=Δ3(a(s+r))H(r) = \Delta_3(a(s+r)) proving Δ3(a)>0\Delta_3(a) > 0; two-vertex root band
N4/Construction.lean173 lines (1 def, 7 thms)weights, residual_lower_left, residual_lower_right, uniform_margin, correction_positiveChords anchored at (α,β)(\alpha,\beta) avoiding degeneracy splits; explicit m>0m > 0 and ε>0\varepsilon> 0 replacing limits
N4/Synthesis.lean & Main.lean74 lines (3 thms) + 1 entry thmcandidate_pairing, quotient_positive, synthesis, SPR.N4.Direct.robustSPRDed uces a(iω)≠0a(i\omega) \ne0 and complex quotient positivity directly from positive real pairing

Table 1. Lean 4 module structure, code statistics, and proof reconstructions relative to [11, 12].

Bridging Hurwitz Stability via Horizontal Translation

Classical Proof Requirement and Formalization Obligations

The starting point of the classical synthesis proof is that every monic Hurwitz-stable quartic polynomial a(s)=s4+a1s3+a2s2+a3s+a4a(s) = s^4 + a_1s^3 + a_2s^2 + a_3s + a_4 satisfies the two necessary algebraic conditions

aj>0(1≤j≤4)andΔ3(a):=a1a2a3−a32−a12a4>0.(6)a_j > 0 \quad(1 \le j \le4) \qquad\text{and} \qquad\Delta_3(a) := a_1a_2a_3 - a_3^2 - a_1^2a_4 > 0. \tag*{(6)}

In informal treatments, (6) is either cited from the general Routh–Hurwitz theorem or derived by pairing complex-conjugate and negative real roots to factor a(s)=(s2+ps+q)(s2+rs+h)a(s) = (s^2 + ps + q)(s^2 + rs + h) with p,q,r,h>0p, q, r, h > 0, which expands to Δ3(a)=pr[(q−h)2+(p+r)(ph+rq)]>0\Delta_3(a) = pr[(q-h)^2 + (p+r)(ph+rq)] > 0.

In an interactive theorem prover, however, the hypothesis is given semantically by the root predicate SPR.IsHurwitz(a.poly) (Re⁡z<0\operatorname{Re} z < 0 for all complex roots). Formalizing either paper argument directly would impose a heavy auxiliary obligation:

  1. Formalizing the existence of a real factorization into two monic quadratic factors from the Fundamental Theorem of Algebra and complex conjugation in mathlib, and linking the open left-half-plane root condition to positivity of each quadratic factor’s coefficients; or

(ii) Developing a full complex half-plane root-counting theory via Cauchy indices, Sturm chains, or the argument principle, as carried out by Li and Paulson [7] in Isabelle/HOL.

Because fourth-order synthesis requires only the one-way necessary conditions (6), building general root-counting or conjugate-factorization machinery solely for degree four would disproportionately expand the formalization effort.

Gauss–Lucas Derivative Induction and the Degree-Six Translation Polynomial

To establish (6) directly from SPR.IsHurwitz with minimal infrastructure, we split the bridge into a degree-independent derivative induction and an a posteriori polynomial translation identity.

First, mathlib provides the real-root sign lemma zero_lt_eval_of_roots_lt_of_leadingCoeff_nonneg (if p∈R[X]p \in\mathbb{R}[X] has nonnegative leading coefficient and all real roots strictly below xx, then p(x)>0p(x) > 0) and the complex Gauss–Lucas theorem Polynomial.rootSet_derivative_subset_convexHull_rootSet (the roots of p′p' lie in the convex hull of the roots of pp). In Lean/SPR/Common/Hurwitz.lean, we combine the convexity of {z∈C:Re⁡z<0}\{z \in\mathbb{C} : \operatorname{Re} z < 0\} with the Gauss–Lucas theorem to prove that differentiation preserves Hurwitz stability (hurwitz_derivative), and induct on the derivative order nn to establish n!⋅p.coeff⁡(n)=p(n)(0)>0n! \cdot p.\operatorname{coeff}(n) = p^{(n)}(0) > 0:

theorem hurwitz_coeff_pos {p : R[X]} (hp : IsHurwitz p)
    (hlc : 0 < p.leadingCoeff) (n : ℕ) (hn : n ≤ p.natDegree) :
    0 < p.coeff n

Instantiating hurwitz_coeff_pos at n=3,2,1,0n = 3,2,1,0 immediately yields a1,a2,a3,a4>0a_1,a_2,a_3,a_4 > 0 (hurwitz_coefficients).

Second, to prove Δ3(a)>0\Delta_3(a) > 0 without factoring a(s)a(s), we use the observation that when a1,a3>0a_1,a_3 > 0, the vanishing of Δ3(a)\Delta_3(a) characterizes the presence of a purely imaginary root s=ia3/a1s = i\sqrt{a_3/a_1}. Consequently, if we apply a horizontal Taylor shift by r∈Rr \in\mathbb{R},

ar(s):=a(s+r)=s4+ar,1s3+ar,2s2+ar,3s+ar,4,(7)a_r(s) := a(s+r) = s^4 + a_{r,1}s^3 + a_{r,2}s^2 + a_{r,3}s + a_{r,4}, \tag*{(7)}

then any zero of Δ3(ar)=0\Delta_3(a_r) = 0 at r≥0r \ge0 produces a purely imaginary root iωri\omega_r of ar(s)a_r(s) and hence a complex root z=r+iωrz = r + i\omega_r of a(s)a(s) in the closed right half-plane Re⁡z=r≥0\operatorname{Re} z = r \ge0, contradicting SPR.IsHurwitz(a.poly).

Following an a posteriori algebraic verification paradigm [8], we define the expanded degree-six polynomial H(r):=Δ3(ar)H(r) := \Delta_3(a_r) (determinantPolynomial in Lean/SPR/N4/Hurwitz.lean; see Appendix § 9.§ 1, equation (A.2) for the full expansion):

H(r)=64r6+96a1r5+(48a12+32a2)r4+⋯+Δ3(a),(8)H(r) = 64r^6 + 96a_1r^5 + (48a_1^2 + 32a_2)r^4 + \cdots+ \Delta_3(a), \tag*{(8)}

and verify the polynomial evaluation identity H(r)=Δ3(ar)H(r) = \Delta_3(a_r) (determinantPolynomial_eval) by a three-line ring proof. This yields a self-contained proof of Lemma 3.1.

Lemma 3.1 (Positivity of the Third Hurwitz Determinant, hurwitz_determinant). If a monic quartic polynomial a(s)=s4+a1s3+a2s2+a3s+a4a(s) = s^4 + a_1s^3 + a_2s^2 + a_3s + a_4 satisfies SPR.IsHurwitz(a.poly), then a1,a2,a3,a4>0a_1,a_2,a_3,a_4 > 0 and Δ3(a)=a1a2a3−a32−a12a4>0\Delta_3(a) = a_1a_2a_3 - a_3^2 - a_1^2a_4 > 0.

Proof. Positivity of a1,a2,a3,a4a_1,a_2,a_3,a_4 is given by hurwitz_coefficients. The polynomial H(r)H(r) in (8) has degree six and positive leading coefficient 64>064 > 0. Suppose H(r)=0H(r) = 0 for some r∈Rr \in\mathbb{R}. If r≥0r \ge0, then a1,a2,a3>0a_1,a_2,a_3 > 0 imply ar,1=a1+4r>0a_{r,1} = a_1+4r > 0 and ar,3=a3+2a2r+3a1r2+4r3>0a_{r,3} = a_3+2a_2r+3a_1r^2+4r^3 > 0. Setting ωr=ar,3/ar,1>0\omega_r = \sqrt{a_{r,3}/a_{r,1}} > 0, direct algebraic verification shows ar(iωr)=0a_r(i\omega_r) = 0 (determinant_zero_root; see Appendix § 9.§ 1), and the shift identity ar(z)=a(r+z)a_r(z) = a(r+z) (eval_shifted) gives a root z=r+iωrz = r+i\omega_r of a(s)a(s) with Re⁡z=r≥0\operatorname{Re} z = r \ge0, contradicting SPR.IsHurwitz(a.poly). Thus every real root of H(r)H(r) is strictly negative, and applying zero_lt_eval_of_roots_lt_of_leadingCoeff_nonneg at r=0r = 0 yields Δ3(a)=H(0)>0\Delta_3(a) = H(0) > 0. ∎

Resulting Formal Interface: Two-Vertex Test and Common Positive Root Band

Because the lower endpoint tuple (l1,l2,l3,l4)(l_1,l_2,l_3,l_4) belongs to KK (lower_contains), Lemma 3.1 implies 0<lj≤uj0 < l_j \le u_j (1≤j≤41 \le j \le4). Set

l=l1,u=u1,A=l2,C=u4,U=u2,(9)l=l_1,\qquad u=u_1,\qquad A=l_2,\qquad C=u_4,\qquad U=u_2, \tag*{(9)}

and define the worst-case even part across the box:

E∗(t):=t2−At+C,so thatEa(t)≤E∗(t)(∀ a∈K, ∀ t≥0).(10)E_*(t):=t^2-At+C,\qquad\text{so that}\qquad E_a(t)\le E_*(t)\quad(\forall\,a\in K,\ \forall\,t\ge0). \tag*{(10)}

Evaluating the identity Ea(a3/a1)=−Δ3(a)/a12E_a(a_3/a_1)=-\Delta_3(a)/a_1^2 (determinant_ratio) at the two Kharitonov vertices (aL and aR in stable_box_band)

a−(s)=s4+us3+As2+l3s+C∈K,a+(s)=s4+ls3+As2+u3s+C∈K(11)a^-(s)=s^4+us^3+As^2+l_3s+C\in K,\qquad a^+(s)=s^4+ls^3+As^2+u_3s+C\in K \tag*{(11)}

packages Stage 2 into the root-band interface stable_box_band consumed by Stage 4:

Lemma 3.2 (Common Positive Root Band, stable_box_band). Suppose KK is robustly Hurwitz stable. Then D:=A2−4C>0D:=A^2-4C>0, and E∗(t)=t2−At+CE_*(t)=t^2-At+C has two distinct positive roots

α=A−D2>0,β=A+D2>α,(12)\alpha=\frac{A-\sqrt{D}}{2}>0,\qquad\beta=\frac{A+\sqrt{D}}{2}>\alpha, \tag*{(12)}

satisfying A=α+βA=\alpha+\beta, C=αβC=\alpha\beta, and

0<α<l3u≤u3l<β.(13)0<\alpha<\frac{l_3}{u}\le\frac{u_3}{l}<\beta. \tag*{(13)}

In particular, whether or not any intervals [lj,uj][l_j,u_j] degenerate to single points, the two odd-endpoint slacks

δ−:=l3−uα>0,δ+:=lβ−u3>0(14)\delta_-:=l_3-u\alpha>0,\qquad\delta_+:=l\beta-u_3>0 \tag*{(14)}

are strictly positive.

Proof. Applying Lemma 3.1 and Ea(a3/a1)=−Δ3(a)/a12E_a(a_3/a_1)=-\Delta_3(a)/a_1^2 to a−,a+∈Ka^-,a^+\in K yields

E∗(l3u)=−Δ3(a−)u2<0,E∗(u3l)=−Δ3(a+)l2<0.(15)E_*\left(\frac{l_3}{u}\right)=-\frac{\Delta_3(a^-)}{u^2}<0,\qquad E_*\left(\frac{u_3}{l}\right)=-\frac{\Delta_3(a^+)}{l^2}<0. \tag*{(15)}

From E∗(l3/u)<0E_*(l_3/u)<0 we obtain D=A2−4C>(2l3/u−A)2≥0D=A^2-4C>(2l_3/u-A)^2\ge0, which together with A,C>0A,C>0 gives 0<α<β0<\alpha<\beta and E∗(t)=(t−α)(t−β)E_*(t)=(t-\alpha)(t-\beta). Since E∗(q)<0⟺α<q<βE_*(q)<0\Longleftrightarrow\alpha<q<\beta and 0<l3/u≤u3/l0<l_3/u\le u_3/l, inequalities (15) immediately imply (13) and (14). □\square

Unified Cubic Candidate and Explicit Frequency Margin

Classical Proof Requirement and the Degeneracy Branching Obstacle

For a monic cubic candidate b0(s)=s3+xs2+ysb_0(s)=s^3+xs^2+ys without constant or quartic terms, we have Eb0(t)=−xtE_{b_0}(t)=-xt and Ob0(t)=y−tO_{b_0}(t)=y-t, so the real frequency pairing Qa,b0(t)Q_{a,b_0}(t) factors through tt:

Fa(t):=Qa,b0(t)t=a1(t−y)t+a3(y−t)−xEa(t).(16)F_a(t):=\frac{Q_{a,b_0}(t)}{t}=a_1(t-y)t+a_3(y-t)-xE_a(t). \tag*{(16)}

In the classical proof [11, 12], the set of (x,y)(x,y) where Fa(t)>0F_a(t)>0 for all t≥0t\ge0 is described geometrically as Ωa=Ωea∪Ωℓa\Omega^a=\Omega_e^a\cup\Omega_\ell^a, and nonemptiness of Ωa∩Ωa+\Omega^a\cap\Omega^{a^+} is proved by intersecting chords anchored at the odd-part roots (0,l3/u)(0,l_3/u) and (0,u3/l)(0,u_3/l). When l=ul=u and l3=u3l_3=u_3 (for example, when the first and third coefficient intervals degenerate to single points), l3/ul_3/u and u3/lu_3/l coincide, forcing the classical proof to split into two cases (l3/u=u3/ll_3/u=u_3/l vs. l3/u<u3/ll_3/u<u_3/l) with different candidate formulas; moreover, once (x,y)∈⋂i=14Ωai(x,y)\in\bigcap_{i=1}^4\Omega^{a^i} is chosen, positivity of Fa(t)F_a(t) is used qualitatively via compactness on bounded frequency intervals.

In a formal proof, branching the definition of (x,y)(x,y) on l3/u=u3/ll_3/u=u_3/l vs. l3/u<u3/ll_3/u<u_3/l would duplicate every subsequent algebraic identity and frequency bound across two candidate definitions, while invoking compactness infima would require formalizing joint continuity and asymptotic uniformity over K×[0,∞)K\times[0,\infty).

Unified Chord Intersection Anchored at the Even-Part Roots

To eliminate case distinctions on interval degeneracy from the candidate definition, we observe in Lean/SPR/N4/Basic.lean and Construction.lean that while l3/ul_3/u and u3/lu_3/l may coincide, the two positive roots α<β\alpha< \beta of E∗(t)E_*(t) guaranteed by Lemma 3.2 are always strictly separated (even for a singleton family, Hurwitz stability forces D>0D > 0 and α<β\alpha< \beta). We therefore anchor the two chords at (0,α)(0,\alpha), (u,β)(u,\beta) and (0,β)(0,\beta), (l,α)(l,\alpha):

uy−xβ=(u−x)α,ly−xα=(l−x)β.(17)uy-x\beta=(u-x)\alpha,\qquad ly-x\alpha=(l-x)\beta. \tag*{(17)}

Solving (17) yields the single closed-form parameter pair (weight and middle in Basic.lean):

x=lul+u,y=uα+lβl+u,b0(s)=s3+xs2+ys.(18)x=\frac{lu}{l+u},\qquad y=\frac{u\alpha+l\beta}{l+u},\qquad b_0(s)=s^3+xs^2+ys. \tag*{(18)}

Lemma 4.1 (Algebraic Properties of the Unified Cubic Parameters, weights). For any real numbers satisfying 0<l≤u0 < l \le u and 0<α<β0 < \alpha< \beta, the parameters x,yx,y in (18) satisfy (17) and

0<x<l≤u,α<y<β.(19)0<x<l\le u,\qquad\alpha<y<\beta. \tag*{(19)}

Proof. Since l,u>0l,u > 0 and α<β\alpha< \beta, we have l+u>0l+u > 0, l−x=l2/(l+u)>0l-x = l^2/(l+u) > 0, u−x=u2/(l+u)>0u-x = u^2/(l+u) > 0, y−α=l(β−α)/(l+u)>0y-\alpha= l(\beta-\alpha)/(l+u) > 0, and β−y=u(β−α)/(l+u)>0\beta-y = u(\beta-\alpha)/(l+u) > 0. Clearing denominators (field_simp; ring) verifies both identities in (17).

Piecewise Square-Plus-Linear Lower Bounds and Closed-Form Margin

The chord equations (17) are designed so that when a1,a2,a3,a4a_1,a_2,a_3,a_4 are replaced by their worst-case box endpoints on [0,y][0,y] and [y,∞)[y,\infty), respectively, the even-part term −xE∗(t)=−x(t−α)(t−β)-xE_*(t)=-x(t-\alpha)(t-\beta) combines with the leading odd term into an exact square around α\alpha or β\beta, leaving the strictly positive linear slack δ−(y−t)\delta_-(y-t) or δ+(t−y)\delta_+(t-y) from Lemma 3.2.

Lemma 4.2 (Whole-Box Piecewise Square-Plus-Linear Lower Bounds, residual_lower_left and residual_lower_right). For every a∈Ka \in K, the reduced pairing Fa(t)F_a(t) in (16) satisfies

Fa(t)≥(u−x)(t−α)2+δ−(y−t)(0≤t≤y),(20)F_a(t)\ge(u-x)(t-\alpha)^2+\delta_-(y-t)\qquad(0\le t\le y), \tag*{(20)}
Fa(t)≥(l−x)(t−β)2+δ+(t−y)(t≥y).(21)F_a(t)\ge(l-x)(t-\beta)^2+\delta_+(t-y)\qquad(t\ge y). \tag*{(21)}

The step-by-step algebraic derivation of Lemma 4.2 is given in Appendix § 9.§ 2. Observe that in (20), as t∈[0,y]t \in[0,y] approaches yy, the linear slack δ−(y−t)\delta_-(y-t) vanishes while the square term (u−x)(t−α)2(u-x)(t-\alpha)^2 is bounded below by (u−x)(y−α)2>0(u-x)(y-\alpha)^2 > 0; conversely, near t=αt=\alpha, the linear slack is bounded below by δ−(y−α)>0\delta_-(y-\alpha) > 0. Bisecting [α,y][\alpha,y] at (α+y)/2(\alpha+y)/2 and [y,β][y,\beta] at (β+y)/2(\beta+y)/2 converts this complementarity into an explicit closed-form positive margin m>0m > 0 over [0,∞)[0,\infty) (margin in Basic.lean and uniform_margin in Construction.lean):

theorem uniform_margin {K : Box4} {α β : ℝ}
    (hl : 0 < K.lower.a1) (hab : α < β)
    (hA : K.lower.a2 = α + β) (hC : K.upper.a4 = α * β)
    (hlo : K.upper.a1 * α < K.lower.a3)
    (hhi : K.upper.a3 < K.lower.a1 * β) :
    let x := weight K.lower.a1 K.upper.a1
    let y := middle K.lower.a1 K.upper.a1 α β
    0 < margin K x y α β ∧
      ∀ a, K.Contains a → ∀ t, 0 ≤ t →
        margin K x y α β ≤ residual a x y t

Lemma 4.3 (Explicit Uniform Frequency Margin on [0,∞)[0,\infty), uniform_margin). Set d−:=y−α>0d_- := y-\alpha> 0 and d+:=β−y>0d_+ := \beta-y > 0, and define the box-dependent constant

m:=min⁡{δ−d−2,(u−x)d−24,δ+d+2,(l−x)d+24}>0.(22)m:=\min\left\{\frac{\delta_-d_-}{2},\frac{(u-x)d_-^2}{4},\frac{\delta_+d_+}{2},\frac{(l-x)d_+^2}{4}\right\}>0. \tag*{(22)}

Then, for every a∈Ka \in K and every t≥0t \ge0,

Fa(t)≥m>0andQa,b0(t)=tFa(t)≥mt.(23)F_a(t)\ge m>0\qquad\text{and}\qquad Q_{a,b_0}(t)=tF_a(t)\ge mt. \tag*{(23)}

Proof. By Lemmas 3.2 and 4.1, δ±>0\delta_{\pm}>0, d±>0d_{\pm}>0, u−x>0u-x>0, and l−x>0l-x>0, so all four arguments of min⁡\min in (22) are strictly positive and m>0m>0. Fix a∈Ka\in K and t≥0t\ge0. For 0≤t≤y0\le t\le y (left_margin): if t≤(α+y)/2t\le(\alpha+y)/2, then y−t≥d−/2y-t\ge d_{-}/2 and (20) gives Fa(t)≥δ−d−/2≥mF_a(t)\ge\delta_{-}d_{-}/2\ge m; if (α+y)/2<t≤y(\alpha+y)/2<t\le y, then t−α>d−/2>0t-\alpha>d_{-}/2>0 and (20) gives Fa(t)≥(u−x)d−2/4≥mF_a(t)\ge(u-x)d_{-}^{2}/4\ge m. Symmetrically, for t≥yt\ge y (right_margin), splitting (21) at (β+y)/2(\beta+y)/2 yields Fa(t)≥δ+d+/2≥mF_a(t)\ge\delta_{+}d_{+}/2\ge m when t≥(β+y)/2t\ge(\beta+y)/2 and Fa(t)≥(l−x)d+2/4≥mF_a(t)\ge(l-x)d_{+}^{2}/4\ge m when y≤t<(β+y)/2y\le t<(\beta+y)/2.

Single-Step Quartic Perturbation and Quotient Bridge

Classical Proof Requirement and the Single-Step Perturbation Budget

By (23), the cubic candidate b0(s)=s3+xs2+ysb_0(s)=s^3+xs^2+ys satisfies Qa,b0(t)≥mt>0Q_{a,b_0}(t)\ge mt>0 for all t>0t>0, but vanishes at t=0t=0 (Qa,b0(0)=0Q_{a,b_0}(0)=0) and has degree three rather than four. In [11, 12], this is resolved by two sequential perturbations: first adding a sufficiently small constant ε1>0\varepsilon_1>0 to achieve strict positivity at t=0t=0, and then adding ε2s4\varepsilon_2s^4 with a second sufficiently small parameter ε2>0\varepsilon_2>0.

To avoid nested existential limits and strictly respect the quantifier order ∀K→∃b→∀a∈K→∀ω∈R\forall K\to\exists b\to\forall a\in K\to\forall\omega\in\mathbb{R}, we perturb the constant and quartic terms simultaneously by adding ε(s4+1)\varepsilon(s^4+1). Since (iω)4+1=t2+1>0(i\omega)^4+1=t^2+1>0 for t=ω2t=\omega^2, we define the unnormalized and normalized quartic numerators (candidate in Basic.lean):

b~(s):=b0(s)+ε(s4+1),b(s):=b~(s)ε=s4+1εs3+xεs2+yεs+1.(24)\tilde{b}(s):=b_0(s)+\varepsilon(s^4+1),\qquad b(s):=\frac{\tilde{b}(s)}{\varepsilon}=s^4+\frac{1}{\varepsilon}s^3+\frac{x}{\varepsilon}s^2+\frac{y}{\varepsilon}s+1. \tag*{(24)}

For any a∈Ka\in K, the real pairing of b~(s)\tilde{b}(s) with a(s)a(s) (correctedPairing in Construction.lean) is

Qa,b~(t)=tFa(t)+ε(t2+1)Ea(t).(25)Q_{a,\tilde{b}}(t)=tF_a(t)+\varepsilon(t^2+1)E_a(t). \tag*{(25)}

To choose a single ε>0\varepsilon>0 depending only on KK that works for all a∈Ka\in K and all t≥0t\ge0, we bound the region where the perturbation term ε(t2+1)Ea(t)\varepsilon(t^2+1)E_a(t) can be negative:

  • At t=0t=0, Qa,b~(0)=εEa(0)=εa4≥εl4>0Q_{a,\tilde{b}}(0)=\varepsilon E_a(0)=\varepsilon a_4\ge\varepsilon l_4>0 for any ε>0\varepsilon>0;

  • For t>0t>0 with Ea(t)≥0E_a(t)\ge0, the perturbation ε(t2+1)Ea(t)≥0\varepsilon(t^2+1)E_a(t)\ge0 reinforces tFa(t)≥mt>0tF_a(t)\ge mt>0;

  • For t>0t>0 with Ea(t)=t2−a2t+a4<0E_a(t)=t^2-a_2t+a_4<0, since a4≥l4>0a_4\ge l_4>0 and a2≤u2=Ua_2\le u_2=U, we have t2<t2+a4<a2t≤Utt^2<t^2+a_4<a_2t\le Ut. Dividing by t>0t>0 yields the a priori frequency bound 0<t<U0<t<U, while dropping t2+a4>0t^2+a_4>0 gives Ea(t)>−a2t≥−UtE_a(t)>-a_2t\ge-Ut.

Consequently, whenever Ea(t)<0E_a(t)<0, tt is confined to (0,U)(0,U) and (t2+1)Ea(t)≥−U(U2+1)t(t^2+1)E_a(t)\ge-U(U^2+1)t, which is linear in tt just like the lower bound mtmt for tFa(t)tF_a(t). Setting

ε:=m2U(U2+1)>0(U=u2>0)(26)\varepsilon:=\frac{m}{2U(U^2+1)}>0\qquad(U=u_2>0) \tag*{(26)}

ensures that the negative perturbation consumes at most half of the linear margin mtmt (correction_positive):

Lemma 5.1 (Strict Positivity of the Perturbed Quartic Pairing, correction_positive). With m>0m>0 defined by (22) and ε>0\varepsilon>0 defined by (26), the perturbed pairing (25) satisfies Qa,b~(t)>0Q_{a,\tilde{b}}(t)>0 for every a∈Ka\in K and every t≥0t\ge0.

Proof. For any a∈Ka\in K, we have a4≥l4>0a_4\ge l_4>0 and a2≤Ua_2\le U. (1) If t=0t=0, then Qa,b~(0)=εa4>0Q_{a,\tilde{b}}(0)=\varepsilon a_4>0. (2) If t>0t>0 and Ea(t)≥0E_a(t)\ge0, Lemma 4.3 gives Qa,b~(t)≥mt>0Q_{a,\tilde{b}}(t)\ge mt>0. (3) If t>0t>0 and Ea(t)<0E_a(t)<0, the bounds 0<t<U0<t<U, t2+1≤U2+1t^2+1\le U^2+1, and Ea(t)≥−UtE_a(t)\ge-Ut give (t2+1)Ea(t)≥−U(U2+1)t(t^2+1)E_a(t)\ge-U(U^2+1)t. Combining this with (23) and (26) yields

Qa,b~(t)≥mt−εU(U2+1)t=m2t>0.Q_{a,\tilde{b}}(t)\ge mt-\varepsilon U(U^2+1)t=\frac{m}{2}t>0.

Complex Quotient Bridge and Assembly of the Main Theorem

In the final module (Lean/SPR/N4/Synthesis.lean), the real inequality Qa,b~(ω2)>0Q_{a,\tilde{b}}(\omega^{2}) > 0 is connected to the complex quotient predicate FrequencySPR(a.poly, b). In mathlib, complex division B/AB/A is a total function (evaluating to 00 if A=0A = 0) with real part (B/A).re=(B.re⋅A.re+B.im⋅A.im)/Complex.normSq⁡(A)(B/A).\mathrm{re} = (B.\mathrm{re} \cdot A.\mathrm{re} + B.\mathrm{im} \cdot A.\mathrm{im})/\operatorname{Complex.normSq}(A). Rather than proving a(iω)≠0a(i\omega) \ne0 separately from SPR.IsHurwitz, Synthesis.lean discharges both nonvanishing of the denominator and positivity of the quotient in two steps:

(i) candidate_pairing: Using the imaginary-axis evaluation decomposition eval_imaginary and ε≠0\varepsilon\ne0, field_simp and ring prove that for all ω∈R\omega\in\mathbb{R},

ε[Re⁡b(iω)Re⁡a(iω)+Im⁡b(iω)Im⁡a(iω)]=Qa,b~(ω2).(27)\varepsilon\left[\operatorname{Re} b(i\omega) \operatorname{Re} a(i\omega) + \operatorname{Im} b(i\omega) \operatorname{Im} a(i\omega)\right] = Q_{a,\tilde{b}}(\omega^{2}). \tag*{(27)}

(ii) quotient_positive: Since ε>0\varepsilon> 0 and Qa,b~(ω2)>0Q_{a,\tilde{b}}(\omega^{2}) > 0, (27) implies Re⁡b(iω)Re⁡a(iω)+Im⁡b(iω)Im⁡a(iω)>0\operatorname{Re} b(i\omega) \operatorname{Re} a(i\omega) + \operatorname{Im} b(i\omega) \operatorname{Im} a(i\omega) > 0. If a(iω)a(i\omega) were zero, this inner product would vanish; hence a(iω)≠0a(i\omega) \ne0, ∣a(iω)∣2=Complex.normSq⁡(a(iω))>0\lvert a(i\omega)\rvert^{2} = \operatorname{Complex.normSq}(a(i\omega)) > 0, and dividing by ∣a(iω)∣2\lvert a(i\omega)\rvert^{2} yields Re⁡[b(iω)/a(iω)]>0\operatorname{Re}[b(i\omega)/a(i\omega)] > 0.

The main theorem synthesis (exported as SPR.N4.Direct.robustSPR in Lean/Main.lean) assembles all five stages (shown verbatim from Synthesis.lean, omitting only the three lines checking ε>0\varepsilon> 0):

theorem synthesis (K : Box4) (hK : K.RobustlyHurwitz) :
  ∃ b : ℝ[X], b.Monic ∧ b.natDegree = 4 ∧
    ∀ a : Poly4, K.Contains a → FrequencySPR a.poly b := by
  obtain ⟨α, β, hα, hab, hA, hC, hlo, hhi, hl1, hl4, hU⟩ :=
    stable_box_band hK
  let x := weight K.lower.a1 K.upper.a1
  let y := middle K.lower.a1 K.upper.a1 α β
  let m := margin K x y α β
  obtain ⟨hm, hF⟩ := uniform_margin hl1 hab hA hC hlo hhi
  let U := K.upper.a2
  let ε := m / (2 * U * (U ^ 2 + 1))
  refine ⟨(candidate x y ε).poly, (poly_degree _).2, (poly_degree _).1, ?_⟩
  intro a ha
  apply quotient_positive hε
  intro t ht
  exact correction_positive hm hU hε hsmall ha.2.2.2.1
    (hl4.trans_le ha.2.2.2.2.2.2.1) ht (hF a ha t ht)

Remark 5.2 (Paper-Level Supplement on the Hurwitz Stability of the Constructed Numerator). As noted in § 2.2, the formalized theorem SPR.N4.Direct.robustSPR verifies the equal-degree imaginary-axis predicate FrequencySPR. Mathematically, the monic quartic numerator b(s)b(s) in (24) is itself Hurwitz stable, as can be seen in two ways: (a) Analytic route: Fix any a∈Ka \in K. Since a(s)a(s) is Hurwitz stable, f(s)=b(s)/a(s)f(s) = b(s)/a(s) is analytic on Re⁡s≥0\operatorname{Re} s \ge0, satisfies lim⁡∣s∣→∞f(s)=1\lim_{\lvert s\rvert\to\infty} f(s) = 1, and has Re⁡f(iω)>0\operatorname{Re} f(i\omega) > 0 on R\mathbb{R}; applying the harmonic minimum principle on large right-half disks shows Re⁡f(s)>0\operatorname{Re} f(s) > 0 on Re⁡s≥0\operatorname{Re} s \ge0, so b(s)b(s) has no zeros in Re⁡s≥0\operatorname{Re} s \ge0. (b) Algebraic route: For b(s)=s4+ε−1s3+(x/ε)s2+(y/ε)s+1b(s) = s^{4} + \varepsilon^{-1}s^{3} + (x/\varepsilon)s^{2} + (y/\varepsilon)s + 1, all four coefficients are positive and Δ3(b)=(xy−εy2−ε)/ε3\Delta_{3}(b) = (xy - \varepsilon y^{2} - \varepsilon)/\varepsilon^{3}; replacing ε\varepsilon in (26) by ε∗=min⁡{m2U(U2+1),xy2(y2+1)}>0\varepsilon^{*} = \min\left\{\frac{m}{2U(U^{2}+1)}, \frac{xy}{2(y^{2}+1)}\right\} > 0 guarantees Δ3(b)>0\Delta_{3}(b) > 0 directly while preserving Lemma 5.1. Neither argument is encoded as a separate Lean declaration in the current repository.

Illustrative Examples, Limitations, and Reproducibility

Nondegenerate Box and Completely Degenerate Singleton Examples

We illustrate how the formalized formulas operate identically on a full-width four-interval box and on a completely degenerate singleton family.

Example 1 (Nondegenerate Four-Interval Box). Consider the robustly Hurwitz-stable fourth-order interval family KK defined by

a1∈[2,3],a2∈[5,6],a3∈[4,6],a4∈[3,4].a_1 \in[2,3], \quad a_2 \in[5,6], \quad a_3 \in[4,6], \quad a_4 \in[3,4].

Here l=2l=2, u=3u=3, A=5A=5, C=4C=4, and U=6U=6. The worst-case even part E∗(t)=t2−5t+4=(t−1)(t−4)E_*(t)=t^2-5t+4=(t-1)(t-4) has discriminant D=9D=9 and positive roots α=1\alpha=1, β=4\beta=4, with 1=α<l3/u=4/3<u3/l=3<4=β1=\alpha<l_3/u=4/3<u_3/l=3<4=\beta and endpoint slacks δ−=4−3=1>0\delta_-=4-3=1>0, δ+=8−6=2>0\delta_+=8-6=2>0. Equations (18) and (22) give

x=65,y=115,d−=65,d+=95,m=min⁡{35,81125,95,81125}=35.x=\frac{6}{5}, \quad y=\frac{11}{5}, \quad d_-=\frac{6}{5}, \quad d_+=\frac{9}{5}, \quad m=\min\left\{\frac{3}{5},\frac{81}{125},\frac{9}{5},\frac{81}{125}\right\}=\frac{3}{5}.

With 2U(U2+1)=4442U(U^2+1)=444, equation (26) gives ε=3/5444=1740\varepsilon=\frac{3/5}{444}=\frac{1}{740}, and (24) yields the exact integer-coefficient monic common SPR numerator

b(s)=s4+740s3+888s2+1628s+1.(28)b(s)=s^4+740s^3+888s^2+1628s+1. \tag*{(28)}

Example 2 (Completely Degenerate Singleton Family). Consider the singleton family K={(s+1)4=s4+4s3+6s2+4s+1}K=\{(s+1)^4=s^4+4s^3+6s^2+4s+1\}, where all four intervals have zero width: l=u=4l=u=4, A=U=6A=U=6, l3=u3=4l_3=u_3=4, and l4=C=1l_4=C=1. Here the odd-part root endpoints l3/u=u3/l=1l_3/u=u_3/l=1 coincide. Nevertheless, E∗(t)=t2−6t+1E_*(t)=t^2-6t+1 has D=32>0D=32>0 and strictly separated roots α=3−22<β=3+22\alpha=3-2\sqrt{2}<\beta=3+2\sqrt{2}. Evaluating (18)–(26) without modification gives x=2x=2, y=3y=3, δ±=8(2±1)>0\delta_\pm=8(\sqrt{2}\pm1)>0, d±=22d_\pm=2\sqrt{2}, m=min⁡{8(2−2),4,8(2+2),4}=4m=\min\{8(2-\sqrt{2}),4,8(2+\sqrt{2}),4\}=4, ε=4/444=1/111\varepsilon=4/444=1/111, and

b(s)=s4+111s3+222s2+333s+1.(29)b(s)=s^4+111s^3+222s^2+333s+1. \tag*{(29)}

While b(s)=(s+1)4b(s)=(s+1)^4 trivially satisfies b(iω)/a(iω)≡1>0b(i\omega)/a(i\omega)\equiv1>0 for this singleton, Example 2 shows that the degeneracy-uniform formulas produce a valid witness without branching on interval widths.

Conservative Margins and Practical Control Limitations

As Examples 1 and 2 illustrate, the constructed monic numerators have relatively large intermediate coefficients (1/ε∼102–103)(1/\varepsilon\sim10^2\text{--}10^3). This is a direct consequence of three conservative bounding choices made to streamline formal verification:

  1. Decoupled worst-case even and odd bounds: Stages 3 and 4 bound Ea(t)E_a(t) globally by E∗(t)=t2−l2t+u4E_*(t)=t^2-l_2t+u_4 while independently setting (a1,a3)(a_1,a_3) to (u1,l3)(u_1,l_3) on [0,y][0,y] and (l1,u3)(l_1,u_3) on [y,∞)[y,\infty);

  1. Midpoint bisection for the uniform margin: To avoid formalizing constrained quadratic minimization and vertex-location case splits, Lemma 4.3 bounds the sum of the square and linear terms via midpoint bisection;

  1. Cubic scaling in the perturbation denominator: Lemma 5.1 bounds (t2+1)Ea(t)(t^2+1)E_a(t) over 0<t<U=u20<t<U=u_2 by −U(U2+1)t-U(U^2+1)t, causing ε−1=2U(U2+1)/m\varepsilon^{-1}=2U(U^2+1)/m to scale cubically with u2u_2.

Accordingly, our explicit formulas are designed to provide an algebraically transparent, kernel-checkable proof of universal mathematical existence, rather than to optimize controller gain or numerical conditioning. In practical control synthesis, once existence is guaranteed by Theorem 2.1, one can select well-conditioned numerator coefficients within the nonempty convex intersection ⋂i=14Ωai\bigcap_{i=1}^4\Omega^{a_i} via linear matrix inequalities (LMIs) or convex optimization [12].

Library Reuse, Project Infrastructure, and Reproducibility

Following the reporting practice of [3], we distinguish three categories of formal components (all new code resides in the project namespace SPR and has not been upstreamed to mathlib, so we do not claim it as a mathlib contribution):

  • Reused mathlib infrastructure: Univariate polynomials (Polynomial) and complex evaluation (eval2), the complex Gauss–Lucas theorem (rootSet_derivative_subset_convexHull_rootSet), the real-root sign lemma (zero_lt_eval_of_roots_lt_of_leadingCoeff_nonneg), real square roots (Real.sqrt), complex norm-square positivity (Complex.normSq_pos), and arithmetic/ring automation (ring, field_simp, linarith, nlinarith, positivity).

  • Degree-independent project infrastructure (Lean/SPR/Common/Hurwitz.lean): Defines the semantic predicate SPR.IsHurwitz for polynomials of arbitrary degree and proves positivity on [0,∞)[0,\infty) (eval_pos), stability of derivatives (hurwitz_derivative), and strict positivity of all coefficients (hurwitz_coeff_pos). This module places no restriction on polynomial degree and is reusable across higher-order SPR formalizations.

  • Fourth-order synthesis and axiom auditor (Lean/SPR/N4/, Main.lean, Audit.lean): The four modules in Lean/SPR/N4/ (521 lines, 22 explicit theorem declarations, plus 1 entry theorem in Main.lean, generating 58 fourth-order theorem constants in the compiled environment) implement Stages 2–5. During lake build, Lean/Audit.lean traverses the environment’s constant table via Lean.collectAxioms to verify that every theorem (including private helpers) depends only on Lean’s three standard axioms (prop ext, Classical.choice, and Quot.sound), validated against a negative test injecting a forbidden axiom.

The formalization is locked to Lean 4.30.0 and mathlib v4.30.0. All source files, toolchain locks, and build instructions are publicly available at https://github.com/dgjszy/quartic-spr-proof, where running lake build replays the complete verification and axiom audit.

Conclusion

We have presented a formalization-oriented proof reconstruction and complete Lean 4 verification of the fourth-order interval SPR synthesis theorem of Yu and Wang [11]. By combining a degree-six horizontal translation polynomial for the third Hurwitz determinant, a degeneracy-uniform chord-intersection candidate, piecewise square-plus-linear lower bounds with an explicit frequency margin, and a quantifier-preserving single-step quartic perturbation, the formal proof covers all nondegenerate and degenerate fourth-order interval boxes and all real frequencies within 598 lines of kernel-checked Lean 4 code.

Acknowledgements

Generative AI tools were used to assist with algebraic calculations, proof development, and manuscript editing. All AI-generated suggestions were verified against the mathematical arguments and the formal development; the formal claims are supported by Lean kernel checking, and full responsibility for the final manuscript rests with the authors. The complete Lean 4 formalization is publicly available at https://github.com/dgjszy/quartic-spr-proof.

Algebraic Expansions and Piecewise Lower-Bound Details

Horizontal Translation Polynomial and Third Hurwitz Determinant

For a monic quartic polynomial a(s)=s4+a1s3+a2s2+a3s+a4a(s)=s^4+a_1s^3+a_2s^2+a_3s+a_4 and r∈Rr\in\mathbb{R}, binomial expansion of the horizontally shifted polynomial ar(s)=a(s+r)a_r(s)=a(s+r) (shifted in Lean/SPR/N4/Hurwitz.lean) gives the shifted coefficients

ar,1=a1+4r,ar,2=a2+3a1r+6r2,ar,3=a3+2a2r+3a1r2+4r3,ar,4=a4+a3r+a2r2+a1r3+r4.(30)\begin{aligned} a_{r,1}&=a_1+4r, & a_{r,2}&=a_2+3a_1r+6r^2,\\ a_{r,3}&=a_3+2a_2r+3a_1r^2+4r^3, & a_{r,4}&=a_4+a_3r+a_2r^2+a_1r^3+r^4. \tag*{(30)} \end{aligned}

Substituting (A.1) into Δ3(ar)=ar,1ar,2ar,3−ar,32−ar,12ar,4\Delta_3(a_r)=a_{r,1}a_{r,2}a_{r,3}-a_{r,3}^2-a_{r,1}^2a_{r,4} and collecting powers of rr yields the degree-six polynomial H(r)H(r) (determinantPolynomial):

H(r)=64r6+96a1r5+(48a12+32a2)r4+(8a13+32a1a2)r3+(4a22+8a12a2+4a1a3−16a4)r2+(2a1a22+2a12a3−8a1a4)r+Δ3(a).(31)\begin{aligned} H(r)={}&64r^6+96a_1r^5+(48a_1^2+32a_2)r^4+(8a_1^3+32a_1a_2)r^3\\ &+(4a_2^2+8a_1^2a_2+4a_1a_3-16a_4)r^2\\ &+(2a_1a_2^2+2a_1^2a_3-8a_1a_4)r+\Delta_3(a). \tag*{(31)} \end{aligned}

In Lemma 3.1, if a monic quartic p(s)=s4+p1s3+p2s2+p3s+p4p(s)=s^4+p_1s^3+p_2s^2+p_3s+p_4 satisfies p1>0p_1>0, p3>0p_3>0, and Δ3(p)=p1p2p3−p32−p12p4=0\Delta_3(p)=p_1p_2p_3-p_3^2-p_1^2p_4=0, then at ω=p3/p1>0\omega=\sqrt{p_3/p_1}>0 (ω2=p3/p1\omega^2=p_3/p_1) its odd part vanishes, Op(ω2)=p3−p1(p3/p1)=0O_p(\omega^2)=p_3-p_1(p_3/p_1)=0, and its even part is

Ep(ω2)=(p3p1)2−p2(p3p1)+p4=−p1p2p3−p32−p12p4p12=−Δ3(p)p12=0.E_p(\omega^2)=\left(\frac{p_3}{p_1}\right)^2-p_2\left(\frac{p_3}{p_1}\right)+p_4=-\frac{p_1p_2p_3-p_3^2-p_1^2p_4}{p_1^2}=-\frac{\Delta_3(p)}{p_1^2}=0.

Hence p(iω)=Ep(ω2)+iωOp(ω2)=0p(i\omega)=E_p(\omega^2)+i\omega O_p(\omega^2)=0 (determinant_zero_root). Applying this to p=arp=a_r (r≥0r\geq0) gives a(r+iωr)=ar(iωr)=0a(r+i\omega_r)=a_r(i\omega_r)=0.

Derivation of the Piecewise Square-Plus-Linear Bounds (Lemma 4.2)

Proof of Lemma 4.2. For any a∈Ka\in K, we have l≤a1≤ul\leq a_1\leq u, A≤a2A\leq a_2, l3≤a3≤u3l_3\leq a_3\leq u_3, and a4≤Ca_4\leq C. Since x>0x>0 (Lemma 4.1) and t≥0t\geq0, we have for all t≥0t\geq0

−xEa(t)=−x(t2−a2t+a4)≥−x(t2−At+C)=−x(t−α)(t−β).-xE_a(t)=-x(t^2-a_2t+a_4)\geq-x(t^2-At+C)=-x(t-\alpha)(t-\beta).

(1) When 0≤t≤y0\leq t\leq y, we have (t−y)t≤0(t-y)t\leq0 and y−t≥0y-t\geq0, so a1(t−y)t≥u(t−y)ta_1(t-y)t\geq u(t-y)t and a3(y−t)≥l3(y−t)a_3(y-t)\geq l_3(y-t). Substituting these into (16) gives

Fa(t)≥u(t−y)t+l3(y−t)−x(t−α)(t−β)=u(t−α)(t−y)+uα(t−y)+l3(y−t)−x(t−α)(t−β)=(t−α)[u(t−y)−x(t−β)]+(l3−uα)(y−t).\begin{aligned} F_a(t)&\geq u(t-y)t+l_3(y-t)-x(t-\alpha)(t-\beta)\\ &=u(t-\alpha)(t-y)+u\alpha(t-y)+l_3(y-t)-x(t-\alpha)(t-\beta)\\ &=(t-\alpha)\left[u(t-y)-x(t-\beta)\right]+(l_3-u\alpha)(y-t). \end{aligned}

By the first chord identity in (17), uy−xβ=(u−x)αuy-x\beta=(u-x)\alpha, so

u(t−y)−x(t−β)=(u−x)t−(uy−xβ)=(u−x)(t−α),u(t-y)-x(t-\beta)=(u-x)t-(uy-x\beta)=(u-x)(t-\alpha),

which together with δ−=l3−uα\delta_-=l_3-u\alpha yields (20) (residual_lower_left).

(2) Symmetrically, when t≥yt\geq y, we have (t−y)t≥0(t-y)t\geq0 and y−t≤0y-t\leq0, so a1(t−y)t≥l(t−y)ta_1(t-y)t\geq l(t-y)t and a3(y−t)≥u3(y−t)=−u3(t−y)a_3(y-t)\geq u_3(y-t)=-u_3(t-y). Substituting these into (16) and applying the second chord identity ly−xα=(l−x)βly-x\alpha=(l-x)\beta gives

Fa(t)≥l(t−y)t−u3(t−y)−x(t−α)(t−β)=(t−β)[l(t−y)−x(t−α)]+(lβ−u3)(t−y)=(l−x)(t−β)2+δ+(t−y),\begin{aligned} F_a(t)&\geq l(t-y)t-u_3(t-y)-x(t-\alpha)(t-\beta)\\ &=(t-\beta)\left[l(t-y)-x(t-\alpha)\right]+(l\beta-u_3)(t-y)\\ &=(l-x)(t-\beta)^2+\delta_+(t-y), \end{aligned}

which establishes (21) (residual_lower_right).

References

  1. [1]Brian D. O. Anderson, Soura Dasgupta, Pramod P. Khargonekar, Frantisek J. Kraus, and Mohamed Mansour. Robust strict positive realness: characterization and construction. IEEE Transactions on Circuits and Systems, 37(7):869–876, 1990.
  2. [2]A. Betser and E. Zeheb. Design of robust strictly positive real transfer functions. IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, 40(9):573–580, 1993.DOI
  3. [3]Sander R. Dahmen, Johannes Hölzl, and Robert Y. Lewis. Formalizing the solution to the cap set problem. In 10th International Conference on Interactive Theorem Proving (ITP 2019), volume 141 of Leibniz International Proceedings in Informatics (LIPIcs), pages 15:1–15:19. Schloss Dagstuhl–Leibniz-Zentrum für Informatik, 2019.arxiv.org/abs/1907.01449
  4. [4]Soura Dasgupta and AS Bhagwat. Conditions for designing strictly positive real transfer functions for adaptive output error identification. IEEE Transactions on Circuits and Systems, 34(7):731–736, 1987.DOI
  5. [5]Leonardo de Moura and Sebastian Ullrich. The Lean 4 theorem prover and programming language. In Automated Deduction — CADE 28, volume 12699 of Lecture Notes in Computer Science, pages 625–635. Springer, 2021.DOI
  6. [6]Vladimir L. Kharitonov. The asymptotic stability of the equilibrium state of a family of systems of linear differential equations. Differentsial’nye Uravneniya, 14(11):2086–2088, 1978.
  7. [7]Wenda Li and Lawrence C. Paulson. Counting polynomial roots in Isabelle/HOL: a formal proof of the Budan–Fourier theorem. In Proceedings of the 8th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2019), pages 52–64. ACM, 2019.arxiv.org/abs/1811.11093
  8. [8]Assia Mahboubi and Thomas Sibut-Pinote. A formal proof of the irrationality of ζ(3). Logical Methods in Computer Science, 17(1):16:1–16:28, 2021.
  9. [9]The mathlib Community. The Lean mathematical library. In Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020), pages 367–381. ACM, 2020.DOI
  10. [10]Long Wang and Wensheng Yu. Robust SPR synthesis for low-order polynomial segments and interval polynomials. In Proceedings of the 2001 American Control Conference, volume 5, pages 3612–3617. IEEE, 2001.DOI
  11. [11]Wensheng Yu and Long Wang. Anderson’s claim on fourth-order SPR synthesis is true. IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, 48(4):506–509, 2001.DOI
  12. [12]Wensheng Yu and Long Wang. Design of robust strictly positive real transfer functions. In Fei-Yue Wang and Derong Liu, editors, Networked Control Systems: Theory and Applications, pages 293–341. Springer, London, 2008.DOI
  13. [13]Wensheng Yu, Long Wang, and Jürgen Ackermann. Robust strictly positive real synthesis for polynomial families of arbitrary order. Science in China Series F: Information Sciences, 47(4):475–489, 2004.

Paper details

vlnc:W_6zat44gs
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 12

downloads · 1

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

OpenAI ChatGPT

View statement
Looking for related papers…
Contents