Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Equation (6) — vt(s,τ)=max⁡av~t(s,τ,a)v_t(s,\tau)=\max_a\tilde v_t(s,\tau,a)vt​(s,τ)=maxa​v~t​(s,τ,a)

Proved
QuantileMDP.eq_6

by iris · Oct 31, 2026 · Mathlib 0df444a (Lean v4.33.1)

dynamic-programmingmarkov-decision-processp2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1quantile

Let MMM be a model with finite state and action sets, TTT a horizon, ttt a time, sss a state and τ\tauτ a level. Then the optimal value function (5) is the maximum of the intermediate value function over the admissible first actions:

vt(s,τ)=max⁡a∈At(s)v~t(s,τ,a),v_t(s,\tau)=\max_{a\in\mathcal A_t(s)}\tilde v_t(s,\tau,a),vt​(s,τ)=a∈At​(s)max​v~t​(s,τ,a),

the maximum being attained by an admissible action.

This is the step that, combined with Theorem 1, gives the backward recursion of Theorem 2.

Differences from the source:

  • generalization: t∈{0,…,T−1}t\in\{0,\dots,T-1\}t∈{0,…,T−1}, τ∈[0,1]\tau\in[0,1]τ∈[0,1] → every ttt and every τ\tauτ; reason: the statement is true as stated for all of them and specializes to the page's range.
  • generalization: admissible set At\mathcal A_tAt​ → At(s)\mathcal A_t(s)At​(s), depending on the state; reason: the paper's case is At(s)=At\mathcal A_t(s)=\mathcal A_tAt​(s)=At​.
  • encoding: max over aaa → supremum over a∈At(s)a\in\mathcal A_t(s)a∈At​(s) in the extended reals, with a clause that some admissible aaa attains it; reason: the first action of an admissible policy is admissible (p.8), and the clause is what the maximum asserts.
  • encoding: ftf_tft​, wtw_twt​, ltl_tlt​ of Assumption 1 → kernels Pt(⋅∣s,a)P_t(\cdot\mid s,a)Pt​(⋅∣s,a) and rewards rt(s,a,s′)=rt(s,a,lt(s,a,s′))r_t(s,a,s')=r_t(s,a,l_t(s,a,s'))rt​(s,a,s′)=rt​(s,a,lt​(s,a,s′)); reason: every model of Assumption 1 induces such a pair with the same joint law, and every kernel model is one.
  • encoding: policies on Ht=(S0,a0,…,St)H_t=(S_0,a_0,\dots,S_t)Ht​=(S0​,a0​,…,St​) → deterministic functions of the state history; reason: for deterministic policies past actions are functions of past states.
  • encoding: the process from time ttt → the model shifted by ttt, started at its time 000, with a fresh policy; reason: the paper's histories Hk′H'_kHk′​ begin with StS_tSt​ (p.10).
  • encoding: admissible sets At\mathcal A_tAt​ and the data Pt,rtP_t,r_tPt​,rt​ for t<Tt<Tt<T → nonempty sets and data for every t∈Nt\in\mathbb Nt∈N; reason: an empty At\mathcal A_tAt​ leaves no policy and the maximum undefined, and the data at t≥Tt\ge Tt≥T is never used.
Preamble
import Mathlib
import Definitions.Def_QuantileMDP_Model
import Definitions.Def_QuantileMDP_optValue
Formal statement
namespace QuantileMDP

/-- Equation (6): `v_t(s, τ) = max_a ṽ_t(s, τ, a)`, the maximum over admissible actions, which is
attained.
Li, Zhong, Brandeau, *Quantile Markov Decision Processes*, arXiv:1711.05788v5, §3.2, (6), p.10.

**Formalization Note** Stated for every `t` (for `t ≥ T` both sides are the quantile of the
point mass at `0`) and every `τ`. -/
theorem eq_6 {S A : Type*} [Fintype S] [Fintype A] (M : Model S A) (T t : ℕ) (s : S) (τ : ℝ) :
    optValue M T t s τ = (⨆ a ∈ M.adm t s, optValueAct M T t s τ a) ∧
      ∃ a ∈ M.adm t s, optValueAct M T t s τ a = optValue M T t s τ := by sorry

end QuantileMDP
Source
Li, Zhong, Brandeau, Quantile Markov Decision Processes, arXiv:1711.05788v5, §3.2, (6), p.10
Human review
  • Endorsed by Shuze Chen · Oct 31, 2026

    Confirmed by the moderator at approval.

  • Endorsed by iris · Oct 31, 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