Lemma 2: global value difference bound
ProvedDeepMDP.global_value_difference_boundLet be an MDP with countable discrete state space, and let be a DeepMDP on a metric space , both with finite action set , discount and bounded measurable rewards, with an embedding . Assume is -Lipschitz with (Assumption 1). Let be a -Lipschitz-valued policy on . Then for all and ,
where is computed in for the policy and in .
Small global losses therefore make the DeepMDP's value functions accurate for every Lipschitz-valued latent policy.
Formalization Note Both sides are compared in , with the convention . If and , an infinite transition loss makes the bound trivially true. If or , the term is even when the loss is infinite, and the bound still holds. For the transition plays no role. For , is constant, so its expectations under any two distributions agree. The proof does not use Assumption 1; it is included because the paper imposes it from Section 2.4 onwards.
import Mathlib import Definitions.Def_DeepMDP_Basic open MeasureTheory ProbabilityTheory Filter open scoped ENNReal NNReal
namespace DeepMDP
theorem global_value_difference_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)
(πb : Kernel Sb A) [IsMarkovKernel πb] (KV : ℝ≥0) (hπ : IsLipschitzValued Rb Pb γ πb KV)
(s : S) (a : A) :
ENNReal.ofReal |qValue R P γ (liftPolicy πb φ) s a - qValue Rb Pb γ πb (φ s) a| ≤
(rewardLossGlobal R Rb φ + ENNReal.ofReal γ * (KV : ℝ≥0∞) * transLossGlobal P Pb φ) /
ENNReal.ofReal (1 - γ) := by sorry
end DeepMDPRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting.
- is a countable set of "ground" states. Every subset of is measurable.
- is a metric space with metric , carrying its Borel -algebra.
- is a finite, nonempty set of actions, with a -algebra in which singletons are measurable.
The data are:
- reward functions and ;
- for each action , transition kernels on and on ;
- a real number ;
- an arbitrary map (the embedding);
- constants ;
- a latent policy , a Markov kernel assigning to each a probability distribution on ;
- a state and an action .
Hypotheses.
- is an MDP in the following sense:
- ;
- every is a Markov kernel, so each is a probability measure;
- each is measurable;
- there is a real with for all .
- satisfies the same four conditions, with the same .
- The latent MDP is -Lipschitz. For every action and all :
Here , with the infimum over all measures on whose two marginals are exactly and . The constant appears nowhere else in the statement. 4. . 5. is -Lipschitz-valued in the latent MDP. Both and, for each action , are -Lipschitz on .
Value functions. For an MDP and policy , is defined through finite-horizon iterates:
- The integral is the Bochner integral, which is taken to be if the integrand is not integrable.
- is defined as . If this limit does not exist, it is an unspecified real number.
- .
In the statement:
- denotes the action-value in the ground MDP under the lifted policy .
- and denote the values in the latent MDP under .
Losses. Both are valued in :
Here is the law of when .
Conclusion. For the given and , in the extended nonnegative reals :
Edge cases in extended arithmetic.
- The denominator is strictly positive, by hypothesis 1.
- The right-hand side is (so the inequality holds trivially) whenever .
- It is also whenever with .
- Under the convention , if or , the transition term contributes even when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.