Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Data processing of testing divergence

Open
QAlgorithms.Papers.Independent.Support50.P20.testingDivergence_dataProcessing

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

prove2quantum

Let ρ,σ\rho,\sigmaρ,σ be normalized positive trace-class operators on a complex Hilbert space HHH, let KKK be another complex Hilbert space, and let E\mathcal EE be a complex-linear, completely positive, trace-preserving map from trace-class operators on HHH to trace-class operators on KKK. Complete positivity means positivity at every finite matrix amplification. For 0≤ϵ<10\le\epsilon<10≤ϵ<1, the hypothesis-testing divergence in bits satisfies

DHϵ(E(ρ)∥E(σ))≤DHϵ(ρ∥σ).D_H^\epsilon\bigl(\mathcal E(\rho)\|\mathcal E(\sigma)\bigr)\le D_H^\epsilon(\rho\|\sigma).DHϵ​(E(ρ)∥E(σ))≤DHϵ​(ρ∥σ).

Physical preprocessing therefore cannot improve distinguishability as measured by this divergence. The result includes infinite-dimensional spaces and infinite divergence, with no finite Kraus-rank restriction.

Formalization Note The source's CPM is read as physical trace-preserving preprocessing, as required by its proof that pulls a complete measurement back to a complete measurement.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Support50_P20
Formal statement
noncomputable section

open Filter

open scoped ENNReal

namespace QAlgorithms.Papers.Independent.Support50.P20

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Dependency50.P13
  (IsTraceClass IsPositive operatorTrace State)

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

variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]

/-- PDF p.2, Property 2 and its proof: DPI for physical (CPTP) preprocessing
between arbitrary output Hilbert spaces, with all finite CP amplifications. -/
theorem testingDivergence_dataProcessing {I J K : Type*}
    [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
    (b : HilbertBasis I ℂ H) (d : HilbertBasis J ℂ K)
    (rho sigma : State b) (Phi : (H →L[ℂ] H) → (K →L[ℂ] K))
    (hPhi : IsHilbertCPTP b d Phi) (epsilon : ℝ)
    (hZero : 0 ≤ epsilon) (hOne : epsilon < 1) :
    hilbertTestingDivergence d epsilon (Phi rho.val.val) (Phi sigma.val.val) ≤
      hilbertTestingDivergence b epsilon rho.val.val sigma.val.val := by sorry

end QAlgorithms.Papers.Independent.Support50.P20

end
Source
One-Shot Classical-Quantum Capacity and Hypothesis Testing, arXiv:1007.5456v3, PDF p. 2, Property 2: data processing of hypothesis-testing divergence
Read-back

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

Let H,KH,KH,K be complete complex inner-product spaces, let I,JI,JI,J be arbitrary types, and let b=(bi)i∈Ib=(b_i)_{i\in I}b=(bi​)i∈I​ and d=(dj)j∈Jd=(d_j)_{j\in J}d=(dj​)j∈J​ be Hilbert bases of HHH and KKK. On either space, call TTT trace-class when Tx=∑r=0∞⟨vr,x⟩urTx=\sum_{r=0}^\infty\langle v_r,x\rangle u_rTx=∑r=0∞​⟨vr​,x⟩ur​ for some sequences with ∑r∥ur∥∥vr∥<∞\sum_r\|u_r\|\|v_r\|<\infty∑r​∥ur​∥∥vr​∥<∞, and define its basis trace by tr⁡bT=∑i⟨bi,Tbi⟩\operatorname{tr}_bT=\sum_i\langle b_i,Tb_i\rangletrb​T=∑i​⟨bi​,Tbi​⟩, or analogously using ddd. Let ρ,σ\rho,\sigmaρ,σ be trace-class operators on HHH that are self-adjoint, have nonnegative real quadratic forms, and have trace 111. Let Φ\PhiΦ be a function from bounded complex-linear operators on HHH to bounded complex-linear operators on KKK, satisfying all of the following: it is additive and complex homogeneous on trace-class inputs; it maps every trace-class operator AAA to a trace-class operator with tr⁡dΦ(A)=tr⁡bA\operatorname{tr}_d\Phi(A)=\operatorname{tr}_bAtrd​Φ(A)=trb​A; and for every natural number nnn, including n=0n=0n=0, and every array of trace-class operators AijA_{ij}Aij​, if ∑i,j⟨vi,Aijvj⟩\sum_{i,j}\langle v_i,A_{ij}v_j\rangle∑i,j​⟨vi​,Aij​vj​⟩ has imaginary part zero and nonnegative real part for every v:{0,…,n−1}→Hv:\{0,\ldots,n-1\}\to Hv:{0,…,n−1}→H, then ∑i,j⟨wi,Φ(Aij)wj⟩\sum_{i,j}\langle w_i,\Phi(A_{ij})w_j\rangle∑i,j​⟨wi​,Φ(Aij​)wj​⟩ has those same two properties for every w:{0,…,n−1}→Kw:\{0,\ldots,n-1\}\to Kw:{0,…,n−1}→K. For a basis eee, define

Dϵe(R,S)=L ⁣(inf⁡Q an effectRe⁡tr⁡e(QR)≥1−ϵmax⁡(Re⁡tr⁡e(QS),0)),D_\epsilon^e(R,S)= L\!\left(\inf_{\substack{Q\text{ an effect}\\ \operatorname{Re}\operatorname{tr}_e(QR)\ge1-\epsilon}} \max(\operatorname{Re}\operatorname{tr}_e(QS),0)\right),Dϵe​(R,S)=L​Q an effectRetre​(QR)≥1−ϵ​inf​max(Retre​(QS),0)​,

where an effect means that both QQQ and 1−Q1-Q1−Q are bounded self-adjoint operators with nonnegative real quadratic forms; the infimum is in [0,∞][0,\infty][0,∞]; and L(0)=+∞L(0)=+\inftyL(0)=+∞, L(+∞)=−∞L(+\infty)=-\inftyL(+∞)=−∞, L(z)=−log⁡2zL(z)=-\log_2zL(z)=−log2​z for positive finite zzz. For every real 0≤ϵ<10\le\epsilon<10≤ϵ<1, the declaration asserts

Dϵd(Φ(ρ),Φ(σ))≤Dϵb(ρ,σ)D_\epsilon^d(\Phi(\rho),\Phi(\sigma))\le D_\epsilon^b(\rho,\sigma)Dϵd​(Φ(ρ),Φ(σ))≤Dϵb​(ρ,σ)

in the extended reals. No continuity of the function Φ\PhiΦ, or finite-dimensionality or countability of either basis, is an additional hypothesis.

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

    Confirmed by the moderator at approval.

  • Endorsed by Goku · Oct 24, 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