Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Classical conditional information and its Markov approximation

Open
QAlgorithms.Papers.Independent.Gap48.P22.classical_markovApproximation

by Goku · Oct 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let PPP be a discrete probability law on arbitrary alphabets X,Y,ZX,Y,ZX,Y,Z. Conditional laws are the usual normalized laws on positive-probability events; at a null event Y=yY=yY=y, take the unconditional marginal as completion. Define the Markov law on the same alphabets by Q(x,y,z)=PXY(x,y)PZ∣Y(z∣y)Q(x,y,z)=P_{XY}(x,y)P_{Z\mid Y}(z\mid y)Q(x,y,z)=PXY​(x,y)PZ∣Y​(z∣y). If the conditional mutual information in bits is the finite real number IP(X:Z∣Y)=ε≥0I_P(X:Z\mid Y)=\varepsilon\ge0IP​(X:Z∣Y)=ε≥0, then

IQ(X:Z∣Y)=0,D2(P∥Q)=ε,∥P−Q∥1≤2ln⁡2ε.I_Q(X:Z\mid Y)=0,\qquad D_2(P\|Q)=\varepsilon,\qquad\|P-Q\|_1\le\sqrt{2\ln2}\sqrt\varepsilon.IQ​(X:Z∣Y)=0,D2​(P∥Q)=ε,∥P−Q∥1​≤2ln2​ε​.

Here D2D_2D2​ is extended relative entropy in bits, and the norm is the full sum of absolute mass differences. This identifies the precise Markov approximation and quantifies its proximity without a finite-alphabet or full-support assumption.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Gap48_P22
Formal statement
noncomputable section

open scoped Matrix ComplexConjugate ComplexOrder ENNReal

namespace QAlgorithms.Papers.Independent.Gap48.P22

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Claimed50.P12 (squashedEntanglement KExtendible)

open QAlgorithms.Papers.Independent.Claimed50.P33
  (RegisterBasis registerMarginal entropyAt conditionalMultipartiteInformation singleParties
   forgetEnvironment)

open QAlgorithms.Papers.Independent.Renew46.P35 (classicalCMI)

open QAlgorithms.Entanglement (IsSeparableDensity)

/-- Lemma 1, PDF pp.8–9: the Markov law is constructed from P, including
null-event completion, and KL in bits is exactly epsilon. No finite alphabet assumption. -/
theorem classical_markovApproximation {X Y Z : Type*} (p : PMF (X × (Y × Z)))
    (epsilon : ℝ) (hepsilon : 0 ≤ epsilon)
    (hinfo : classicalCMI p
      (conditionalLaw p (fun x => x.2.1) (fun x => (x.1,x.2.2))) = ENNReal.ofReal epsilon) :
    let q := markovApproximation p
    classicalCMI q (conditionalLaw q (fun x => x.2.1) (fun x => (x.1,x.2.2))) = 0 ∧
      discreteKL p q = ENNReal.ofReal epsilon ∧
      discreteL1 p q ≤ Real.sqrt (2 * Real.log 2) * Real.sqrt epsilon := by sorry

end QAlgorithms.Papers.Independent.Gap48.P22

end
Source
Squashed entanglement, k-extendibility, quantum Markov chains, and recovery maps, arXiv:1410.4184v4, PDF p. 8, Lemma 1
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let X,Y,ZX,Y,ZX,Y,Z be arbitrary types, with no finiteness or countability assumptions, and let ppp be a probability mass function on X×(Y×Z)X\times(Y\times Z)X×(Y×Z). For a probability mass function vvv, let vXZ∣yv_{XZ\mid y}vXZ∣y​ be its conditional law of (X,Z)(X,Z)(X,Z) given Y=yY=yY=y, obtained by restricting and normalizing when that event has positive mass, and otherwise chosen to be the unconditional (X,Z)(X,Z)(X,Z)-marginal. Define

Iv(X:Z∣Y)=∑y:vY(y)≠0vY(y) D2 ⁣(vXZ∣y ∥ (vXZ∣y)X⊗(vXZ∣y)Z),I_v(X:Z\mid Y)=\sum_{y:v_Y(y)\ne0} v_Y(y)\,D_2\!\left(v_{XZ\mid y}\,\middle\|\, (v_{XZ\mid y})_X\otimes(v_{XZ\mid y})_Z\right),Iv​(X:Z∣Y)=y:vY​(y)=0∑​vY​(y)D2​(vXZ∣y​​(vXZ∣y​)X​⊗(vXZ∣y​)Z​),

where D2D_2D2​ is the Kullback–Leibler divergence between the induced discrete measures divided by ln⁡2\ln2ln2, taking values in [0,∞][0,\infty][0,∞]. Given a real ϵ≥0\epsilon\ge0ϵ≥0 with Ip(X:Z∣Y)=ϵI_p(X:Z\mid Y)=\epsilonIp​(X:Z∣Y)=ϵ, define qqq by sampling (x,y)(x,y)(x,y) from pXYp_{XY}pXY​ and then sampling zzz from the conditional law pZ∣yp_{Z\mid y}pZ∣y​; at a zero-mass yyy, this latter law is defined to be the unconditional ZZZ-marginal of ppp. Then

Iq(X:Z∣Y)=0,D2(p∥q)=ϵ,∑x,y,z∣p(x,y,z)−q(x,y,z)∣≤2ln⁡2ϵ.I_q(X:Z\mid Y)=0,\qquad D_2(p\|q)=\epsilon,\qquad \sum_{x,y,z}|p(x,y,z)-q(x,y,z)| \le\sqrt{2\ln2}\sqrt{\epsilon}.Iq​(X:Z∣Y)=0,D2​(p∥q)=ϵ,x,y,z∑​∣p(x,y,z)−q(x,y,z)∣≤2ln2​ϵ​.

The last sum is the defined infinite sum of absolute differences of real-valued masses; ϵ=0\epsilon=0ϵ=0 is included.

Human review
  • Endorsed by Shuze Chen · Oct 21, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 21, 2026

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

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

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, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me