§ The Optimal Policy with Discounting, p. 946 — among all policies of the infinite-step discounted problem there is an optimal stationary policy
ProvedJewellMRP.Discounted.exists_optimal_stationaryLet a Markov-renewal program be given and let . There is a stationary policy with return (the solution of (15) for ) such that for every nonstationary policy , every vector of boundary rewards and every state , the -step return converges as to a limit with
The paper writes: "among all the optimal policies for the infinite-step or infinite-time discounted case, there exists an optimal, stationary policy". This is the statement that restricting attention to stationary policies, as the algorithm of Fig. 1 does, loses nothing.
Formalization Note Only the infinite-step case is formalized; the infinite-time case uses the continuous-time returns of (10), which are outside this mission. The comparison class is the paper's: deterministic Markov policies, possibly depending on the number of transitions made. The limit of the return of every such policy is asserted to exist, not assumed.
import Mathlib import Definitions.Def_JewellMRP_Discounted_MRP import Definitions.Def_JewellMRP_Discounted_PolicyIteration open Filter Topology
namespace JewellMRP.Discounted
/-- § The Optimal Policy with Discounting, p. 946: in the infinite-step discounted problem there
is a stationary policy `d` whose return `v` (the solution of (15)) is at least the limiting
return of every, possibly nonstationary, policy, from every state and for all boundary
rewards. -/
theorem exists_optimal_stationary {S A : Type*} [Fintype S] [Fintype A] [Nonempty A]
(M : MRP S A) {α : ℝ} (hα : 0 < α) :
∃ (d : S → A) (v : S → ℝ), SolvesEval M α d v ∧
∀ (π : ℕ → S → A) (V0 : S → ℝ) (i : S), ∃ x : ℝ,
Tendsto (fun n => policyReturn M α π V0 n i) atTop (𝓝 x) ∧ x ≤ v i := by sorry
end JewellMRP.Discounted
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
This theorem concerns a structure as follows:
- a finite state set and a finite, nonempty alternative set ;
- row-stochastic matrices ;
- probability measures supported on ;
- arbitrary returns .
Write the test quantity as
Take any real . The theorem asserts that there are a stationary policy and a vector with two properties.
- for all .
- Take any sequence of decision rules with , any boundary vector and any state . Then the -step return converges as to some real number , and . The return is defined by
So governs the first transition, governs the last, and comes after the last.
The limit may depend on , and . The policies compared are exactly the sequences of state-dependent decision rules indexed by transition number. The statement does not cover rules that depend on the past history, nor randomized rules.
Degenerate cases: the case is excluded. If is empty, the statement is trivial. At the return equals , but only the limit as is compared with .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.