Theorem 3 — under (W*) and (B̲), a stationary φ satisfies (9) with u of (21), (10) holds, and the properties (a)–(e) of u, A*(x) and A_*(x)
ProvedFKZAvg.WStar.theorem_3Consider a discrete-time Markov decision process whose state space and action space are Borel subsets of Polish spaces, with nonempty Borel action sets , Borel graph , a measurable selector of , a bounded below one-step cost and a transition probability . Let be the optimal average cost, , the optimal discounted cost, , , ,
(26), and (17).
Suppose Assumptions and hold. Then there is a stationary policy with
and for this , for all (10). Furthermore:
- (a) takes finite nonnegative values and is lower semicontinuous;
- (b) the sets are nonempty, (b₁) is a Borel subset of , and (b₂) each is compact;
- (c) every stationary policy with for all is average cost optimal and satisfies (9);
- (d) there is a stationary policy with for all , and for all ;
- (e) if, in addition, Assumption holds, is inf-compact.
This is the main result of the paper: the average cost optimality inequality and a stationary average-cost optimal policy under the weak continuity assumption , which allows noncompact action sets, and the boundedness assumption , weaker than Schäl's (B).
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. Every equality of (10) is stated for every ; is the fixed function (21), never a free parameter; and (W*), (Wu) constrain and on only.
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 3 (p. 600), the main result: all of it. -/
theorem theorem_3 {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) (hB : CondBLow M) :
-- a stationary φ satisfying (9) with u of (21), and (10) for it
(∃ φ : X → A, ∃ hφ : IsStationary M φ, Ineq9 M (uAvg M) φ ∧ Eq10 M hφ) ∧
-- (a)
(LowerSemicontinuous (uAvg M) ∧ ∀ x, uAvg M x ≠ ⊤) ∧
-- (b): nonempty, (b₁) Borel graph, (b₂) compact
((∀ x, (AsupStar M x).Nonempty) ∧
MeasurableSet {p : X × A | p.2 ∈ AsupStar M p.1} ∧
∀ x, IsCompact (AsupStar M x)) ∧
-- (c)
(∀ φ : X → A, ∀ hφ : IsStationary M φ, (∀ x, φ x ∈ AsupStar M x) →
IsAvgOpt M hφ ∧ Ineq9 M (uAvg M) φ) ∧
-- (d)
((∃ φ : X → A, IsStationary M φ ∧ ∀ x, φ x ∈ AsubStar M (uAvg M) x) ∧
∀ x, AsubStar M (uAvg M) x ⊆ AsupStar M x) ∧
-- (e)
(CondWu M → InfCompactOn (uAvg M) Set.univ) := by sorry
end FKZAvg.WStar
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let (the state space) and (the action space) be arbitrary types. Each carries a topology that is metrizable and second countable, together with a σ-algebra that is the Borel σ-algebra of that topology. Each is also a standard Borel space. Let be a model on and , an object of the type Model X A defined in the imported module SchalAvg.AvgOpt. Its fields are not shown in this declaration. The theorem has three hypotheses on , each a predicate defined in the imported modules whose content is not reproduced here:
- ;
- , a condition named "W*";
- , a condition named "B" (lower).
The statement also uses the following objects, all defined in the imported modules. Their definitions are not visible to this read-back:
- a function on , whose codomain has a top element and an order;
- for each state , two sets of actions: and , where the second is formed with as an argument;
- predicates on a map :
- ;
- , labelled "inequality (9)";
- for a given proof of stationarity, , labelled "equation (10)", and , labelled "average-optimal";
- a further condition ;
- a predicate , read as " is inf-compact on ".
Under these hypotheses the theorem asserts all six of the following at once.
- Existence. There is a map with a proof that is stationary for , such that holds and holds.
- (a) is lower semicontinuous on , and for every .
- (b)
- For every , the set is nonempty.
- The graph is a measurable (Borel) subset of .
- For every , the set is compact.
- (c) Take any with any proof that it is stationary, and suppose for all . Then and both hold.
- (d)
- There exists that is stationary for and satisfies for all .
- For every the inclusion holds:
- (e) If holds, then is inf-compact on all of . This part is only an implication; the theorem does not assert itself.
Equation (10) and average-optimality are predicates on the proof , not only on . Part (c) applies to every such proof.
Degenerate cases.
- empty. Every "for all " clause holds vacuously, and the graph in (b) is the empty set, which is measurable. A map exists, namely the empty function. Whether the existence claims in parts 1 and (d) hold then depends only on how the hidden predicates , and treat that empty function.
- nonempty and empty. No map exists, and no subset of is nonempty. So the conclusions in parts 1 and (b) would be false. In that situation the statement therefore amounts to saying that , and cannot all hold.
- Values of . Part (a) excludes only the value . If the codomain of also has a bottom element, such as , the statement says nothing that rules it out.
- What cannot be settled here. Whether any hypothesis is vacuous or impossible to satisfy, and what junk values the hidden definitions might produce, cannot be determined from this declaration. Those definitions are not part of the code shown.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.