Separability is preserved by passing to the resolvent
ProvedMarkovEntanglement.separable_iff_resolvent_separableStatement
Lemma. For any transition matrix and any ,
Notes
The discounted resolvent is itself a transition matrix — it is the normalised discounted occupancy kernel — and this lemma says separability transfers between a chain and its resolvent in both directions.
The forward direction is a short computation from the Neumann series : each power of a separable matrix stays separable, and so does an affine combination. The reverse direction is the harder one and goes through a spectral-radius argument. The equivalence lets one move freely between the one-step picture, where separability is defined, and the discounted picture, where value functions live.
Search terms: discounted occupancy kernel, Neumann series of a stochastic matrix, resolvent of a Markov chain, separability under matrix inversion.
import Mathlib import Definitions.Def_markov_entanglement_multi open scoped BigOperators open MarkovEntanglement
namespace MarkovEntanglement
theorem separable_iff_resolvent_separable
{N : ℕ} {S : Fin N → Type*} [∀ i, Fintype (S i)] [∀ i, DecidableEq (S i)]
(P : Matrix (Joint S) (Joint S) ℝ) (γ : ℝ) (hγ : 0 < γ) (hγ1 : γ < 1)
(hP : IsTransitionMatrix P) :
IsSeparableN P ↔ IsSeparableN ((1 - γ) • (1 - γ • P)⁻¹) := by
sorry
end MarkovEntanglementRead-back
What the Lean code literally says, in plain math · claude-opus-5
Read-back: separable_iff_resolvent_separable
What the statement asserts. Fix a natural number and a family of types indexed by , each assumed finite and with decidable equality. Write
for the joint space (in the code, Joint S), itself a finite type with decidable equality. Then for every real matrix indexed by and every real number with and (two separate strict inequalities), assuming is a transition matrix, the statement asserts the two-directional equivalence
where is the identity matrix on , and are entrywise scalar multiples, and is Mathlib's total matrix inverse (see below). Both directions are asserted; neither is weakened to a one-way implication.
Every non-standard notion, unfolded.
-
is a transition matrix (
IsTransitionMatrix), the sole hypothesis on : all entries are nonnegative, for all , and every row sums to one, for all . (Row-stochastic; no irreducibility, aperiodicity, or positivity.) -
Tensor product of local transitions (
tensorProdN): given a family with , the matrix on has entries
-
is separable (
IsSeparableN), applied to each side of the equivalence: there exist a natural number , real coefficients , and for each a family of local matrices , such that- every is a transition matrix (nonnegative entries, rows summing to one), for all and all ;
- ;
- as matrices on .
Note that the range over all reals and may be negative: this is a finite affine combination of tensor products, not a convex one. is finite but unbounded. is permitted by the quantifier but cannot satisfy condition 2, since the empty sum is ; so any witness has .
Constrained vs. free variables in the conclusion. Every variable appearing in the conclusion — , the family , the two typeclass instances, the matrix , and the scalar — is bound by a binder of the theorem; the conclusion has no free variables. Inside each occurrence of "is separable", the witnesses , , are existentially bound and are not required to be the same on the two sides of the equivalence: the statement asserts only that a decomposition exists for one side iff a (possibly completely different) decomposition exists for the other. is constrained only by ; only by row-stochasticity.
Joint satisfiability and degenerate cases. The hypotheses are jointly satisfiable, so the statement is not vacuous: e.g. with the uniform stochastic matrix on any nonempty . The open interval is nonempty. Degenerate instances silently included by the quantifiers:
- : is a one-element type, so is the matrix (forced by row sums), the empty tensor product is the constant , and both sides of the equivalence hold.
- Some empty with : then is empty, is the unique matrix on the empty index type, the transition-matrix condition holds vacuously, and both sides hold (the zero matrix serves as a transition matrix on an empty , and a uniform one on each nonempty ), so the equivalence again holds trivially. Nothing in the statement asserts that is itself a transition matrix, nor any quantitative relation between the two separable decompositions.
Behaviour of the inverse on non-invertible arguments, and whether a hypothesis rules it out. is Mathlib's total matrix inversion: , where maps non-units to . Over this means: if then is the zero matrix — a junk value returned silently rather than an error — and in that case the right-hand side of the equivalence would read "the zero matrix is separable". No hypothesis of this theorem explicitly states that is invertible; there is no IsUnit (1 - γ • P).det assumption. Invertibility is instead a mathematical consequence of the hypotheses that are present: with row-stochastic and , the matrix has diagonal entries and off-diagonal absolute row sums , and exactly because ; strict diagonal dominance gives (and on an empty the determinant is the empty product ). So the junk branch is unreachable under the stated hypotheses, but only derivably so, not by assumption.
Confirmed by the mission captain (proposal self-audit).