Unnumbered: Improved truncated-TV coefficient
OpenQAlgorithms.Papers.Independent.Extend50.P32.improvedTruncatedTVLet 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)
/-- Unnumbered improvement after Theorem 1.8, PDF p.4. The plan's missing
truncated-TV convention is supplied by the checked OW16 original,
arXiv:1508.01907v2 PDF p.3, Theorem 1.7. -/
theorem improvedTruncatedTV {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) :
swMean alpha n (fun s => truncatedTV k (normalizedShapeRows n s) alpha) ≤
((3 / 2 : ℝ) * k + 1 / 2) / Real.sqrt 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 positive integers , let be nonnegative real numbers summing to , with whenever , and let . Draw a length- word independently with letter probabilities . Form its insertion tableau by inserting each letter into the first row, replacing the first strictly larger letter and inserting the displaced letter into the next row, or appending when no strictly larger letter exists. Write for the length of row , with missing rows assigned length . Then
Here the expectation is literally the sum over all words , weighted by . Zero letter probabilities, , , and are included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.