Proof of Theorem 8.3.5, p. 114 — in a deterministic MDP a non-escaping optimal policy of M_K is T-step optimal in M
ProvedSampleComplexityRL.Exploration.det_optimal_of_no_escapedynamic-programmingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-bookp2o-v1reinforcement-learning
Let be a deterministic MDP with finite state set , finite nonempty action set , next-state map and rewards . Let , let be the induced MDP and let be a -step optimal policy in . If, from state at time , following in does not escape from ,
then is -step optimal in at :
This is the second fact behind the proof of Theorem 8.3.5: every step at which (with ) does not explore is spent executing a -step optimal policy.
Formalization Note Epochs are 0-based, values carry the factor , and is the supremum over all -step policies.
Preamble
import Mathlib import Definitions.Def_FoundationsML_ReinforcementLearning_IsTransitionKernel import Definitions.Def_SampleComplexityRL_Exploration_Model
Formal statement
namespace SampleComplexityRL.Exploration
/-- **Non-escaping steps are optimal** (Kakade 2003, proof of Theorem 8.3.5, p. 114: "All other
steps must be spent executing `T`-step optimal policies"). Let `M` be a deterministic MDP with
next-state map `f` and rewards `r` in `[0,1]`, `K` a set of states and `π` an optimal `T`-step
policy in the induced MDP `M_K`. If following `π` from state `s` at time `t < T` does not escape
from `K` (escape probability `0`), then `π` is `T`-step optimal in `M` at `(s, t)`:
`U_{π,t,M}(s) = U*_{t,M}(s)`. -/
theorem det_optimal_of_no_escape {S A : Type} [Fintype S] [DecidableEq S] [Fintype A]
[DecidableEq A] [Nonempty A]
(f : S → A → S) (r : S → A → ℝ) (hr : ∀ s a, 0 ≤ r s a ∧ r s a ≤ 1)
(K : Finset S) (T : ℕ) (π : ℕ → S → A)
(hπ : IsTStepOptimal (inducedP (detKernel f) K) (inducedR r K) T π)
(t : ℕ) (ht : t < T) (s : S)
(hesc : escapeProb (detKernel f) K T π t s = 0) :
uValue (detKernel f) r T π t s = optUValue (detKernel f) r T t s := by sorry
end SampleComplexityRL.Exploration
Source
Kakade, On the Sample Complexity of Reinforcement Learning, PhD thesis, University College London, 2003, p. 114, proof of Theorem 8.3.5 (last sentence)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.