Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Eq. (5) — the present-value equations have a unique solution

Proved
SatiaLave.MaxMin.eq5_presentValue_unique

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

markov-decision-processp2o-batch-p100ap2o-gran-per-chapterp2o-plan-paperp2o-v1policy-evaluation

Let AAA be a pure stationary policy and P∈SP\in SP∈S an admissible choice of nature, with transition probabilities pijAip^{A_i}_{ij}pijAi​​, rewards rijAir^{A_i}_{ij}rijAi​​ and discount factor 0≤β<10\le\beta<10≤β<1. The present-value equations (5),

vi=∑jpijAi(rijAi+βvj),i=1,…,N,v_i=\sum_j p^{A_i}_{ij}\big(r^{A_i}_{ij}+\beta v_j\big),\qquad i=1,\dots,N,vi​=j∑​pijAi​​(rijAi​​+βvj​),i=1,…,N,

have exactly one solution vvv, namely the present-value vector vA=[I−βPA]−1(∑jpijAirijAi)iv^A=[I-\beta P^A]^{-1}\big(\sum_j p^{A_i}_{ij}r^{A_i}_{ij}\big)_ivA=[I−βPA]−1(∑j​pijAi​​rijAi​​)i​.

This justifies Phase 1(a) of the algorithm ("use piAp_i^ApiA​ to solve (5) for viv_ivi​") and shows that the matrix-inverse definition of the present value is the paper's object.

Preamble
import Mathlib
import Definitions.Def_SatiaLave_MaxMin_Model
Formal statement
namespace SatiaLave.MaxMin

/-- Eq. (5), p. 730: for every policy `A` and every admissible choice `P` of nature, the
present-value equations `v_i = Σ_j p^A_ij (r^A_ij + β v_j)` have exactly one solution, and it is
`presentValue M A P`. -/
theorem eq5_presentValue_unique {S : Type*} [Fintype S] [DecidableEq S] {D : S → Type*}
    (M : UncertainMDP S D) (A : Policy S D) (P : Sel M) :
    SolvesEq5 M A P (presentValue M A P) ∧
      ∀ v : S → ℝ, SolvesEq5 M A P v → v = presentValue M A P := by sorry

end SatiaLave.MaxMin
Source
Satia and Lave, Markovian Decision Processes with Uncertain Transition Probabilities, Operations Research 21(3), 1973, p. 730, Eq. (5)
Read-back

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

Take any finite state set SSS, any decision sets DiD_iDi​ (no finiteness or nonemptiness assumed), any uncertain MDP MMM, any pure stationary policy AAA and any choice of nature PPP (a row Pi,k∈UikP_{i,k}\in U_i^kPi,k​∈Uik​ for every i,ki,ki,k). The theorem makes two claims:

  1. The present value vA,P=(I−βPA)−1rˉAv^{A,P}=(I-\beta P^A)^{-1}\bar r^AvA,P=(I−βPA)−1rˉA satisfies, for every state iii,
viA,P=∑jPi,Ai(j)(rijAi+βvjA,P).v^{A,P}_i=\sum_j P_{i,A_i}(j)\bigl(r^{A_i}_{ij}+\beta v^{A,P}_j\bigr).viA,P​=j∑​Pi,Ai​​(j)(rijAi​​+βvjA,P​).

Here rˉiA=∑jPi,Ai(j)rijAi\bar r^A_i=\sum_j P_{i,A_i}(j)r^{A_i}_{ij}rˉiA​=∑j​Pi,Ai​​(j)rijAi​​, and (PA)ij=Pi,Ai(j)(P^A)_{ij}=P_{i,A_i}(j)(PA)ij​=Pi,Ai​​(j). 2. Every real vector vvv that satisfies these same equations in every state is equal to vA,Pv^{A,P}vA,P.

The inverse is the matrix inverse, with the convention that a singular matrix gets the zero matrix. The theorem's first claim is made about the vector computed with that convention.

Degenerate cases.

  • Empty state set. Both claims are trivial: the only vector is the empty one.
  • One-element state set. PAP^APA is the 1×11\times11×1 matrix 111. The claim is that v=riiA/(1−β)v=r^{A}_{ii}/(1-\beta)v=riiA​/(1−β) is the unique solution of v=riiA+βvv=r^{A}_{ii}+\beta vv=riiA​+βv. This includes β=0\beta=0β=0.
  • Empty decision set. If some DiD_iDi​ is empty, there are no policies AAA and the theorem is vacuous.
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