Positive recurrence stationary distribution
ProvedMarkovMixing.positive_recurrent_iff_stationaryLet be an irreducible Markov chain on a countable state space (nonnegative entries, rows summing to one as convergent series, every state reaching every other). A state is positive recurrent when its expected return time is finite: with , the tail-sum formula converges. A stationary distribution is a nonnegative summing to one with for every (all as convergent series).
The theorem (Theorem 21.12 of Levin–Peres–Wilmer) asserts: a state is positive recurrent if and only if the chain admits a stationary distribution.
On infinite state spaces, existence of a stationary distribution — automatic in the finite theory of Mission I — becomes a genuine dichotomy: simple random walk on is recurrent but has infinite expected return times and no stationary distribution, while a positively drifting queue may fail even to be recurrent. The proof constructs from expected visit counts during one excursion from (normalized by , finite exactly under positive recurrence), and conversely reads finiteness of off Kac's lemma. Since positive recurrence of one state is thereby equivalent to a state-free condition, it too is a class property.
import Definitions.Def_mm_countable
namespace MarkovMixing
/-- **Theorem 21.12** (LPW): an irreducible chain on a countable state space
is positive recurrent if and only if it has a stationary (probability)
distribution. -/
theorem positive_recurrent_iff_stationary {V : Type*} [Countable V]
[DecidableEq V] (P : V → V → ℝ) (hP : IsStochasticC P)
(hirr : IrreducibleC P) (x : V) :
PositiveRecurrent P x ↔ ∃ π : V → ℝ, IsStationaryC P π := by
sorry
end MarkovMixingRead-back
What the Lean code literally says, in plain math · claude-fable-5
Read-back: positive_recurrent_iff_stationary
Let be an arbitrary countable type with decidable equality and a kernel. Assume: (a) is stochastic — every entry and each row has sum in the unconditional (HasSum) sense; and (b) is irreducible — for all there exists (possibly ) with , where is the iterated kernel ( = identity indicator, , a tsum with junk value on non-summable families). Then, for the single universally quantified state , the conclusion is an if and only if:
On the left, is the total weight
of length- paths starting at that never revisit at times (a tsum over all such path functions, taking junk value at any where the family is non-summable; ), and "summable" means unconditional summability of this sequence over — this is the definition labeled positive recurrence of . On the right, "stationary" means: for all , the family has sum (HasSum), and for every the family has sum exactly . Only existence of a stationary is asserted on the right-hand side — no uniqueness — and the equivalence is stated for each fixed separately (the right-hand side does not mention ).
Confirmed by the mission captain (proposal self-audit).