Lemma 8.4.4 — induced inequalities: U_{π,t,M_K} ≥ U_{π,t,M} ≥ U_{π,t,M_K} − Pr(escape from K)
ProvedSampleComplexityRL.Exploration.induced_inequalitiesLet be an MDP with finite state set , finite action set , transition model and rewards . Let be a set of states and the induced MDP, in which the states outside are absorbing with reward . For every -step policy , every time and every state ,
Here is the normalized reward of from , and the escape probability is the probability that the path of in visits a state outside .
The first inequality says that is optimistic; the second that a policy which rarely leaves earns in nearly what it earns in . Together they are the basis of the explore-or-exploit property of .
Formalization Note Epochs are 0-based and values carry the factor . The bound is used: the reward of outside must dominate the rewards of .
import Mathlib import Definitions.Def_FoundationsML_ReinforcementLearning_IsTransitionKernel import Definitions.Def_SampleComplexityRL_Exploration_Model
namespace SampleComplexityRL.Exploration
open FoundationsML.ReinforcementLearning
/-- **Lemma 8.4.4 (Induced Inequalities)** (Kakade 2003, p. 107). Let `M = (P, r)` be an MDP
with rewards in `[0,1]`, `K` a set of states and `M_K` the induced MDP. For every deterministic
`T`-step policy `π`, time `t < T` and state `s`,
`U_{π,t,M_K}(s) ≥ U_{π,t,M}(s)` and
`U_{π,t,M}(s) ≥ U_{π,t,M_K}(s) − Pr(escape from K | π, M, s_t = s)`. -/
theorem induced_inequalities {S A : Type} [Fintype S] [DecidableEq S] [Fintype A]
[DecidableEq A] [Nonempty A]
(P : S → A → S → ℝ) (r : S → A → ℝ) (hP : IsTransitionKernel P)
(hr : ∀ s a, 0 ≤ r s a ∧ r s a ≤ 1)
(K : Finset S) (T : ℕ) (π : ℕ → S → A) (t : ℕ) (ht : t < T) (s : S) :
uValue P r T π t s ≤ uValue (inducedP P K) (inducedR r K) T π t s ∧
uValue (inducedP P K) (inducedR r K) T π t s - escapeProb P K T π t s
≤ uValue P r T π t s := by sorry
end SampleComplexityRL.Exploration
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.