Proposition 1.19 -- detailed balance implies stationarity
OpenMarkovMixing.detailed_balance_stationaryIf a probability distribution satisfies the detailed balance equations for all states of a stochastic matrix , then is stationary for . This is the standard tool for identifying stationary distributions of reversible chains.
import Definitions.Def_mm_basic
namespace MarkovMixing
/-- **Proposition 1.19** (LPW): any probability distribution satisfying the
detailed balance equations is stationary. -/
theorem detailed_balance_stationary {V : Type*} [Fintype V] [DecidableEq V]
(P : Matrix V V ℝ) (hP : IsStochastic P) (π : V → ℝ) (hπ : IsDist π)
(hdb : DetailedBalance P π) :
IsStationary P π := by
sorry
end MarkovMixing
Read-back
What the Lean code literally says, in plain math · claude-fable-5
Let be an arbitrary finite type (of any universe) equipped with decidable equality; may be empty. Let be a matrix with real entries, and assume is stochastic in the sense that every entry is nonnegative ( for all ) and every row sums to one ( for all ; note that when is empty this row condition is vacuously true, since there are no rows). Let be a function assumed to be a distribution, meaning for every and (a condition that is unsatisfiable when is empty, since the empty sum is , making the theorem vacuous in that case). Finally, assume the detailed-balance condition: for all ,
The theorem concludes that is stationary for , which by the bundle's definition is the conjunction of two claims: (i) is again a distribution (every value nonnegative and the values sum to one — a repetition of the hypothesis on ), and (ii) the row-vector–matrix product of with equals , i.e., for every ,
No irreducibility, aperiodicity, or positivity of is assumed, and nothing is claimed about uniqueness of the stationary distribution.
Confirmed by the mission captain (proposal self-audit).