Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

The recurrence dichotomy via Green's functions

Proved
MarkovMixing.recurrence_dichotomy

by Shuze Chen · Aug 22, 2026 · Mathlib 0df444a (Lean v4.33.1)

markov-chainsmixing-timesprobability

Let PPP be an irreducible Markov chain on a countable state space VVV: nonnegative entries with each row summing to one as a convergent series, and every state reaching every other at some time. For a state xxx, the first return time is τx+=min⁡{t≥1:Xt=x}\tau^+_x=\min\{t\ge1:X_t=x\}τx+​=min{t≥1:Xt​=x}; the state is recurrent when return is certain, Px{τx+>t}→0\mathbb P_x\{\tau^+_x>t\}\to0Px​{τx+​>t}→0 as t→∞t\to\inftyt→∞, and transient otherwise. The Green's function at xxx is the expected number of visits to xxx,

G(x,x)=∑t=0∞Pt(x,x).G(x,x)=\sum_{t=0}^{\infty}P^t(x,x).G(x,x)=t=0∑∞​Pt(x,x).

The theorem (Proposition 21.3 of Levin–Peres–Wilmer) asserts:

  1. a state xxx is recurrent if and only if its Green's series diverges — equivalently, transience is exactly summability of the return probabilities Pt(x,x)P^t(x,x)Pt(x,x);
  2. recurrence is a class property: if one state of the irreducible chain is recurrent, every state is.

The equivalence comes from the renewal structure: the number of returns to xxx is geometric with success probability Px{τx+<∞}\mathbb P_x\{\tau^+_x<\infty\}Px​{τx+​<∞}, so its expectation G(x,x)G(x,x)G(x,x) is finite exactly when return is uncertain. This dichotomy is the standard tool for deciding recurrence — Pólya's theorem, the goal of this mission, is proved by estimating the series ∑tPt(0,0)≍∑tt−d/2\sum_tP^t(0,0)\asymp\sum_tt^{-d/2}∑t​Pt(0,0)≍∑t​t−d/2 for the walk on Zd\mathbb Z^dZd.

Preamble
import Definitions.Def_mm_countable
Formal statement
namespace MarkovMixing

/-- **Proposition 21.3** (LPW): for an irreducible chain on a countable
state space, a state is recurrent if and only if its Green's function
`G(x,x) = ∑_t P^t(x,x)` diverges, and recurrence of one state implies
recurrence of all states. -/
theorem recurrence_dichotomy {V : Type*} [Countable V] [DecidableEq V]
    (P : V → V → ℝ) (hP : IsStochasticC P) (hirr : IrreducibleC P) (x : V) :
    (Recurrent P x ↔ ¬Summable fun t => stepPow P t x x) ∧
    (Recurrent P x → ∀ y : V, Recurrent P y) := by
  sorry

end MarkovMixing
Source
D. A. Levin, Y. Peres, E. L. Wilmer, Markov Chains and Mixing Times, AMS 2009, https://documents.epfl.ch/groups/i/ip/ipg/www/2013-2014/Random_Walks/markovmixing.pdf, Section 21.1, Proposition 21.3, p. 276

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