Theorem 5: global suboptimality bound
ProvedDeepMDP.global_suboptimality_boundLet , and be as in Lemma 2, with -Lipschitz and (Assumption 1). Let be an optimal policy of , and let be the optimal value function of . Then for all ,
where is the value in of the policy .
The optimal policy of the DeepMDP is thus near-optimal in the original MDP when the global losses are small.
Formalization Note The comparison is made in : the left side is the positive part of , which is nonnegative anyway.
import Mathlib import Definitions.Def_DeepMDP_Basic open MeasureTheory ProbabilityTheory Filter open scoped ENNReal NNReal
namespace DeepMDP
theorem global_suboptimality_bound {S Sb A : Type*} [MeasurableSpace S] [DiscreteMeasurableSpace S] [Countable S]
[MetricSpace Sb] [MeasurableSpace Sb] [BorelSpace Sb]
[Fintype A] [Nonempty A] [MeasurableSpace A] [MeasurableSingletonClass A]
(R : S → A → ℝ) (P : A → Kernel S S) (Rb : Sb → A → ℝ) (Pb : A → Kernel Sb Sb) (γ : ℝ)
(φ : S → Sb) (hM : IsMDP R P γ) (hMb : IsMDP Rb Pb γ)
(KRb KPb : ℝ≥0) (hLip : IsLipschitzMDP Rb Pb KRb KPb) (hA1 : γ * (KPb : ℝ) < 1)
(πs : Kernel Sb A) (hopt : IsOptimalPolicy Rb Pb γ πs) (s : S) :
ENNReal.ofReal (optValue R P γ s - vValue R P γ (liftPolicy πs φ) s) ≤
2 * rewardLossGlobal R Rb φ / ENNReal.ofReal (1 - γ) +
2 * ENNReal.ofReal γ * (KRb : ℝ≥0∞) * transLossGlobal P Pb φ /
(ENNReal.ofReal (1 - γ) * ENNReal.ofReal (1 - γ * KPb)) := by sorry
end DeepMDPRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a countable set of states in which every subset is measurable. Let be a metric space with distance , equipped with its Borel -algebra. Let be a finite, nonempty set of actions, carrying a -algebra in which every singleton is measurable. The theorem fixes the following data:
- and transition kernels on , one kernel per action . Together these form the "original" MDP .
- and transition kernels on , one kernel per action. Together these form the "latent" MDP .
- A real number , shared by both MDPs.
- An arbitrary map , the embedding.
- Constants .
- A policy , given as a measurable kernel from to .
- A state .
Hypotheses.
- is an MDP. This means:
- ;
- every is a Markov kernel, so each is a probability measure;
- each is measurable;
- there is a real with for all .
- is an MDP with the same , in the same sense: is Markov, each is Borel measurable, and is bounded.
- is -Lipschitz. For every action and all :
Here is the Wasserstein-1 cost: the infimum of over all measures on whose two marginals are exactly and . 4. Contraction-type condition: . 5. is optimal in . This means is a Markov kernel, and for every Markov kernel from to and every ,
How values are defined. For any MDP and any kernel policy , the value functions are built as follows. Write for the mass of , converted to a real number.
- Set and
The integral is taken to be if the integrand is not integrable.
- is . If this limit does not exist, is an unspecified real number.
- The state value is
denotes these quantities computed in ; denotes them computed in .
Quantities in the conclusion.
- is the supremum of in over all Markov kernels from to . This is a real supremum, so by convention it equals if these values are unbounded above.
- The lifted policy acts on by choosing actions with probabilities .
- is the pushforward of under .
- The global losses take values in :
Conclusion. Write for the positive part of a real number . Then, in the extended nonnegative reals ,
Both denominators are strictly positive under the hypotheses. Infinite values are handled with extended-real arithmetic:
- If (and is anything), the right-hand side is .
- If and , the right-hand side is .
- If or , the second term is even when .
Scope notes.
- The constant in the numerator of the second term is the reward Lipschitz constant .
- No Lipschitz condition is assumed on the value functions of .
- No regularity is assumed on beyond its being a function, which is automatically measurable because every subset of is measurable.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.