File size: 11,903 Bytes
e5a97c6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
import OAI.Combinatorics.PolynomialVacuum.Algebra.Table
import OAI.Combinatorics.PolynomialVacuum.Algebra.Ring

namespace OAI

namespace PolynomialVacuumAlgebra

noncomputable def baseTwo (x y : ℂ) : Spin → Spin → ℂ
  | .zero,.zero => x+y
  | .plus,.minus => (q^5-q^7)*y
  | .minus,.plus => (q-q^3)*x
  | _,_ => 0

noncomputable def baseThreeFactor (x y z : ℂ) : ℂ := (z+q^2*x)*(z-q^6*y)
noncomputable def baseThree (x y z : ℂ) : Spin → Spin → Spin → ℂ
  | .zero,.zero,.zero => x^2*y+x^2*z+y^2*x+y^2*z+z^2*x+z^2*y+2*(q^2-q^6)*x*y*z
  | .plus,.minus,.zero => (q^5-q^7)*y*baseThreeFactor x y z
  | .minus,.plus,.zero => (q-q^3)*x*baseThreeFactor x y z
  | .zero,.plus,.minus => (q^5-q^7)*z*baseThreeFactor y z x
  | .zero,.minus,.plus => (q-q^3)*y*baseThreeFactor y z x
  | .plus,.zero,.minus => (q^5-q^7)*z*baseThreeFactor z x y
  | .minus,.zero,.plus => (q-q^3)*x*baseThreeFactor z x y
  | _,_,_ => 0

theorem baseTwo_exchange_0 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.zero,.zero) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .zero .zero := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_rotation_0 (x y : ℂ) :
    zeta ^ charge .zero * baseTwo x y .zero .zero =
    baseTwo y x .zero .zero := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_cup_0 (x : ℂ) :
    baseTwo x (T*x) .zero .zero =
    (1+T)*x * cup (.zero,.zero) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_exchange_1 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.zero,.plus) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .zero .plus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_rotation_1 (x y : ℂ) :
    zeta ^ charge .zero * baseTwo x y .plus .zero =
    baseTwo y x .zero .plus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_cup_1 (x : ℂ) :
    baseTwo x (T*x) .zero .plus =
    (1+T)*x * cup (.zero,.plus) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_exchange_2 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.zero,.minus) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .zero .minus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_rotation_2 (x y : ℂ) :
    zeta ^ charge .zero * baseTwo x y .minus .zero =
    baseTwo y x .zero .minus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_cup_2 (x : ℂ) :
    baseTwo x (T*x) .zero .minus =
    (1+T)*x * cup (.zero,.minus) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_exchange_3 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.plus,.zero) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .plus .zero := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_rotation_3 (x y : ℂ) :
    zeta ^ charge .plus * baseTwo x y .zero .plus =
    baseTwo y x .plus .zero := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_cup_3 (x : ℂ) :
    baseTwo x (T*x) .plus .zero =
    (1+T)*x * cup (.plus,.zero) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_exchange_4 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.plus,.plus) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .plus .plus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_rotation_4 (x y : ℂ) :
    zeta ^ charge .plus * baseTwo x y .plus .plus =
    baseTwo y x .plus .plus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_cup_4 (x : ℂ) :
    baseTwo x (T*x) .plus .plus =
    (1+T)*x * cup (.plus,.plus) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_exchange_5 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.plus,.minus) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .plus .minus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_rotation_5 (x y : ℂ) :
    zeta ^ charge .plus * baseTwo x y .minus .plus =
    baseTwo y x .plus .minus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_cup_5 (x : ℂ) :
    baseTwo x (T*x) .plus .minus =
    (1+T)*x * cup (.plus,.minus) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_exchange_6 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.minus,.zero) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .minus .zero := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_rotation_6 (x y : ℂ) :
    zeta ^ charge .minus * baseTwo x y .zero .minus =
    baseTwo y x .minus .zero := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_cup_6 (x : ℂ) :
    baseTwo x (T*x) .minus .zero =
    (1+T)*x * cup (.minus,.zero) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_exchange_7 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.minus,.plus) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .minus .plus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_rotation_7 (x y : ℂ) :
    zeta ^ charge .minus * baseTwo x y .plus .minus =
    baseTwo y x .minus .plus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_cup_7 (x : ℂ) :
    baseTwo x (T*x) .minus .plus =
    (1+T)*x * cup (.minus,.plus) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]
  all_goals vacuum_ring_finish

theorem baseTwo_exchange_8 (x y : ℂ) :
    (∑ ab : Pair, exchangeNumerator x y (.minus,.minus) ab *
      baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x .minus .minus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_rotation_8 (x y : ℂ) :
    zeta ^ charge .minus * baseTwo x y .minus .minus =
    baseTwo y x .minus .minus := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_cup_8 (x : ℂ) :
    baseTwo x (T*x) .minus .minus =
    (1+T)*x * cup (.minus,.minus) := by
  norm_num [baseTwo,baseThree,baseThreeFactor,sum_pair,sum_spin,
    exchangeNumerator_eq_table,exchangeTable,exchangeDenominator,cup,charge,zpow_neg,
    q_five_inv,q_four_inv,T,t,zeta,inv_pow,q_inv]

theorem baseTwo_exchange (x y : ℂ) (a b : Spin) :
    (∑ ab : Pair, exchangeNumerator x y (a,b) ab * baseTwo x y ab.1 ab.2 ) =
    exchangeDenominator x y * baseTwo y x a b  := by
  cases a <;> cases b
  · exact baseTwo_exchange_0 x y
  · exact baseTwo_exchange_1 x y
  · exact baseTwo_exchange_2 x y
  · exact baseTwo_exchange_3 x y
  · exact baseTwo_exchange_4 x y
  · exact baseTwo_exchange_5 x y
  · exact baseTwo_exchange_6 x y
  · exact baseTwo_exchange_7 x y
  · exact baseTwo_exchange_8 x y

theorem baseTwo_rotation (x y : ℂ) (a b : Spin) :
    zeta ^ charge a * baseTwo x y b a =
    baseTwo y x a b := by
  cases a <;> cases b
  · exact baseTwo_rotation_0 x y
  · exact baseTwo_rotation_1 x y
  · exact baseTwo_rotation_2 x y
  · exact baseTwo_rotation_3 x y
  · exact baseTwo_rotation_4 x y
  · exact baseTwo_rotation_5 x y
  · exact baseTwo_rotation_6 x y
  · exact baseTwo_rotation_7 x y
  · exact baseTwo_rotation_8 x y

theorem baseTwo_cup (x : ℂ) (a b : Spin) :
    baseTwo x (T*x) a b =
    (1+T)*x * cup (a,b) := by
  cases a <;> cases b
  · exact baseTwo_cup_0 x
  · exact baseTwo_cup_1 x
  · exact baseTwo_cup_2 x
  · exact baseTwo_cup_3 x
  · exact baseTwo_cup_4 x
  · exact baseTwo_cup_5 x
  · exact baseTwo_cup_6 x
  · exact baseTwo_cup_7 x
  · exact baseTwo_cup_8 x

end PolynomialVacuumAlgebra

end OAI