Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.1 — the robust value function is the optimal solution of the twice regularized convex program (2)

Proved
TwiceRegMDP.RobustReg.theorem_4_1

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

convex-optimizationp2o-batch-pfp1bp2o-gran-per-chapterp2o-plan-paperp2o-v1regularized-mdprobust-mdpsupport-function

Consider a finite discounted MDP with discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1), a strictly positive initial distribution 0<μ0∈ΔS0<\mu_0\in\Delta_{\mathcal S}0<μ0​∈ΔS​, a nominal transition kernel P0P_0P0​ and a nominal reward r0∈RXr_0\in\mathbb R^{\mathcal X}r0​∈RX, where X=S×A\mathcal X = \mathcal S\times\mathcal AX=S×A. For every state sss let Ps⊆RX\mathcal P_s\subseteq\mathbb R^{\mathcal X}Ps​⊆RX and Rs⊆RA\mathcal R_s\subseteq\mathbb R^{\mathcal A}Rs​⊆RA be nonempty compact sets such that every perturbed transition is a kernel: P0(⋅∣s,a)+Ps(⋅,a)∈ΔSP_0(\cdot\mid s,a)+P_s(\cdot,a)\in\Delta_{\mathcal S}P0​(⋅∣s,a)+Ps​(⋅,a)∈ΔS​ for all Ps∈PsP_s\in\mathcal P_sPs​∈Ps​ and a∈Aa\in\mathcal Aa∈A. Let U=(P0+P)×(r0+R)\mathcal U = (P_0+\mathcal P)\times(r_0+\mathcal R)U=(P0​+P)×(r0​+R) be the s-rectangular uncertainty set. Then, for every policy π∈ΔAS\pi\in\Delta_{\mathcal A}^{\mathcal S}π∈ΔAS​, the robust Bellman operator Tπ,UT^{\pi,\mathcal U}Tπ,U has a unique fixed point vπ,Uv^{\pi,\mathcal U}vπ,U, and vπ,Uv^{\pi,\mathcal U}vπ,U is the optimal solution of the convex program

max⁡v∈RS ⟨v,μ0⟩s.t.v(s)≤T(P0,r0)πv(s)−σRs(−πs)−σPs(−γv⋅πs)  for all s∈S,(2)\max_{v\in\mathbb R^{\mathcal S}}\ \langle v,\mu_0\rangle\quad\text{s.t.}\quad v(s)\le T^\pi_{(P_0,r_0)}v(s)-\sigma_{\mathcal R_s}(-\pi_s)-\sigma_{\mathcal P_s}(-\gamma v\cdot\pi_s)\ \text{ for all }s\in\mathcal S, \tag{2}v∈RSmax​ ⟨v,μ0​⟩s.t.v(s)≤T(P0​,r0​)π​v(s)−σRs​​(−πs​)−σPs​​(−γv⋅πs​)  for all s∈S,(2)

where [v⋅πs](s′,a):=v(s′)πs(a)[v\cdot\pi_s](s',a) := v(s')\pi_s(a)[v⋅πs​](s′,a):=v(s′)πs​(a).

The robust value function under simultaneous reward and transition uncertainty is therefore the value of a twice regularized problem with the nominal model: the reward uncertainty yields a policy regularizer σRs(−πs)\sigma_{\mathcal R_s}(-\pi_s)σRs​​(−πs​), and the transition uncertainty a regularizer σPs(−γv⋅πs)\sigma_{\mathcal P_s}(-\gamma v\cdot\pi_s)σPs​​(−γv⋅πs​) that depends on both the policy and the value.

