Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma III.6: two-term finite-copy positive-part bound

Open
QAlgorithms.Papers.Independent.Intake100.P63.two_term_positive_part

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

prove2quantum

Let ρ,σ\rho,\sigmaρ,σ be normalized density operators on a nonzero finite-dimensional Hilbert space HHH with supp⁡ρ⊆supp⁡σ\operatorname{supp}\rho\subseteq\operatorname{supp}\sigmasuppρ⊆suppσ. Let n≥1n\ge1n≥1, λ,μ∈R\lambda,\mu\in\mathbb Rλ,μ∈R, and s∈[0,1]s\in[0,1]s∈[0,1]. Inverses of σ\sigmaσ are taken on its support. Then

Tr⁡(ρ⊗n−2λnσ⊗n)+≤2−n(sμ−log⁡2Tr⁡ρ1+s)+2−n(s(λ−μ)−sdim⁡(H)log⁡2(1+n)n−log⁡2Tr⁡(ρσ−s)).\operatorname{Tr}(\rho^{\otimes n}-2^{\lambda n}\sigma^{\otimes n})_+ \le2^{-n(s\mu-\log_2\operatorname{Tr}\rho^{1+s})} +2^{-n\left(s(\lambda-\mu)-s\dim(H)\frac{\log_2(1+n)}n-\log_2\operatorname{Tr}(\rho\sigma^{-s})\right)}.Tr(ρ⊗n−2λnσ⊗n)+​≤2−n(sμ−log2​Trρ1+s)+2−n(s(λ−μ)−sdim(H)nlog2​(1+n)​−log2​Tr(ρσ−s)).

The two moments are distinct, and the polynomial correction belongs inside the second exponent. Full rank of sigma is not required.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P63
Formal statement
noncomputable section

namespace QAlgorithms.Papers.Independent.Intake100.P63

open QAlgorithms Filter Topology

open QAlgorithms.Papers.Independent.Information100.P60 (Mat relativeBits)

open QAlgorithms.Papers.Independent.Information100.P07 (positivePart)

open QAlgorithms.Papers.Independent.Information100.P21 (Vec)

open QAlgorithms.Papers.Independent.Gap48.P20 (Copies)

open QAlgorithms.Papers.Independent.Advance50.P30 (joinCopies defectTensor)

open QAlgorithms.Papers.Independent.Information100.P69 (permute)

open scoped Matrix ComplexConjugate ENNReal ComplexOrder

attribute [local instance] Classical.propDecidable Classical.decEq

/-- PDF pp.14--16 Lemma III.6 Eq.(78), checked in rendered PDF p.14.
The second moment is Tr(rho sigma^(-s)), and the polynomial correction is
SUBTRACTED INSIDE the second exponent. No full-rank sigma assumption. -/
theorem two_term_positive_part {I : Type*} [Fintype I] [DecidableEq I] [Nonempty I]
    (rho sigma : Mat I) (hrho : IsDensityMatrix rho) (hsigma : IsDensityMatrix sigma)
    (hsupport : LinearMap.ker sigma.mulVecLin ≤ LinearMap.ker rho.mulVecLin)
    (n : ℕ) (hn : 0 < n) (lambda mu s : ℝ) (hs : s ∈ Set.Icc (0 : ℝ) 1) :
    (positivePart (piKron n rho - (((2 : ℝ) ^ (lambda * n) : ℝ) : ℂ) • piKron n sigma)).trace.re ≤
      (2 : ℝ) ^ (-(n : ℝ) * (s * mu -
        Real.logb 2 (cfc (fun x : ℝ => x ^ (1 + s)) rho).trace.re)) +
      (2 : ℝ) ^ (-(n : ℝ) * (s * (lambda - mu) -
        s * Fintype.card I * Real.logb 2 (1 + (n : ℝ)) / n -
        Real.logb 2 (rho * cfc (fun x : ℝ => if x = 0 then 0 else x ^ (-s)) sigma).trace.re)) := by sorry

end QAlgorithms.Papers.Independent.Intake100.P63

end
Source
A Generalization of Quantum Stein's Lemma, arXiv:0904.0281v3, PDF p. 14, Lemma III.6: two-term finite-copy positive-part bound
Read-back

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

Let III be a finite, nonempty index set with decidable equality, let ρ,σ\rho,\sigmaρ,σ be positive semidefinite matrices on CI\mathbb C^ICI of trace 111, and assume ker⁡σ⊆ker⁡ρ\ker\sigma\subseteq\ker\rhokerσ⊆kerρ. For every natural number n>0n>0n>0, every real λ,μ\lambda,\muλ,μ, and every s∈[0,1]s\in[0,1]s∈[0,1], writing d=∣I∣d=|I|d=∣I∣, one has

Re⁡tr⁡[ρ⊗n−2λnσ⊗n]+≤2−n(sμ−log⁡2 ⁣(Re⁡tr⁡ρ 1+s))+2−n(s(λ−μ)−sdlog⁡2(1+n)n−log⁡2 ⁣(Re⁡tr⁡(ρfs(σ)))),\begin{aligned} \operatorname{Re}\operatorname{tr} \bigl[\rho^{\otimes n}-2^{\lambda n}\sigma^{\otimes n}\bigr]_+ \le{}& 2^{-n\left(s\mu-\log_2\!\left(\operatorname{Re}\operatorname{tr}\rho^{\,1+s}\right)\right)} \\ &+ 2^{-n\left( s(\lambda-\mu) -\frac{sd\log_2(1+n)}{n} -\log_2\!\left(\operatorname{Re}\operatorname{tr}\bigl(\rho f_s(\sigma)\bigr)\right) \right)}, \end{aligned}Retr[ρ⊗n−2λnσ⊗n]+​≤​2−n(sμ−log2​(Retrρ1+s))+2−n(s(λ−μ)−nsdlog2​(1+n)​−log2​(Retr(ρfs​(σ)))),​

where X⊗n(x,y)=∏i<nX(xi,yi)X^{\otimes n}(x,y)=\prod_{i<n}X(x_i,y_i)X⊗n(x,y)=∏i<n​X(xi​,yi​), [H]+=(t↦max⁡(t,0))(H)[H]_+=(t\mapsto\max(t,0))(H)[H]+​=(t↦max(t,0))(H), ρ1+s=(t↦t1+s)(ρ)\rho^{1+s}=(t\mapsto t^{1+s})(\rho)ρ1+s=(t↦t1+s)(ρ), and

fs(t)={0,t=0,t−s,t≠0.f_s(t)= \begin{cases} 0,&t=0,\\ t^{-s},&t\ne0. \end{cases}fs​(t)={0,t−s,​t=0,t=0.​

All matrix functions are taken through continuous functional calculus, and the scalar powers with real exponents are real powers. The endpoints s=0s=0s=0 and s=1s=1s=1 are included; σ\sigmaσ need not be invertible, and its zero eigenspace receives the value 000 in fs(σ)f_s(\sigma)fs​(σ), including at s=0s=0s=0. Scalar logarithms use the total convention log⁡20=0\log_2 0=0log2​0=0.

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

    Confirmed by the moderator at approval.

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