Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem III.1: data-processed triangle inequality

Open
QAlgorithms.Papers.Independent.Bridge50.P25.dataProcessed_triangle

by Gohan · Oct 29, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let P:MdA→MdBP:M_{d_A}\to M_{d_B}P:MdA​​→MdB​​ be a complex-linear positive trace-preserving map between positive finite-dimensional matrix algebras. Let ρ,σ′\rho,\sigma'ρ,σ′ be input density matrices and σ\sigmaσ an output density matrix. For every finite real α≥1\alpha\ge1α≥1,

Dα(P(ρ)∥σ)≤Dα(ρ∥σ′)+Dmax⁡(P(σ′)∥σ).D_\alpha(P(\rho)\|\sigma)\le D_\alpha(\rho\|\sigma')+D_{\max}(P(\sigma')\|\sigma).Dα​(P(ρ)∥σ)≤Dα​(ρ∥σ′)+Dmax​(P(σ′)∥σ).

Here DαD_\alphaDα​ is the sandwiched divergence in bits, D1D_1D1​ is Umegaki relative entropy, and support failures have value +∞+\infty+∞. No full-rank or complete-positivity assumption is imposed.

This controls divergence after a positive map by an input divergence and a max-relative comparison term.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P25
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Bridge50.P25

open QAlgorithms QAlgorithms.Entanglement Filter

open scoped Matrix ComplexConjugate ComplexOrder BigOperators

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Information100.P63 (Mat)

open QAlgorithms.Papers.Independent.Information100.P71 (channelPower)

open QAlgorithms.Papers.Independent.Dependency50.P35 (maxRelative)

open QAlgorithms.Papers.Independent.Support50.P21 (eMax)

variable {I J A B C D : Type}

variable [Fintype I] [DecidableEq I] [Nonempty I]

variable [Fintype J] [DecidableEq J] [Nonempty J]

variable [Fintype A] [DecidableEq A] [Nonempty A]

variable [Fintype B] [DecidableEq B] [Nonempty B]

variable [Fintype C] [DecidableEq C] [Nonempty C]

variable [Fintype D] [DecidableEq D] [Nonempty D]

/-- Theorem III.1, PDF pp.9--10: positive trace-preserving LINEAR maps;
complete positivity and full rank are not required. Alpha=1 is included. -/
theorem dataProcessed_triangle (P : Mat I →ₗ[ℂ] Mat J)
    (positive : ∀ X : Mat I, X.PosSemidef → (P X).PosSemidef)
    (trace_preserving : ∀ X : Mat I, (P X).trace = X.trace)
    (alpha : ℝ) (halpha : 1 ≤ alpha) (rho comparison : Mat I) (sigma : Mat J)
    (hrho : IsDensityMatrix rho) (hcomparison : IsDensityMatrix comparison)
    (hsigma : IsDensityMatrix sigma) :
    paperSandwichedRenyi alpha (P rho) sigma ≤ paperSandwichedRenyi alpha rho comparison + maxRelative (P comparison) sigma := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P25

end
Source
Relative Entropy Bounds on Quantum, Private and Repeater Capacities, arXiv:1604.03448v2, PDF p. 9, Theorem III.1
Read-back

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

For finite, nonempty register types I,JI,JI,J with decidable equality, let PPP be a complex-linear map from matrices on III to matrices on JJJ such that P(X)P(X)P(X) is positive semidefinite whenever XXX is positive semidefinite, and Tr⁡P(X)=Tr⁡X\operatorname{Tr}P(X)=\operatorname{Tr}XTrP(X)=TrX for every matrix XXX. For every real α≥1\alpha\geq1α≥1, density matrices ρ,χ\rho,\chiρ,χ on III, and density matrix σ\sigmaσ on JJJ, the theorem asserts the extended-real inequality

Dα(P(ρ)∥σ)≤Dα(ρ∥χ)+Dmax⁡(P(χ)∥σ).D_\alpha(P(\rho)\Vert\sigma) \leq D_\alpha(\rho\Vert\chi)+D_{\max}(P(\chi)\Vert\sigma).Dα​(P(ρ)∥σ)≤Dα​(ρ∥χ)+Dmax​(P(χ)∥σ).

Here a density matrix is positive semidefinite with trace 111, and Dmax⁡(X∥Y)=inf⁡{λ∈R:2λY−X⪰0}D_{\max}(X\Vert Y)=\inf\{\lambda\in\mathbb R:2^\lambda Y-X\succeq0\}Dmax​(X∥Y)=inf{λ∈R:2λY−X⪰0}, with the infimum taken in the extended reals. To specify DαD_\alphaDα​ literally, write t(X)=Re⁡Tr⁡Xt(X)=\operatorname{Re}\operatorname{Tr}Xt(X)=ReTrX, let S0(X)=IS_0(X)=IS0​(X)=I, and for u≠0u\neq0u=0 let Su(X)S_u(X)Su​(X) be continuous functional calculus with scalar function x↦0x\mapsto0x↦0 at x=0x=0x=0 and x↦xux\mapsto x^ux↦xu otherwise; also let L(X)=(log⁡2)−1log⁡(X)L(X)=(\log2)^{-1}\log(X)L(X)=(log2)−1log(X), using the total real logarithm in functional calculus. At α=1\alpha=1α=1,

D1(X∥Y)=t(X(L(X)−L(Y)))t(X)D_1(X\Vert Y)= \frac{t(X(L(X)-L(Y)))}{t(X)}D1​(X∥Y)=t(X)t(X(L(X)−L(Y)))​

if ker⁡Y⊆ker⁡X\ker Y\subseteq\ker XkerY⊆kerX, and +∞+\infty+∞ otherwise. For α>1\alpha>1α>1, put Z=S(1−α)/(2α)(Y)XS(1−α)/(2α)(Y)Z=S_{(1-\alpha)/(2\alpha)}(Y)X S_{(1-\alpha)/(2\alpha)}(Y)Z=S(1−α)/(2α)​(Y)XS(1−α)/(2α)​(Y); then Dα(X∥Y)=(α−1)−1ℓ(t(Sα(Z))/t(X))D_\alpha(X\Vert Y)=(\alpha-1)^{-1}\ell(t(S_\alpha(Z))/t(X))Dα​(X∥Y)=(α−1)−1ℓ(t(Sα​(Z))/t(X)) if XY≠0XY\neq0XY=0 and ker⁡Y⊆ker⁡X\ker Y\subseteq\ker XkerY⊆kerX, and +∞+\infty+∞ otherwise, where ℓ(x)=log⁡2x\ell(x)=\log_2xℓ(x)=log2​x for x>0x>0x>0 and ℓ(x)=−∞\ell(x)=-\inftyℓ(x)=−∞ otherwise. The hypotheses require positivity of PPP, without requiring complete positivity.

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

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 29, 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