Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Stability under local perturbations (Assumption 5.21), the return potential (5.20) and the Lyapunov condition of Theorem 5.12

Definition
ArapostathisAC_VanishingDiscount_Supplement_Uniqueness

by mikedeng1 · Nov 23, 2026 · Mathlib 0df444a (Lean v4.33.1)

average-cost-optimality-equationlyapunov-functionmarkov-chainp2o-batch-supp500p2o-gran-per-chapterp2o-plan-paperp2o-v1

On the countable-state model of §5.3, with τ=min⁡{t≥1:Xt=0}\tau=\min\{t\ge1:X_t=0\}τ=min{t≥1:Xt​=0}:

  1. f∈ΠSSDf\in\Pi_{SSD}f∈ΠSSD​ has finite average cost if it is stable with ρ(f)=∫c dη^(f)<∞\rho(f)=\int c\,d\hat\eta(f)<\inftyρ(f)=∫cdη^​(f)<∞. Assumption 5.21: if f∈ΠSSDf\in\Pi_{SSD}f∈ΠSSD​ has ρ(f)<∞\rho(f)<\inftyρ(f)<∞, every f′∈ΠSDf'\in\Pi_{SD}f′∈ΠSD​ obtained by changing fff at finitely many states is stable with ρ(f′)<∞\rho(f')<\inftyρ(f′)<∞.
  2. The return potential (5.20) of f0∈ΠSDf_0\in\Pi_{SD}f0​∈ΠSD​ and ρ∗\rho^*ρ∗:
h(i)=Eif0[∑t=0τ−1(c(Xt,f0(Xt))−ρ∗)]=Eif0[∑t<τc(Xt,f0(Xt))]−ρ∗Eif0[τ].h(i)=E^{f_0}_i\Big[\sum_{t=0}^{\tau-1}\big(c(X_t,f_0(X_t))-\rho^*\big)\Big]=E^{f_0}_i\Big[\sum_{t<\tau}c(X_t,f_0(X_t))\Big]-\rho^*E^{f_0}_i[\tau].h(i)=Eif0​​[t=0∑τ−1​(c(Xt​,f0​(Xt​))−ρ∗)]=Eif0​​[t<τ∑​c(Xt​,f0​(Xt​))]−ρ∗Eif0​​[τ].
  1. The Lyapunov condition for w:S→R+w:S\to\mathbb R_+w:S→R+​, a finite B⊂SB\subset SB⊂S and ε>0\varepsilon>0ε>0: (a) 0∈B0\in B0∈B and {i∉B:P(j∣i,a)>0 for some j∈B,a∈A}\{i\notin B:P(j\mid i,a)>0\text{ for some }j\in B,a\in A\}{i∈/B:P(j∣i,a)>0 for some j∈B,a∈A} is finite; (b) w(i)→∞w(i)\to\inftyw(i)→∞; (c) ∑jP(j∣i,a)w(j)+ε≤w(i)\sum_jP(j\mid i,a)w(j)+\varepsilon\le w(i)∑j​P(j∣i,a)w(j)+ε≤w(i) for i∉Bi\notin Bi∈/B, a∈Aa\in Aa∈A; (d) a random variable ZZZ (through its law ζ\zetaζ) and λ>0\lambda>0λ>0 with E[eλZ]<∞E[e^{\lambda Z}]<\inftyE[eλZ]<∞ and P({j:∣w(j)−w(i)∣>b}∣i,a)≤P(Z>b)P(\{j:|w(j)-w(i)|>b\}\mid i,a)\le P(Z>b)P({j:∣w(j)−w(i)∣>b}∣i,a)≤P(Z>b) for all iii, aaa and b≥0b\ge0b≥0.

Formalization Note The two expectations in (5.20) are computed in [0,∞][0,\infty][0,∞] and converted to reals; the theorem using hhh assumes both are finite. Conditions (c) and (d) are printed as conditional statements under every policy π\piπ, initial law μ\muμ and time ttt; since the conditioning includes (Xt,At)(X_t,A_t)(Xt​,At​) and every pair (i,a)(i,a)(i,a) can occur, they are equivalent to the one-step forms stated here.

Definition code
import Mathlib
import Definitions.Def_ArapostathisAC_VanishingDiscount_CMP
import Definitions.Def_ArapostathisAC_VanishingDiscount_StationaryChain
import Definitions.Def_ArapostathisAC_VanishingDiscount_Supplement_Occupation

open MeasureTheory ProbabilityTheory Filter Topology
open scoped ENNReal

namespace ArapostathisAC.VanishingDiscount.Supplement

open ArapostathisAC.VanishingDiscount

variable {A : Type*} [MetricSpace A] [MeasurableSpace A] [BorelSpace A]

/-- `f ∈ Π_SSD` has finite average cost `ρ(f) = ∫ c dη̂(f) < ∞` (p. 312): its chain is stable and
has an invariant probability vector `η` with `∫ c dη̂(f) < ∞`. -/
def HasFiniteRho (M : CMP A) (g : StationaryPolicy M) : Prop :=
  IsStableR M (RandRule.ofDet g) ∧ ∃ η, IsInvariantProb M (RandRule.ofDet g) η ∧
    ∫⁻ p, ENNReal.ofReal (M.c p.1 p.2) ∂(occ (RandRule.ofDet g) η) < ⊤

