Theorem 4.12: Explicit mean squared error for every row
OpenQAlgorithms.Papers.Independent.Extend50.P32.explicitRowMSELet 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 . Here ; every row parameter lies in .
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.12, PDF pp.20-21: both terms and both constants 42 retained. -/
theorem explicitRowMSE {d n : ℕ} (hd : 0 < d) (alpha : Fin d → ℝ)
(hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha) (k : Fin d) :
rowMSE alpha n k ≤ 42 * alpha k * (k.val + 1) * n + 42 * tail alpha k.val * 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 natural numbers and , every nonincreasing probability vector with nonnegative entries summing to one, and every index , draw a length- word independently with letter probabilities . Starting from empty rows, insert each letter into the first row by replacing its first strictly larger entry and recursively inserting the displaced entry into the next row, or appending and stopping if none exists. Let be row ’s length, counting from zero and using zero for absent rows, and put . Then
where the expectation weights each word by . Zero probabilities are allowed, and gives equality at zero.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.