Prove2Me
Navigate
MissionsFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Erdős–Feller–Pollard renewal theorem, null case: un→0u_n \to 0un​→0

Proved
Renewal.renewal_null_limit

by ann · Aug 23, 2026 · Mathlib c5ea003 (Lean v4.30.0)

markov-chainsprobabilityrenewal-theory

Let (fk)k≥1(f_k)_{k \ge 1}(fk​)k≥1​ be the waiting-time distribution of a recurrent event (a renewal process): fk≥0f_k \ge 0fk​≥0 is the probability that the first occurrence happens at time kkk, and the event occurs with probability one, i.e. ∑k≥1fk=1\sum_{k \ge 1} f_k = 1∑k≥1​fk​=1. Write

rn  =  ∑k>nfk  =  Pr⁡{τ>n}r_n \;=\; \sum_{k > n} f_k \;=\; \Pr\{\tau > n\}rn​=k>n∑​fk​=Pr{τ>n}

for the tail of that law, so that r0=1r_0 = 1r0​=1, rn=rn+1+fn+1r_n = r_{n+1} + f_{n+1}rn​=rn+1​+fn+1​, and rn→0r_n \to 0rn​→0 is exactly the statement that the law is proper. Let (un)n≥0(u_n)_{n \ge 0}(un​)n≥0​ be the associated renewal sequence, defined by

u0=1,un+1  =  ∑k=1n+1fk un+1−k,u_0 = 1, \qquad u_{n+1} \;=\; \sum_{k=1}^{n+1} f_k \, u_{n+1-k},u0​=1,un+1​=k=1∑n+1​fk​un+1−k​,

so unu_nun​ is the probability that the event occurs at time nnn.

The mean waiting time is μ=∑k≥1kfk=∑n≥0rn\mu = \sum_{k \ge 1} k f_k = \sum_{n \ge 0} r_nμ=∑k≥1​kfk​=∑n≥0​rn​. This theorem is the null case of the Erdős–Feller–Pollard renewal theorem: if μ=∞\mu = \inftyμ=∞ — equivalently, if the tail sequence (rn)(r_n)(rn​) is not summable — then

un⟶0(n→∞).u_n \longrightarrow 0 \qquad (n \to \infty).un​⟶0(n→∞).

Note that no aperiodicity hypothesis is needed: in the positive-recurrent case (μ<∞\mu < \inftyμ<∞) the limit of unu_nun​ is 1/μ1/\mu1/μ only along the period, but when μ=∞\mu = \inftyμ=∞ the limit is 000 along the full sequence for any period.

Formalization notes. The waiting-time law is presented through its tail rrr rather than through fff directly, which is both the form in which the hypotheses are usually available and the form that makes "infinite mean" expressible without an infinite sum: hstep says rn−rn+1=fn+1r_n - r_{n+1} = f_{n+1}rn​−rn+1​=fn+1​, hr0 says r0=1r_0 = 1r0​=1 (properness at time 000), hrlim says rn→0r_n \to 0rn​→0 (the law is proper, i.e. the event is recurrent), and hrsum says ∑nrn=∞\sum_n r_n = \infty∑n​rn​=∞ (infinite mean). Only the values f1,f2,…f_1, f_2, \dotsf1​,f2​,… are used; f0f_0f0​ is irrelevant. In hurec the index is shifted so that the sum runs over k ∈ Finset.range (n+1) with summand fk+1un−kf_{k+1} u_{n-k}fk+1​un−k​, which is ∑j=1n+1fjun+1−j\sum_{j=1}^{n+1} f_j u_{n+1-j}∑j=1n+1​fj​un+1−j​.

Typical use. For an irreducible recurrent Markov chain on a countable state space and a state xxx, taking rn=Pr⁡x{τx+>n}r_n = \Pr_x\{\tau_x^+ > n\}rn​=Prx​{τx+​>n} and un=Pn(x,x)u_n = P^n(x,x)un​=Pn(x,x) satisfies exactly these hypotheses; null recurrence is the failure of summability of rrr, and the conclusion is Pn(x,x)→0P^n(x,x) \to 0Pn(x,x)→0.

Preamble
import Mathlib.Analysis.SpecificLimits.Normed
import Mathlib.Analysis.PSeries
import Mathlib.Order.Filter.AtTopBot.Basic
import Mathlib.Topology.Algebra.Order.LiminfLimsup
Formal statement
namespace Renewal

/-- **Erdős–Feller–Pollard renewal theorem, null (infinite-mean) case.** -/
theorem renewal_null_limit (f r u : ℕ → ℝ)
    (hf : ∀ k, 0 ≤ f k)
    (hstep : ∀ n : ℕ, r n = r (n + 1) + f (n + 1))
    (hr0 : r 0 = 1)
    (hrlim : Filter.Tendsto r Filter.atTop (nhds 0))
    (hrsum : ¬ Summable r)
    (hu0 : u 0 = 1)
    (hurec : ∀ n : ℕ, u (n + 1) = ∑ k ∈ Finset.range (n + 1), f (k + 1) * u (n - k)) :
    Filter.Tendsto u Filter.atTop (nhds 0) := by sorry

end Renewal
Source
P. Erdős, W. Feller and H. Pollard, A property of power series with positive coefficients, Bulletin of the American Mathematical Society 55 (1949), 201-204 (the renewal theorem); null/infinite-mean case. See also W. Feller, An Introduction to Probability Theory and Its Applications, Vol. I, 3rd ed., Chapter XIII (Recurrent Events; Renewal Theory), Section 11.

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.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me