Lemma 4.9: Prefix restriction MSE reduction
OpenQAlgorithms.Papers.Independent.Extend50.P32.prefixRestrictionMSELet 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 . From the same iid word retain letters at most , obtaining length and shape . The conditional letter masses are , whose denominator is positive; this constructs the variables on the right.
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)
/-- Lemma 4.9, PDF pp.19-20: m and restricted shape are CONSTRUCTED by
retaining the first k letters of the same word. Prefix mass is positive
from sortedness and k>=1; no extra full-support assumption. -/
theorem prefixRestrictionMSE {d n : ℕ} (hd : 0 < d) (alpha : Fin d → ℝ)
(hAlpha : Learning.IsDistribution alpha) (hSorted : Antitone alpha)
(i k : Fin d) (hik : i ≤ k) :
rowMSE alpha n i ≤ 2 * wordMean alpha n (fun w =>
let v := prefixWord w (k.val + 1)
(row (shape v) i.val - (alpha i / prefixMass alpha (k.val + 1)) * v.length) ^ 2) +
44 * tail alpha i.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 indices , draw a length- word independently with probabilities . For any word, construct rows from the empty collection by replacing the first strictly larger entry during insertion and inserting the displaced entry into the next row, or appending and stopping when none exists; denote row ’s length by , counting from zero and using zero for absent rows. Let be the subsequence of consisting of letters at most , preserving their order, let , and let . Then
Both expectations sum over the original words with weights ; the subsequence may be empty. Division is total, with division by zero assigned zero. The case is included.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.