Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Appendix G.1, p. 27 — v^{π,W}_t = (I − tL(π,W))⁻¹ r_π is a rational function of t, continuous on (0, 1)

Proved
FactorRMDP.Blackwell.value_rational

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

linear-algebramarkov-decision-processp2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1robust-mdp

Let π∈Π\pi\in\Piπ∈Π be a stationary policy and W∈WW\in\mathcal WW∈W a factor matrix, with L(π,W)ss′=∑a∈AπsaPsas′L(\pi,W)_{ss'}=\sum_{a\in\mathbb A}\pi_{sa}P_{sas'}L(π,W)ss′​=∑a∈A​πsa​Psas′​. Then:

  1. for every discount t∈(0,1)t\in(0,1)t∈(0,1) the matrix I−tL(π,W)I-tL(\pi,W)I−tL(π,W) is invertible and
vtπ,W=(I−tL(π,W))−1rπ;v^{\pi,W}_t=(I-tL(\pi,W))^{-1}r_\pi ;vtπ,W​=(I−tL(π,W))−1rπ​;
  1. for every state sss there are real polynomials ppp and qqq such that qqq has no zero in (0,1)(0,1)(0,1) and vt,sπ,W=p(t)/q(t)v^{\pi,W}_{t,s}=p(t)/q(t)vt,sπ,W​=p(t)/q(t) for all t∈(0,1)t\in(0,1)t∈(0,1).

So, for a fixed policy and factor matrix, each coordinate of the value function is a rational function of the discount factor, continuous on (0,1)(0,1)(0,1); this is what forces two such value functions either to coincide or to cross only finitely often.

Formalization Note The value function is the discounted series ∑ttkLkrπ\sum_t t^k L^k r_\pi∑t​tkLkrπ​, so item 1 is a genuine identity (a Neumann series), and invertibility is stated explicitly because Lean's matrix inverse returns 000 on singular matrices. No rectangularity is assumed.

Preamble
import Mathlib
import Definitions.Def_FactorRMDP_Blackwell_Model
open Matrix
Formal statement
namespace FactorRMDP.Blackwell

/-- Appendix G.1, proof of Proposition 6.2 (p. 27): for a stationary policy π and a factor
matrix W ∈ 𝒲, for every t ∈ (0, 1) the matrix I − tL(π, W) is invertible and
v^{π,W}_t = (I − tL(π, W))⁻¹ r_π; consequently each coordinate t ↦ v^{π,W}_{t,s} is, on (0, 1),
a ratio of two real polynomials whose denominator has no zero in (0, 1). -/
theorem value_rational {S A : Type*} [Fintype S] [Fintype A] [DecidableEq S] [DecidableEq A]
    {r : ℕ} (M : Model S A r) (π : S → A → ℝ) (hπ : π ∈ FactorRMDP.ValueIter.Policies S A)
    (W : Fin r → S → ℝ) (hW : W ∈ M.Wset) :
    (∀ t : ℝ, 0 < t → t < 1 →
      IsUnit (1 - t • M.L π W) ∧ M.value t π W = (1 - t • M.L π W)⁻¹ *ᵥ M.rpi π) ∧
    ∀ s, ∃ p q : Polynomial ℝ, (∀ t : ℝ, 0 < t → t < 1 → q.eval t ≠ 0) ∧
      ∀ t : ℝ, 0 < t → t < 1 → M.value t π W s = p.eval t / q.eval t := by sorry

end FactorRMDP.Blackwell
Source
Goyal and Grand-Clément, Robust Markov Decision Process: Beyond Rectangularity, arXiv:1811.00215v8 (2021), p. 27, Appendix G.1, proof of Proposition 6.2 (Cramer's rule)
Human review
  • Endorsed by Shuze Chen · Oct 14, 2026

    Confirmed by the moderator at approval.

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