Theorem 1: global representation quality bound
ProvedDeepMDP.global_representation_qualityLet 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 and global losses . Assume is -Lipschitz with (Assumption 1). For every -Lipschitz-valued policy , all and all ,
where is the action value in of the policy .
When both global losses vanish, states with different values for such a policy are never mapped to the same latent point, which justifies using as a representation for value prediction.
Formalization Note Both sides are compared in , with . This is harmless, as in Lemma 2: makes constant. Assumption 1 is a standing assumption of the paper from Section 2.4 onwards and is included though the proof does not use it.
import Mathlib import Definitions.Def_DeepMDP_Basic open MeasureTheory ProbabilityTheory Filter open scoped ENNReal NNReal
namespace DeepMDP
theorem global_representation_quality {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₂ : S) (a : A) :
ENNReal.ofReal |qValue R P γ (liftPolicy πb φ) s₁ a - qValue R P γ (liftPolicy πb φ) s₂ a| ≤
(KV : ℝ≥0∞) * edist (φ s₁) (φ s₂) +
2 * ((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. Fix the following data.
- Original state space . It is countable, and every subset of is measurable. No metric is placed on .
- Latent state space . It is a metric space with distance , equipped with its Borel σ-algebra.
- Action set . It is finite and nonempty, with a σ-algebra in which every singleton is measurable.
- Original MDP. A reward and transition kernels on , one for each action .
- Latent MDP. A reward and transition kernels on .
- Discount and embedding. A real number , shared by both MDPs, and an arbitrary map .
- Constants. Nonnegative reals , and .
- Latent policy. A Markov kernel from to . Each is a probability measure on .
- Free variables of the conclusion. States and an action .
Hypotheses.
- The original MDP is an MDP.
- .
- Each is a Markov kernel, so every is a probability measure.
- Each is measurable.
- There is a constant with for all .
- The latent MDP is an MDP. The same four conditions hold for .
- The latent MDP is -Lipschitz. For every action and all :
Here is the Wasserstein-1 distance, valued in :
The infimum runs over all measures on whose first marginal is and whose second marginal is . 4. Contraction-type condition. . 5. is -Lipschitz-valued in the latent MDP. For all and every action :
The constant and hypotheses 2 and 4 do not appear in the conclusion.
Value functions. For an MDP and a kernel , the action value is built from iterates:
- The integral is the Bochner integral, which by convention equals when the integrand is not integrable.
- is defined as . If this limit does not exist, is an unspecified real number.
- The state value is
- and denote these quantities for the latent MDP with policy .
- in the conclusion denotes the action value of the original MDP under the lifted policy
Losses. The global reward loss and global transition loss are both valued in :
Here is the law of for .
Conclusion. For all and every :
This inequality is stated in the extended nonnegative reals , with these consequences:
- Since , the denominator is strictly positive.
- If either loss is and its coefficient is nonzero, the right-hand side is and the inequality holds trivially.
- The convention applies. For example, if or , the transition-loss term vanishes even when .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.