Offline · exact source
Exact Lean source

TensorSchurDecompositionRootSum

formalization/Cloning/TensorSchurDecompositionRootSum.lean

Source hash: 415eb840072c4f4fa276067e9d0cf7addbc30f1f879762a58666de04a4debd6e

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.TensorSchurDecompositionRadialTrace
2 
3/-! Exact diagonal and positive-root decomposition of the Casimir trace. -/
4noncomputable section
5open scoped BigOperators InnerProductSpace
6namespace Cloning.TensorLie
7open MvPolynomial
8set_option maxHeartbeats 1200000
9set_option backward.isDefEq.respectTransparency false
10variable {n d : ℕ}
11 
12theorem sum_positiveRoot {M : Type*} [AddCommMonoid M] (f : Fin d → Fin d → M) :
13    (∑ r : PositiveRoot d, f r.val.1 r.val.2) =
14      ∑ a : Fin d, ∑ b : Fin d, if a < b then f a b else 0 := by
15  classical
16  rw [← Fintype.sum_prod_type (fun r : Fin d × Fin d => if r.1 < r.2 then f r.1 r.2 else 0)]
17  rw [← Finset.sum_filter]
18  exact (Finset.sum_subtype (Finset.univ.filter (fun r : Fin d × Fin d => r.1 < r.2))
19    (by intro r; simp) (fun r => f r.1 r.2)).symm
20 
21theorem sum_matrix_eq_diagonal_add_roots {M : Type*} [AddCommMonoid M]
22    (f : Fin d → Fin d → M) :
23    (∑ a, ∑ b, f a b) = (∑ a, f a a) +
24      ∑ r : PositiveRoot d, (f r.val.1 r.val.2 + f r.val.2 r.val.1) := by
25  classical
26  have hp (a b : Fin d) : f a b =
27      (if a = b then f a b else 0) +
28        ((if a < b then f a b else 0) + (if b < a then f a b else 0)) := by
29    rcases lt_trichotomy a b with h | h | h
30    · simp [h, ne_of_lt h, not_lt.mpr h.le]
31    · simp [h]
32    · simp [h, ne_of_gt h, not_lt.mpr h.le]
33  calc
34    _ = (∑ a, f a a) +
35        ((∑ a, ∑ b, if a < b then f a b else 0) +
36          (∑ a, ∑ b, if b < a then f a b else 0)) := by
37      conv_lhs => arg 2; ext a; arg 2; ext b; rw [hp a b]
38      simp only [Finset.sum_add_distrib, Finset.sum_ite_eq, Finset.mem_univ, if_true]
39    _ = _ := by
40      rw [Finset.sum_comm (f := fun a b : Fin d => if b < a then f a b else 0)]
41      simp only [← sum_positiveRoot, Finset.sum_add_distrib]
42 
43theorem tensorWeightTrace_casimir_decomposition
44    (T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) :
45    tensorWeightTrace (collectiveCasimir n d * T) =
46      (∑ a : Fin d, X a * pderiv a (X a * pderiv a (tensorWeightTrace T))) +
47      ∑ r : PositiveRoot d,
48        (tensorWeightTrace (collectiveGenerator n r.val.1 r.val.2 *
49            collectiveGenerator n r.val.2 r.val.1 * T) +
50          tensorWeightTrace (collectiveGenerator n r.val.2 r.val.1 *
51            collectiveGenerator n r.val.1 r.val.2 * T)) := by
52  simp only [collectiveCasimir, Finset.sum_mul, map_sum]
53  rw [sum_matrix_eq_diagonal_add_roots]
54  congr 1
55  apply Finset.sum_congr rfl
56  intro a _
57  rw [euler_tensorWeightTrace, euler_tensorWeightTrace, ← mul_assoc]
58 
59end Cloning.TensorLie