Prove2Me
Navigate
MissionsFormalpediaUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Separable transitions admit an exact value decomposition

Proved
MarkovEntanglement.separable_implies_value_decomposition

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

markov-decision-processmulti-agent-systemsreinforcement-learningseparabilitytensor-productvalue-decomposition

Statement

Theorem. Consider an NNN-agent Markov system with joint transition matrix P1:NπP^\pi_{1:N}P1:Nπ​ on the product state-action space, discount factor γ\gammaγ, and rewards that are a sum of local rewards, r(s,a)=∑i=1Nri(si,ai)r(s,a) = \sum_{i=1}^N r_i(s_i,a_i)r(s,a)=∑i=1N​ri​(si​,ai​). Suppose the agents are separable, that is, there are K∈Z+K \in \mathbb{Z}^+K∈Z+, coefficients {xj}j∈[K]\{x_j\}_{j \in [K]}{xj​}j∈[K]​ with ∑jxj=1\sum_j x_j = 1∑j​xj​=1, and local transition matrices {Pi(j)}\{P^{(j)}_i\}{Pi(j)​} such that

P1:Nπ  =  ∑j=1Kxj P1(j)⊗P2(j)⊗⋯⊗PN(j).P^\pi_{1:N} \;=\; \sum_{j=1}^{K} x_j\, P^{(j)}_1 \otimes P^{(j)}_2 \otimes \cdots \otimes P^{(j)}_N .P1:Nπ​=j=1∑K​xj​P1(j)​⊗P2(j)​⊗⋯⊗PN(j)​.

Let QQQ be the solution of the Bellman equation Q=r+γP1:NπQQ = r + \gamma P^\pi_{1:N} QQ=r+γP1:Nπ​Q. Then QQQ decomposes exactly into local value functions:

Q(s,a)  =  ∑i=1NQi(si,ai).Q(s,a) \;=\; \sum_{i=1}^{N} Q_i(s_i, a_i).Q(s,a)=i=1∑N​Qi​(si​,ai​).

Notes

Value decomposition is the standard approximation in multi-agent dynamic programming and reinforcement learning: replace the value of a joint state by a sum of per-agent local values. It underlies index policies for restless multi-armed bandits and a range of modern multi-agent RL architectures, but it is normally used as a heuristic.

This theorem identifies the exact structural condition under which the heuristic is not an approximation at all but an identity: the joint transition matrix must be separable, a finite affine combination of tensor products of local transitions. The name is deliberate — separability here is the direct analogue of separability of a quantum state, and its failure is what the paper calls Markov entanglement.

The converse direction, and the quantitative version that bounds the decomposition error when separability fails, are the other results of this mission. Searchers looking for "when does value decomposition work", "additive value function", "separable transition kernel" or "tensor product of transition matrices" should land here.

Preamble
import Mathlib
import Definitions.Def_markov_entanglement_multi

open scoped BigOperators
open MarkovEntanglement
Formal statement
namespace MarkovEntanglement

theorem separable_implies_value_decomposition
    {N : ℕ} {S : Fin N → Type*} [∀ i, Fintype (S i)] [∀ i, DecidableEq (S i)]
    (P : Matrix (Joint S) (Joint S) ℝ) (hP : IsTransitionMatrix P) (hsep : IsSeparableN P)
    (γ : ℝ) (hγ : 0 ≤ γ) (hγ1 : γ < 1) (r : ∀ i, S i → ℝ) (Q : Joint S → ℝ)
    (hQ : IsBellmanQ P (fun p => ∑ i, r i (p i)) γ Q) :
    ∃ Qi : ∀ i, S i → ℝ, IsValueDecomposition Q Qi := by
  sorry

end MarkovEntanglement
Source
Shuze Chen and Tianyi Peng, *Multi-agent Markov Entanglement*, arXiv:2506.02385v3, Theorem 1, p. 9
Read-back

What the Lean code literally says, in plain math · claude-opus-5

Read-back: separable_implies_value_decomposition

