Exact Lean source
YoungHookCount
formalization/Cloning/YoungHookCount.lean
Source hash: 34273b8971747f8614a35549c4452abfa441d37989885af581d13a1cae26d2c5
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.YoungHookDeterminant
2
3/-! The exact factorial determinant formula for the literal standard-word
4count. Its proof is induction on the proved Young-lattice predecessor
5recurrence; no representation dimension formula is an input. -/
6
7noncomputable section
8open scoped BigOperators Classical
9
10namespace Cloning.YoungGeneral
11
12theorem standardCount_eq_zero_of_not_antitone {d N : ℕ} (μ : Fin d → ℕ)
13 (hμ : ¬ Antitone μ) : standardCount N μ = 0 := by
14 apply Finset.card_eq_zero.mpr
15 apply Finset.eq_empty_iff_forall_notMem.mpr
16 intro w hw
17 have hw' := (Finset.mem_filter.mp hw).2
18 exact hμ (hw'.2 ▸ standardWord_rows_antitone w hw'.1)
19
20@[simp] theorem standardCount_empty (d : ℕ) :
21 standardCount 0 (fun _ : Fin d ↦ 0) = 1 := by
22 have hall : ∀ w : Fin 0 → Fin d,
23 IsStandardWord w ∧ rowCount w = fun _ ↦ 0 := by
24 intro w
25 constructor
26 · intro n i j hij
27 simp
28 · funext i
29 simp [rowCount]
30 simp [standardCount, hall]
31
32theorem removeBox_sum {d : ℕ} (μ : Fin d → ℕ) (i : Fin d) (hi : 0 < μ i) :
33 (∑ j, removeBox μ i j) + 1 = ∑ j, μ j := by
34 have h := addBox_sum (removeBox μ i) i
35 rw [(addBox_eq_iff (removeBox μ i) μ i).mpr ⟨hi, rfl⟩] at h
36 exact h.symm
37
38/-- Frobenius' factorial determinant, for the actual finite standard tableaux.
39The matrix convention is transposed, which leaves its determinant unchanged. -/
40theorem standardCount_eq_factorial_determinant {d N : ℕ} (μ : Fin d → ℕ)
41 (hμ : Antitone μ) (hN : ∑ i, μ i = N) :
42 (standardCount N μ : ℝ) = (N.factorial : ℝ) *
43 factorialDeterminant (fun i ↦ (μ i : ℤ)) := by
44 induction N generalizing μ with
45 | zero =>
46 have hz : μ = fun _ ↦ 0 := by
47 funext i
48 have hle : μ i ≤ ∑ j, μ j := Finset.single_le_sum (fun j _ ↦ Nat.zero_le (μ j))
49 (Finset.mem_univ i)
50 omega
51 subst μ
52 simp [factorialDeterminant_zero_shape]
53 | succ N ih =>
54 rw [standardCount_succ, if_pos hμ, Nat.cast_sum]
55 have hterm (i : Fin d) :
56 ((if 0 < μ i then standardCount N (removeBox μ i) else 0 : ℕ) : ℝ) =
57 (N.factorial : ℝ) *
58 factorialDeterminant (lowerIntegerRow (fun j ↦ (μ j : ℤ)) i) := by
59 by_cases hi : 0 < μ i
60 · rw [if_pos hi]
61 by_cases hr : Antitone (removeBox μ i)
62 · rw [lowerIntegerRow_removeBox μ i hi]
63 apply ih _ hr
64 have h := removeBox_sum μ i hi
65 omega
66 · rw [standardCount_eq_zero_of_not_antitone _ hr,
67 factorialDeterminant_lower_not_antitone μ hμ i hr]
68 simp
69 · rw [if_neg hi, factorialDeterminant_lower_zero μ hμ i (by omega)]
70 simp
71 simp_rw [hterm]
72 rw [← Finset.mul_sum, factorialDeterminant_predecessors]
73 have hs : (∑ i, ((μ i : ℤ) : ℝ)) = (N + 1 : ℕ) := by
74 simp only [Int.cast_natCast, ← Nat.cast_sum, hN]
75 rw [hs, Nat.factorial_succ, Nat.cast_mul]
76 ring
77
78end Cloning.YoungGeneral