Reverse Bellman inequality lower-bounds the optimal gain
ProvedBanditAlgorithm.mdp_optimal_gain_ge_of_reverse_bellman_ineqLet be a finite MDP with at least one state, a deterministic memoryless policy, and with bounded satisfying the reverse Bellman inequality along ,
Then , where is the optimal gain of .
This is the optimality half of Theorem 38.2 of Lattimore and Szepesvári, complementing the verification half (a solution of the Bellman optimality inequality bounds from above). A pair solving the optimality equation satisfies both, so and the greedy policy is optimal.
The proof is the finite-horizon bound divided by : the lower bounds converge to , so the defining the gain of from any state is at least . The passage from the gain of one policy to the optimal gain is the elementary bound of a supremum by one of its terms; the supremum is finite because every gain is at most one, the rewards being in , so the conditional supremum is well behaved.
import Definitions.Def_FiniteMDPLearning import Mathlib.Probability.Kernel.Composition.IntegralCompProd open MeasureTheory ProbabilityTheory
theorem BanditAlgorithm.mdp_optimal_gain_ge_of_reverse_bellman_ineq {S A : ℕ} (hS : 0 < S)
(M : FiniteMDP S A) (f : Fin S → Fin A) (ρ : ℝ) (v : Fin S → ℝ) (lo hi : ℝ)
(hv : ∀ s, v s ∈ Set.Icc lo hi)
(hbell : ∀ s, ρ + v s ≤ M.r s (f s) + ∑ s', (M.P s (f s) s' : ℝ) * v s') :
ρ ≤ mdpOptimalGain M := by
sorry