Theorem 1.7: Full spectrum loss bounds
OpenQAlgorithms.Papers.Independent.Extend50.P32.fullSpectrumLossLet and let be a nonincreasing probability vector with nonnegative entries. Draw an iid word of length with letter law and let be its weak-insertion RSK shape, padded to rows. For , write , , , and . 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 controls the empirical Young diagram without an asymptotic spectrum-gap assumption.
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.7, PDF p.4: all three full losses in the printed argument order. -/
theorem fullSpectrumLoss {d n : ℕ} (hd : 0 < d) (hn : 0 < n) (alpha : Fin d → ℝ)
(hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha) (metric : FullMetric) :
swMeanExt alpha n (fun s => fullLoss metric (normalizedShapeRows n s) alpha) ≤
ENNReal.ofReal ((d : ℝ) ^ 2 / n) := by sorry
end QAlgorithms.Papers.Independent.Extend50.P32
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For all positive natural numbers , every nonincreasing vector with nonnegative entries summing to one, and each of the three choices of loss below, the following bound holds:
Here in , and is row ’s length, or zero for an absent row, obtained by inserting letters in order into initially empty rows, replacing the first strictly greater letter and passing it to the next row, or appending and stopping if no such letter exists. For real vectors , the three losses are ; the value if some , and otherwise , using the natural logarithm; and , where if , if , and otherwise. Zero entries of are permitted, and the sum uses extended nonnegative arithmetic, including .
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.