Section 2, eq. (2) — Bellman equations (unique solution) and
ProvedLookaheadAPI.LeastSquares.eq_2_bellmanbellman-equationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reinforcement-learning
Let be a finite discounted MDP with rewards in and . For every deterministic policy , the value is the unique solution of the linear equation
that is, solves it and every with equals . Moreover the optimal reward-to-go solves the Bellman optimality equation
These are the fixed-point characterisations used throughout the analysis of lookahead policy iteration.
Formalization Note is defined as the expected discounted series and as the maximum of over deterministic policies, so neither equation holds by definition.
Preamble
import Mathlib import Definitions.Def_LookaheadAPI_LeastSquares_MDP
Formal statement
namespace LookaheadAPI.LeastSquares
/-- Section 2, eq. (2) and `J^* = TJ^*` (arXiv:2109.13419v7, p. 7): for every deterministic policy
`μ`, `J^μ` is the unique solution of `J = T_μ J`; and `J^*` solves `J^* = T J^*`. -/
theorem eq_2_bellman {S A : Type*} [Fintype S] [DecidableEq S] [Nonempty S] [Fintype A]
[DecidableEq A] [Nonempty A] (M : MDP S A) :
(∀ μ : S → A, valueOf M μ = policyOp M μ (valueOf M μ) ∧
∀ J : S → ℝ, J = policyOp M μ J → J = valueOf M μ) ∧
optValue M = bellmanOp M (optValue M) := by sorry
end LookaheadAPI.LeastSquares
Source
arXiv:2109.13419v7, p. 7, Section 2, eq. (2) and the display J^* = TJ^*
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.