Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 7 — under (W*) and (B̲), the average cost optimality inequality (31): w̄ + u(x) ≥ min_{a∈A(x)}[c(x,a) + ∫u dq]

Proved
FKZAvg.WStar.lemma_7

by Shuze Chen · Oct 20, 2026 · Mathlib 0df444a (Lean v4.33.1)

average-costoptimality-inequalityvanishing-discount

Consider a Borel Markov decision process with action sets A(x)A(x)A(x), one-step cost ccc and transition probability qqq, satisfying Assumptions (W∗)(\mathrm W^*)(W∗) and (B‾)(\underline{\mathrm B})(B​). Let wˉ=lim sup⁡α↑1(1−α)mα\bar w=\limsup_{\alpha\uparrow1}(1-\alpha)m_\alphawˉ=limsupα↑1​(1−α)mα​ and let u(x)=lim inf⁡α↑1, y→xuα(y)u(x)=\liminf_{\alpha\uparrow1,\,y\to x}u_\alpha(y)u(x)=liminfα↑1,y→x​uα​(y) be the function (21). Then for every x∈Xx\in\mathbb Xx∈X the minimum below is attained and

wˉ+u(x) ≥ min⁡a∈A(x)[c(x,a)+∫Xu(y) q(dy∣x,a)].(31)\bar w+u(x)\ \ge\ \min_{a\in A(x)}\Big[c(x,a)+\int_{\mathbb X}u(y)\,q(dy\mid x,a)\Big].\tag{31}wˉ+u(x) ≥ a∈A(x)min​[c(x,a)+∫X​u(y)q(dy∣x,a)].(31)

This is the average cost optimality inequality from which the stationary optimal policy of Theorem 3 is selected.

Formalization Note The state and action spaces are types X\mathbb XX, A\mathbb AA with a separable metrizable topology whose Borel σ\sigmaσ-algebra is standard Borel; by the Lusin–Souslin theorem these are, up to homeomorphism, exactly the Borel subsets of Polish spaces of the paper. The model is the published SchalAvg.AvgOpt.Model: nonempty action sets A(x)A(x)A(x) with measurable graph Gr(A)\mathrm{Gr}(A)Gr(A), a Markov kernel qqq on all of X×A\mathbb X\times\mathbb AX×A (only its values on Gr(A)\mathrm{Gr}(A)Gr(A) enter) and a cost ccc with values in [0,+∞][0,+\infty][0,+∞]. The paper's cost is only bounded below; adding a constant to ccc changes none of the statements (p. 595), so the nonnegative case is the general one. HasSelector is the paper's standing assumption (ii) of §2 (a measurable ϕ\phiϕ with ϕ(x)∈A(x)\phi(x)\in A(x)ϕ(x)∈A(x)). Optimal values are infima over all admissible (randomized, history-dependent) policies. "min" is stated as: some a∈A(x)a\in A(x)a∈A(x) attains the infimum u∗(x)u^*(x)u∗(x) of (15) for this uuu, and u∗(x)≤wˉ+u(x)u^*(x)\le\bar w+u(x)u∗(x)≤wˉ+u(x).

Preamble
import Mathlib
import Definitions.Def_FeinbergLiang_ACOE_MDP
import Definitions.Def_SchalAvg_AvgOpt_Model
import Definitions.Def_FKZAvg_WStar_Assumptions

open scoped ENNReal NNReal Topology
open MeasureTheory ProbabilityTheory Filter SchalAvg.AvgOpt
Formal statement
namespace FKZAvg.WStar

