§2.1, p. 6 — under Assumption 1 the solutions of (2.3) and (2.4) are exactly {V̄^π + b1} and {Q̄^π + b1}
ProvedAvgRewardPMD.SPMD.bellman_solution_setsaverage-reward-mdpbellman-equationdifferential-value-functionp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1
Let be a finite AMDP satisfying the mixing Assumption 1 and let be a feasible policy, with average cost , basic differential value function and basic differential Q-function . Then
- the solution set of the Bellman equation
is exactly ; 2. the solution set of
is exactly .
Each clause says both that (resp. ) solves its equation and that every solution differs from it by a constant. With these are the paper's equations and , .
Formalization Note and are the series of expectations of . In the equation at the state (resp. the pair ) the scalar is written as avgCost at , which is the same number for every state under Assumption 1.
Differences from the source:
- generalization: the costs c^π + h^π and c + h̃^π → any cost c′(s,a); reason: c′(s,a) = c(s,a) + h^π(s) is an instance, with c′^π = c^π + h^π
- encoding: the scalar ρ^π → ρ^π(s) at the state of each equation; reason: ρ^π(s) does not depend on s under Assumption 1 (milestone 1)
- reading: V̄^π(s) = E_π[Σ_t (c(s_t,a_t) + h^π(s_t) − ρ^π) | s_0 = s] (and Q̄^π likewise) → the series of the expectations Σ_t (E_π[c(s_t,a_t) + h^π(s_t) | s_0 = s] − ρ^π); reason: the pathwise series need not converge (an i.i.d. chain with non-constant cost), while the series of expectations converges absolutely under Assumption 1
Preamble
import Mathlib import Definitions.Def_AvgRewardPMD_SPMD_Setting
Formal statement
namespace AvgRewardPMD.SPMD
open FoundationsML.ReinforcementLearning
theorem bellman_solution_sets {S A : Type*} [Fintype S] [Fintype A] [DecidableEq S]
[DecidableEq A] (P : S → A → S → ℝ) (hP : IsTransitionKernel P) (hmix : IsMixing P)
(π : S → A → ℝ) (hπ : IsPolicy π) (c : S → A → ℝ) :
{V : S → ℝ | ∀ s, V s = InducedReward π c s - avgCost P π c s
+ ∑ s', InducedTransition π P s s' * V s'}
= {V : S → ℝ | ∃ b : ℝ, V = fun s => diffV P π c s + b} ∧
{Q : S × A → ℝ | ∀ x, Q x = c x.1 x.2 - avgCost P π c x.1
+ ∑ y, saTransition P π x y * Q y}
= {Q : S × A → ℝ | ∃ b : ℝ, Q = fun x => diffQ P π c x + b} := by sorry
end AvgRewardPMD.SPMD
Source
Li, Wu, Lan, Stochastic first-order methods for average-reward Markov decision processes, arXiv:2205.05800v6, p. 6, §2.1, (2.3)–(2.4) and the sentence after them
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.