Exact Lean source
TensorFlatProjectorCasimirTrace
formalization/Cloning/TensorFlatProjectorCasimirTrace.lean
Source hash: 370a0c936dde34acc2528453d7e560ae65cf2e8e01b4fbb67d40702000acd439
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.TensorFlatProjectorLaw
2import Cloning.TensorSchurDecompositionRadialEquation
3
4/-! The exact quadratic Casimir expectation on the physical flat tensor input. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace
7namespace Cloning.TensorLie
8open Cloning.PCT MvPolynomial Cloning.YoungGeneral
9set_option maxHeartbeats 1200000
10set_option backward.isDefEq.respectTransparency false
11variable {n d : ℕ}
12local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
13 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
14
15/-- The character of the full physical tensor register is the tensor power
16of the defining character, derived from its literal trace. -/
17theorem tensorWeightTrace_one :
18 tensorWeightTrace (1 : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) =
19 (∑ a : Fin d, (X a : MvPolynomial (Fin d) ℂ))^n := by
20 apply MvPolynomial.funext
21 intro D
22 rw [eval_tensorWeightTrace, mul_one, trace_tensorOperator_diagonal]
23 simp
24
25theorem pderiv_sum_X (a : Fin d) :
26 pderiv a (∑ b : Fin d, (X b : MvPolynomial (Fin d) ℂ)) = 1 := by
27 simp [pderiv_X, Pi.single_apply]
28
29/-- The root-pair trace is computed by the exact radial commutator relation. -/
30theorem tensorWeightTrace_rootPair_one (a b : Fin d) (hab : a ≠ b) :
31 tensorWeightTrace (collectiveGenerator n a b * collectiveGenerator n b a) +
32 tensorWeightTrace (collectiveGenerator n b a * collectiveGenerator n a b) =
33 (X a + X b) * (n : MvPolynomial (Fin d) ℂ) * (∑ c, X c)^(n-1) := by
34 have hne : (X a - X b : MvPolynomial (Fin d) ℂ) ≠ 0 := by
35 apply sub_ne_zero.mpr
36 intro h
37 exact hab (X_injective h)
38 apply mul_left_cancel₀ hne
39 have hh := tensorWeightTrace_root_pair
40 (1 : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) a b (by simp)
41 simp only [mul_one, one_mul, tensorWeightTrace_one, pderiv_pow, pderiv_sum_X] at hh
42 rw [hh]
43 ring
44
45private theorem eval_flat_sum_X (hd : 0 < d) :
46 eval (fun _ : Fin d => ((1/(d:ℝ):ℝ):ℂ)) (∑ a : Fin d, (X a : MvPolynomial (Fin d) ℂ)) = 1 := by
47 simp only [map_sum, eval_X, Finset.sum_const, Finset.card_univ, Fintype.card_fin,
48 nsmul_eq_mul, Complex.ofReal_div, Complex.ofReal_one, Complex.ofReal_natCast]
49 simpa only [div_eq_mul_inv, one_mul] using div_self (Nat.cast_ne_zero.mpr hd.ne' : (d : ℂ) ≠ 0)
50
51private theorem nat_mul_pred_cast (n : ℕ) :
52 (n : ℂ) * ((n-1 : ℕ) : ℂ) = (n : ℂ) * ((n : ℂ)-1) := by
53 cases n with
54 | zero => simp
55 | succ n => simp [Nat.cast_add]
56
57/-- Evaluating the Cartan part at the flat spectrum gives the actual
58multinomial second moment, without a probabilistic moment assumption. -/
59theorem eval_flat_cartan_square (hd : 0 < d) (a : Fin d) :
60 eval (fun _ : Fin d => ((1/(d:ℝ):ℝ):ℂ))
61 (X a * pderiv a (X a * pderiv a ((∑ b : Fin d, X b : MvPolynomial (Fin d) ℂ)^n))) =
62 (n : ℂ)/(d:ℂ) + (n:ℂ)*((n:ℂ)-1)/(d:ℂ)^2 := by
63 simp only [pderiv_pow, pderiv_sum_X, mul_one, pderiv_mul]
64 simp only [pderiv_X, Pi.single_apply, if_true, Derivation.map_natCast, zero_mul,
65 add_zero, one_mul, mul_one, map_mul, map_add, map_pow, map_natCast, map_zero, eval_X,
66 eval_flat_sum_X hd, one_pow]
67 push_cast
68 rw [nat_mul_pred_cast]
69 ring
70
71/-- Exact Casimir expectation on the full tensor power of I/d. -/
72theorem tensor_flat_casimir_expectation (hd : 0 < d) :
73 eval (fun _ : Fin d => ((1/(d:ℝ):ℝ):ℂ)) (tensorWeightTrace (collectiveCasimir n d)) =
74 (n:ℂ)*(d:ℂ) + (n:ℂ)*((n:ℂ)-1)/(d:ℂ) := by
75 have he := tensorWeightTrace_casimir_decomposition
76 (1 : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d))
77 simp only [mul_one, tensorWeightTrace_one] at he
78 rw [he, map_add, map_sum]
79 simp_rw [eval_flat_cartan_square hd]
80 simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul]
81 have hroot : eval (fun _ : Fin d => ((1/(d:ℝ):ℝ):ℂ))
82 (∑ a : PositiveRoot d,
83 (tensorWeightTrace (collectiveGenerator n a.val.1 a.val.2 * collectiveGenerator n a.val.2 a.val.1) +
84 tensorWeightTrace (collectiveGenerator n a.val.2 a.val.1 * collectiveGenerator n a.val.1 a.val.2))) =
85 ((d:ℂ)-1)*(n:ℂ) := by
86 have hp : (∑ a : PositiveRoot d,
87 (tensorWeightTrace (collectiveGenerator n a.val.1 a.val.2 * collectiveGenerator n a.val.2 a.val.1) +
88 tensorWeightTrace (collectiveGenerator n a.val.2 a.val.1 * collectiveGenerator n a.val.1 a.val.2))) =
89 ∑ a : PositiveRoot d, (X a.val.1 + X a.val.2) *
90 (n : MvPolynomial (Fin d) ℂ) * (∑ c, X c)^(n-1) := by
91 apply Finset.sum_congr rfl
92 intro a _
93 exact tensorWeightTrace_rootPair_one _ _ (ne_of_lt a.property)
94 rw [hp]
95 simp only [map_sum, map_mul, map_add, map_natCast, map_pow, eval_X,
96 eval_flat_sum_X hd, one_pow, mul_one]
97 have hh := sum_positiveRoot_endpoints_complex (fun _ : Fin d => (1:ℂ))
98 simp only [Finset.sum_const, Finset.card_univ, Fintype.card_fin, nsmul_eq_mul,
99 mul_one] at hh
100 push_cast
101 rw [Finset.sum_const, Finset.card_univ, nsmul_eq_mul]
102 have hd0 : (d:ℂ) ≠ 0 := Nat.cast_ne_zero.mpr hd.ne'
103 field_simp
104 linear_combination (n:ℂ) * hh
105 rw [hroot]
106 have hd0 : (d:ℂ) ≠ 0 := Nat.cast_ne_zero.mpr hd.ne'
107 field_simp
108 ring
109
110end Cloning.TensorLie