Remark 1 (as proved): spanning policies and functions pin down the true model
ProvedValueEquivalence.ve_space_pinned_by_spanning_setsLet be finite, , the true model, and a set of models that all have the true reward . Let and be sets of policies and functions with
Then or .
Formalization Note The paper states the remark without the two added hypotheses. Both are needed. For any model with the true reward is value equivalent to . With learned rewards and there are counterexamples: for one action, two states, (a basis whose coefficients for the constant function sum to ), and with having zero row sums, the model is value equivalent to on but differs from it.
import Mathlib import Definitions.Def_ValueEquivalence_Basic open Filter Topology
namespace ValueEquivalence
theorem ve_space_pinned_by_spanning_sets {S A : Type*} [Fintype S] [Fintype A]
(γ : ℝ) (hγ0 : 0 < γ) (hγ1 : γ < 1) (M : Set (Model S A)) (mstar : Model S A)
(hM : ∀ m ∈ M, m.r = mstar.r)
(Pol : Set (S → A → ℝ)) (V : Set (S → ℝ)) (hPol : Pol ⊆ policies)
(hcover : policies ⊆ pspan Pol) (hV : Submodule.span ℝ V = ⊤) :
veSpace γ M mstar Pol V = {mstar} ∨ veSpace γ M mstar Pol V = ∅ := by sorry
end ValueEquivalenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
For finite sets (states) and (actions), either of which may be empty, the statement uses the following objects.
Models. A model is a pair of two things:
- a reward function ;
- a transition kernel , with for all and for every .
Two models are equal exactly when both their reward functions and their kernels coincide.
Policies. A policy is a function with and for every . Write for the set of all policies.
Bellman operator. For a model , a real , any function and any , the Bellman operator is
The theorem. The data are:
- a real with ;
- a set of models;
- a model , which is not assumed to belong to ;
- a set of functions ;
- a set of functions .
The hypotheses are:
- every has the same reward as , that is, ;
- every element of is a policy, so ;
- every policy lies in the pointwise span of . For every and every state , the vector is a finite real linear combination of the vectors . The coefficients may differ from state to state and need not be nonnegative.
- the linear span of is all of .
Define the value-equivalence space
Here equality is equality of functions on all of . The theorem concludes that
So either no model of is value equivalent to , or is the only one. In the second case . The statement does not say which alternative holds.
Edge cases included by the quantifiers:
- If , then all functions on coincide and there is exactly one model.
- If and , then the following all hold:
- no policy exists, since , so ;
- hypotheses 2 and 3 force ;
- the value-equivalence condition is vacuous;
- there is again exactly one model.
- If and are both nonempty, hypothesis 3 forces to be nonempty.
- If is nonempty, hypothesis 4 forces to be nonempty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.