Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Unnumbered IID example: additive entropy, variance and analytic condition

Open
QAlgorithms.Papers.Independent.Bridge50.P02.iid_additivity_and_condition

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. Set ρn=ρ⊗n\rho_n=\rho^{\otimes n}ρn​=ρ⊗n and σn=σ⊗n\sigma_n=\sigma^{\otimes n}σn​=σ⊗n for n≥1n\ge1n≥1, and take wn=nw_n=nwn​=n. In natural logarithms,

D(ρn∥σn)=nD(ρ∥σ),V(ρn∥σn)=nV(ρ∥σ),Ψs(ρn∣σn)=nΨs(ρ∣σ).D(\rho_n\Vert\sigma_n)=nD(\rho\Vert\sigma),\qquad V(\rho_n\Vert\sigma_n)=nV(\rho\Vert\sigma),\qquad\Psi_s(\rho_n\mid\sigma_n)=n\Psi_s(\rho\mid\sigma).D(ρn​∥σn​)=nD(ρ∥σ),V(ρn​∥σn​)=nV(ρ∥σ),Ψs​(ρn​∣σn​)=nΨs​(ρ∣σ).

Consequently Condition 1 holds and the computed rates satisfy d=D(ρ∥σ)d=D(\rho\Vert\sigma)d=D(ρ∥σ) and v=V(ρ∥σ)v=V(\rho\Vert\sigma)v=V(ρ∥σ). The entropy correction vanishes identically.

This verifies that the main analytic framework contains the general finite-dimensional IID example, including equal densities.

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]

/-- Unnumbered IID example, PDF p.16: additivity, the two computed rates,
Petz-log scaling, Condition 1, and zero entropy correction. -/
theorem iid_additivity_and_condition [Nonempty I] (rho sigma : Mat I)
    (hrho : QAlgorithms.IsDensityMatrix rho) (hsigma : QAlgorithms.IsDensityMatrix sigma)
    (hfaithfulRho : rho.PosDef) (hfaithfulSigma : sigma.PosDef) :
    (∀ n : ℕ, 1 ≤ n →
      finitePairRelativeEntropyNats (tensorPower n rho) (tensorPower n sigma) = (n : ℝ) * finitePairRelativeEntropyNats rho sigma ∧
      pairInformationVarianceNats (tensorPower n rho) (tensorPower n sigma) =
        (n : ℝ) * pairInformationVarianceNats rho sigma ∧
      ∀ s : ℝ, realPetzLogOverlap (tensorPower n rho) (tensorPower n sigma) s = (n : ℝ) * realPetzLogOverlap rho sigma s) ∧
    relativeEntropyRate (iidSequence rho sigma) iidWeight = finitePairRelativeEntropyNats rho sigma ∧
    varianceRate (iidSequence rho sigma) iidWeight = pairInformationVarianceNats rho sigma ∧
    ConditionOne (iidSequence rho sigma) iidWeight ∧
    (∀ k, relativeEntropyCorrection (iidSequence rho sigma) iidWeight k = 0) := 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, Unnumbered IID example
Read-back

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

