A separable transition acts on a local reward one agent at a time
ProvedMarkovEntanglement.separable_apply_local_rewardStatement
Lemma. Let be separable and let depend only on agent 's coordinate. Then
Notes
The computational engine behind exact value decomposition. Applying a separable transition to a reward that involves only agent leaves every other coordinate untouched: the other factors act on the all-ones vector and return it unchanged, because each is a transition matrix and therefore row-stochastic.
Iterating this is what shows the Bellman recursion never mixes agents, so the -function stays a sum of local terms. It is elementary but does the real work.
Search terms: tensor product of stochastic matrices, row-stochastic acts trivially on the all-ones vector, Kronecker product Bellman recursion.
import Mathlib import Definitions.Def_markov_entanglement_multi open scoped BigOperators open MarkovEntanglement
namespace MarkovEntanglement
theorem separable_apply_local_reward
{N : ℕ} {S : Fin N → Type*} [∀ i, Fintype (S i)] [∀ i, DecidableEq (S i)]
{K : ℕ} (x : Fin K → ℝ) (Pj : Fin K → ∀ i, Matrix (S i) (S i) ℝ)
(hPj : ∀ k i, IsTransitionMatrix (Pj k i)) (hx : ∑ k, x k = 1)
(i : Fin N) (r : S i → ℝ) (p : Joint S) :
∑ q : Joint S, (∑ k, x k • tensorProdN (Pj k)) p q * r (q i)
= ∑ k, x k * ∑ t : S i, Pj k i (p i) t * r t := by
sorry
end MarkovEntanglementRead-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back: separable_apply_local_reward
What the statement asserts
Fix a natural number (implicit) and a family of types indexed by (implicit), where each is assumed finite and to have decidable equality. Write
for the joint space, whose elements are the dependent tuples assigning to each index an element ; is again a finite type. Fix a natural number (implicit), a vector of real coefficients , and a doubly-indexed family of real square matrices for , . The hypotheses are:
- (hPj) for every and every index , the matrix is row-stochastic in the sense of this bundle's
IsTransitionMatrix, i.e. all its entries are and each of its rows sums to exactly : for all ; - (hx) — an affine constraint only; no sign condition is imposed on the individual .
Finally fix an index , an arbitrary real-valued function (no nonnegativity, boundedness, or normalisation assumed), and an arbitrary joint point .
The bundle's -fold tensor product tensorProdN of a family is the matrix on whose entry at is . The claimed identity is then, entrywise in the real matrix evaluated at the row :
Here the outer sum on the left ranges over the whole finite joint space, the scalar action is ordinary real scaling of a matrix, and the sum of matrices is taken entrywise before evaluation at . The equality is an exact equality of real numbers — not an inequality, not an approximation.
Quantification, satisfiability, and degenerate cases
- Every variable occurring in the conclusion is bound. , , , , , , , are all binders of the theorem (some implicit, some explicit), universally quantified; the typeclass assumptions (finiteness and decidable equality of each ) are likewise binders. Nothing in the conclusion is free, and the identity is asserted for the single given and given , universally over all choices of them.
- The hypotheses are jointly satisfiable and do not collapse the statement. For instance , , and any row-stochastic (e.g. identity matrices) satisfies both hPj and hx, with any nonempty finite 's. So the theorem is not vacuous.
- (hx) forces . If the sum is the empty sum , so hx cannot hold; the instance is vacuous.
- makes the statement vacuous for a different reason: is empty, so no index can be supplied and no instance of the theorem exists.
- Supplying forces every to be nonempty (a dependent tuple picks out an element of each ). Hence is nonempty in every instance, and the left-hand sum is over a nonempty finite set. There is therefore no "empty joint space" instance in which the left side degenerates to while the right side does not.
- The coefficients may be negative, so need not itself be a nonnegative matrix; only the affine condition is imposed. The statement is about this possibly-signed affine combination, not about a convex mixture.
- Asymmetry between the two sides. Hypothesis hPj is asserted for all and all indices , including ; the right-hand side mentions only agent 's matrices and the reward on , while the left-hand side involves all the .
- Small , , or singleton are all included: with the products have a single factor and both sides read as the same sum; with a singleton for the left-hand sum collapses to a sum over .
Confirmed by the mission captain (proposal self-audit).