Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 6 — under (B̲), u of (21) and u̲_α of (22) are finite and lower semicontinuous; with (W*) so are u_α; with (Wu) all are inf-compact

Proved
FKZAvg.WStar.lemma_6

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

average-costmarkov-decision-processrelative-value

Consider a Borel Markov decision process; let vαv_\alphavα​ be the optimal α\alphaα-discounted cost, mα=inf⁡xvα(x)m_\alpha=\inf_x v_\alpha(x)mα​=infx​vα​(x), uα=vα−mαu_\alpha=v_\alpha-m_\alphauα​=vα​−mα​, Uβ(x)=inf⁡α∈[β,1)uα(x)U_\beta(x)=\inf_{\alpha\in[\beta,1)}u_\alpha(x)Uβ​(x)=infα∈[β,1)​uα​(x), u‾β(x)=lim inf⁡y→xUβ(y)\underline u_\beta(x)=\liminf_{y\to x}U_\beta(y)u​β​(x)=liminfy→x​Uβ​(y) (22), and 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) (21). Under Assumption (B‾)(\underline{\mathrm B})(B​):

  1. the functions uuu and u‾α\underline u_\alphau​α​, α∈[0,1)\alpha\in[0,1)α∈[0,1), take finite nonnegative values and are lower semicontinuous on X\mathbb XX;
  2. if in addition Assumption (W∗)(\mathrm W^*)(W∗) holds, the functions uαu_\alphauα​, α∈[0,1)\alpha\in[0,1)α∈[0,1), take finite nonnegative values and are lower semicontinuous;
  3. if in addition Assumption (Wu)(\mathrm{Wu})(Wu) holds, the functions uuu, uαu_\alphauα​, u‾α\underline u_\alphau​α​, α∈[0,1)\alpha\in[0,1)α∈[0,1), take finite nonnegative values and are inf-compact on X\mathbb XX.

This gives part (a) and part (e) of Theorem 3.

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. The finiteness ":X→R+:\mathbb X\to\mathbb R_+:X→R+​" of each function is stated as f(x)≠+∞f(x)\neq+\inftyf(x)=+∞ for every xxx, in each of the three clauses where the paper writes it. uαu_\alphauα​ is the published wβ (vα−mαv_\alpha-m_\alphavα​−mα​ in [0,+∞][0,+\infty][0,+∞], truncated at 000; mα<∞m_\alpha<\inftymα​<∞ under (G)).

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 6 (p. 600). `uLow M α` is the paper's `u̲_α` of (22); `wβ M α` is `u_α`. -/
theorem lemma_6 {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) (hB : CondBLow M) :
    (LowerSemicontinuous (uAvg M) ∧ (∀ x, uAvg M x ≠ ⊤) ∧
      ∀ α ∈ Set.Ico (0 : ℝ) 1, LowerSemicontinuous (uLow M α) ∧ ∀ x, uLow M α x ≠ ⊤) ∧
    (CondWStar M → ∀ α ∈ Set.Ico (0 : ℝ) 1,
      LowerSemicontinuous (wβ M α) ∧ ∀ x, wβ M α x ≠ ⊤) ∧
    (CondWu M →
      (InfCompactOn (uAvg M) Set.univ ∧ ∀ x, uAvg M x ≠ ⊤) ∧
      ∀ α ∈ Set.Ico (0 : ℝ) 1,
        (InfCompactOn (wβ M α) Set.univ ∧ ∀ x, wβ M α x ≠ ⊤) ∧
        (InfCompactOn (uLow M α) Set.univ ∧ ∀ x, uLow 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. 600, Lemma 6
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 ccc 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).
  • Assumption B‾\underline BB​ holds: the imported Assumption (G) holds, and lim inf⁡α→1−uα(x)<∞\liminf_{\alpha\to1^-}u_\alpha(x)<\inftyliminfα→1−​uα​(x)<∞ for every xxx. Here uα:X→[0,∞]u_\alpha:X\to[0,\infty]uα​:X→[0,∞] is an imported function.

Two derived functions are used:

  • 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): the joint lower limit as α→1\alpha\to1α→1 from below and y→xy\to xy→x, with y=xy=xy=x allowed.
  • u‾β(x)=lim inf⁡y→xUβ(y)\underline u_\beta(x)=\liminf_{y\to x}U_\beta(y)u​β​(x)=liminfy→x​Uβ​(y), where Uβ(y)=inf⁡α∈[β,1)uα(y)U_\beta(y)=\inf_{\alpha\in[\beta,1)}u_\alpha(y)Uβ​(y)=infα∈[β,1)​uα​(y).

"Inf-compact on XXX" means every sublevel set {f≤λ}\{f\le\lambda\}{f≤λ} with finite λ≥0\lambda\ge0λ≥0 is compact.

Conclusions:

  1. Unconditionally:
    • uuu is lower semicontinuous and finite everywhere;
    • for each α∈[0,1)\alpha\in[0,1)α∈[0,1), u‾α\underline u_\alphau​α​ is lower semicontinuous and finite everywhere.
  2. If (W*) holds, then for each α∈[0,1)\alpha\in[0,1)α∈[0,1), uαu_\alphauα​ is lower semicontinuous and finite everywhere. (W*) here means:
    • ccc is lower semicontinuous on the imported set Gr(A)\mathrm{Gr}(A)Gr(A);
    • the cluster-point condition on action sequences with finitely bounded costs;
    • (x,a)↦∫f dq(x,a)\mapsto\int f\,dq(x,a)↦∫fdq is continuous on Gr(A)\mathrm{Gr}(A)Gr(A) for bounded continuous fff, as a real integral (000 if non-integrable).
  3. If (Wu) holds (ccc inf-compact on Gr(A)\mathrm{Gr}(A)Gr(A) plus that weak continuity), then:
    • uuu is inf-compact on XXX and finite everywhere;
    • for each α∈[0,1)\alpha\in[0,1)α∈[0,1), both uαu_\alphauα​ and u‾α\underline u_\alphau​α​ are inf-compact on XXX and finite everywhere.

Degenerate cases.

  • For α∈[0,1)\alpha\in[0,1)α∈[0,1) the interval [α,1)[\alpha,1)[α,1) is nonempty, so UαU_\alphaUα​ is a genuine infimum.
  • α=0\alpha=0α=0 is included.
  • If X=∅X=\emptysetX=∅, every claim holds vacuously.
  • The finiteness of uαu_\alphauα​ for every single α∈[0,1)\alpha\in[0,1)α∈[0,1) is asserted only under (W*) or (Wu), not under B‾\underline BB​ alone.
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