Let III be a nonempty finite type with decidable equality, and let ρ,σ\rho,\sigmaρ,σ be complex matrices indexed by III, both positive semidefinite with trace 111, and both positive definite. Write ReTr⁡(A)=Re⁡(tr⁡A)\operatorname{ReTr}(A)=\operatorname{Re}(\operatorname{tr}A)ReTr(A)=Re(trA), define log⁡A\log AlogA by spectral functional calculus, and set D(ρ,σ)=ReTr⁡(ρ(log⁡ρ−log⁡σ))D(\rho,\sigma)=\operatorname{ReTr}(\rho(\log\rho-\log\sigma))D(ρ,σ)=ReTr(ρ(logρ−logσ)), V(ρ,σ)=ReTr⁡(ρ(log⁡ρ−log⁡σ)2)−D(ρ,σ)2V(\rho,\sigma)=\operatorname{ReTr}(\rho(\log\rho-\log\sigma)^2)-D(\rho,\sigma)^2V(ρ,σ)=ReTr(ρ(logρ−logσ)2)−D(ρ,σ)2, and L(ρ,σ;s)=log⁡ReTr⁡(ρ[s]σ[1−s])L(\rho,\sigma;s)=\log\operatorname{ReTr}(\rho^{[s]}\sigma^{[1-s]})L(ρ,σ;s)=logReTr(ρ[s]σ[1−s]), where A[u]A^{[u]}A[u] applies the scalar function that is 000 at 000 and xux^uxu elsewhere by spectral functional calculus, and the logarithm is the total real logarithm. For nnn copies, the tensor power has entries (A⊗n)a,b=∏i=0n−1Aai,bi(A^{\otimes n})_{a,b}=\prod_{i=0}^{n-1}A_{a_i,b_i}(A⊗n)a,b​=∏i=0n−1​Aai​,bi​​. The assertion is that, for every integer n≥1n\ge1n≥1, D(ρ⊗n,σ⊗n)=nD(ρ,σ)D(\rho^{\otimes n},\sigma^{\otimes n})=nD(\rho,\sigma)D(ρ⊗n,σ⊗n)=nD(ρ,σ), V(ρ⊗n,σ⊗n)=nV(ρ,σ)V(\rho^{\otimes n},\sigma^{\otimes n})=nV(\rho,\sigma)V(ρ⊗n,σ⊗n)=nV(ρ,σ), and L(ρ⊗n,σ⊗n;s)=nL(ρ,σ;s)L(\rho^{\otimes n},\sigma^{\otimes n};s)=nL(\rho,\sigma;s)L(ρ⊗n,σ⊗n;s)=nL(ρ,σ;s) for every real sss. For the sequence ρk=ρ⊗(k+1)\rho_k=\rho^{\otimes(k+1)}ρk​=ρ⊗(k+1), σk=σ⊗(k+1)\sigma_k=\sigma^{\otimes(k+1)}σk​=σ⊗(k+1), with weights wk=k+1w_k=k+1wk​=k+1, the quantities defined by the total limit operator applied to D(ρk,σk)/wkD(\rho_k,\sigma_k)/w_kD(ρk​,σk​)/wk​ and V(ρk,σk)/wkV(\rho_k,\sigma_k)/w_kV(ρk​,σk​)/wk​ equal D(ρ,σ)D(\rho,\sigma)D(ρ,σ) and V(ρ,σ)V(\rho,\sigma)V(ρ,σ), respectively. This sequence also satisfies all of the following: every index space is nonempty and finite with decidable equality; every pair consists of density matrices with ker⁡σk⊆ker⁡ρk\ker\sigma_k\subseteq\ker\rho_kkerσk​⊆kerρk​; the weights are positive, nondecreasing, and tend to infinity; and there exist r>0r>0r>0, functions Hk:C→CH_k:\mathbb C\to\mathbb CHk​:C→C analytic on {z:∣z∣<r}\{z:|z|<r\}{z:∣z∣<r}, and C∈RC\in\mathbb RC∈R, such that Hk(x)=L(ρk,σk;1−x)H_k(x)=L(\rho_k,\sigma_k;1-x)Hk​(x)=L(ρk​,σk​;1−x) for every real ∣x∣<r|x|<r∣x∣<r, each sequence Hk(x)/wkH_k(x)/w_kHk​(x)/wk​ converges to some complex number, and ∣Hk(z)∣≤Cwk|H_k(z)|\le Cw_k∣Hk​(z)∣≤Cwk​ for every kkk and ∣z∣<r|z|<r∣z∣<r. Finally, for every kkk, D(ρk,σk)D(\rho_k,\sigma_k)D(ρk​,σk​) minus wkw_kwk​ times the defined relative entropy rate is 000.

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