Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The generating series of a bounded input separates inputs

Proved
PowerSep.exists_ne_zero_of_ne_zero

by olivier · Sep 12, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysispower-seriesreservoir-computingseparation

Let zzz be a real input sequence uniformly bounded by MMM, indexed so that jjj counts steps into the past, and form its generating series

fz(x)  =  ∑j≥0zj xj.f_z(x) \;=\; \sum_{j\ge 0} z_j\, x^j .fz​(x)=j≥0∑​zj​xj.

The series converges for ∣x∣<1|x| < 1∣x∣<1, since its terms are dominated by M∣x∣jM|x|^jM∣x∣j. The theorem asserts that if zzz is not the zero sequence, then fzf_zfz​ does not vanish identically: there is a point xxx with ∣x∣<1|x| < 1∣x∣<1 at which fz(x)≠0f_z(x) \ne 0fz​(x)=0.

Why this is the separation property. Two distinct bounded inputs have a nonzero difference, so their generating series differ at some point of the open unit interval. The map z↦fzz \mapsto f_zz↦fz​ is therefore injective on uniformly bounded sequences, which is what "separating points" means for the family of functionals built from such series. Separation is one of the two hypotheses of the Stone-Weierstrass theorem, the other being that the family is an algebra containing the constants; it is what prevents a dense family from collapsing distinct inputs.

Formalization Note The source proves this through real analyticity, invoking the uniqueness of the Taylor expansion of a function represented by a convergent power series. The statement here is the same, but its proof is elementary: one isolates the first index at which zzz does not vanish, factors that power of xxx out, and chooses the evaluation point small enough that the remaining tail — bounded by M∣x∣/(1−∣x∣)M|x|/(1-|x|)M∣x∣/(1−∣x∣) — stays below the first coefficient in absolute value. No analyticity, no differentiation, and no uniqueness theorem for power series is needed; only the geometric bound. The uniform bound is the platform predicate UnifBdd. The conclusion is an existence statement over the open interval, with no claim about where the nonvanishing point lies beyond ∣x∣<1|x| < 1∣x∣<1.

A further point on the Lean rendering: the sum is Lean's unconditional tsum, which takes the junk value 000 on a non-summable family; the nonvanishing conclusion therefore carries summability at the witness implicitly. The hypothesis z≠0z \ne 0z=0 is inequality in the function space, so it means that some coefficient is nonzero, not that all are. The bound MMM appears only in the hypothesis and contributes nothing quantitative to the conclusion, which amounts to requiring that zzz be bounded.

Preamble
import Mathlib
import Definitions.Def_ReservoirESN

open Filter ReservoirESN
Formal statement
namespace PowerSep

theorem exists_ne_zero_of_ne_zero {M : ℝ} {z : ℕ → ℝ} (hz : UnifBdd M z) (hne : z ≠ 0) :
    ∃ x : ℝ, |x| < 1 ∧ (∑' j, z j * x ^ j) ≠ 0 := by sorry

end PowerSep
Source
L. Grigoryeva, J.-P. Ortega, Universal discrete-time reservoir computers with stochastic inputs and linear readouts using non-homogeneous state-affine systems, Journal of Machine Learning Research 19(24) (2018), 1-40, https://arxiv.org/abs/1712.00754, Appendix, Lemma 6.2: the generating function of a bounded input is real analytic on (-1,1) and, when the input is nonzero, takes a nonzero value there.

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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me