Offline · exact source
Exact Lean source

TensorSchurDecompositionCasimir

formalization/Cloning/TensorSchurDecompositionCasimir.lean

Source hash: bbbfa7e77ae7bceb6ee822b645a1981f538d38a906929d82eef72394e0edfb22

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.TensorSchurDecompositionBounds
2 
3/-! The genuine quadratic Casimir on tensor space and its scalar on every
4physical highest-weight cyclic sector. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace
7namespace Cloning.TensorLie
8set_option maxHeartbeats 1200000
9set_option backward.isDefEq.respectTransparency false
10variable {n d : ℕ}
11 
12def collectiveCasimir (n d : ℕ) : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) :=
13  ∑ a : Fin d, ∑ b : Fin d, collectiveGenerator n a b * collectiveGenerator n b a
14 
15/-- The quadratic tensor Casimir commutes with every actual matrix unit. -/
16theorem collectiveCasimir_commutes (c e : Fin d) :
17    collectiveCasimir n d * collectiveGenerator n c e =
18      collectiveGenerator n c e * collectiveCasimir n d := by
19  let E := fun a b : Fin d => collectiveGenerator n a b
20  have hterm (a b : Fin d) :
21      E a b * E b a * E c e - E c e * (E a b * E b a) =
22        (if a = c then E a b * E b e else 0) -
23        (if e = b then E a b * E c a else 0) +
24        ((if b = c then E a e * E b a else 0) -
25          (if e = a then E c b * E b a else 0)) := by
26    calc
27      _ = E a b * (E b a * E c e - E c e * E b a) +
28          (E a b * E c e - E c e * E a b) * E b a := by noncomm_ring
29      _ = _ := by
30        rw [collectiveGenerator_commutator, collectiveGenerator_commutator]
31        simp only [mul_sub, sub_mul, mul_ite, ite_mul, mul_zero, zero_mul]
32        rfl
33  apply sub_eq_zero.mp
34  change (∑ a, ∑ b, E a b * E b a) * E c e - E c e * (∑ a, ∑ b, E a b * E b a) = 0
35  simp only [Finset.sum_mul, Finset.mul_sum]
36  rw [← Finset.sum_sub_distrib]
37  simp_rw [← Finset.sum_sub_distrib, hterm]
38  simp only [Finset.sum_add_distrib, Finset.sum_sub_distrib,
39    Finset.sum_ite_irrel, Finset.sum_const_zero, Finset.sum_ite_eq, Finset.sum_ite_eq', Finset.mem_univ, if_true]
40  noncomm_ring
41 
42def casimirEigenvalue (mu : Fin d → ℂ) : ℂ :=
43  ∑ a, mu a * mu a + ∑ a, ∑ b, if a < b then mu a - mu b else 0
44 
45theorem collectiveCasimir_highest
46    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℂ)
47    (hweight : ∀ a, collectiveGenerator n a a Ω = mu a • Ω)
48    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0) :
49    collectiveCasimir n d Ω = casimirEigenvalue mu • Ω := by
50  have hterm (a b : Fin d) :
51      collectiveGenerator n a b (collectiveGenerator n b a Ω) =
52        ((if a = b then mu a * mu a else 0) +
53          (if a < b then mu a - mu b else 0)) • Ω := by
54    rcases lt_trichotomy a b with hab | hab | hab
55    · have h := congrArg (fun T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) => T Ω)
56        (collectiveGenerator_commutator (n := n) a b b a)
57      simp only [ContinuousLinearMap.sub_apply, ContinuousLinearMap.mul_apply,
58        if_true, hraise a b hab, map_zero, sub_zero, hweight] at h
59      simpa only [if_neg (ne_of_lt hab), if_pos hab, zero_add, sub_smul] using h
60    · subst b
61      rw [hweight, map_smul, hweight, smul_smul]
62      simp
63    · rw [hraise b a hab, map_zero]
64      simp [ne_of_gt hab, not_lt.mpr hab.le]
65  simp only [collectiveCasimir, ContinuousLinearMap.sum_apply, ContinuousLinearMap.mul_apply,
66    hterm, ← Finset.sum_smul, casimirEigenvalue]
67  congr 1
68  simp only [Finset.sum_add_distrib, Finset.sum_ite_eq, Finset.mem_univ, if_true]
69 
70/-- The scalar extends to the whole literal sector by actual lowering words. -/
71theorem collectiveCasimir_eq_smul_on_cyclicSector
72    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℂ)
73    (hweight : ∀ a, collectiveGenerator n a a Ω = mu a • Ω)
74    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
75    {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicSector Ω) :
76    collectiveCasimir n d x = casimirEigenvalue mu • x := by
77  have hw (w : List (PositiveRoot d)) :
78      collectiveCasimir n d (loweringWord Ω w) = casimirEigenvalue mu • loweringWord Ω w := by
79    induction w with
80    | nil => exact collectiveCasimir_highest Ω mu hweight hraise
81    | cons r w ih =>
82      change collectiveCasimir n d (collectiveGenerator n r.val.2 r.val.1 (loweringWord Ω w)) = _
83      have he := congrArg (fun T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) =>
84        T (loweringWord Ω w)) (collectiveCasimir_commutes (n := n) r.val.2 r.val.1)
85      change collectiveCasimir n d (collectiveGenerator n r.val.2 r.val.1 (loweringWord Ω w)) =
86        collectiveGenerator n r.val.2 r.val.1 (collectiveCasimir n d (loweringWord Ω w)) at he
87      rw [he, ih, map_smul]
88      rfl
89  induction hx using Submodule.span_induction with
90  | mem x hx => obtain ⟨w, rfl⟩ := hx; exact hw w
91  | zero => simp
92  | add x y hx hy ihx ihy => simp only [map_add, ihx, ihy, smul_add]
93  | smul c x hx ih => simp only [map_smul, ih, smul_smul, mul_comm]
94 
95end Cloning.TensorLie