Theorem 4.11: Truncated chi-squared error, proof-bearing statement
OpenQAlgorithms.Papers.Independent.Extend50.P32.truncatedChiSquaredLossLet 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 4.11, PDF p.20: chi-squared only; no spurious j parameter. -/
theorem truncatedChiSquaredLoss {d n : ℕ} (hd : 0 < d) (hn : 0 < n) (alpha : Fin d → ℝ)
(hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha)
(k : ℕ) (hk : 1 ≤ k) (hkd : k ≤ d) :
swMeanExt alpha n (fun s => chi2 k (normalizedShapeRows n s) alpha) ≤
ENNReal.ofReal (46 * (k : ℝ) * d / 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 probability vector with nonnegative entries summing to one, and every natural number with , draw a length- word independently with letter probabilities . Construct its rows from the empty collection by replacing the first strictly larger entry during insertion and recursively inserting the displaced entry into the next row, or appending and stopping when none exists. Let denote row ’s length, numbering from zero and using zero for absent rows. With for , , and for , the extended nonnegative sum satisfies
Zero coordinates of are included, with zero times evaluated as zero; is permitted.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.