Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.2.1 — the discounted reward tends to the total reward as the discount factor tends to 1

Proved
KallenbergLP.Transient.discountedValue_tendsto_policyValue

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1total-reward

Consider a finite Markov decision model with substochastic transitions and real rewards riar_{ia}ria​, and assume (Assumption 3.2.1) that for every initial state and every policy the expected total reward vi(R)=lim⁡T→∞∑t=1Tvit(R)v_i(R)=\lim_{T\to\infty}\sum_{t=1}^Tv_i^t(R)vi​(R)=limT→∞​∑t=1T​vit​(R) exists in [−∞,+∞][-\infty,+\infty][−∞,+∞]. For δ∈[0,1)\delta\in[0,1)δ∈[0,1) let viδ(R)=∑t=1∞δt−1vit(R)v_i^\delta(R)=\sum_{t=1}^\infty\delta^{t-1}v_i^t(R)viδ​(R)=∑t=1∞​δt−1vit​(R) be the expected discounted reward.

Then for any initial state iii and any policy RRR,

lim⁡δ↑1viδ(R)=vi(R),\lim_{\delta\uparrow1}v_i^\delta(R)=v_i(R),δ↑1lim​viδ​(R)=vi​(R),

with the limit taken in [−∞,+∞][-\infty,+\infty][−∞,+∞]; in particular viδ(R)→+∞v_i^\delta(R)\to+\inftyviδ​(R)→+∞ when vi(R)=+∞v_i(R)=+\inftyvi​(R)=+∞ and viδ(R)→−∞v_i^\delta(R)\to-\inftyviδ​(R)→−∞ when vi(R)=−∞v_i(R)=-\inftyvi​(R)=−∞.

This Abelian limit is what transfers Blackwell optimality of a pure stationary policy to total optimality in Theorem 3.2.1.

Formalization Note The limit δ↑1\delta\uparrow1δ↑1 is the filter of left neighbourhoods of 111, and the real discounted value is coerced to EReal. The total reward is the limsup of the partial sums, which is the limit under the assumption.

Preamble
import Definitions.Def_KallenbergLP_Transient_TotalReward
set_option autoImplicit false
Formal statement
namespace KallenbergLP.Transient

/-- Lemma 3.2.1: under Assumption 3.2.1, `lim_{δ ↑ 1} v^δ_i(R) = v_i(R)` in `[-∞, +∞]`. -/
theorem discountedValue_tendsto_policyValue
    {N : ℕ} {α : Type} [Fintype α] [DecidableEq α]
    (M : MDP N α) (r : Fin N → α → ℝ)
    (hreward : TotalRewardExists M r) (i : Fin N) (R : Policy M) :
    Filter.Tendsto (fun δ : ℝ => (discountedValue M r R i δ : EReal))
      (nhdsWithin 1 (Set.Iio 1)) (nhds (policyValue M r R i)) := by sorry

end KallenbergLP.Transient
Source
Kallenberg, Linear Programming and Finite Markovian Control Problems, Mathematical Centre Tracts 148, Mathematisch Centrum, Amsterdam 1983, p. 37, Assumption 3.2.1 and Lemma 3.2.1
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 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