Theorem 3.1 — Distributional optimality and an attained saddle
ProvedXuDRMDP.Finite.theorem_3_1Let be a finite nonempty staged state set with finite nonempty action sets , initial stage consisting of alone, finite horizon , zero terminal rewards and discount . Assume the nested local parameter sets () are nonempty, convex and compact sets of valid transition/reward vectors. Local sets may couple all actions. Let . The local class consists of all Borel probability laws supported on with , and consists of their statewise product laws. Policies are all history-dependent randomized policies on state/action histories, including null histories. Returns are the independent finite trajectory expectations, subsequently integrated against the parameter law.
Let be any S-robust policy: after every admissible nonterminal history its mixed action maximizes the local worst continuation value in Definition 3.2's backward recursion over . Then:
- For every policy , .
- There exists one with
The Lean saddle predicate gives membership and the equivalent inequalities for every competitor on each side. Since the witness and the chosen policy belong to their domains, these inequalities assert both equalities and their attainment, using the same witness.
Differences from the source:
- encoding: finite states and state-dependent actions, one-based staged histories, and expected discounted trajectory returns → nonempty Fin types, zero-based stages, total policy extensions on unused histories, and explicit finite trajectory sums followed by Bochner integration; reason: finite relabeling and unused extensions preserve all source instances; compact outer support ensures integrability and finite bounded returns
- reading: Definition 3.2 displays (r,p) in the weighted sum but (p,r) in its membership condition → consistent (p,r) coordinates in the reduction set; reason: Lemma 3.3 and its proof fix the intended order; see insight I1
- encoding: attained minimum and maximum in the S-robust recursion and infima in distributional optimality → real infima and suprema of nonempty bounded images, and the all-competitor local maximizer predicate; reason: compact sets and finite simplices give finite attained extrema; the predicate retains every maximizing action
- reading: Theorem 3.1 prose uses the local subscript C_s → the global product-law class C_S in both conclusions; reason: the displayed integral and the product-law construction in the proof require the global class; see insight I2
- encoding: two equalities involving policy supremum and distribution infimum → membership and all-competitor saddle inequalities for the same witness; reason: the witness itself attains each extremum, so the encodings are equivalent
import Definitions.Def_XuDRMDP_Finite_Setup import Definitions.Def_XuDRMDP_Finite_Policies import Definitions.Def_XuDRMDP_Finite_Ambiguity import Definitions.Def_XuDRMDP_Finite_Returns import Definitions.Def_XuDRMDP_Finite_Robustness open MeasureTheory
namespace XuDRMDP.Finite
theorem theorem_3_1 {n : ℕ} [NeZero n] {a : Fin n → ℕ} [∀ s, NeZero (a s)]
(G : Setup n a) (U : Uncertainty G) (π : Policy a) (hπ : SRobust U π) :
DistributionallyRobust U π ∧ ∃ ν : Measure (Parameters n a), Saddle U π ν := by sorry
end XuDRMDP.Finite
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
The statement concerns a finite-horizon, staged decision problem with states . Each state has an action set with . All other objects are arbitrary inputs:
-
The setup gives:
- a horizon with ;
- a discount factor with , so is allowed;
- a stage map from states to with for every ;
- an initial state with , which is the only state of stage .
Stages need not be contiguous or surjective.
-
Local parameters. A local parameter at state is a pair :
- is a "transition" entry for each action and state ;
- is a "reward" for each action .
A global parameter picks one local parameter per state.
-
Valid local parameters. is valid at when all three of the following hold:
- There is some object of the imported general discounted-MDP type, with the same state and action sets, whose transition and reward components at equal . That type's definition is not shown here; its accompanying comment describes the transition rows as probability rows.
- If , then for every .
- If , then for every and every with .
-
The uncertainty gives:
- a number , so there are layers ;
- confidence levels , all ;
- for each state and layer , a set of local parameters at .
Each is nonempty, convex and compact, and every element of it is valid at . The sets are nested: .
-
Ambiguity sets of distributions.
- The local class consists of all probability measures on local parameters at (standard product/Borel -algebra) with and for every .
- The global class consists of exactly the product measures with every .
Histories and policies. A history is a finite list of past (state, action) pairs together with a current state , which has no action yet.
- The initial history is the empty list with current state .
- A history is admissible if it is obtained from the initial history by repeatedly appending the current pair and moving to a state with . Transition values play no role in admissibility.
- A policy assigns to every history , admissible or not, a mixed action : a probability vector on , meaning nonnegative entries summing to .
- Policies see only past states and actions, never rewards or the parameter .
Return of a policy. For a global parameter and a history , set . This is exact, since . The return is a sum over all sequences of state-action pairs and all final states , of a probability weight times .
The weight is nonzero only when all three of the following hold:
- for every ;
- when ;
- .
In that case the weight equals
where:
- ;
- is the history whose past is 's past followed by the first pairs of , and whose current state is .
So rewards are collected at stages , with discounting restarted at . The state reached at stage contributes no reward. Nothing in this definition requires to be nonnegative or row-stochastic.
The performance of under a measure on global parameters is
a Bochner integral, which by convention would be if the integrand were not integrable.
Robust recursion. Write and for . The reduced set at is
where combination is coordinatewise in .
For a mixed action at , a local parameter , and a vector , define
Define and
with the supremum over all mixed actions at . The robust value is , so different states use different recursion depths.
Hypothesis. is S-robust. For every admissible history with , and every mixed action at ,
Here is the whole vector . Inadmissible histories and histories at terminal states, those with , are unconstrained.
Conclusion. Two things hold.
(i) is distributionally robust. Let
where an infimum in of an empty or unbounded-below set would be . Then
where each competitor is evaluated at its own infimum.
(ii) There exists a measure on global parameters with all three of:
- ;
- for every policy ;
- for every .
Degenerate and edge cases.
. Every state has stage , so uniqueness of the stage- state forces . Then:
- every return uses , so it is the empty-product weight times an empty reward sum, which is ;
- ;
- the S-robustness hypothesis is vacuous;
- .
So every policy satisfies (i), and any witnesses (ii).
A non-terminal state with no successor stage. This covers with . More generally, it is any with but no state of stage . There, validity forces every to be the zero row. If the imported MDP type requires probability rows, as its comment indicates, no valid local parameter exists at . Then no with nonempty exists, and the theorem is vacuously true for such .
. Then , , and . is all probability measures concentrated on .
Zero confidence levels. Any imposes no constraint. The are nonnegative and sum to .
Single actions. A state with has a unique mixed action, so its S-robustness condition holds trivially.
Possible junk values. None arises from an empty set:
- each is a nonempty compact set, so the infimum defining is over a nonempty bounded set of reals;
- is nonempty, for example the product of Dirac masses at points of .
Whether the suprema in and the infimum in are over bounded sets is not stated by the hypotheses. If either were unbounded, the convention value would be used.
Discounting. With , the returns are undiscounted sums.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.