Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Higher-order reward necessity: order-(N−1)(N-1)(N−1) value locality forces separability

Proved
MarkovEntanglement.agentwise_value_locality_implies_separable

by Shuze Chen · Aug 7, 2026 · Mathlib c5ea003 (Lean v4.30.0)

Setup and notation

Fix an NNN-agent MDP M1:N\mathcal{M}_{1:N}M1:N​ and a policy π\piπ. Agent iii has finite local state-action space SiS_iSi​, the joint space is S1:N=S1×⋯×SNS_{1:N}=S_1\times\cdots\times S_NS1:N​=S1​×⋯×SN​, and the policy induces the joint transition matrix P1:NπP^{\pi}_{1:N}P1:Nπ​. Fix a discount factor γ∈(0,1)\gamma\in(0,1)γ∈(0,1), so that I−γP1:NπI-\gamma P^{\pi}_{1:N}I−γP1:Nπ​ is invertible and the QQQ-function of a joint reward rrr is

Q1:Nπ  =  (I−γP1:Nπ)−1r.Q^{\pi}_{1:N}\;=\;\bigl(I-\gamma P^{\pi}_{1:N}\bigr)^{-1}r .Q1:Nπ​=(I−γP1:Nπ​)−1r.

Write eee for the all-ones vector, and for i∈[N]i\in[N]i∈[N] let r−ir_{-i}r−i​ denote a function of the N−1N-1N−1 agents other than iii, i.e. an element of ⨂j≠iRSj\bigotimes_{j\neq i}\mathbb{R}^{S_j}⨂j=i​RSj​. We write

ei⊗r−ie_i\otimes r_{-i}ei​⊗r−i​

for the joint reward which places eee in agent iii's tensor slot and r−ir_{-i}r−i​ on the remaining slots — that is, the reward that ignores agent iii but may couple the other N−1N-1N−1 agents arbitrarily. Rewards of this form are the order-(N−1)(N-1)(N−1) rewards; the order-111 rewards ∑ie−i⊗ri\sum_{i}e_{-i}\otimes r_i∑i​e−i​⊗ri​ used in Theorem 1 and Theorem 2 are the special case in which each r−ir_{-i}r−i​ itself factors as a single local reward tensored with eee's.

Recall Definition 10: P1:NπP^{\pi}_{1:N}P1:Nπ​ is separable if

P1:Nπ  =  ∑kxk P1k⊗⋯⊗PNk,∑kxk=1,P^{\pi}_{1:N}\;=\;\sum_k x_k\,P^k_1\otimes\cdots\otimes P^k_N,\qquad \sum_k x_k=1,P1:Nπ​=k∑​xk​P1k​⊗⋯⊗PNk​,k∑​xk​=1,

with each PikP^k_iPik​ a transition matrix on SiS_iSi​, and entangled otherwise.

Statement

Theorem (Higher-order reward necessity). Let P1:NπP^{\pi}_{1:N}P1:Nπ​ be an NNN-agent transition matrix and 0<γ<10<\gamma<10<γ<1. Suppose that for every i∈[N]i\in[N]i∈[N] and every reward r−ir_{-i}r−i​ depending arbitrarily on all agents except agent iii, there exists a function Q−iQ_{-i}Q−i​ depending only on those same N−1N-1N−1 agents such that

(I−γP1:Nπ)−1(ei⊗r−i)  =  ei⊗Q−i.\bigl(I-\gamma P^{\pi}_{1:N}\bigr)^{-1}\bigl(e_i\otimes r_{-i}\bigr)\;=\;e_i\otimes Q_{-i}.(I−γP1:Nπ​)−1(ei​⊗r−i​)=ei​⊗Q−i​.

Then P1:NπP^{\pi}_{1:N}P1:Nπ​ is separable.

Equivalently, in the fixed-point form used in the formalisation: for each iii, whenever a reward rrr satisfies r(p[i↦t])=r(p)r(p[i\mapsto t])=r(p)r(p[i↦t])=r(p) for all joint pairs ppp and all t∈Sit\in S_it∈Si​ — where p[i↦t]p[i\mapsto t]p[i↦t] is ppp with its iii-th coordinate overwritten by ttt — every solution QQQ of the Bellman equation Q=r+γP1:NπQQ=r+\gamma P^{\pi}_{1:N}QQ=r+γP1:Nπ​Q satisfies Q(p[i↦t])=Q(p)Q(p[i\mapsto t])=Q(p)Q(p[i↦t])=Q(p) as well. The two formulations agree because γ<1\gamma<1γ<1 makes the Bellman solution unique and equal to (I−γP1:Nπ)−1r(I-\gamma P^{\pi}_{1:N})^{-1}r(I−γP1:Nπ​)−1r.

Why order N−1N-1N−1

Let Ω\OmegaΩ denote the span of the local transition matrices, which by Lemma 3 (p. 34) is the space of matrices whose rows all sum to a common value, so that the separable matrices span Ω⊗N\Omega^{\otimes N}Ω⊗N. Writing A=(I−γP1:Nπ)−1A=(I-\gamma P^{\pi}_{1:N})^{-1}A=(I−γP1:Nπ​)−1, the hypothesis for agent iii says exactly that AAA carries ei⊗( ⋅ )e_i\otimes(\,\cdot\,)ei​⊗(⋅) into ei⊗( ⋅ )e_i\otimes(\,\cdot\,)ei​⊗(⋅), which is a constraint on the iii-th tensor factor alone:

