Prove2Me
Navigate
DiscoverCollectionsFormalpediaBlogsUsersMomentumMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

§2 (p. 444), §3 (p. 446) — a deterministic discounted process has a stationary optimal policy

Proved
MDPComplexity.Discounted.exists_stationary_optimal

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

discounted-costmarkov-decision-processp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1stationary-policy

Let 0<β<10<\beta<10<β<1, and consider a finite deterministic stationary Markov decision process with initial state s0s_0s0​. Then some stationary policy δ\deltaδ (one with δ(s,t)=δ(s,0)\delta(s,t)=\delta(s,0)δ(s,t)=δ(s,0) for all s,ts,ts,t) is optimal among all policies δ′(s,t)\delta'(s,t)δ′(s,t):

∑t=0∞βtc(st,δ(st,t))  ≤  ∑t=0∞βtc(st′,δ′(st′,t))for every policy δ′,\sum_{t=0}^{\infty}\beta^t c\bigl(s_t,\delta(s_t,t)\bigr)\;\le\;\sum_{t=0}^{\infty}\beta^t c\bigl(s'_t,\delta'(s'_t,t)\bigr)\qquad\text{for every policy }\delta',t=0∑∞​βtc(st​,δ(st​,t))≤t=0∑∞​βtc(st′​,δ′(st′​,t))for every policy δ′,

where (st)(s_t)(st​) and (st′)(s'_t)(st′​) are the state sequences generated from s0s_0s0​ by δ\deltaδ and δ′\delta'δ′.

This is the deterministic special case of the classical fact the paper invokes ("It is well known that in the two latter cases ... there exist stationary optimal policies"); it is the step that reduces the optimization over infinite policies to a finite one over sigmas.

Formalization Note The paper cites this fact for general finite stochastic processes; its general form is on the platform as BertsekasDP.discounted_main_theorem (part 3). This item states the deterministic case directly in this mission's model, so that it can be used without translating between the two models. The comparison is between the discounted costs of every policy, with no reference to an infimum.

Preamble
import Mathlib
import Definitions.Def_MDPComplexity_Discounted_Model
Formal statement
namespace MDPComplexity.Discounted

theorem exists_stationary_optimal {S : Type} [Fintype S] [DecidableEq S] (M : DetMDP S) (s₀ : S)
    (β : ℝ) (hβ : 0 < β ∧ β < 1) :
    ∃ δ : M.Policy, M.IsStationary δ ∧ ∀ δ' : M.Policy, M.discCost β s₀ δ ≤ M.discCost β s₀ δ' := by sorry

end MDPComplexity.Discounted
Source
Papadimitriou and Tsitsiklis, The Complexity of Markov Decision Processes, Math. Oper. Res. 12(3) (1987), p. 444, §2 (existence of stationary optimal policies), and p. 446, §3, The infinite horizon, discounted case
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 paper
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me