Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3: IID expansion with logarithmic remainder

Open
QAlgorithms.Papers.Independent.Bridge50.P02.iid_logarithmic_remainder

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

prove2quantum

Fix faithful density matrices ρ,σ\rho,\sigmaρ,σ on a nonzero finite-dimensional complex Hilbert space and ε∈(0,1)\varepsilon\in(0,1)ε∈(0,1). For each n≥1n\ge1n≥1 let βn(ε)\beta_n(\varepsilon)βn​(ε) optimize the type-II error over all joint effects on ρ⊗n\rho^{\otimes n}ρ⊗n versus σ⊗n\sigma^{\otimes n}σ⊗n, with type-I error at most ε\varepsilonε. With natural-log relative entropy DDD and pair information variance VVV, there exist C>0C>0C>0 and an integer N≥2N\ge2N≥2, depending only on the fixed pair and ε\varepsilonε, such that for every n≥Nn\ge Nn≥N,

∣−log⁡βn(ε)−nD(ρ∥σ)−nV(ρ∥σ) Φ−1(ε)∣≤Clog⁡n.\left|{-\log\beta_n(\varepsilon)}-nD(\rho\Vert\sigma)-\sqrt{nV(\rho\Vert\sigma)}\,\Phi^{-1}(\varepsilon)\right|\le C\log n.​−logβn​(ε)−nD(ρ∥σ)−nV(ρ∥σ)​Φ−1(ε)​≤Clogn.

Equal states and V=0V=0V=0 are included. This finite-dimensional IID theorem does not supply an infinite-dimensional Gaussian-state expansion.

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]

/-- Theorem 3, PDF p.16: finite-dimensional IID logarithmic remainder.
The constants precede the block length and may depend on the fixed pair and epsilon.
Equal densities and variance zero are included. -/
theorem iid_logarithmic_remainder [Nonempty I] (rho sigma : Mat I)
    (hrho : QAlgorithms.IsDensityMatrix rho) (hsigma : QAlgorithms.IsDensityMatrix sigma)
    (hfaithfulRho : rho.PosDef) (hfaithfulSigma : sigma.PosDef)
    (epsilon : ℝ) (hepsilon : 0 < epsilon ∧ epsilon < 1) :
    ∃ C : ℝ, 0 < C ∧ ∃ N : ℕ, 2 ≤ N ∧ ∀ n : ℕ, N ≤ n →
      |optimalTestingExponentNats (tensorPower n rho) (tensorPower n sigma) epsilon -
        ((n : ℝ) * finitePairRelativeEntropyNats rho sigma +
          Real.sqrt ((n : ℝ) * pairInformationVarianceNats rho sigma) * normalQuantile epsilon)| ≤
        C * Real.log n := 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. 16, Theorem 3
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 positive definite, and 0<ϵ<10<\epsilon<10<ϵ<1, define

D=Re⁡Tr⁡(ρ(log⁡ρ−log⁡σ)),V=Re⁡Tr⁡(ρ(log⁡ρ−log⁡σ)2)−D2,D=\operatorname{Re}\operatorname{Tr}\bigl(\rho(\log\rho-\log\sigma)\bigr),\qquad V=\operatorname{Re}\operatorname{Tr}\bigl(\rho(\log\rho-\log\sigma)^2\bigr)-D^2,D=ReTr(ρ(logρ−logσ)),V=ReTr(ρ(logρ−logσ)2)−D2,

using spectral logarithms, and let ρ⊗n,σ⊗n\rho^{\otimes n},\sigma^{\otimes n}ρ⊗n,σ⊗n be matrices indexed by functions a,b:{0,…,n−1}→Ia,b:\{0,\ldots,n-1\}\to Ia,b:{0,…,n−1}→I, with entries ∏i=0n−1ρa(i),b(i)\prod_{i=0}^{n-1}\rho_{a(i),b(i)}∏i=0n−1​ρa(i),b(i)​ and ∏i=0n−1σa(i),b(i)\prod_{i=0}^{n-1}\sigma_{a(i),b(i)}∏i=0n−1​σa(i),b(i)​. Put

qn=−log⁡inf⁡{Re⁡Tr⁡(σ⊗nT):T≥0, 1−T≥0, 1−ϵ≤Re⁡Tr⁡(ρ⊗nT)},q_n=-\log\inf\left\{\operatorname{Re}\operatorname{Tr}(\sigma^{\otimes n}T): T\ge0,\ 1-T\ge0,\ 1-\epsilon\le\operatorname{Re}\operatorname{Tr}(\rho^{\otimes n}T)\right\},qn​=−loginf{ReTr(σ⊗nT):T≥0, 1−T≥0, 1−ϵ≤ReTr(ρ⊗nT)},

and let Φ−1(ϵ)=inf⁡{z:∫−∞ze−x2/2/2π dx≥ϵ}\Phi^{-1}(\epsilon)=\inf\{z:\int_{-\infty}^{z}e^{-x^2/2}/\sqrt{2\pi}\,dx\ge\epsilon\}Φ−1(ϵ)=inf{z:∫−∞z​e−x2/2/2π​dx≥ϵ}. There exist a real C>0C>0C>0 and a natural number N≥2N\ge2N≥2 such that every natural n≥Nn\ge Nn≥N satisfies

∣qn−(nD+nV Φ−1(ϵ))∣≤Clog⁡n.\left|q_n-\left(nD+\sqrt{nV}\,\Phi^{-1}(\epsilon)\right)\right| \le C\log n.​qn​−(nD+nV​Φ−1(ϵ))​≤Clogn.

All logarithms are natural except for the displayed definition of the standard normal quantile, which involves no logarithm. The statement imposes no assumption V>0V>0V>0 or ρ≠σ\rho\ne\sigmaρ=σ, and makes no bound for n<Nn<Nn<N.

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