Real exponential sums with terms and zeros: the coefficients alternate in sign
ProvedRealExpSum.sign_alternation_of_card_zerosThis is the extremal case of Descartes' rule of signs for real exponential sums (Dirichlet polynomials).
Let , let be real numbers, and let be real numbers that are not all zero. Consider the exponential sum
Suppose that vanishes at distinct real points . Then there is a sign such that
In particular no coefficient vanishes, consecutive coefficients have opposite signs, and to the left of its zeros has the sign of , the coefficient of the smallest exponent.
A nonzero exponential sum with terms has at most real zeros, and the statement describes the sums that attain this bound. It determines the sign of such a sum on every interval between consecutive zeros, which is the input of comparison arguments for interpolating exponential sums, Müntz polynomials and other Chebyshev systems.
Formalization Note The zeros are given as a finite set of real numbers with on which vanishes; multiplicities are not used. The exponents are a strictly increasing family indexed by . For the set is empty and the statement says that has the sign of everywhere.
import Mathlib
namespace RealExpSum
/-- **Exponential sums with the largest number of zeros: the coefficients alternate in sign.**
Let `lam 0 < lam 1 < ... < lam (n - 1)` be real exponents and `f(t) = Σ_j c_j e^{lam_j t}` a real
exponential sum whose coefficients are not all zero. If `f` vanishes at `n - 1` distinct real
points (the finite set `Z`), then there is a sign `ε = 1` or `ε = -1` such that
`ε (-1)^j c_j > 0` for every `j`, and `ε f(t) > 0` for every `t` to the left of all the zeros.
This is the extremal case of Descartes' rule of signs for Dirichlet polynomials (Laguerre):
G. J. O. Jameson, *Counting zeros of generalized polynomials: Descartes' rule of signs and
Laguerre's extensions*, Math. Gazette 90, no. 518 (2006), 223-234, Theorem 3.1.
**Formalization Note.** The zeros are a finite set `Z` of real numbers with `Z.card + 1 = n`;
multiplicities are not used. For `n = 1` the set `Z` is empty and `f` has the sign of `c 0`
everywhere. -/
theorem sign_alternation_of_card_zeros {n : ℕ} (lam c : Fin n → ℝ) (hlam : StrictMono lam)
(hc : ∃ j, c j ≠ 0) (Z : Finset ℝ)
(hZ : ∀ z ∈ Z, ∑ j, c j * Real.exp (lam j * z) = 0) (hcard : Z.card + 1 = n) :
∃ ε : ℝ, (ε = 1 ∨ ε = -1) ∧ (∀ j : Fin n, 0 < ε * (-1) ^ (j : ℕ) * c j) ∧
∀ t : ℝ, (∀ z ∈ Z, t < z) → 0 < ε * ∑ j, c j * Real.exp (lam j * t) := by sorry
end RealExpSum