Formalization Note. The robust value function is the fixed point of Tπ,UT^{\pi,\mathcal U}Tπ,U, with existence and uniqueness in the conclusion (the page defines vπ,U(s)=min⁡(P,r)∈Uv(P,r)π(s)v^{\pi,\mathcal U}(s) = \min_{(P,r)\in\mathcal U}v^\pi_{(P,r)}(s)vπ,U(s)=min(P,r)∈U​v(P,r)π​(s) and identifies it with this fixed point, citing the rectangular-case literature; the paper's proof uses the fixed-point property only). "The optimal solution" means feasible, objective-maximal, and the unique maximizer. The kernel condition on P0+PP_0+\mathcal PP0​+P is the p. 4 standing assumption that uncertain transitions lie in ΔSX\Delta_{\mathcal S}^{\mathcal X}ΔSX​; nonemptiness and compactness make every minimum and support function attained. "Convex" in the source's statement is descriptive and is not asserted.

Preamble
import Mathlib
import Definitions.Def_FoundationsML_ReinforcementLearning_IsTransitionKernel
import Definitions.Def_TwiceRegMDP_RobustReg_MDP
import Definitions.Def_TwiceRegMDP_RobustReg_Robust
Formal statement
namespace TwiceRegMDP.RobustReg

/-- Theorem 4.1, general robust MDP (Derman–Geist–Mannor, arXiv:2110.06267v1, p. 6). For the
s-rectangular uncertainty set `U = (P₀ + 𝒫) × (r₀ + ℛ)` around a nominal kernel `P₀` and reward
`r₀`, with every `𝒫_s ⊆ ℝ^{S×A}` and `ℛ_s ⊆ ℝ^A` nonempty and compact and every perturbed
transition `P₀(·|s,a) + P_s(·, a)` a probability distribution, and any policy `π`, the robust
operator `T^{π,U}` has a unique fixed point `v^{π,U}`, and it is the optimal solution of
`max ⟨v, μ₀⟩ s.t. v(s) ≤ T^π_{(P₀,r₀)} v(s) − σ_{ℛ_s}(−π_s) − σ_{𝒫_s}(−γ v · π_s) for all s`,
where `[v · π_s](s', a) = v(s') π_s(a)`. -/
theorem theorem_4_1 {S A : Type} [Fintype S] [DecidableEq S] [Fintype A] [DecidableEq A]
    [Nonempty A]
    (γ : ℝ) (hγ0 : 0 < γ) (hγ1 : γ < 1)
    (μ₀ : S → ℝ) (hμ₀ : μ₀ ∈ stdSimplex ℝ S) (hμ₀pos : ∀ s, 0 < μ₀ s)
    (P₀ : S → A → S → ℝ) (hP₀ : FoundationsML.ReinforcementLearning.IsTransitionKernel P₀)
    (r₀ : S → A → ℝ)
    (Pset : S → Set (S × A → ℝ)) (hPne : ∀ s, (Pset s).Nonempty) (hPc : ∀ s, IsCompact (Pset s))
    (hPker : ∀ s, ∀ Pp ∈ Pset s, ∀ a : A, (fun s' => P₀ s a s' + Pp (s', a)) ∈ stdSimplex ℝ S)
    (Rset : S → Set (A → ℝ)) (hRne : ∀ s, (Rset s).Nonempty) (hRc : ∀ s, IsCompact (Rset s))
    (π : S → A → ℝ) (hπ : IsPolicy π) :
    (∃! v : S → ℝ, robustOp γ (rectUncertainty P₀ r₀ Pset Rset) π v = v) ∧
    ∀ v : S → ℝ, robustOp γ (rectUncertainty P₀ r₀ Pset Rset) π v = v →
      IsOptimalSolution μ₀
        {w : S → ℝ | ∀ s, w s ≤ evalOp γ P₀ r₀ π w s - supportFn (Rset s) (-(π s))
            - supportFn (Pset s) (-(γ • vDotPi w π s))} v := by sorry

end TwiceRegMDP.RobustReg
Source
Derman, Geist and Mannor, Twice regularized MDPs and the equivalence between robustness and regularization, arXiv:2110.06267v1, p. 6, Theorem 4.1, eq. (2) (proof in App. B.1, pp. 20–21)
Human review
  • Endorsed by Shuze Chen · Oct 4, 2026

    Confirmed by the moderator at approval.

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