Exact Lean source
TensorCartanSplitMultiplicity
formalization/Cloning/TensorCartanSplitMultiplicity.lean
Source hash: e30112865c5263bc3a0acb217b001d48e0ec5674d5c99faafb97d17ce2996bb4
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
definition
Cloning.TensorLie.rootIncrementdefinition Cloning.TensorLie.rootDecrementtheorem Cloning.TensorLie.rootIncrement_injectivetheorem Cloning.TensorLie.rootIncrement_decrementdefinition Cloning.TensorLie.rootOccupationSplitstheorem Cloning.TensorLie.rootCounts_constheorem Cloning.TensorLie.loweringSplits_map_countstheorem Cloning.TensorLie.count_map_rootIncrementdefinition Cloning.TensorLie.occupationChoicestheorem Cloning.TensorLie.occupationChoices_constheorem Cloning.TensorLie.rootOccupationSplits_counttheorem Cloning.TensorLie.loweringSplits_count_left_occupations1import Cloning.TensorCartanWordSplit
2import Mathlib.Data.Nat.Choose.Basic
3
4/-! The exact multiplicity of left/right root assignments is the product of
5binomial coefficients of the root occupations. -/
6noncomputable section
7open scoped BigOperators
8namespace Cloning.TensorLie
9set_option maxHeartbeats 1000000
10set_option backward.isDefEq.respectTransparency false
11variable {d : ℕ}
12
13local instance : DecidableEq (PositiveRoot d → ℕ) := Classical.decEq _
14
15def rootIncrement (a : PositiveRoot d) (k : PositiveRoot d → ℕ) : PositiveRoot d → ℕ :=
16 Function.update k a (k a + 1)
17
18def rootDecrement (a : PositiveRoot d) (k : PositiveRoot d → ℕ) : PositiveRoot d → ℕ :=
19 Function.update k a (k a - 1)
20
21theorem rootIncrement_injective (a : PositiveRoot d) : Function.Injective (rootIncrement a) := by
22 intro k l h
23 funext b
24 have hb := congrFun h b
25 by_cases he : b = a
26 · subst b
27 simpa [rootIncrement] using hb
28 · simpa [rootIncrement, he] using hb
29
30theorem rootIncrement_decrement (a : PositiveRoot d) (k : PositiveRoot d → ℕ)
31 (h : 0 < k a) : rootIncrement a (rootDecrement a k) = k := by
32 funext b
33 by_cases he : b = a
34 · subst b
35 simp only [rootIncrement, rootDecrement, Function.update_self]
36 omega
37 · simp [rootIncrement, rootDecrement, he]
38
39noncomputable def rootOccupationSplits : List (PositiveRoot d) → List (PositiveRoot d → ℕ)
40 | [] => [0]
41 | a :: w => (rootOccupationSplits w).map (rootIncrement a) ++ rootOccupationSplits w
42
43theorem rootCounts_cons (a : PositiveRoot d) (w : List (PositiveRoot d)) :
44 (fun b => (a :: w).count b) = rootIncrement a (fun b => w.count b) := by
45 funext b
46 by_cases he : b = a
47 · subst b
48 simp [List.count_cons, rootIncrement, Nat.add_comm]
49 · simp [List.count_cons, rootIncrement, he, Ne.symm he]
50
51theorem loweringSplits_map_counts (w : List (PositiveRoot d)) :
52 (loweringSplits w).map (fun uv => fun a => uv.1.count a) = rootOccupationSplits w := by
53 induction w with
54 | nil => rfl
55 | cons a w ih =>
56 simp only [loweringSplits, List.map_append, List.map_map, Function.comp_def,
57 rootCounts_cons, rootOccupationSplits]
58 have he : (fun uv : List (PositiveRoot d) × List (PositiveRoot d) =>
59 fun b => (a :: uv.1).count b) = rootIncrement a ∘
60 (fun uv : List (PositiveRoot d) × List (PositiveRoot d) => fun b => uv.1.count b) := by
61 funext uv
62 exact rootCounts_cons a uv.1
63 rw [he, ← List.map_map, ih]
64
65theorem count_map_rootIncrement (a : PositiveRoot d)
66 (l : List (PositiveRoot d → ℕ)) (k : PositiveRoot d → ℕ) :
67 (l.map (rootIncrement a)).count k =
68 if k a = 0 then 0 else l.count (rootDecrement a k) := by
69 classical
70 by_cases hk : k a = 0
71 · rw [if_pos hk]
72 apply List.count_eq_zero.mpr
73 intro h
74 obtain ⟨r, _, hr⟩ := List.mem_map.mp h
75 have he := congrFun hr a
76 simp only [rootIncrement, Function.update_self, hk] at he
77 omega
78 · rw [if_neg hk]
79 simpa only [rootIncrement_decrement a k (Nat.pos_of_ne_zero hk)] using
80 List.count_map_of_injective l (rootIncrement a) (rootIncrement_injective a) (rootDecrement a k)
81
82def occupationChoices (w : List (PositiveRoot d)) (k : PositiveRoot d → ℕ) : ℕ :=
83 ∏ a : PositiveRoot d, (w.count a).choose (k a)
84
85theorem occupationChoices_cons (a : PositiveRoot d) (w : List (PositiveRoot d))
86 (k : PositiveRoot d → ℕ) :
87 occupationChoices (a :: w) k =
88 (if k a = 0 then 0 else occupationChoices w (rootDecrement a k)) +
89 occupationChoices w k := by
90 classical
91 have hm : a ∈ (Finset.univ : Finset (PositiveRoot d)) := Finset.mem_univ a
92 have hrest : (∏ b ∈ (Finset.univ : Finset (PositiveRoot d)).erase a,
93 ((a :: w).count b).choose (k b)) =
94 ∏ b ∈ (Finset.univ : Finset (PositiveRoot d)).erase a, (w.count b).choose (k b) := by
95 apply Finset.prod_congr rfl
96 intro b hb
97 have hba := (Finset.mem_erase.mp hb).1
98 simp [List.count_cons, hba, Ne.symm hba]
99 have hdec : (∏ b ∈ (Finset.univ : Finset (PositiveRoot d)).erase a,
100 (w.count b).choose (rootDecrement a k b)) =
101 ∏ b ∈ (Finset.univ : Finset (PositiveRoot d)).erase a, (w.count b).choose (k b) := by
102 apply Finset.prod_congr rfl
103 intro b hb
104 simp [rootDecrement, (Finset.mem_erase.mp hb).1]
105 unfold occupationChoices
106 rw [← Finset.mul_prod_erase _ (fun b => ((a :: w).count b).choose (k b)) hm]
107 rw [hrest]
108 rw [← Finset.mul_prod_erase _ (fun b => (w.count b).choose (k b)) hm]
109 simp only [List.count_cons_self]
110 by_cases hk : k a = 0
111 · simp only [hk, if_true, Nat.choose_zero_right, one_mul, zero_add]
112 · rw [if_neg hk, ← Finset.mul_prod_erase _
113 (fun b => (w.count b).choose (rootDecrement a k b)) hm, hdec]
114 simp only [rootDecrement, Function.update_self]
115 rw [Nat.choose_succ_left _ _ (Nat.pos_of_ne_zero hk)]
116 ring
117
118/-- Independent choices among repeated roots give the exact product-binomial
119multiplicity, without any operator or representation assumptions. -/
120theorem rootOccupationSplits_count (w : List (PositiveRoot d))
121 (k : PositiveRoot d → ℕ) :
122 (rootOccupationSplits w).count k = occupationChoices w k := by
123 classical
124 induction w generalizing k with
125 | nil =>
126 by_cases hk : k = 0
127 · subst k
128 simp [rootOccupationSplits, occupationChoices]
129 · have hz : occupationChoices ([] : List (PositiveRoot d)) k = 0 := by
130 obtain ⟨a, ha⟩ : ∃ a, k a ≠ 0 := by
131 by_contra! h
132 exact hk (funext h)
133 apply Finset.prod_eq_zero (Finset.mem_univ a)
134 exact Nat.choose_eq_zero_of_lt (Nat.pos_of_ne_zero ha)
135 simp [rootOccupationSplits, hk, Ne.symm hk, hz]
136 | cons a w ih =>
137 rw [rootOccupationSplits, List.count_append, count_map_rootIncrement,
138 occupationChoices_cons, ih, ih]
139
140theorem loweringSplits_count_left_occupations (w : List (PositiveRoot d))
141 (k : PositiveRoot d → ℕ) :
142 ((loweringSplits w).map (fun uv => fun a => uv.1.count a)).count k =
143 ∏ a : PositiveRoot d, (w.count a).choose (k a) := by
144 rw [loweringSplits_map_counts, rootOccupationSplits_count]
145 rfl
146
147end Cloning.TensorLie