Lemma 5: bisimulation distance between a state and its embedding
ProvedDeepMDP.bisimulation_metric_embedding_boundLet , and be as in Theorem 3. Consider the MDP on obtained by joining and : when an action is taken, each state is rewarded and transitions according to its own MDP. Let be its bisimulation metric. Then for every ,
Formalization Note The joined MDP is built explicitly on the disjoint union , with the transitions of and pushed forward by the two inclusions. Its bisimulation metric is the limit of the iterates of Definition 5. The comparison is made in , with . This is harmless: if , all latent states are bisimilar and the bound reduces to , which still holds.
import Mathlib import Definitions.Def_DeepMDP_Basic open MeasureTheory ProbabilityTheory Filter open scoped ENNReal NNReal
namespace DeepMDP
theorem bisimulation_metric_embedding_bound {S Sb A : Type*} [MeasurableSpace S] [DiscreteMeasurableSpace S] [Countable S]
[MetricSpace Sb] [MeasurableSpace Sb] [BorelSpace Sb] [SecondCountableTopology Sb]
[CompleteSpace 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 : S) :
bisimMetric (joinReward R Rb) (joinTrans P Pb) γ (.inl s) (.inr (φ s)) ≤
rewardLossGlobal R Rb φ +
ENNReal.ofReal γ * transLossGlobal P Pb φ * ENNReal.ofReal (KRb / (1 - γ * KPb)) := 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 . A countable set in which every subset is measurable.
- Latent state space . A complete, separable metric space with metric , carrying its Borel -algebra.
- Action set . A finite, nonempty set whose singletons are measurable, so every subset is measurable.
- Original MDP data. A reward , and for each action a transition kernel on .
- Latent MDP data. A reward , and for each action a transition kernel on .
- Discount and embedding. A real number , and an arbitrary function . Since every subset of is measurable, is automatically measurable.
- Constants. Two nonnegative real numbers and .
- Base point. A state .
Hypotheses.
- is an MDP.
- .
- Every is a Markov kernel, so each is a probability measure.
- Each map is measurable.
- There is a real with for all .
- is an MDP in the same sense, with the same .
- Lipschitz condition on the latent MDP. For every action and all :
- Here is the Wasserstein-1 distance on , valued in :
- The infimum ranges over all measures on whose first marginal is and whose second marginal is .
- In particular, these latent Wasserstein distances must be finite.
- No Lipschitz condition is imposed on the original MDP .
- Contraction-type condition. .
The joined MDP. On the disjoint union , with its disjoint-union -algebra, define the following.
- Joined reward .
- for .
- for .
- Joined transition .
- For , is placed on the copy of .
- For , is placed on the copy of .
Bisimulation iterates. These are -valued functions on pairs of points of , including mixed pairs with one point from each part. Set and
- is the infimum, over all measures on with marginals and , of the lower Lebesgue integral .
- The bisimulation metric is
Losses. Both are suprema in .
- Global reward loss:
- Global transition loss:
- is the law of for .
- is the Wasserstein-1 distance on defined above.
Conclusion. For the given state , regarded as a point of the -part, and the point , regarded as a point of the -part:
Edge cases.
- The inequality is in , with the convention . If or , the second term is even when .
- If while and , the right-hand side is and the claim holds trivially.
- is always finite, because both rewards are bounded.
- The denominator is strictly positive by hypothesis 4, so the fraction is an ordinary nonnegative real number.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.