Exact Lean source
TensorCartanStateOccupation
formalization/Cloning/TensorCartanStateOccupation.lean
Source hash: 349b0149de1218e0be7f0011e90b857f92dcb20803eba154ab7db730037725c2
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.OccupationSplitdefinition Cloning.TensorLie.occupationSplitLeftdefinition Cloning.TensorLie.occupationSplitRightdefinition Cloning.TensorLie.occupationSplitPairtheorem Cloning.TensorLie.occupationSplitPair_injectivetheorem Cloning.TensorLie.occupationSplitPair_countstheorem Cloning.TensorLie.exists_occupationSplitPairtheorem Cloning.TensorLie.sum_occupationSplitsdefinition Cloning.TensorLie.cutoffSplitAmplitudetheorem Cloning.TensorLie.occupationSplitMatrixElement_eq_cutoffSplitAmplitudetheorem Cloning.TensorLie.cutoffSplitAmplitude_cross_zerodefinition Cloning.TensorLie.amplifiedOccupationWeighttheorem Cloning.TensorLie.cutoffSplitAmplitude_thermal_diagonaltheorem Cloning.TensorLie.cutoffSplitAmplitude_thermal_matrix1import Cloning.TensorCartanCutoffAmplitude
2import Cloning.TensorGibbsThermalCutoff
3
4/-! The finite cutoff Cartan coefficient sum is exactly the amplified thermal law. -/
5noncomputable section
6open scoped BigOperators
7namespace Cloning.TensorLie
8set_option maxHeartbeats 1000000
9set_option backward.isDefEq.respectTransparency false
10variable {d R : ℕ}
11attribute [local instance] Classical.propDecidable
12
13private theorem occupationHeight_mono {k l : PositiveRoot d → ℕ} (h : ∀ a, k a ≤ l a) :
14 occupationHeight k ≤ occupationHeight l :=
15 Finset.sum_le_sum (fun a _ => Nat.mul_le_mul_left a.height (h a))
16
17abbrev OccupationSplit (r : HeightOccupation d R) := ∀ a, Fin (r.val a + 1)
18
19def occupationSplitLeft (r : HeightOccupation d R) (s : OccupationSplit r) : HeightOccupation d R :=
20 ⟨fun a => s a, (occupationHeight_mono (fun a => Nat.le_of_lt_succ (s a).isLt)).trans r.property⟩
21
22def occupationSplitRight (r : HeightOccupation d R) (s : OccupationSplit r) : HeightOccupation d R :=
23 ⟨fun a => r.val a - s a, (occupationHeight_mono (fun a => Nat.sub_le _ _)).trans r.property⟩
24
25def occupationSplitPair (r : HeightOccupation d R) (s : OccupationSplit r) :
26 HeightOccupation d R × HeightOccupation d R :=
27 (occupationSplitLeft r s, occupationSplitRight r s)
28
29theorem occupationSplitPair_injective (r : HeightOccupation d R) :
30 Function.Injective (occupationSplitPair r) := by
31 intro s t h
32 funext a
33 apply Fin.ext
34 exact congrArg (fun x => x.1.val a) h
35
36theorem occupationSplitPair_counts (r : HeightOccupation d R) (s : OccupationSplit r)
37 (a : PositiveRoot d) :
38 (occupationSplitPair r s).1.val a + (occupationSplitPair r s).2.val a = r.val a := by
39 exact Nat.add_sub_of_le (Nat.le_of_lt_succ (s a).isLt)
40
41theorem exists_occupationSplitPair (r j k : HeightOccupation d R)
42 (h : ∀ a, j.val a + k.val a = r.val a) :
43 ∃ s, occupationSplitPair r s = (j,k) := by
44 let s : OccupationSplit r := fun a => ⟨j.val a, by have := h a; omega⟩
45 refine ⟨s, ?_⟩
46 apply Prod.ext
47 · rfl
48 · apply Subtype.ext
49 funext a
50 change r.val a - j.val a = k.val a
51 have := h a
52 omega
53
54/-- The height cutoff contains every component of a compatible occupation split. -/
55theorem sum_occupationSplits (r : HeightOccupation d R)
56 (f : HeightOccupation d R → HeightOccupation d R → ℂ)
57 (hz : ∀ j k, (¬ ∀ a, j.val a + k.val a = r.val a) → f j k = 0) :
58 (∑ j, ∑ k, f j k) = ∑ s : OccupationSplit r,
59 f (occupationSplitLeft r s) (occupationSplitRight r s) := by
60 classical
61 let F : HeightOccupation d R × HeightOccupation d R → ℂ := fun x => f x.1 x.2
62 have hs : (∑ x ∈ Finset.univ.image (occupationSplitPair r), F x) = ∑ x, F x := by
63 apply Finset.sum_subset (Finset.subset_univ _)
64 intro x _ hx
65 apply hz x.1 x.2
66 intro he
67 obtain ⟨s,hs⟩ := exists_occupationSplitPair r x.1 x.2 he
68 exact hx (Finset.mem_image.mpr ⟨s,Finset.mem_univ _,hs⟩)
69 rw [Finset.sum_image (fun a _ b _ h => occupationSplitPair_injective r h)] at hs
70 simpa only [Fintype.sum_prod_type, F, occupationSplitPair] using hs.symm
71
72def cutoffSplitAmplitude (t : PositiveRoot d → ℝ)
73 (r j k : HeightOccupation d R) : ℂ :=
74 if ∀ a, j.val a + k.val a = r.val a then
75 ((∏ a, Cloning.Occupation.splitAmplitude (r.val a) (j.val a) (t a) : ℝ) : ℂ)
76 else 0
77
78theorem occupationSplitMatrixElement_eq_cutoffSplitAmplitude
79 (t : PositiveRoot d → ℝ) (ht0 : ∀ a, 0 ≤ t a) (ht1 : ∀ a, t a ≤ 1)
80 (r j k : HeightOccupation d R) :
81 occupationSplitMatrixElement t (canonicalWord r.val) (canonicalWord j.val)
82 (canonicalWord k.val) = cutoffSplitAmplitude t r j k := by
83 classical
84 by_cases h : ∀ a, j.val a + k.val a = r.val a
85 · simp only [cutoffSplitAmplitude, if_pos h]
86 simpa only [canonicalWord_count] using
87 occupationSplitMatrixElement_eq_product_amplitude t ht0 ht1
88 (canonicalWord r.val) (canonicalWord j.val) (canonicalWord k.val)
89 (by simpa only [canonicalWord_count] using h)
90 · rw [occupationSplitMatrixElement_eq_zero t _ _ _
91 (by simpa only [canonicalWord_count] using h)]
92 exact (if_neg h).symm
93
94theorem cutoffSplitAmplitude_cross_zero
95 (t : PositiveRoot d → ℝ) (r l j k : HeightOccupation d R) (h : r ≠ l) :
96 starRingEnd ℂ (cutoffSplitAmplitude t r j k) * cutoffSplitAmplitude t l j k = 0 := by
97 classical
98 by_cases hr : ∀ a, j.val a + k.val a = r.val a
99 · have hl : ¬ ∀ a, j.val a + k.val a = l.val a := by
100 intro hl
101 apply h
102 apply Subtype.ext
103 funext a
104 exact (hr a).symm.trans (hl a)
105 simp only [cutoffSplitAmplitude, if_neg hl, mul_zero]
106 · simp only [cutoffSplitAmplitude, if_neg hr, map_zero, zero_mul]
107
108def amplifiedOccupationWeight (t q : PositiveRoot d → ℝ) (r : PositiveRoot d → ℕ) : ℝ :=
109 ∏ a, (t a * (1 - q a)) * (1 - t a + t a * q a) ^ r a
110
111theorem cutoffSplitAmplitude_thermal_diagonal
112 (t q : PositiveRoot d → ℝ) (ht0 : ∀ a, 0 ≤ t a) (ht1 : ∀ a, t a ≤ 1)
113 (r : HeightOccupation d R) :
114 ((∏ a, t a : ℝ) : ℂ) *
115 (∑ j : HeightOccupation d R, ∑ k : HeightOccupation d R,
116 starRingEnd ℂ (cutoffSplitAmplitude t r j k) *
117 (((∏ a, (1 - q a)) * ∏ a, q a ^ j.val a : ℝ) : ℂ) *
118 cutoffSplitAmplitude t r j k) = (amplifiedOccupationWeight t q r.val : ℂ) := by
119 classical
120 have hs := sum_occupationSplits r
121 (fun j k => starRingEnd ℂ (cutoffSplitAmplitude t r j k) *
122 (((∏ a, (1 - q a)) * ∏ a, q a ^ j.val a : ℝ) : ℂ) * cutoffSplitAmplitude t r j k)
123 (by intro j k h; simp only [cutoffSplitAmplitude, if_neg h, map_zero, zero_mul])
124 have ht (s : OccupationSplit r) :
125 starRingEnd ℂ (cutoffSplitAmplitude t r (occupationSplitLeft r s) (occupationSplitRight r s)) *
126 (((∏ a, (1 - q a)) * ∏ a, q a ^ (occupationSplitLeft r s).val a : ℝ) : ℂ) *
127 cutoffSplitAmplitude t r (occupationSplitLeft r s) (occupationSplitRight r s) =
128 (((∏ a, (1 - q a)) *
129 (Cloning.Occupation.cartanAmplitude r.val t s ^ 2 * ∏ a, q a ^ (s a : ℕ)) : ℝ) : ℂ) := by
130 have hc : ∀ a, (occupationSplitLeft r s).val a + (occupationSplitRight r s).val a = r.val a :=
131 occupationSplitPair_counts r s
132 simp only [cutoffSplitAmplitude, if_pos hc]
133 simp only [occupationSplitLeft,
134 Cloning.Occupation.cartanAmplitude, map_prod, Complex.conj_ofReal,
135 Complex.ofReal_mul, Complex.ofReal_pow]
136 ring
137 rw [hs]
138 simp_rw [ht]
139 rw [← Complex.ofReal_sum, ← Finset.mul_sum,
140 Cloning.Occupation.cartanAmplitude_thermal_moment r.val t q ht0 ht1,
141 ← Complex.ofReal_mul]
142 congr 1
143 unfold amplifiedOccupationWeight
144 rw [Finset.prod_mul_distrib, Finset.prod_mul_distrib]
145 ring
146
147theorem cutoffSplitAmplitude_thermal_matrix
148 (t q : PositiveRoot d → ℝ) (ht0 : ∀ a, 0 ≤ t a) (ht1 : ∀ a, t a ≤ 1)
149 (r l : HeightOccupation d R) :
150 ((∏ a, t a : ℝ) : ℂ) *
151 (∑ j : HeightOccupation d R, ∑ k : HeightOccupation d R,
152 starRingEnd ℂ (cutoffSplitAmplitude t r j k) *
153 (((∏ a, (1 - q a)) * ∏ a, q a ^ j.val a : ℝ) : ℂ) *
154 cutoffSplitAmplitude t l j k) =
155 if r = l then (amplifiedOccupationWeight t q r.val : ℂ) else 0 := by
156 classical
157 by_cases h : r = l
158 · subst l
159 rw [if_pos rfl]
160 exact cutoffSplitAmplitude_thermal_diagonal t q ht0 ht1 r
161 · rw [if_neg h]
162 have ht (j k : HeightOccupation d R) :
163 starRingEnd ℂ (cutoffSplitAmplitude t r j k) *
164 (((∏ a, (1 - q a)) * ∏ a, q a ^ j.val a : ℝ) : ℂ) *
165 cutoffSplitAmplitude t l j k = 0 := by
166 rw [mul_right_comm, cutoffSplitAmplitude_cross_zero t r l j k h, zero_mul]
167 simp only [ht, Finset.sum_const_zero, mul_zero]
168
169end Cloning.TensorLie