What the statement asserts. Fix a natural number NNN (implicit; N=0N = 0N=0 is allowed) and a family of types S0,…,SN−1S_0, \dots, S_{N-1}S0​,…,SN−1​ indexed by i∈{0,1,…,N−1}i \in \{0, 1, \dots, N-1\}i∈{0,1,…,N−1} (implicit), each of which is assumed finite and to have decidable equality. Write

S  =  ∏iSi\mathcal S \;=\; \prod_{i} S_iS=i∏​Si​

for the joint space: the set of all tuples ppp assigning to each index iii an element pi∈Sip_i \in S_ipi​∈Si​. The statement then says: for every real matrix PPP with rows and columns indexed by S\mathcal SS, every real number γ\gammaγ, every family of functions r=(ri)ir = (r_i)_ir=(ri​)i​ with ri:Si→Rr_i : S_i \to \mathbb Rri​:Si​→R, and every function Q:S→RQ : \mathcal S \to \mathbb RQ:S→R, if all five of the following hypotheses hold —

  1. PPP is a row-stochastic matrix: Pp,q≥0P_{p,q} \ge 0Pp,q​≥0 for all p,q∈Sp, q \in \mathcal Sp,q∈S, and ∑q∈SPp,q=1\sum_{q \in \mathcal S} P_{p,q} = 1∑q∈S​Pp,q​=1 for every p∈Sp \in \mathcal Sp∈S;
  2. PPP is separable in the following sense: there exist a natural number KKK, real coefficients x0,…,xK−1x_0, \dots, x_{K-1}x0​,…,xK−1​, and matrices Pi(k)P^{(k)}_iPi(k)​ (one for each k<Kk < Kk<K and each index iii, with Pi(k)P^{(k)}_iPi(k)​ indexed by Si×SiS_i \times S_iSi​×Si​) such that every Pi(k)P^{(k)}_iPi(k)​ is row-stochastic (nonnegative entries, rows summing to 111), the coefficients satisfy ∑k<Kxk=1\sum_{k<K} x_k = 1∑k<K​xk​=1, and
Pp,q  =  ∑k<Kxk∏iPi(k)(pi,qi)for all p,q∈S;P_{p,q} \;=\; \sum_{k<K} x_k \prod_{i} P^{(k)}_i(p_i, q_i) \qquad \text{for all } p, q \in \mathcal S;Pp,q​=k<K∑​xk​i∏​Pi(k)​(pi​,qi​)for all p,q∈S;

note that the xkx_kxk​ are not required to be nonnegative — this is an affine, not necessarily convex, combination, and the equality is exact (no approximation, no limit); since the coefficients must sum to 111, K=0K = 0K=0 is impossible, so at least one term occurs; 3. 0≤γ0 \le \gamma0≤γ; 4. γ<1\gamma < 1γ<1; 5. QQQ satisfies the Bellman fixed-point equation for PPP, discount γ\gammaγ, and the reward function p↦∑iri(pi)p \mapsto \sum_i r_i(p_i)p↦∑i​ri​(pi​):

Q(p)  =  ∑iri(pi)  +  γ∑q∈SPp,q Q(q)for all p∈S;Q(p) \;=\; \sum_{i} r_i(p_i) \;+\; \gamma \sum_{q \in \mathcal S} P_{p,q}\, Q(q) \qquad \text{for all } p \in \mathcal S;Q(p)=i∑​ri​(pi​)+γq∈S∑​Pp,q​Q(q)for all p∈S;

then there exists a family of functions Qi:Si→RQ_i : S_i \to \mathbb RQi​:Si​→R, one for each index iii, such that

Q(p)  =  ∑iQi(pi)for every p∈S.Q(p) \;=\; \sum_{i} Q_i(p_i) \qquad \text{for every } p \in \mathcal S.Q(p)=i∑​Qi​(pi​)for every p∈S.

