Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (14), p. 945 — the optimal nnn-step returns converge to the solution of the optimality equation

Proved
JewellMRP.Discounted.optValue_tendsto_eq14

by mikedeng1 · Sep 26, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingmarkov-renewal-processoptimality-equationp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1value-iteration

Let a Markov-renewal program be given and let α>0\alpha > 0α>0. Let Vi(n,α)V_i(n,\alpha)Vi​(n,α) be the optimal nnn-step returns of (6) with boundary rewards Vi(0,α)V_i(0,\alpha)Vi​(0,α). Then there is a vector vvv with

vi=max⁡z{ρiz(α)+∑jpijz f~ijz(α) vj}for every i,v_i = \max_z \Big\{\rho^z_i(\alpha) + \sum_{j} p^z_{ij}\,\tilde f^z_{ij}(\alpha)\, v_j\Big\} \qquad \text{for every } i,vi​=zmax​{ρiz​(α)+j∑​pijz​f~​ijz​(α)vj​}for every i,

such that Vi(n,α)→viV_i(n,\alpha) \to v_iVi​(n,α)→vi​ as n→∞n \to \inftyn→∞, for every state iii and for every choice of boundary rewards Vi(0,α)V_i(0,\alpha)Vi​(0,α).

This is the limiting form (14) of the recursion (6): the limit exists, does not depend on the boundary rewards, and solves the optimality equation of the infinite-step problem.

Formalization Note The page prints vi(α)v_i(\alpha)vi​(α) inside the sum over jjj in (14); this is a misprint for vj(α)v_j(\alpha)vj​(α), as (6), (15) and Fig. 1 show, and the corrected form is stated. The existence of the limit is a conclusion; the vector vvv is chosen before the boundary rewards, which expresses that the limit does not depend on them.

Preamble
import Mathlib
import Definitions.Def_JewellMRP_Discounted_MRP
import Definitions.Def_JewellMRP_Discounted_PolicyIteration

open Filter Topology
Formal statement
namespace JewellMRP.Discounted

/-- Eq. (14), p. 945: for `α > 0` the optimal `n`-step returns `V_i(n, α)` of (6) converge,
as `n → ∞`, to a limit that does not depend on the boundary rewards and solves
`v_i = max_z [ρ^z_i(α) + Σ_j p^z_{ij} f̃^z_{ij}(α) v_j]`. -/
theorem optValue_tendsto_eq14 {S A : Type*} [Fintype S] [Fintype A] [Nonempty A]
    (M : MRP S A) {α : ℝ} (hα : 0 < α) :
    ∃ v : S → ℝ, (∀ i, v i = maxTest M α v i) ∧
      ∀ V0 : S → ℝ, Tendsto (optValue M α V0) atTop (𝓝 v) := by sorry

end JewellMRP.Discounted
Source
Jewell, Markov-Renewal Programming. I: Formulation, Finite Return Models, Operations Research 11(6), 1963, p. 945, Eq. (14) (misprint v_i for v_j under the sum corrected)
Read-back

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

This theorem concerns a structure MMM as follows:

  • a finite state set SSS and a finite, nonempty alternative set AAA;
  • row-stochastic matrices pzp^zpz;
  • probability measures FijzF^z_{ij}Fijz​ supported on (0,∞)(0,\infty)(0,∞);
  • arbitrary returns ρijz(α)\rho^z_{ij}(\alpha)ρijz​(α).

Take any real α>0\alpha > 0α>0. The theorem asserts that there is a single vector v∈RSv \in \mathbb{R}^Sv∈RS with two properties.

  1. vvv satisfies, for every iii,
vi=max⁡z∈A[∑jpijzρijz(α)+∑jpijzf~ijz(α)vj],v_i = \max_{z\in A}\Big[\sum_j p^z_{ij}\rho^z_{ij}(\alpha) + \sum_j p^z_{ij}\tilde f^z_{ij}(\alpha)v_j\Big],vi​=z∈Amax​[j∑​pijz​ρijz​(α)+j∑​pijz​f~​ijz​(α)vj​],

where f~ijz(α)=∫(0,∞)e−αt dFijz(t)\tilde f^z_{ij}(\alpha) = \int_{(0,\infty)} e^{-\alpha t}\,dF^z_{ij}(t)f~​ijz​(α)=∫(0,∞)​e−αtdFijz​(t). 2. For every boundary vector V0∈RSV^0 \in \mathbb{R}^SV0∈RS, the optimal values converge to vvv in every state as n→∞n \to \inftyn→∞. These values are defined by

V0=V0,Vn+1(i)=max⁡z[∑jpijzρijz(α)+∑jpijzf~ijz(α)Vn(j)].V_0 = V^0, \qquad V_{n+1}(i) = \max_z\Big[\sum_j p^z_{ij}\rho^z_{ij}(\alpha) + \sum_j p^z_{ij}\tilde f^z_{ij}(\alpha)V_n(j)\Big].V0​=V0,Vn+1​(i)=zmax​[j∑​pijz​ρijz​(α)+j∑​pijz​f~​ijz​(α)Vn​(j)].

The vector vvv is chosen before V0V^0V0, so it is the same for all boundary vectors.

The statement does not assert that vvv is the only solution of the equation in property 1. It does follow that no other solution can be a limit of the optimal values for any V0V^0V0.

Degenerate cases: the case α≤0\alpha \le 0α≤0 is excluded. If SSS is empty, the statement is trivial.

Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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