Proposition 1 (second display) — finite-time and asymptotic components under
ProvedLookaheadAPI.LeastSquares.proposition_1_geometricapproximate-policy-iterationlookaheadp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1reinforcement-learning
Let be a finite discounted MDP with rewards in and , let , and let be a run of Algorithm 3 with lookahead accuracy and evaluation-error bounds . Suppose that for some scalars and ,
Then for every ,
When the evaluation errors decay geometrically to a floor , the policies converge to within the asymptotic component of optimal; Theorem 1 is this bound with the and of Algorithm 2.
Formalization Note The scalars of (8) are free, distinct from Theorem 1's ; the scalar is written μc in Lean to avoid a clash with the policies . At the middle term is .
Preamble
import Mathlib import Definitions.Def_LookaheadAPI_LeastSquares_MDP import Definitions.Def_LookaheadAPI_LeastSquares_LSOperator import Definitions.Def_LookaheadAPI_LeastSquares_Algorithms
Formal statement
namespace LookaheadAPI.LeastSquares
/-- Proposition 1, second display (p. 13): for every run of Algorithm 3 whose error bounds satisfy
(8), `δ_k ≤ β^k δ_0 + µ` with `0 < β < 1`, `0 < µ` (here `β` and `µ` are free scalars, written
`β` and `μc`), every `k` satisfies
`‖J^{μ_k} − J^*‖_∞ ≤ α^{kH}/(1−α) + (2α^H/(1−α)) k max(α^{H−1}, β)^{k−1} δ_0
+ (2α^H µ + ε_LA)/((1−α)(1−α^H))`. -/
theorem proposition_1_geometric {S A : Type*} [Fintype S] [DecidableEq S] [Nonempty S]
[Fintype A] [DecidableEq A] [Nonempty A] (M : MDP S A) (H : ℕ) (hH : 1 ≤ H) (εLA : ℝ)
(δ : ℕ → ℝ) (J : ℕ → S → ℝ) (μ : ℕ → S → A)
(hrun : IsRunAlg3 M H εLA δ J μ)
(β μc : ℝ) (hβ0 : 0 < β) (hβ1 : β < 1) (hμc : 0 < μc)
(h8 : ∀ k : ℕ, δ k ≤ β ^ k * δ 0 + μc) (k : ℕ) :
‖valueOf M (μ k) - optValue M‖ ≤
M.α ^ (k * H) / (1 - M.α) +
2 * M.α ^ H / (1 - M.α) * k * max (M.α ^ (H - 1)) β ^ (k - 1) * δ 0 +
(2 * M.α ^ H * μc + εLA) / ((1 - M.α) * (1 - M.α ^ H)) := by sorry
end LookaheadAPI.LeastSquares
Source
arXiv:2109.13419v7, p. 13, Proposition 1 (eq. (8) and second display); proof in Appendix A, p. 19
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.