Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proposition 1: Li’s one-shot test existence

Open
QAlgorithms.Papers.Independent.Bridge50.P02.li_one_shot_test

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

prove2quantum

Let ρ,σ\rho,\sigmaρ,σ be faithful density matrices on a nonzero finite-dimensional complex Hilbert space. For every L>0L>0L>0, there exists one effect 0≤T≤I0\le T\le I0≤T≤I such that

Tr⁡ρ(I−T)≤⟨Ωρ,P[0,L)(Δρ∣σ)Ωρ⟩,Tr⁡σT≤L−1.\operatorname{Tr}\rho(I-T)\le\langle\Omega_\rho,P_{[0,L)}(\Delta_{\rho\mid\sigma})\Omega_\rho\rangle,\qquad\operatorname{Tr}\sigma T\le L^{-1}.Trρ(I−T)≤⟨Ωρ​,P[0,L)​(Δρ∣σ​)Ωρ​⟩,TrσT≤L−1.

Here Ωρ=ρ\Omega_\rho=\sqrt\rhoΩρ​=ρ​, Δρ∣σ(X)=ρXσ−1\Delta_{\rho\mid\sigma}(X)=\rho X\sigma^{-1}Δρ∣σ​(X)=ρXσ−1, and P[0,L)P_{[0,L)}P[0,L)​ is its spectral projector onto the half-open interval that excludes LLL.

The same test satisfies both bounds. This states the existence result attributed to Li, without endorsing the faulty particular construction in Appendix C.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Bridge50_P02
Formal statement
noncomputable section

open Filter MeasureTheory

open scoped BigOperators ENNReal Matrix ComplexConjugate ComplexOrder Matrix.Norms.L2Operator Topology

namespace QAlgorithms.Papers.Independent.Bridge50.P02

attribute [local instance] Classical.propDecidable Classical.decEq

open QAlgorithms.Papers.Independent.Claimed50.P15
  (evaluate positiveMatrixRpow modularMatrix modularQuadratic resolventOverlap petzOverlap
    finiteRelativeEntropyNats)

open QAlgorithms.Papers.Independent.Information100.P71 (supportPower SupportIncluded)

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

open QAlgorithms.Papers.Independent.Information100.P58 (normalQuantile)

variable {I : Type} [Fintype I] [DecidableEq I]

/-- Proposition 1 (Li), PDF p.14, (3.14): one test satisfying BOTH bounds;
the interval [0,L) excludes L. The defective Appendix C construction is not asserted. -/
theorem li_one_shot_test [Nonempty I] (rho sigma : Mat I)
    (hrho : QAlgorithms.IsDensityMatrix rho) (hsigma : QAlgorithms.IsDensityMatrix sigma)
    (hfaithfulRho : rho.PosDef) (hfaithfulSigma : sigma.PosDef) (L : ℝ) (hL : 0 < L) :
    ∃ T : Mat I, QAlgorithms.IsEffect T ∧
      evaluate rho (1-T) ≤ modularQuadratic rho (modularLowProjector rho sigma L) ∧
      evaluate sigma T ≤ L⁻¹ := by sorry

end QAlgorithms.Papers.Independent.Bridge50.P02

end
Source
Second-order asymptotics for quantum hypothesis testing in settings beyond i.i.d. - quantum lattice systems and more, arXiv:1510.04682v4, PDF p. 14, Proposition 1
Read-back

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

For every nonempty finite index type III with decidable equality, complex I×II\times II×I matrices ρ,σ\rho,\sigmaρ,σ that are positive semidefinite with complex trace 111 and also positive definite, and real L>0L>0L>0, there exists a complex I×II\times II×I matrix TTT with T≥0T\ge0T≥0 and 1−T≥01-T\ge01−T≥0 such that

Re⁡Tr⁡(ρ(1−T))≤Re⁡∑i,j(ρ)ij‾ (PLvρ)(i,j),Re⁡Tr⁡(σT)≤L−1,\operatorname{Re}\operatorname{Tr}\bigl(\rho(1-T)\bigr) \le \operatorname{Re}\sum_{i,j}\overline{(\sqrt\rho)_{ij}}\, (P_Lv_\rho)(i,j), \qquad \operatorname{Re}\operatorname{Tr}(\sigma T)\le L^{-1},ReTr(ρ(1−T))≤Rei,j∑​(ρ​)ij​​(PL​vρ​)(i,j),ReTr(σT)≤L−1,

where vρ(i,j)=(ρ)ijv_\rho(i,j)=(\sqrt\rho)_{ij}vρ​(i,j)=(ρ​)ij​, the square root is spectral functional calculus, and PLP_LPL​ is spectral functional calculus of the matrix

D(i,j),(k,l)=ρik(σ−1)ljD_{(i,j),(k,l)}=\rho_{ik}(\sigma^{-1})_{lj}D(i,j),(k,l)​=ρik​(σ−1)lj​

with scalar function u↦1{0≤u<L}u\mapsto\mathbf1_{\{0\le u<L\}}u↦1{0≤u<L}​. Thus the spectral interval includes 000 and excludes LLL. The conclusion requires an effect TTT, with no idempotence requirement.

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