Proposition 4.4 (invariance): is invariant under a one-to-one change of state representation
ProvedMBRLGuarantees.gap_invariant_under_state_bijectionIn the setting of Lemma C.1, let and be deterministic measurable models and a deterministic measurable policy, and transform , , and by . Then the one-step discrepancy is unchanged: for all and actions ,
where and the transformed values use .
Unlike a norm on the states, the discrepancy bound therefore does not depend on the choice of state representation.
Formalization Note Eq. (C.1) writes with an absolute value; the statement is the equality without absolute values, which implies it.
import Mathlib import Definitions.Def_MBRLGuarantees_Basic open MeasureTheory ProbabilityTheory InformationTheory open scoped ENNReal
namespace MBRLGuarantees
theorem gap_invariant_under_state_bijection {S S' A : Type*} [MeasurableSpace S]
[MeasurableSpace S'] [MeasurableSpace A]
(γ : ℝ) (hγ0 : 0 ≤ γ) (hγ1 : γ < 1)
(R : S × A → ℝ) (hRm : Measurable R) (hRb : ∃ C, ∀ x, |R x| ≤ C)
(T : S ≃ᵐ S') (mhat mstar : S × A → S) (hmhat : Measurable mhat) (hmstar : Measurable mstar)
(p : S → A) (hp : Measurable p)
(mhatT mstarT : S' × A → S') (hmhatT : Measurable mhatT) (hmstarT : Measurable mstarT)
(hmhatT_eq : ∀ x, mhatT x = T (mhat (T.symm x.1, x.2)))
(hmstarT_eq : ∀ x, mstarT x = T (mstar (T.symm x.1, x.2)))
(pT : S' → A) (hpT : Measurable pT) (hpT_eq : ∀ x, pT x = p (T.symm x)) (s : S) (a : A) :
gapFn γ (fun x : S' × A => R (T.symm x.1, x.2)) (Kernel.deterministic pT hpT)
(Kernel.deterministic mhatT hmhatT) (Kernel.deterministic mstarT hmstarT) (T s) a =
gapFn γ R (Kernel.deterministic p hp) (Kernel.deterministic mhat hmhat)
(Kernel.deterministic mstar hmstar) s a := by sorry
end MBRLGuaranteesRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let , (state spaces) and (action space) be arbitrary measurable spaces. The statement fixes the following data:
- A discount factor with .
- A reward , assumed measurable and bounded: there is a constant with for all .
- A measurable bijection whose inverse is also measurable.
- Two measurable maps , the deterministic "learned" and "true" dynamics on .
- A measurable map , a deterministic policy on .
- Two measurable maps satisfying, for every ,
- A measurable map with for every .
- A point and an action , which are arbitrary.
Each deterministic map is turned into a Markov kernel of Dirac masses:
- the policy ;
- the models and ;
- the analogous kernels , , on .
The transported reward on is .
Claim. The theorem asserts the equality
The quantity . For a policy kernel , a model and a reference model , the one-step model discrepancy is
Here both integrals use the value function of on the model , against two different next-state laws. With the deterministic kernels above, these are integrals of against the Dirac masses at and at , respectively.
The value function. It is defined as
Its ingredients are:
- The expected one-step reward is . For this is the integral of against .
- The state-to-state kernel is , the law of the second coordinate under . For the deterministic kernels it is the law of the next state .
- The -step kernels are and .
Edge cases and conventions.
- The sum over is an unconditional sum of real numbers and is taken to be if the family is not summable.
- All integrals are Bochner integrals, which take the value for non-integrable integrands.
- No assumption is made that singletons are measurable. The equality is stated literally in terms of these integrals against Dirac masses, not in terms of evaluation.
- is allowed. In that case only the term remains, with .
- The hypotheses defining , and can always be satisfied, by taking those maps to be the stated compositions.
- The measurability and boundedness hypotheses are imposed on only; no separate hypothesis is placed on .
- The conclusion concerns the single pair , which is arbitrary, so it holds for every and every .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.