The local transition deviates by at most twice the entanglement
OpenMarkovEntanglement.local_transition_deviation_le_two_entanglementStatement
Theorem. With the agent-wise measure of Markov entanglement and an optimal solution of the corresponding minimisation, for every agent
Notes
The agent-wise, occupancy-weighted refinement of the previous bound, and the last ingredient before the decomposition error itself. The factor is the price of passing from an averaged distance to a uniform one over rows.
This is the form the value-function argument consumes: combined with the resolvent identity it propagates a one-step transition error into an error on the discounted -function, producing the factor in the main bound.
Search terms: agent-wise total variation, occupancy-weighted sup norm, one-step transition perturbation, multi-agent value decomposition error.
import Mathlib import Definitions.Def_markov_entanglement_multi open scoped BigOperators open MarkovEntanglement
namespace MarkovEntanglement
theorem local_transition_deviation_le_two_entanglement
{N : ℕ} {S : Fin N → Type*} [∀ i, Fintype (S i)] [∀ i, DecidableEq (S i)]
(P : Matrix (Joint S) (Joint S) ℝ) (hP : IsTransitionMatrix P)
(μ : Joint S → ℝ) (hμ : IsPositiveDist μ) (hstat : IsStationary P μ) (i : Fin N)
(Pi Ptrue : Matrix (S i) (S i) ℝ)
(hPi : IsTransitionMatrix Pi)
(hopt : muAgentTVDistN i μ P Pi = entanglementN i μ P)
(hPtrue : IsTransitionMatrix Ptrue) (htrue : IsLocalTransitionN i P μ Ptrue) :
∀ s t, |Ptrue s t - Pi s t| ≤ 2 * entanglementN i μ P := by
sorry
end MarkovEntanglementRead-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back — local_transition_deviation_le_two_entanglement
What the statement asserts
Fix a natural number and a family of types indexed by , each finite and with decidable equality. Write
for the joint space (the code's Joint S), whose elements are functions assigning to each index a point ; is again a finite type. The claim is: for every
- real matrix indexed by that is row-stochastic — for all and for every (this is
IsTransitionMatrix); - real-valued that is a strictly positive probability distribution — for every and (
IsPositiveDist); - with stationary for : for every (
IsStationary); - index (whose existence forces );
- two real matrices and on (the code's
PiandPtrue), both assumed row-stochastic: nonnegative entries and each row summing to ;
such that the following two hypotheses hold —
- (
hopt) attains the infimum defining agent- entanglement:
where
with equal to when the condition holds and otherwise;
2. (htrue, the definition IsLocalTransitionN) for all ,
i.e. is the -conditional average of the agent- marginals of over all joint states whose -th coordinate is , written in cleared-denominator form (both sides multiplied by the -marginal at , so no division occurs);
then for all ,
This is a bound on a single matrix entry at a time — an absolute difference of two numbers, not a summed or averaged distance — it is asserted uniformly for every pair , the relation is non-strict , and the right-hand side is exactly twice the entanglement quantity, independent of and . Note that the -marginal weight that appears on the left of htrue does not appear anywhere in the conclusion.
Everything unfolded
Joint S: functions with .IsTransitionMatrix A( for all ) and ( for all ).IsPositiveDist μ( for all ) and . Strict positivity everywhere, not mere nonnegativity.IsStationary P μ.marginalN i P p t: the probability, from joint state , of landing in any joint state whose -th coordinate is .marginalDist i μ s: the push-forward of along the -th coordinate.IsLocalTransitionN i P μ Ptruethe displayed equation (2) above, for all .muAgentTVDistN i μ P Π: a -weighted average over joint states, not a maximum.entanglementN i μ Pof the set of values ofmuAgentTVDistNover row-stochastic — an infimum over a set of reals, which by the order-theoretic convention would return on an empty or unbounded-below set.- The bundle's
IsSeparableN,tensorProdN,entanglementWith,muTVDist,muNorm,IsProductTransition,rewardEntanglementetc. are not used here: separability of is never mentioned, and the entanglement quantity used is the agent-, -weighted one, not the distance-to-nearest-separable-matrix one.
Which variables are constrained and which are free
- , , : universally quantified; forces .
- is necessarily nonempty:
IsPositiveDist μdemands , which fails for an empty index type (empty sum ). Hence every , in particular , is nonempty, and the coordinate map is surjective onto . The empty-type degeneracies are therefore excluded by the hypotheses, not left open. - : constrained to be row-stochastic and to admit as a stationary distribution; otherwise arbitrary (no separability, no product form, no irreducibility, no symmetry).
- : constrained to be a strictly positive stationary distribution.
- : uniquely determined by , and . Since everywhere and for each , the weight is strictly positive, so
htrueforces for every . No freedom remains. - The extra hypothesis
hPtrue(that is row-stochastic) is implied by the others: nonnegativity follows from , and summinghtrueover gives , hence unit row sums. It is thus a redundant but consistent assumption, not an additional restriction. - : constrained to be row-stochastic and to attain the infimum . It need not be unique if several minimisers exist; the statement is asserted for whichever minimiser is supplied.
- and in the conclusion are universally quantified over . No variable in the conclusion is free or unquantified.
Joint satisfiability, degeneracy, and the strength of the hypotheses
- The hypotheses are jointly satisfiable, so the statement is not vacuous. A witness: let every be a nonempty finite type, let be any strictly positive distribution on (e.g. uniform), and let (rank-one). Then is row-stochastic and is stationary for it. More generally any irreducible aperiodic row-stochastic on a finite has a strictly positive stationary , so genuinely non-product satisfying all hypotheses exist; the hypotheses do not force to be separable or product-form.
hoptis satisfiable for every such : the set of row-stochastic matrices on is nonempty () and compact, andmuAgentTVDistNis continuous in , so its image is compact and the infimum is attained. The infimum is therefore a genuine attained minimum, not the junk value that the order-theoretic infimum returns on an empty or unbounded-below set. Because , the infimum satisfies .- Collapsing cases that the quantifiers include. If is a singleton, both and are forced to be the matrix and the conclusion reads with . In the rank-one example above,
marginalN i P p tdoes not depend on , the minimiser drives to , and strict positivity of then forces , so the conclusion again reads . Neither of these is forced in general: the hypotheses admit . - Relation between the two sides. Under
htrueone has, for each , , so the left-hand side of the conclusion is naturally controlled by a quantity of the form , where is the -marginal weight of row . The statement as written omits any such factor: the right-hand side is uniform over , while is a -weighted average over all of (weights summing to ) and the left-hand side is an unweighted per-entry deviation at a single row . Whether the hypotheses (row-stochasticity, strict positivity, stationarity, optimality of ) suffice to close that gap is exactly the content of the claim and is not something the statement itself assumes. - No hypothesis is individually vacuous, and none is strong enough to force or to force in general; the only hypothesis that fully pins down a variable is
htrue, which determines from , , .
Confirmed by the mission captain (proposal self-audit).