Exact Lean source
TensorLieRelations
formalization/Cloning/TensorLieRelations.lean
Source hash: f9e3a0f68f329c3b8427d80edbe7e997c7500a6c200c22165d1bef23484b6a32
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
theorem
Cloning.TensorLie.slot_collective_commutatortheorem Cloning.TensorLie.collectiveGenerator_commutatordefinition Cloning.TensorLie.occupancytheorem Cloning.TensorLie.collectiveGenerator_diagonaltheorem Cloning.TensorLie.collectiveGenerator_diagonal_basistheorem Cloning.TensorLie.sum_occupancytheorem Cloning.TensorLie.sum_collectiveGenerator_diagonal1import Cloning.TensorLieGenerators
2
3/-! Exact collective Lie relations and Cartan occupancy on physical tensors. -/
4
5noncomputable section
6open scoped BigOperators InnerProductSpace ComplexOrder
7namespace Cloning.TensorLie
8open Cloning.PCT
9set_option maxHeartbeats 1000000
10set_option backward.isDefEq.respectTransparency false
11variable {A : Type*} [Fintype A] [DecidableEq A] {n : ℕ}
12
13theorem slot_collective_commutator (t : Fin n) (a b c e : A) :
14 slotGenerator t a b * collectiveGenerator n c e -
15 collectiveGenerator n c e * slotGenerator t a b =
16 (if b = c then slotGenerator t a e else 0) -
17 (if e = a then slotGenerator t c b else 0) := by
18 calc
19 _ = ∑ u : Fin n, (slotGenerator t a b * slotGenerator u c e -
20 slotGenerator u c e * slotGenerator t a b) := by
21 simp only [collectiveGenerator, Finset.mul_sum, Finset.sum_mul, Finset.sum_sub_distrib]
22 _ = slotGenerator t a b * slotGenerator t c e -
23 slotGenerator t c e * slotGenerator t a b := by
24 apply Finset.sum_eq_single t
25 · intro u _ hut
26 exact sub_eq_zero.mpr (slotGenerator_commute hut.symm a b c e).eq
27 · simp
28 _ = _ := by rw [slotGenerator_mul_same, slotGenerator_mul_same]
29
30/-- The literal tensor generators satisfy the `gl(A)` commutator exactly. -/
31theorem collectiveGenerator_commutator (a b c e : A) :
32 collectiveGenerator n a b * collectiveGenerator n c e -
33 collectiveGenerator n c e * collectiveGenerator n a b =
34 (if b = c then collectiveGenerator n a e else 0) -
35 (if e = a then collectiveGenerator n c b else 0) := by
36 calc
37 _ = ∑ t : Fin n, (slotGenerator t a b * collectiveGenerator n c e -
38 collectiveGenerator n c e * slotGenerator t a b) := by
39 conv_lhs => arg 1; arg 1; unfold collectiveGenerator
40 conv_lhs => arg 2; arg 2; unfold collectiveGenerator
41 simp only [Finset.sum_mul, Finset.mul_sum, Finset.sum_sub_distrib]
42 _ = _ := by
43 simp_rw [slot_collective_commutator, Finset.sum_sub_distrib]
44 by_cases hbc : b = c <;> by_cases hea : e = a <;>
45 simp only [hbc, hea, ite_true, ite_false, Finset.sum_const_zero, collectiveGenerator]
46
47def occupancy (w : Fin n → A) (a : A) : ℕ :=
48 (Finset.univ.filter (fun t => w t = a)).card
49
50/-- Cartan generators are the actual diagonal occupation-number operators. -/
51theorem collectiveGenerator_diagonal (a : A) (x : TensorRegister n A) (w : Fin n → A) :
52 collectiveGenerator n a a x w = (occupancy w a : ℂ) * x w := by
53 rw [collectiveGenerator_apply]
54 calc
55 _ = ∑ t : Fin n, if w t = a then x w else 0 := by
56 apply Finset.sum_congr rfl
57 intro t _
58 by_cases ht : w t = a
59 · simp only [if_pos ht]
60 rw [← ht, Function.update_eq_self]
61 · simp [ht]
62 _ = _ := by simp [occupancy, ← Finset.sum_filter, nsmul_eq_mul]
63
64theorem collectiveGenerator_diagonal_basis (a : A) (w : Fin n → A) :
65 collectiveGenerator n a a (registerBasis (Fin n → A) w) =
66 (occupancy w a : ℂ) • registerBasis (Fin n → A) w := by
67 ext v
68 simp only [collectiveGenerator_diagonal, registerBasis_apply, lp.single_apply,
69 Pi.single_apply, lp.coeFn_smul, Pi.smul_apply, smul_eq_mul]
70 by_cases h : v = w <;> simp [h]
71
72theorem sum_occupancy (w : Fin n → A) : ∑ a : A, occupancy w a = n := by
73 simp only [occupancy, Finset.card_filter]
74 rw [Finset.sum_comm]
75 simp
76
77theorem sum_collectiveGenerator_diagonal :
78 (∑ a : A, collectiveGenerator n a a) =
79 (n : ℂ) • ContinuousLinearMap.id ℂ (TensorRegister n A) := by
80 ext x w
81 simp only [ContinuousLinearMap.sum_apply, lp.coeFn_sum, Finset.sum_apply,
82 collectiveGenerator_diagonal, ← Finset.sum_mul, ← Nat.cast_sum, sum_occupancy,
83 ContinuousLinearMap.smul_apply, ContinuousLinearMap.id_apply, lp.coeFn_smul,
84 Pi.smul_apply, smul_eq_mul]
85
86end Cloning.TensorLie