Proposition 4 (as proved): value-equivalent models give the same value-iteration solution
ProvedValueEquivalence.ve_value_iteration_same_solutionLet be finite with , , the true model with Bellman operators and greedy operator , and a set of models that all have the true reward . Let and be sets of policies and functions, and let be a subspace of such that
- implies for every policy ,
- , and
- .
Then for every , with greedy operator , and every ,
and and have the same fixed points. In particular the optimal value functions agree, : value iteration with started anywhere in yields the same solution as with .
Formalization Note The paper states this for models with arbitrary rewards; that version is false. With two states, one action, , , , and , all hypotheses hold but and . The proof applies Proposition 1, whose span part needs a common reward. The statement therefore adds that all models in have the true reward. "The same solution" is formalized by the equality of all value-iteration iterates from and of the fixed points of the greedy operators. Each greedy operator has exactly one fixed point (its optimal value function) because .
import Mathlib import Definitions.Def_ValueEquivalence_Basic open Filter Topology
namespace ValueEquivalence
theorem ve_value_iteration_same_solution {S A : Type*} [Fintype S] [Fintype A] [Nonempty 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 → ℝ)) (V' : Submodule ℝ (S → ℝ))
(hPol : Pol ⊆ policies)
(hclosed : ∀ π ∈ (policies : Set (S → A → ℝ)), ∀ v ∈ V', bellman mstar γ π v ∈ V')
(hcover : policies ⊆ pspan Pol) (hspan : Submodule.span ℝ V = V')
(mt : Model S A) (hmt : mt ∈ veSpace γ M mstar Pol V) (v' : S → ℝ) (hv' : v' ∈ V') :
(∀ n : ℕ, (bellmanOpt mt γ)^[n] v' = (bellmanOpt mstar γ)^[n] v') ∧
(∀ u : S → ℝ, Function.IsFixedPt (bellmanOpt mt γ) u ↔
Function.IsFixedPt (bellmanOpt mstar γ) u) := by sorry
end ValueEquivalenceRead-back
What the Lean code literally says, in plain math · claude-opus-5-5
Let and be finite types, with nonempty; may be empty. All functions below are real-valued.
Basic notions.
- A policy is a function with and for every . The set of all policies is .
- A model consists of:
- an arbitrary reward function ;
- a function that is nonnegative and satisfies for every .
- For a model , a discount , a policy-like function , and , the policy Bellman operator is
- The greedy Bellman operator is
Because is finite and nonempty, this supremum is a maximum.
Data. The theorem takes:
- a real ;
- a set of models and a model ;
- a set of functions ;
- a set of functions ;
- a linear subspace ;
- a model and a vector .
Hypotheses. The theorem assumes all of the following:
- . The case is allowed.
- Every has . The theorem does not require .
- .
- For every policy , not only those in , and every , we have . Since is a subspace and , this includes .
- Every policy lies in the pointwise span of . That is, for every and every , the vector lies in the linear span of . If is empty, this span is at every .
- The linear span of equals .
- , and is value equivalent to with respect to and :
- .
Conclusion. The theorem asserts both of the following:
- For every natural number , including where both sides are :
Here the exponent denotes -fold composition of the greedy Bellman operator.
- For every function , not only those in :
In words, is a fixed point of the greedy Bellman operator of exactly when it is a fixed point of the greedy Bellman operator of .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.