One-shot/classical-spectrum comparison
OpenQAlgorithms.Papers.Independent.Advance50.P02.oneShot_classicalSpectrumAll Hilbert spaces are finite dimensional and complex; all logarithms are binary. Positive-operator inequalities use the identity when comparing with a scalar. Let be normalized, , , and . Let be the pair's Nussbaum–Szkola distributions. For invertible , put and ; for singular , use . Then
The quantum quantities on the left have arguments . These bounds preserve flat spectra by the positive-bin correction described in the audit.
import Definitions.Def_QAlgorithms_Papers_Independent_Advance50_P02
noncomputable section
open Filter
open scoped BigOperators Matrix ComplexOrder ComplexConjugate Matrix.Norms.L2Operator Topology
namespace QAlgorithms.Papers.Independent.Advance50.P02
attribute [local instance] Classical.propDecidable Classical.decEq
open QAlgorithms.Papers.Independent.Information100.P63
(Mat tensorPower logTwo normalQuantile testingBeta)
open QAlgorithms.Papers.Independent.Information100.P71 (SupportIncluded supportPower)
open QAlgorithms (effectProb)
open QAlgorithms.Papers.Independent.Information100.P06 (Below)
open QAlgorithms.Papers.Independent.Information100.P30 (tensorMap)
open QAlgorithms.Papers.Independent.Information100.P67 (purifiedDistance)
open QAlgorithms.Papers.Independent.Dependency50.P26 (TracePreserving)
open QAlgorithms.Papers.Independent.Dependency50.P28 (pinch)
variable {I J A B X Z : Type} [Fintype I] [DecidableEq I]
[Fintype J] [DecidableEq J] [Fintype A] [DecidableEq A]
[Fintype B] [DecidableEq B] [Fintype X] [DecidableEq X]
[Fintype Z] [DecidableEq Z]
/-- Theorem 14, PDF pp.17--18: four bounds with the positive-bin repair of positiveSpectralFactor.
Printed/changed/why is recorded in MODERATION_NOTES.md. Source correction. Printed: p.17 defines theta=min(2 ceil(lambda),nu), zero for flat spectra.
Changed: For positive definite sigma use theta=min(2 max(1,ceil(lambda)),nu); singular sigma uses the independently proved nu branch.
Why: p.18 requires a positive integer bin count. Flat spectra have nu=1 and corrected theta=1. The nu proof covers singular comparisons without evaluating log(0); all four constants and conclusions are retained. -/
theorem oneShot_classicalSpectrum (rho sigma : Mat I) (hrho : QAlgorithms.IsDensityMatrix rho)
(hsigma : sigma.PosSemidef) (r : PositiveSpectralPresentation rho) (s : PositiveSpectralPresentation sigma)
(e delta : ℝ) (he : 0 < e ∧ e < 1)
(hdelta : 0 < delta ∧ delta < min e (1-e)) :
extendedTestingDivergence e rho sigma ≤ classicalSpectrumDivergence (e+delta) (nsProbability r s) (nsReferenceWeight r s) +
(logTwo ((2:ℝ)^8*(e+delta)*positiveSpectralFactor sigma / (delta^4*(1-e-delta))) : ℝ) ∧
classicalSpectrumDivergence (e-delta) (nsProbability r s) (nsReferenceWeight r s) - (logTwo (positiveSpectralFactor sigma) : ℝ) +
(logTwo delta : ℝ) ≤ extendedTestingDivergence e rho sigma ∧
smoothedMaxRelativeEntropy (Real.sqrt (1-e)) rho sigma ≤ classicalSpectrumDivergence (e+delta) (nsProbability r s) (nsReferenceWeight r s) +
(logTwo (positiveSpectralFactor sigma)-logTwo (delta*(1-e)) : ℝ) ∧
classicalSpectrumDivergence (e-delta) (nsProbability r s) (nsReferenceWeight r s) - (logTwo ((3:ℝ)^3*e*positiveSpectralFactor sigma) : ℝ) +
(logTwo (delta^3) : ℝ) ≤ smoothedMaxRelativeEntropy (Real.sqrt (1-e)) rho sigma := by sorry
end QAlgorithms.Papers.Independent.Advance50.P02
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For any finite index type with decidable equality, let have trace , let , and choose spectral presentations , , where all and . Set
Let be the number of distinct eigenvalues of , including zero, and define
where is the least natural number at least , truncated to for . For effects , meaning and , let be the real infimum of subject to ; let if , and otherwise. Let be the extended real infimum of over and satisfying , , and
For every real and , the following four extended real inequalities hold:
No support inclusion or trace normalization of is required, and its zero eigenvalues are allowed.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.