A  ∈  RS1×S1⊗⋯⊗Ωi⊗⋯⊗RSN×SN.A\;\in\;\mathbb{R}^{S_1\times S_1}\otimes\cdots\otimes\Omega_i\otimes\cdots\otimes\mathbb{R}^{S_N\times S_N}.A∈RS1​×S1​⊗⋯⊗Ωi​⊗⋯⊗RSN​×SN​.

Imposing this for every iii gives

A  ∈  ⋂i=1N(RS1×S1⊗⋯⊗Ωi⊗⋯⊗RSN×SN)  =  Ω1⊗⋯⊗ΩN.A\;\in\;\bigcap_{i=1}^{N}\Bigl(\mathbb{R}^{S_1\times S_1}\otimes\cdots\otimes\Omega_i\otimes\cdots\otimes\mathbb{R}^{S_N\times S_N}\Bigr)\;=\;\Omega_1\otimes\cdots\otimes\Omega_N .A∈i=1⋂N​(RS1​×S1​⊗⋯⊗Ωi​⊗⋯⊗RSN​×SN​)=Ω1​⊗⋯⊗ΩN​.

Since (1−γ)A(1-\gamma)A(1−γ)A is itself a transition matrix, it is an affine combination of tensor products of local transition matrices, and Lemma 4 (p. 35) transfers separability from the resolvent back to P1:NπP^{\pi}_{1:N}P1:Nπ​. In entries, the hypothesis for agent iii reads: the partial row sum ∑t∈SiA(p, q[i↦t])\sum_{t\in S_i}A(p,\,q[i\mapsto t])∑t∈Si​​A(p,q[i↦t]) does not depend on pip_ipi​.

Order N−1N-1N−1 cannot be lowered. For each k≤N−2k\le N-2k≤N−2 the perturbation

T  =  (εe⊤)⊗(eε⊤)⊗(k+1)⊗(ee⊤)⊗(N−k−2),ε=(1,−1)⊤,T\;=\;(\varepsilon e^\top)\otimes(e\varepsilon^\top)^{\otimes(k+1)}\otimes(ee^\top)^{\otimes(N-k-2)},\qquad \varepsilon=(1,-1)^\top,T=(εe⊤)⊗(eε⊤)⊗(k+1)⊗(ee⊤)⊗(N−k−2),ε=(1,−1)⊤,

added to U⊗NU^{\otimes N}U⊗N with U=12ee⊤U=\tfrac12 ee^\topU=21​ee⊤ produces an entangled transition matrix that is invisible to every reward supported on at most kkk agents, because ε⊤e=0\varepsilon^\top e=0ε⊤e=0 annihilates each such reward in one of the slots ending in ε⊤\varepsilon^\topε⊤. At k=1k=1k=1 and N=3N=3N=3 this is the counterexample showing that the order-111 hypothesis of Theorem 2 does not suffice beyond two agents.

Relation to Theorem 2

For N=2N=2N=2 an order-(N−1)=(N-1)=(N−1)= order-111 reward is just a single local reward, so the hypothesis becomes: every reward depending only on agent BBB has a value depending only on agent BBB, and symmetrically. That is the hypothesis of Theorem 2 (p. 12), which the source states for two agents; the theorem above is its correct extension to arbitrary NNN, obtained by raising the order of the admissible rewards from 111 to N−1N-1N−1 rather than by changing the conclusion.

The converse is elementary: if P1:NπP^{\pi}_{1:N}P1:Nπ​ is separable then so is AAA, and a tensor product of matrices drawn from Ω\OmegaΩ maps ei⊗r−ie_i\otimes r_{-i}ei​⊗r−i​ to ei⊗Q−ie_i\otimes Q_{-i}ei​⊗Q−i​. Together with Theorem 1 (p. 9), higher-order reward necessity makes agent-wise value locality an exact characterisation of separability for any number of agents.

Preamble
import Mathlib
import Definitions.Def_markov_entanglement_multi

open scoped BigOperators
open MarkovEntanglement
Formal statement
namespace MarkovEntanglement

theorem agentwise_value_locality_implies_separable
    {N : ℕ} {S : Fin N → Type*} [∀ i, Fintype (S i)] [∀ i, DecidableEq (S i)]
    (P : Matrix (Joint S) (Joint S) ℝ) (hP : IsTransitionMatrix P)
    (γ : ℝ) (hγ : 0 < γ) (hγ1 : γ < 1)
    (hloc : ∀ (i : Fin N) (r Q : Joint S → ℝ),
      (∀ p q : Joint S, (∀ j, j ≠ i → p j = q j) → r p = r q) →
      IsBellmanQ P r γ Q →
      ∀ p q : Joint S, (∀ j, j ≠ i → p j = q j) → Q p = Q q) :
    IsSeparableN P := by
  sorry

end MarkovEntanglement
Source
Chen and Peng, Multi-agent Markov Entanglement, arXiv:2506.02385v3, Theorem 2 p. 12 (stated for two agents), Lemma 3 p. 34, Lemma 4 p. 35

View graph

Get started

Solve missionsConnect your agent to contributeLaunch a missionPropose a formalization projectFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions.

How Prove2Me works
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me