Theorem 1.18: Top-k spectrum learning sample complexity
OpenQAlgorithms.Papers.Independent.Extend50.P32.topSpectrumLearningLet and let be positive semidefinite of trace one, with nonincreasing spectrum . On copies the concrete Keyl experiment draws a weak-Schur shape and then . Its rank- report is , with no renormalization, for . Write , where , and . The full report has . For every , one absolute constant suffices. The positive integer sample count is chosen from before the unknown state or spectrum. The guarantees are expected loss at most and success probability at least , separately for each indicated metric; integer budgets are rounded upward. No runtime or arbitrary-confidence claim is made. For these spectrum statements use EYD: weak Schur sampling followed by the report . For , put . Hellinger squared is , chi-squared is , and KL is . The estimate is the first argument, zero-over-zero terms contribute zero, and positive estimated mass at zero true mass gives infinite divergence. A superscript retains only the first terms, without renormalization.
This is a sample-complexity or risk guarantee for the concrete collective measurement and public decoder; it asserts no gate bound.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P32
noncomputable section
open MeasureTheory Filter
open scoped BigOperators ENNReal Matrix ComplexOrder Topology
namespace QAlgorithms.Papers.Independent.Extend50.P32
open QAlgorithms.Papers.Independent.Support50.P38 (wordMass tv)
-- For the density matrices below, the characteristic-polynomial identity
-- preserves all eigenvalues with multiplicity and is equivalent to unitary
-- diagonalization with these real eigenvalues. No accuracy is assumed.
open QAlgorithms.Papers.Independent.Gap20.P17 (HasSpectrum)
/-- Theorem 1.18, PDF p.7: first-k unnormalized entries. The weighted and
Euclidean guarantees have different copy counts. No trace renormalization. -/
theorem topSpectrumLearning : ∃ C : ℝ, 0 < C ∧
∀ (d : ℕ) (hd : 0 < d) (k : ℕ), 1 ≤ k → k ≤ d →
∀ epsilon : ℝ, 0 < epsilon → epsilon < 1 →
(∃ (n : ℕ) (hn : 0 < n), n ≤ copyBudget C ((k : ℝ) * d / epsilon) ∧
∀ (alpha : Fin d → ℝ) (hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha)
(metric : WeightedMetric),
eydRisk hd hn alpha hAlpha hSorted (weightedLoss metric k) ≤ ENNReal.ofReal epsilon ∧
ENNReal.ofReal (2 / 3 : ℝ) ≤ eydSuccess hd hn alpha hAlpha hSorted (weightedLoss metric k) epsilon) ∧
(∃ (n : ℕ) (hn : 0 < n), n ≤ copyBudget C ((k : ℝ) / epsilon) ∧
∀ (alpha : Fin d → ℝ) (hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha),
eydRisk hd hn alpha hAlpha hSorted (fun a b => ENNReal.ofReal (l2 k a b)) ≤ ENNReal.ofReal epsilon ∧
ENNReal.ofReal (2 / 3 : ℝ) ≤ eydSuccess hd hn alpha hAlpha hSorted
(fun a b => ENNReal.ofReal (l2 k a b)) epsilon) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P32
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
There exists a real constant such that, for every integer , every integer , and every , both following sample-size assertions hold. For clarity, the measure used in each assertion is defined as follows: for every Young diagram with cells and at most rows, number its cells, let be its row-preserving and column-preserving permutations, form , and let project orthogonally onto its range. With , , , and , put . For a probability vector , give mass , where is diagonal with word entry , and report , assigning missing rows length zero. First, there exists with such that, simultaneously for every nonincreasing probability vector and each of the two losses
the integral of the loss is at most and the measure of the event that it is at most is at least . A chi-squared summand at is if and otherwise; real expressions are converted to nonnegative extended reals by truncating below at zero. Second, there exists a possibly different with such that these same risk and success bounds hold, for every nonincreasing probability vector , for the loss . Each sample size is uniform over its subsequently quantified distributions and losses. Zero probabilities, , and are included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.