/-- Assumption 5.21 (stability under local perturbations, p. 314): for every `f ∈ Π_SSD` with
`ρ(f) < ∞`, every `f' ∈ Π_SD` obtained from `f` by changing the actions at finitely many states is
also stable and has `ρ(f') < ∞`. -/
def Assumption521 (M : CMP A) : Prop :=
  ∀ g g' : StationaryPolicy M, HasFiniteRho M g → {i | g'.1 i ≠ g.1 i}.Finite → HasFiniteRho M g'

/-- `E^f_i[∑_{t=0}^{τ-1} c(X_t, f(X_t))]` with `τ = min {t ≥ 1 : X_t = 0}`, in `[0, ∞]`. -/
noncomputable def costToReturn (M : CMP A) (g : StationaryPolicy M) (i : ℕ) : ℝ≥0∞ :=
  ∫⁻ ω, ∑' t : ℕ, (if (t : ℕ∞) < returnTime 0 ω then ENNReal.ofReal (M.c (ω t).1 (ω t).2) else 0)
    ∂(pathMeasure M g.toPolicy i)

/-- `E^f_i[τ]`, `τ = min {t ≥ 1 : X_t = 0}`, in `[0, ∞]`. -/
noncomputable def meanReturn0 (M : CMP A) (g : StationaryPolicy M) (i : ℕ) : ℝ≥0∞ :=
  ∫⁻ ω, ((returnTime 0 ω : ℕ∞) : ℝ≥0∞) ∂(pathMeasure M g.toPolicy i)

/-- The function (5.20) (p. 314), `h(i) = E^{f₀}_i[∑_{t=0}^{τ-1} (c(X_t, f₀(X_t)) − ρ*)]`, computed as
`E[∑_{t<τ} c] − ρ* E[τ]`; it is the paper's `h` when both expectations are finite. -/
noncomputable def returnPotential (M : CMP A) (g : StationaryPolicy M) (ρs : ℝ) (i : ℕ) : ℝ :=
  (costToReturn M g i).toReal - ρs * (meanReturn0 M g i).toReal

/-- The Lyapunov condition of Theorem 5.12 (p. 314), for `w : S → ℝ₊`, a finite `B ⊂ S` and
`ε > 0`:
(a) `0 ∈ B` and `{i ∉ B : P(j | i, a) > 0 for some j ∈ B, a ∈ A}` is finite;
(b) `w(i) → ∞` as `i → ∞`;
(c) `E^π_μ[(w(X_{t+1}) − w(X_t) + ε) I{X_t ∉ B} | 𝔉_t] ≤ 0` for every `π`, `μ`, `t`, stated in
the equivalent one-step form `∑_j P(j | i, a) w(j) + ε ≤ w(i)` for all `i ∉ B`, `a ∈ A`;
(d) there are a random variable `Z` (here: its law `ζ` on `ℝ`) and `λ > 0` with
`E[exp(λZ)] < ∞` and `𝒫^π_μ(|w(X_{t+1}) − w(X_t)| > b | 𝔉_t) ≤ P(Z > b)` for all `b ≥ 0`, stated in
the equivalent one-step form `P({j : |w(j) − w(i)| > b} | i, a) ≤ ζ((b, ∞))` for all `i`, `a`. -/
def Lyapunov512 (M : CMP A) (w : ℕ → ℝ) (B : Set ℕ) (ε : ℝ) : Prop :=
  (∀ i, 0 ≤ w i) ∧ B.Finite ∧ 0 < ε ∧
  (0 ∈ B ∧ {i | i ∉ B ∧ ∃ j ∈ B, ∃ a : A, 0 < prob M i a j}.Finite) ∧
  Tendsto w atTop atTop ∧
  (∀ i, i ∉ B → ∀ a : A,
    ∑' j, M.P (i, a) {j} * ENNReal.ofReal (w j) + ENNReal.ofReal ε ≤ ENNReal.ofReal (w i)) ∧
  ∃ ζ : Measure ℝ, IsProbabilityMeasure ζ ∧ ∃ lam : ℝ, 0 < lam ∧
    ∫⁻ z, ENNReal.ofReal (Real.exp (lam * z)) ∂ζ < ⊤ ∧
    ∀ (i : ℕ) (a : A) (b : ℝ), 0 ≤ b → M.P (i, a) {j | b < |w j - w i|} ≤ ζ (Set.Ioi b)

end ArapostathisAC.VanishingDiscount.Supplement
Source
Arapostathis, Borkar, Fernández-Gaucherand, Ghosh, Marcus, Discrete-time controlled Markov processes with average cost criterion: a survey, SIAM J. Control Optim. 31(2) (1993), p. 314, (5.20), Assumption 5.21 and Theorem 5.12 (a)–(d)

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