Exact Lean source
TensorCartanOccupationLimit
formalization/Cloning/TensorCartanOccupationLimit.lean
Source hash: 90dd5ab8338376647c76199923a8498e70b44110f70cf1e0cefcbdfc685e76b1
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
theorem
Cloning.TensorLie.wordAmplitude_permtheorem Cloning.TensorLie.splitFactorialCoefficient_permtheorem Cloning.TensorLie.occupationSplitMatrixElement_eq_choicestheorem Cloning.TensorLie.occupationSplitMatrixElement_eq_zerotheorem Cloning.TensorLie.occupationChoices_mul_factorialstheorem Cloning.TensorLie.occupationChoices_postheorem Cloning.TensorLie.occupationChoices_mul_splitFactorialCoefficient1import Cloning.TensorCartanMatrixLimit
2import Cloning.TensorCartanSplitMultiplicity
3import Cloning.Occupation
4
5/-! Grouping the literal physical Cartan word assignments by root occupations. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Topology
8open Filter
9namespace Cloning.TensorLie
10set_option maxHeartbeats 1000000
11set_option backward.isDefEq.respectTransparency false
12variable {d : ℕ}
13
14local instance : DecidableEq (PositiveRoot d → ℕ) := Classical.decEq _
15
16private theorem list_count_decide {α : Type*} [DecidableEq α] [BEq α] [LawfulBEq α]
17 (a : α) (l : List α) : l.count a = l.countP (fun b => decide (b = a)) := by
18 unfold List.count
19 congr 1
20 funext b
21 exact Bool.beq_eq_decide_eq b a
22
23theorem wordAmplitude_perm (t : PositiveRoot d → ℝ) {u v : List (PositiveRoot d)}
24 (h : u.Perm v) : wordAmplitude t u = wordAmplitude t v :=
25 (h.map (fun a => Real.sqrt (t a))).prod_eq
26
27theorem splitFactorialCoefficient_perm (w : List (PositiveRoot d))
28 {u u' v v' : List (PositiveRoot d)} (hu : u.Perm u') (hv : v.Perm v') :
29 splitFactorialCoefficient w u v = splitFactorialCoefficient w u' v' := by
30 simp only [splitFactorialCoefficient, PBW.occupationFactorial_eq_of_perm hu,
31 PBW.occupationFactorial_eq_of_perm hv]
32
33private theorem list_sum_indicator {α β : Type*} [DecidableEq β]
34 (l : List α) (f : α → β) (k : β) (c : ℂ) :
35 (l.map (fun a => if f a = k then c else 0)).sum = ((l.map f).count k : ℂ) * c := by
36 induction l with
37 | nil => simp
38 | cons a l ih =>
39 by_cases h : f a = k
40 · simp [h, ih, List.count_cons, add_mul, add_comm]
41 · simp [h, Ne.symm h, ih, List.count_cons]
42
43/-- Compatible output occupations collect the assignment sum into the exact
44product of binomial multiplicities times its common normalized coefficient. -/
45theorem occupationSplitMatrixElement_eq_choices
46 (t : PositiveRoot d → ℝ) (w u v : List (PositiveRoot d))
47 (hcount : ∀ a, u.count a + v.count a = w.count a) :
48 occupationSplitMatrixElement t w u v =
49 (occupationChoices w (fun a => u.count a) : ℂ) *
50 (splitFactorialCoefficient w u v * (wordAmplitude t u : ℂ) *
51 (wordAmplitude (fun a => 1 - t a) v : ℂ)) := by
52 classical
53 unfold occupationSplitMatrixElement
54 have he : (loweringSplits w).map (fun ab =>
55 (splitFactorialCoefficient w ab.1 ab.2 * (wordAmplitude t ab.1 : ℂ) *
56 (wordAmplitude (fun a => 1 - t a) ab.2 : ℂ)) *
57 ((if u.Perm ab.1 then 1 else 0 : ℂ) * (if v.Perm ab.2 then 1 else 0 : ℂ))) =
58 (loweringSplits w).map (fun ab =>
59 if (fun a => ab.1.count a) = (fun a => u.count a) then
60 splitFactorialCoefficient w u v * (wordAmplitude t u : ℂ) *
61 (wordAmplitude (fun a => 1 - t a) v : ℂ) else 0) := by
62 apply List.map_congr_left
63 intro ab hab
64 by_cases hu : u.Perm ab.1
65 · have hv : v.Perm ab.2 := by
66 apply List.perm_iff_count.mpr
67 intro a
68 have hsplit := (loweringSplits_grading w ab.1 ab.2 hab).2.2 a
69 have hu' := hu.count_eq a
70 have hc := hcount a
71 omega
72 have hc : (fun a => ab.1.count a) = (fun a => u.count a) :=
73 funext (fun a => (hu.count_eq a).symm)
74 simp only [if_pos hu, if_pos hv, if_pos hc, mul_one,
75 ← splitFactorialCoefficient_perm w hu hv,
76 ← wordAmplitude_perm t hu, ← wordAmplitude_perm (fun a => 1 - t a) hv]
77 · have hc : (fun a => ab.1.count a) ≠ (fun a => u.count a) := by
78 intro hc
79 apply hu
80 apply List.perm_iff_count.mpr
81 intro a
82 exact (congrFun hc a).symm
83 simp only [if_neg hu, if_neg hc, zero_mul, mul_zero]
84 rw [he, list_sum_indicator, loweringSplits_count_left_occupations]
85 rfl
86
87/-- Incompatible root occupations have exactly zero limiting matrix element. -/
88theorem occupationSplitMatrixElement_eq_zero
89 (t : PositiveRoot d → ℝ) (w u v : List (PositiveRoot d))
90 (hcount : ¬ ∀ a, u.count a + v.count a = w.count a) :
91 occupationSplitMatrixElement t w u v = 0 := by
92 unfold occupationSplitMatrixElement
93 apply List.sum_eq_zero
94 intro z hz
95 obtain ⟨ab, hab, rfl⟩ := List.mem_map.mp hz
96 by_cases hu : u.Perm ab.1
97 · by_cases hv : v.Perm ab.2
98 · exfalso
99 apply hcount
100 intro a
101 rw [hu.count_eq a, hv.count_eq a]
102 exact (loweringSplits_grading w ab.1 ab.2 hab).2.2 a
103 · simp [hv]
104 · simp [hu]
105
106/-- The binomial multiplicities exactly cancel the occupation factorials. -/
107theorem occupationChoices_mul_factorials
108 (w u v : List (PositiveRoot d))
109 (hcount : ∀ a, u.count a + v.count a = w.count a) :
110 occupationChoices w (fun a => u.count a) * PBW.occupationFactorial u *
111 PBW.occupationFactorial v = PBW.occupationFactorial w := by
112 simp only [occupationChoices, PBW.occupationFactorial_eq_prod]
113 rw [← Finset.prod_mul_distrib, ← Finset.prod_mul_distrib]
114 apply Finset.prod_congr rfl
115 intro a _
116 have hc : u.count a ≤ w.count a := by have := hcount a; omega
117 have hv : w.count a - u.count a = v.count a := by have := hcount a; omega
118 have hh := Nat.choose_mul_factorial_mul_factorial hc
119 rw [hv] at hh
120 simpa only [list_count_decide] using hh
121
122theorem occupationChoices_pos
123 (w u v : List (PositiveRoot d))
124 (hcount : ∀ a, u.count a + v.count a = w.count a) :
125 0 < occupationChoices w (fun a => u.count a) := by
126 unfold occupationChoices
127 apply Finset.prod_pos
128 intro a _
129 change 0 < (w.count a).choose (u.count a)
130 exact Nat.choose_pos (by have := hcount a; omega)
131
132theorem occupationChoices_mul_splitFactorialCoefficient
133 (w u v : List (PositiveRoot d))
134 (hcount : ∀ a, u.count a + v.count a = w.count a) :
135 (occupationChoices w (fun a => u.count a) : ℂ) * splitFactorialCoefficient w u v =
136 (Real.sqrt (occupationChoices w (fun a => u.count a) : ℝ) : ℂ) := by
137 let C := occupationChoices w (fun a => u.count a)
138 have hC : 0 < (C : ℝ) := by exact_mod_cast occupationChoices_pos w u v hcount
139 have hF (s : List (PositiveRoot d)) : 0 < (PBW.occupationFactorial s : ℝ) := by
140 exact_mod_cast PBW.occupationFactorial_pos s
141 have hid : (PBW.occupationFactorial w : ℝ) =
142 (C : ℝ) * PBW.occupationFactorial u * PBW.occupationFactorial v := by
143 exact_mod_cast (occupationChoices_mul_factorials w u v hcount).symm
144 have he : (C : ℝ) * (Real.sqrt (PBW.occupationFactorial u : ℝ) *
145 Real.sqrt (PBW.occupationFactorial v : ℝ) / Real.sqrt (PBW.occupationFactorial w : ℝ)) =
146 Real.sqrt (C : ℝ) := by
147 rw [hid, Real.sqrt_mul (mul_nonneg hC.le (hF u).le), Real.sqrt_mul hC.le]
148 have hc0 := (Real.sqrt_pos.mpr hC).ne'
149 have hu0 := (Real.sqrt_pos.mpr (hF u)).ne'
150 have hv0 := (Real.sqrt_pos.mpr (hF v)).ne'
151 field_simp
152 nlinarith [Real.sq_sqrt hC.le]
153 unfold splitFactorialCoefficient
154 exact_mod_cast he
155
156end Cloning.TensorLie