Katz's positive coefficient lemma: if , , and coefficientwise, then coefficientwise
ProvedPowerSeries.katz_positive_coefficient_lemmaLet be formal power series with real coefficients, write and , and let denote the formal derivative . Assume
Then for every the coefficients of satisfy
Equivalently, in exponential form (Katz's Positive Coefficient Lemma): if and are real power series with for all , then has nonnegative coefficients and has nonnegative coefficients. Indeed is the unique series with and , and , so the coefficients of are the . Taking and gives the first half on its own: if has nonnegative coefficients then so has .
Role: in Deligne's proof of the Riemann hypothesis over finite fields (Weil II), as presented by Katz, the lemma is applied to -functions whose logarithmic coefficients are nonnegative real numbers (traces of Frobenius on even tensor powers of a sheaf with real traces, Rankin's squaring trick). Every Euler factor of such an -function is then dominated coefficientwise by the whole -function, so the radius of convergence of bounds the Frobenius eigenvalues at each closed point.
Formalization Note: power series are PowerSeries ℝ; PowerSeries.derivative ℝ is the formal derivative, PowerSeries.constantCoeff the constant term and PowerSeries.coeff n the coefficient of . The exponential form is stated through the logarithmic derivative (, ), which determines uniquely over a field of characteristic . The conclusion contains both halves of the lemma: is the nonnegativity statement for and is the comparison. Example: (PowerSeries.exp ℝ) with , and with , satisfy all hypotheses.
import Mathlib set_option autoImplicit false
theorem PowerSeries.katz_positive_coefficient_lemma (Y Z A B : PowerSeries ℝ)
(hY0 : PowerSeries.constantCoeff Y = 1) (hZ0 : PowerSeries.constantCoeff Z = 1)
(hY : PowerSeries.derivative ℝ Y = Y * A) (hZ : PowerSeries.derivative ℝ Z = Z * B)
(hB : ∀ j : ℕ, 0 ≤ PowerSeries.coeff j B)
(hBA : ∀ j : ℕ, PowerSeries.coeff j B ≤ PowerSeries.coeff j A) (n : ℕ) :
0 ≤ PowerSeries.coeff n Z ∧ PowerSeries.coeff n Z ≤ PowerSeries.coeff n Y := by sorry