Binders and what is constrained. NNN and the family SSS are implicit universally quantified parameters; the finiteness and decidable-equality assumptions on each SiS_iSi​ are typeclass hypotheses. PPP, γ\gammaγ, rrr, and QQQ are explicit universally quantified parameters, together with the five named hypotheses above. The conclusion mentions only QQQ (bound by the theorem's universal quantifier and pinned by hypothesis 5) and the family (Qi)i(Q_i)_i(Qi​)i​, which is existentially quantified inside the conclusion. No variable occurring in the conclusion is free or unconstrained. The reward family rrr does not appear in the conclusion: the asserted QiQ_iQi​ are required only to sum to QQQ pointwise, and are not required to be related to rir_iri​, to satisfy any local Bellman equation, to be unique, or to be normalized in any way. The matrix PPP likewise does not appear in the conclusion; hypotheses 1 and 2 bear on the conclusion only indirectly, through the coupling of QQQ to PPP in hypothesis 5. The reward is not an arbitrary function on the joint space: it is constructed as p↦∑iri(pi)p \mapsto \sum_i r_i(p_i)p↦∑i​ri​(pi​) from a given family of per-index functions, so it is additively decomposable by construction, and rewards not of this form are never quantified over.

Joint satisfiability. The hypotheses are simultaneously satisfiable, so the statement is not vacuous. For example, take N=1N = 1N=1 with S0S_0S0​ a one-element set, PPP the 1×11 \times 11×1 matrix [1][1][1] (row-stochastic, and separable with K=1K = 1K=1, x0=1x_0 = 1x0​=1), γ=0\gamma = 0γ=0, any rrr, and Q(p)=r0(p0)Q(p) = r_0(p_0)Q(p)=r0​(p0​). More generally, for any row-stochastic PPP and any 0≤γ<10 \le \gamma < 10≤γ<1 the map Q↦(p↦∑iri(pi)+γ∑qPp,qQ(q))Q \mapsto \big(p \mapsto \sum_i r_i(p_i) + \gamma \sum_q P_{p,q} Q(q)\big)Q↦(p↦∑i​ri​(pi​)+γ∑q​Pp,q​Q(q)) is a γ\gammaγ-contraction in the supremum norm on the finite-dimensional space RS\mathbb R^{\mathcal S}RS, so hypothesis 5 is satisfiable (indeed by exactly one QQQ) for every rrr; and separable matrices exist (any single tensor product of row-stochastic local matrices, with K=1K=1K=1, x0=1x_0=1x0​=1).

Degenerate cases the quantifiers include.

  • γ=0\gamma = 0γ=0 is permitted (hypothesis 3 is non-strict), in which case hypothesis 5 forces Q(p)=∑iri(pi)Q(p) = \sum_i r_i(p_i)Q(p)=∑i​ri​(pi​) outright.
  • N=0N = 0N=0: the index set is empty, S\mathcal SS is the empty product, i.e. a one-element set; every sum ∑i(⋅)\sum_i(\cdot)∑i​(⋅) over indices is 000 and every product ∏i(⋅)\prod_i(\cdot)∏i​(⋅) is 111. Then PPP is the 1×11\times11×1 matrix [1][1][1], hypothesis 2 holds automatically, hypothesis 5 reads Q=0+γQQ = 0 + \gamma QQ=0+γQ, and the conclusion reads Q=0Q = 0Q=0 (empty sum) with the empty family of QiQ_iQi​.
  • If some SiS_iSi​ is empty (which the assumptions permit, since finiteness does not entail nonemptiness), then S\mathcal SS is empty, PPP is the empty matrix, hypotheses 1 and 5 hold vacuously, and the conclusion's universally quantified equation over p∈Sp \in \mathcal Sp∈S is vacuous, so the conclusion reduces to the existence of some family (Qi)i(Q_i)_i(Qi​)i​ of functions, which always exists (e.g. the zero functions).
  • The existential in the conclusion asserts existence only, not uniqueness.

Proof status. The proof body of the declaration is a placeholder; nothing is derived.

Human review
  • Endorsed by Shuze Chen · Aug 7, 2026

  • Endorsed by tianyipeng · Aug 7, 2026

    Confirmed by the mission captain (proposal self-audit).

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