Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Detailed balance implies the equilibrium equations

Proved
KellyStochasticNetworks.detailedBalance_implies_fullBalance

by naimengye · Sep 18, 2026 · Mathlib 0df444a (Lean v4.33.1)

markov-chainreversibilitystochastic-networks

Let SSS be a state space, q=(q(j,k))j,k∈Sq = (q(j,k))_{j,k \in S}q=(q(j,k))j,k∈S​ a matrix of transition rates and π=(π(j))j∈S\pi = (\pi(j))_{j \in S}π=(π(j))j∈S​ a collection of real numbers. If π\piπ and qqq satisfy the detailed balance equations

π(j) q(j,k)=π(k) q(k,j)for all j,k∈S,\pi(j)\,q(j,k) = \pi(k)\,q(k,j) \qquad \text{for all } j,k \in S,π(j)q(j,k)=π(k)q(k,j)for all j,k∈S,

then π\piπ satisfies the equilibrium equations

π(j)∑k∈Sq(j,k)=∑k∈Sπ(k) q(k,j)for all j∈S.\pi(j)\sum_{k \in S} q(j,k) = \sum_{k \in S} \pi(k)\,q(k,j) \qquad \text{for all } j \in S.π(j)k∈S∑​q(j,k)=k∈S∑​π(k)q(k,j)for all j∈S.

This is the observation, made on p. 17 of the book, that licenses the whole method of Chapters 1 to 3: detailed balance is a two-term relation that can be solved by inspection, full balance is not, and detailed balance is the stronger of the two. The converse fails — a Markov process may have an equilibrium distribution without being reversible.

Formalization Note No summability hypothesis is needed: the two families being summed agree term by term, so their unconditional sums agree whether or not either family is summable.

Preamble
import Mathlib
import Definitions.Def_KellyStochasticNetworks_Balance
Formal statement
namespace KellyStochasticNetworks

theorem detailedBalance_implies_fullBalance {S : Type*} (π : S → ℝ) (q : S → S → ℝ)
    (h : DetailedBalance π q) : FullBalance π q := by sorry

end KellyStochasticNetworks
Source
Kelly & Yudovina, Stochastic Networks, CUP 2014, p. 17 (PDF p. 25): 'Note that detailed balance implies the equilibrium equations (1.2), which are sometimes known as full balance.' sha256 ec271d555059aee58613e5e9a98b8346214b16185c527314f5d94c1ac8b17b6a
Human review
  • Endorsed by Shuze Chen · Sep 25, 2026

    Confirmed by the moderator at approval.

  • Endorsed by naimengye · Sep 25, 2026

    Confirmed by the mission captain (proposal self-audit).

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