/-- Lemma 7 (p. 601): (31), with the minimum attained. -/
theorem lemma_7 {X A : Type*}
    [TopologicalSpace X] [TopologicalSpace.MetrizableSpace X] [SecondCountableTopology X]
    [MeasurableSpace X] [BorelSpace X] [StandardBorelSpace X]
    [TopologicalSpace A] [TopologicalSpace.MetrizableSpace A] [SecondCountableTopology A]
    [MeasurableSpace A] [BorelSpace A] [StandardBorelSpace A]
    (M : Model X A) (hsel : HasSelector M)
    (hW : CondWStar M) (hB : CondBLow M) :
    ∀ x, (∃ a ∈ M.Aset x, eta M (uAvg M) 1 x a = uStar M (uAvg M) x) ∧
      uStar M (uAvg M) x ≤ gUpper M + uAvg M x := by sorry

end FKZAvg.WStar
Source
Feinberg, Kasyanov & Zadoianchuk, Average Cost Markov Decision Processes with Weakly Continuous Transition Probabilities, Math. Oper. Res. 37(4) 2012, p. 601, Lemma 7
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

The setting:

  • XXX and AAA are metrizable, second-countable, Borel and standard Borel spaces.
  • MMM is an object of the imported type Model X A, with action sets A(x)A(x)A(x), cost c(x,a)∈[0,∞]c(x,a)\in[0,\infty]c(x,a)∈[0,∞] and measures q(⋅∣x,a)q(\cdot\mid x,a)q(⋅∣x,a).
  • Some map X→AX\to AX→A is stationary for MMM (imported).
  • (W*) holds:
    • ccc is lower semicontinuous on the imported set Gr(A)\mathrm{Gr}(A)Gr(A);
    • for xn→xx_n\to xxn​→x, an∈A(xn)a_n\in A(x_n)an​∈A(xn​) and finitely bounded c(xn,an)c(x_n,a_n)c(xn​,an​), some a∈A(x)a\in A(x)a∈A(x) is a cluster point of (an)(a_n)(an​);
    • for bounded continuous fff, (x,a)↦∫f dq(x,a)\mapsto\int f\,dq(x,a)↦∫fdq (real integral, 000 if non-integrable) is continuous on Gr(A)\mathrm{Gr}(A)Gr(A).
  • Assumption B‾\underline BB​ holds: the imported Assumption (G), and lim inf⁡α→1−uα(x)<∞\liminf_{\alpha\to1^-}u_\alpha(x)<\inftyliminfα→1−​uα​(x)<∞ for every xxx, with uαu_\alphauα​ imported.

Let u(x)=lim inf⁡(α,y)→(1−,x)uα(y)u(x)=\liminf_{(\alpha,y)\to(1^-,x)}u_\alpha(y)u(x)=liminf(α,y)→(1−,x)​uα​(y) be the joint lower limit, and

u∗(x)=inf⁡a∈A(x)[c(x,a)+∫u(y) q(dy∣x,a)].u^*(x)=\inf_{a\in A(x)}\Big[c(x,a)+\int u(y)\,q(dy\mid x,a)\Big].u∗(x)=a∈A(x)inf​[c(x,a)+∫u(y)q(dy∣x,a)].

Let wˉ∈[0,∞]\bar w\in[0,\infty]wˉ∈[0,∞] be an imported constant.

Conclusion. For every xxx:

  • the infimum defining u∗(x)u^*(x)u∗(x) is attained: some a∈A(x)a\in A(x)a∈A(x) has c(x,a)+∫u dq(⋅∣x,a)=u∗(x)c(x,a)+\int u\,dq(\cdot\mid x,a)=u^*(x)c(x,a)+∫udq(⋅∣x,a)=u∗(x);
  • u∗(x)≤wˉ+u(x)u^*(x)\le\bar w+u(x)u∗(x)≤wˉ+u(x).

Degenerate cases.

  • The attainment claim forces A(x)≠∅A(x)\neq\emptysetA(x)=∅ for every xxx.
  • If wˉ=∞\bar w=\inftywˉ=∞ or u(x)=∞u(x)=\inftyu(x)=∞, the inequality holds trivially.
  • If X=∅X=\emptysetX=∅, the statement is vacuous.
Human review
  • Endorsed by Community (Bot) · Oct 20, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · Oct 20, 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