Offline · exact source
Exact Lean source

YoungGeneralTableaux

formalization/Cloning/YoungGeneralTableaux.lean

Source hash: c6e6e3cab3bba91d9681dd6ba9683c354e34e2963f3089934e749238a6d0d122

Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.

The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.

Declarations in this module
1import Cloning.YoungGeneralConcentration
2 
3/-!
4# The general tableau formula and polynomial domination
5 
6A standard tableau is encoded by the row containing each successive box: its
7prefix row counts are decreasing.  A semistandard tableau is encoded by the
8number of each letter in each row.  Weak row order makes this encoding unique;
9the prefix inequalities below express strict column order.  The formula
10`standardCount * schurPolynomial` is consequently explicit and finite.
11 
12This file proves its concentration without assuming any bound on the Young
13law.  It does not construct Schur--Weyl representation spaces or a Schur
14measurement; that physical identification is a separate obligation.
15-/
16 
17noncomputable section
18open scoped BigOperators Topology
19open Filter
20attribute [local instance] Classical.propDecidable
21 
22namespace Cloning.YoungGeneral
23 
24/-- The prefix condition for the row word of a standard Young tableau. -/
25def IsStandardWord {d N : ℕ} (w : Fin N → Fin d) : Prop :=
26  ∀ n : ℕ, Antitone (fun i ↦ (Finset.univ.filter (fun k ↦ k.val < n ∧ w k = i)).card)
27 
28theorem standardWord_rows_antitone {d N : ℕ} (w : Fin N → Fin d)
29    (hw : IsStandardWord w) : Antitone (rowCount w) := by
30  have h := hw N
31  simpa only [Fin.is_lt, true_and, rowCount] using h
32 
33theorem rowCount_le_length {d N : ℕ} (w : Fin N → Fin d) (i : Fin d) :
34    rowCount w i ≤ N := by
35  exact (Finset.card_filter_le ..).trans_eq (Fintype.card_fin N)
36 
37/-- A finite type containing every shape of an `N`-box diagram. -/
38abbrev Shape (d N : ℕ) := Fin d → Fin (N + 1)
39 
40def wordShape {d N : ℕ} (w : Fin N → Fin d) : Shape d N :=
41  fun i ↦ ⟨rowCount w i, Nat.lt_succ_of_le (rowCount_le_length w i)⟩
42 
43@[simp] theorem wordShape_val {d N : ℕ} (w : Fin N → Fin d) (i : Fin d) :
44    (wordShape w i).val = rowCount w i := rfl
45 
46theorem wordShape_eq_iff {d N : ℕ} (w : Fin N → Fin d) (μ : Shape d N) :
47    wordShape w = μ ↔ rowCount w = fun i ↦ (μ i).val := by
48  constructor
49  · intro h
50    funext i
51    exact congrArg Fin.val (congrFun h i)
52  · intro h
53    funext i
54    exact Fin.ext (congrFun h i)
55 
56/-- Row-content arrays: the bound on each entry follows from the total number
57of boxes. -/
58abbrev ContentArray (d N : ℕ) := Fin d → Fin d → Fin (N + 1)
59 
60/-- Literal semistandard row-content conditions.  The second condition is the
61usual consequence that every entry in row `i` is at least `i`. -/
62def IsSemistandardContent {d N : ℕ} (μ : Fin d → ℕ) (A : ContentArray d N) : Prop :=
63  (∀ i, ∑ j, (A i j).val = μ i) ∧
64  (∀ i j, j < i → (A i j).val = 0) ∧
65  (∀ i i' k, i < i' →
66    (∑ j ∈ Finset.univ.filter (fun j ↦ j ≤ k), (A i' j).val) ≤
67      ∑ j ∈ Finset.univ.filter (fun j ↦ j < k), (A i j).val)
68 
69def contentWeight {d N : ℕ} (p : Fin d → ℝ) (A : ContentArray d N) : ℝ :=
70  ∏ i, ∏ j, p j ^ (A i j).val
71 
72def schurPolynomial {d : ℕ} (N : ℕ) (p : Fin d → ℝ) (μ : Fin d → ℕ) : ℝ :=
73  ∑ A : ContentArray d N, if IsSemistandardContent μ A then contentWeight p A else 0
74 
75def standardCount {d : ℕ} (N : ℕ) (μ : Fin d → ℕ) : ℕ :=
76  (Finset.univ.filter (fun w : Fin N → Fin d ↦ IsStandardWord w ∧ rowCount w = μ)).card
77 
78/-- The concrete standard-tableau times Schur-polynomial formula. -/
79def youngWeight {d : ℕ} (N : ℕ) (p : Fin d → ℝ) (μ : Fin d → ℕ) : ℝ :=
80  (standardCount N μ : ℝ) * schurPolynomial N p μ
81 
82/-- The same formula before aggregating standard tableaux by final shape. -/
83def standardWordWeight {d N : ℕ} (p : Fin d → ℝ) (w : Fin N → Fin d) : ℝ :=
84  if IsStandardWord w then schurPolynomial N p (rowCount w) else 0
85 
86theorem contentWeight_nonneg {d N : ℕ} (p : Fin d → ℝ)
87    (hp : ∀ i, 0 ≤ p i) (A : ContentArray d N) : 0 ≤ contentWeight p A :=
88  Finset.prod_nonneg (fun i _ ↦ Finset.prod_nonneg (fun j _ ↦ pow_nonneg (hp j) _))
89 
90/-- Highest-weight domination, including spectra with repeated or zero entries. -/
91theorem contentWeight_le_highest {d N : ℕ} (p : Fin d → ℝ)
92    (hp : ∀ i, 0 ≤ p i) (horder : Antitone p)
93    (μ : Fin d → ℕ) (A : ContentArray d N) (hA : IsSemistandardContent μ A) :
94    contentWeight p A ≤ ∏ i, p i ^ μ i := by
95  unfold contentWeight
96  apply Finset.prod_le_prod
97  · intro i _
98    exact Finset.prod_nonneg (fun j _ ↦ pow_nonneg (hp j) _)
99  · intro i _
100    calc
101      _ ≤ ∏ j, p i ^ (A i j).val := by
102        apply Finset.prod_le_prod (fun j _ ↦ pow_nonneg (hp j) _)
103        intro j _
104        by_cases hji : j < i
105        · simp [hA.2.1 i j hji]
106        · exact pow_le_pow_left₀ (hp j) (horder (le_of_not_gt hji)) _
107      _ = _ := by rw [Finset.prod_pow_eq_pow_sum, hA.1 i]
108 
109theorem schurPolynomial_nonneg {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
110    (hp : ∀ i, 0 ≤ p i) (μ : Fin d → ℕ) : 0 ≤ schurPolynomial N p μ := by
111  apply Finset.sum_nonneg
112  intro A _
113  split_ifs
114  · exact contentWeight_nonneg p hp A
115  · exact le_rfl
116 
117/-- A deliberately loose polynomial dimension bound is sufficient for
118concentration and needs no hook or Weyl dimension formula. -/
119theorem schurPolynomial_le {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
120    (hp : ∀ i, 0 ≤ p i) (horder : Antitone p) (μ : Fin d → ℕ) :
121    schurPolynomial N p μ ≤ ((N : ℝ) + 1) ^ (d * d) * (∏ i, p i ^ μ i) := by
122  classical
123  calc
124    _ ≤ ∑ _A : ContentArray d N, ∏ i, p i ^ μ i := by
125      apply Finset.sum_le_sum
126      intro A _
127      split_ifs with hA
128      · exact contentWeight_le_highest p hp horder μ A hA
129      · exact Finset.prod_nonneg (fun i _ ↦ pow_nonneg (hp i) _)
130    _ = _ := by simp [ContentArray, Fintype.card_fun, ← pow_mul]
131 
132theorem standardWordWeight_nonneg {d N : ℕ} (p : Fin d → ℝ)
133    (hp : ∀ i, 0 ≤ p i) (w : Fin N → Fin d) : 0 ≤ standardWordWeight p w := by
134  unfold standardWordWeight
135  split_ifs
136  · exact schurPolynomial_nonneg N p hp _
137  · exact le_rfl
138 
139/-- Actual tableau weights are dominated by a polynomial times IID word
140weights.  There is no concentration or character bound among the premises. -/
141theorem standardWordWeight_le {d N : ℕ} (p : Fin d → ℝ)
142    (hp : ∀ i, 0 ≤ p i) (horder : Antitone p) (w : Fin N → Fin d) :
143    standardWordWeight p w ≤ ((N : ℝ) + 1) ^ (d * d) * wordWeight p w := by
144  unfold standardWordWeight
145  split_ifs
146  · rw [wordWeight_eq_row_product]
147    exact schurPolynomial_le N p hp horder _
148  · exact mul_nonneg (by positivity) (wordWeight_nonneg p hp w)
149 
150/-- Grouping standard words by shape recovers the literal `f^μ s_μ(p)`
151formula. -/
152theorem sum_standardWordWeight_shape {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
153    (μ : Fin d → ℕ) :
154    (∑ w : Fin N → Fin d, if rowCount w = μ then standardWordWeight p w else 0) =
155      youngWeight N p μ := by
156  classical
157  have hpoint (w : Fin N → Fin d) :
158      (if rowCount w = μ then standardWordWeight p w else 0) =
159        if IsStandardWord w ∧ rowCount w = μ then schurPolynomial N p μ else 0 := by
160    unfold standardWordWeight
161    split_ifs <;> simp_all
162  simp_rw [hpoint]
163  rw [← Finset.sum_filter]
164  simp [youngWeight, standardCount]
165 
166/-- Exact change from tableau row words to the finite space of shape vectors. -/
167theorem sum_youngWeight_mul {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
168    (f : Shape d N → ℝ) :
169    (∑ μ : Shape d N, youngWeight N p (fun i ↦ (μ i).val) * f μ) =
170      ∑ w : Fin N → Fin d, standardWordWeight p w * f (wordShape w) := by
171  classical
172  simp_rw [← sum_standardWordWeight_shape]
173  simp_rw [Finset.sum_mul]
174  rw [Finset.sum_comm]
175  apply Finset.sum_congr rfl
176  intro w _
177  simp_rw [← wordShape_eq_iff, ite_mul, zero_mul]
178  simp
179 
180theorem youngWeight_nonneg {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
181    (hp : ∀ i, 0 ≤ p i) (μ : Fin d → ℕ) : 0 ≤ youngWeight N p μ :=
182  mul_nonneg (Nat.cast_nonneg _) (schurPolynomial_nonneg N p hp μ)
183 
184/-- Nonzero tableau mass can occur only at actual decreasing partitions of N. -/
185theorem youngWeight_support {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
186    (μ : Fin d → ℕ) (h : youngWeight N p μ ≠ 0) :
187    Antitone μ ∧ ∑ i, μ i = N := by
188  classical
189  have hc : standardCount N μ ≠ 0 := by
190    intro he
191    apply h
192    simp [youngWeight, he]
193  obtain ⟨w, hw⟩ := Finset.card_ne_zero.mp hc
194  obtain ⟨_, hw, he⟩ := Finset.mem_filter.mp hw
195  exact ⟨he ▸ standardWord_rows_antitone w hw, he ▸ sum_rowCount w⟩
196 
197/-- Atypical mass calculated directly from the standard/semistandard formula. -/
198def atypicalMass {d : ℕ} (N : ℕ) (p : Fin d → ℝ) (ε : ℝ) : ℝ :=
199  ∑ w : Fin N → Fin d,
200    if ∃ i, (N : ℝ) * ε ≤ |(rowCount w i : ℝ) - N * p i| then standardWordWeight p w else 0
201 
202theorem atypicalMass_nonneg {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
203    (hp : ∀ i, 0 ≤ p i) (ε : ℝ) : 0 ≤ atypicalMass N p ε := by
204  apply Finset.sum_nonneg
205  intro w _
206  split_ifs
207  · exact standardWordWeight_nonneg p hp w
208  · exact le_rfl
209 
210/-- General-rank Young concentration from the actual finite tableau formula.
211It is uniform on the entire closed ordered probability simplex. -/
212theorem atypicalMass_le {d : ℕ} (N : ℕ) (p : Fin d → ℝ)
213    (hp : ∀ i, 0 ≤ p i) (hs : ∑ i, p i = 1) (horder : Antitone p)
214    (ε : ℝ) (hε : 0 ≤ ε) (hε2 : ε ≤ 2) :
215    atypicalMass N p ε ≤
216      ((N : ℝ) + 1) ^ (d * d) * (2 * d * Real.exp (-(N : ℝ) * ε ^ 2 / 4)) := by
217  classical
218  calc
219    _ ≤ ∑ w : Fin N → Fin d, ((N : ℝ) + 1) ^ (d * d) *
220        (if ∃ i, (N : ℝ) * ε ≤ |(rowCount w i : ℝ) - N * p i| then wordWeight p w else 0) := by
221      apply Finset.sum_le_sum
222      intro w _
223      split_ifs
224      · exact standardWordWeight_le p hp horder w
225      · simp
226    _ = ((N : ℝ) + 1) ^ (d * d) * (∑ w : Fin N → Fin d,
227        if ∃ i, (N : ℝ) * ε ≤ |(rowCount w i : ℝ) - N * p i| then wordWeight p w else 0) :=
228      (Finset.mul_sum ..).symm
229    _ ≤ _ := mul_le_mul_of_nonneg_left (max_rowCount_tail_le p hp hs ε hε hε2) (by positivity)
230 
231end Cloning.YoungGeneral