Theorem 4 (as proved, part 1): the bisimulation metric ignores factors outside
ProvedDeepBisimulationControl.task_generalization_non_ancestorsLet the state space be a product of finitely many finite factors, and let be a finite nonempty action space. Suppose the one-step dynamics factorise along a causal graph:
where each is a probability distribution on that depends on only through the factors in , and the reward depends on only through the factors in . Let be the causal ancestors of the reward, the factors with a directed path to the reward. Let and let be the bisimulation metric of Definition 2. If two states agree on every factor in , then
and every encoder with for all satisfies .
So a bisimulation representation does not change when only factors outside change.
Formalization Note The printed Theorem 4 says informally that "encodes information about all the causal ancestors of the reward". Its proof has two parts. This statement is part 1, which is the precise claim the proof makes. Part 2 only says that a change of an ancestor "can" give a positive distance and is not included. The proof uses the maximum over actions of eq. (3), so is the metric of Definition 2.
import Mathlib import Definitions.Def_DeepBisimulationControl_Basic open Filter Topology
namespace DeepBisimulationControl
theorem task_generalization_non_ancestors {I A : Type*} [Fintype I] [DecidableEq I]
{X : I → Type*} [∀ i, Fintype (X i)] [∀ i, DecidableEq (X i)] [Fintype A] [Nonempty A]
(T : ∀ i, (∀ j, X j) → A → X i → ℝ)
(hT0 : ∀ i s a x, 0 ≤ T i s a x) (hT1 : ∀ i s a, ∑ x, T i s a x = 1)
(pa : I → Set I) (hpa : ∀ i a x, DependsOnlyOn (fun s => T i s a x) (pa i))
(R : (∀ j, X j) → A → ℝ) (paR : Set I) (hR : ∀ a, DependsOnlyOn (fun s => R s a) paR)
(c : ℝ) (hc0 : 0 ≤ c) (hc1 : c < 1)
(s s' : ∀ j, X j) (hss' : ∀ j ∈ causalAncestors pa paR, s j = s' j) :
bisimMetric (factoredKernel T) R c s s' = 0 ∧
∀ (m : ℕ) (phi : (∀ j, X j) → Fin m → ℝ),
(∀ u v, l1Dist (phi u) (phi v) = bisimMetric (factoredKernel T) R c u v) → phi s = phi s' := by sorry
end DeepBisimulationControlRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let be a finite index set of factors. For each , let be a finite set (with decidable equality). The state space is the finite product
and a state has components . Let be a finite, nonempty set of actions.
The data and hypotheses.
- Factor transitions. For each factor , state , action and value , a real number is given, with:
- for all ;
- for all .
- Parent sets of factors. For each factor there is an arbitrary set . For every , the map depends only on the components with : if two states agree on every , they give the same value.
- Reward and its parents. There is a real-valued reward , with no boundedness or sign assumption, and an arbitrary set . For every action , the map depends only on the components with .
- Weight. There is a real number with .
- Two states. There are states with for every .
Causal ancestors. The set consists of the factors for which some and some chain exist, with and for each . Because is allowed, . If , the hypothesis forces . If , for example when , the hypothesis is automatically satisfied by any pair of states.
Objects in the conclusion.
- Factored kernel. The transition kernel is
- Couplings. For real vectors on , a coupling is a function with:
- ;
- row sums ;
- column sums .
- Wasserstein distance. For a cost on ,
This is the real-number infimum. By convention it equals if the set is empty or unbounded below.
- Bisimulation operator. For a function , the operator is
- Bisimulation metric. It is defined as
where is the -fold iterate of applied to the zero function, and . This is a real-number supremum. By convention it equals if the sequence is unbounded above.
- distance. For ,
Conclusion. Both of the following hold:
- .
- For every , including , and every map with
we have .
The second claim says nothing for any for which no such exact isometric exists. For , for example, such a exists only if is identically .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.