Theorem 2 (i), (iv)–(vi) — under (W*): lower semicontinuity and convergence of values, the discounted optimality equation (20), A_α, stationary optimal policies
ProvedFKZAvg.WStar.theorem_2Consider a Borel Markov decision process with action sets , one-step cost and transition probability , satisfying Assumption , and fix a discount factor . Let be the optimal -horizon discounted cost () and the optimal infinite-horizon discounted cost. Then:
- (i) the functions , , and are lower semicontinuous on , and as for every ;
- (iv) satisfies
the minimum being attained, so the sets are nonempty; is Borel; if , and is compact if ; 3. (v) there is a stationary discount optimal policy, and a stationary policy is discount optimal if and only if for all ; 4. (vi) if Assumption holds, the functions , , and are inf-compact on .
Parts (ii) and (iii) of the paper's theorem (finite-horizon equations and Markov policies) are not used by the goal and are not stated here.
Formalization Note The state and action spaces are types , with a separable metrizable topology whose Borel -algebra is standard Borel; by the Lusin–Souslin theorem these are, up to homeomorphism, exactly the Borel subsets of Polish spaces of the paper. The model is the published SchalAvg.AvgOpt.Model: nonempty action sets with measurable graph , a Markov kernel on all of (only its values on enter) and a cost with values in . The paper's cost is only bounded below; adding a constant to changes none of the statements (p. 595), so the nonnegative case is the general one. HasSelector is the paper's standing assumption (ii) of §2 (a measurable with ). Optimal values are infima over all admissible (randomized, history-dependent) policies. The discount factor ranges over , where is defined. Discount optimality is the published SchalAvg.AvgOpt.IsDiscOptimal ( everywhere).
import Mathlib import Definitions.Def_FeinbergLiang_ACOE_MDP import Definitions.Def_SchalAvg_AvgOpt_Model import Definitions.Def_FKZAvg_WStar_Assumptions open scoped ENNReal NNReal Topology open MeasureTheory ProbabilityTheory Filter SchalAvg.AvgOpt
namespace FKZAvg.WStar
/-- Theorem 2 (i), (iv), (v), (vi) (pp. 598–599), for a discount factor `α ∈ [0, 1)`. -/
theorem theorem_2 {X A : Type*}
[TopologicalSpace X] [TopologicalSpace.MetrizableSpace X] [SecondCountableTopology X]
[MeasurableSpace X] [BorelSpace X] [StandardBorelSpace X]
[TopologicalSpace A] [TopologicalSpace.MetrizableSpace A] [SecondCountableTopology A]
[MeasurableSpace A] [BorelSpace A] [StandardBorelSpace A]
(M : Model X A) (hsel : HasSelector M)
(hW : CondWStar M) (α : ℝ) (hα0 : 0 ≤ α) (hα1 : α < 1) :
-- (i)
((∀ n : ℕ, LowerSemicontinuous (vNOpt M n α)) ∧ LowerSemicontinuous (vβ M α) ∧
∀ x, Tendsto (fun n : ℕ => vNOpt M n α x) atTop (𝓝 (vβ M α x))) ∧
-- (iv)
((∀ x, vβ M α x = ⨅ a ∈ M.Aset x, eta M (vβ M α) α x a) ∧
(∀ x, (AAlpha M α x).Nonempty) ∧
MeasurableSet {p : X × A | p.2 ∈ AAlpha M α p.1} ∧
∀ x, (vβ M α x = ⊤ → AAlpha M α x = M.Aset x) ∧
(vβ M α x ≠ ⊤ → IsCompact (AAlpha M α x))) ∧
-- (v)
((∃ φ : X → A, IsStationary M φ ∧ IsDiscOptimal M α φ) ∧
∀ φ : X → A, IsStationary M φ → (IsDiscOptimal M α φ ↔ ∀ x, φ x ∈ AAlpha M α x)) ∧
-- (vi)
(CondWu M → (∀ n : ℕ, 1 ≤ n → InfCompactOn (vNOpt M n α) Set.univ) ∧
InfCompactOn (vβ M α) Set.univ) := by sorry
end FKZAvg.WStar
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. (the states) and (the actions) are two types. Each carries a metrizable, second-countable topology and a measurable structure equal to its Borel σ-algebra, and each is a standard Borel space. is a Model on and . Its content is given in imported definition files that are not shown here. The statement uses the following pieces of it, all of which are also defined only in those files:
- : a set of actions attached to each state (
M.Aset x). - : a function indexed by a natural number and a real number (
vNOpt M n α). - : a function indexed by (
vβ M α). - : a quantity built from a function on , , a state and an action (
eta M w α x a). - : a subset of attached to each state (
AAlpha M α x). - Predicates on maps : "stationary" (
IsStationary M φ) and "-discount-optimal" (IsDiscOptimal M α φ). - Predicates on :
HasSelector M,CondWStar MandCondWu M. InfCompactOn f S: a predicate on a function and a set .
The values of and lie in an ordered type that has a top element , because the statement compares with .
Hypotheses. HasSelector M and CondWStar M hold, and is a real number with
Conclusion. All four of the following parts hold together.
(i)
- For every , including , the function is lower semicontinuous on .
- The function is lower semicontinuous.
- For every state , converges to as , in the topology of the value type.
(iv)
- For every ,
- For every , the set is nonempty.
- The graph is a measurable subset of .
- For every : if , then ; if , then is a compact subset of .
(v)
- There exists a map that is both stationary and -discount-optimal.
- For every stationary : is -discount-optimal if and only if for every .
(vi) If in addition CondWu M holds, then:
- for every , satisfies
InfCompactOnon the whole of ; - satisfies
InfCompactOnon the whole of .
This implication says nothing about .
Degenerate cases.
- The case is allowed.
- When some is empty, the infimum in (iv) is over an empty set and equals the top element of the value type.
- When is empty, every "for every " clause holds vacuously and the graph in (iv) is the empty set. A map exists (the empty map). Whether it is stationary and -discount-optimal depends on the hidden definitions.
- When is empty and is not, no map exists, and no can be nonempty. The conclusion is then false, so the statement asserts that
HasSelector MandCondWStar Mcannot both hold in that situation. - Whether the hypotheses can be satisfied at all, and what each named object means, cannot be determined from this text. That is settled by the imported definitions, and nothing in the statement excludes the possibility that
HasSelector M ∧ CondWStar Mis never satisfiable, in which case the theorem would be vacuous. - Part (vi) holds vacuously whenever
CondWu Mfails.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.