Proposition 2.15
OpenQAlgorithms.Papers.Independent.Extend50.P34.rsk_majorizes_histogramFor a word , let and let be its letter counts. Then and majorizes the decreasing rearrangement of the histogram:
Equivalently the inequality holds for the sum over every set of letters. This formulation avoids assuming that the RSK shape of a fixed word is invariant under relabelling.
import Definitions.Def_QAlgorithms_Papers_Independent_Extend50_P34
noncomputable section
open scoped Matrix BigOperators
open MeasureTheory
namespace QAlgorithms.Papers.Independent.Extend50.P34
attribute [local instance] Classical.propDecidable
-- Reuse exact pinned definitions; these are imports, not local declarations.
open QAlgorithms.Papers.Independent.Support50.P38 (tv wordMass)
open QAlgorithms.Papers.Independent.Advance50.P28 (counts)
/-- Proposition 2.15, arXiv:1501.05028v1, PDF p.16. The largest k frequencies are represented by all k-letter subsets. Equal total size is stated, including n=0. -/
theorem rsk_majorizes_histogram
(d n : ℕ) (hd : 0 < d) (w : Fin n → Fin d) :
(rsk w).card = n ∧
∀ k : ℕ, k ≤ d → ∀ S : Finset (Fin d), S.card = k →
(∑ i ∈ S, counts w i) ≤ ∑ i ∈ Finset.range k, (rsk w).rowLen i := by sorry
end QAlgorithms.Papers.Independent.Extend50.P34
end
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
For every natural number , every natural number , and every word , form a tableau by inserting the letters in position order into an initially empty tableau: in a row, replace the first entry strictly greater than the inserted letter and pass that displaced entry to the next row; if no entry is strictly greater, append the letter and stop; if no row remains, create a new row. Let be the Young diagram obtained by sorting the resulting row lengths in decreasing order. Then has exactly cells, and for every natural number and every subset with ,
The statement includes , for which both sums are zero, and , for which the word and resulting diagram are empty.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.