Offline · exact source
Exact Lean source

TensorSchurDecompositionCharacter

formalization/Cloning/TensorSchurDecompositionCharacter.lean

Source hash: 0704b0812cd82c7ebe7e1bd92369a101438d5aaa4b76872a1b5670ff760d9e78

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.TensorSchurDecompositionCasimir
2import Mathlib.Algebra.MvPolynomial.PDeriv
3 
4/-! A polynomial character obtained from the actual physical sector projector,
5and its exact Cartan trace calculus. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace
8namespace Cloning.TensorLie
9open Cloning.PCT MvPolynomial
10set_option maxHeartbeats 1200000
11set_option backward.isDefEq.respectTransparency false
12variable {n d : ℕ}
13 
14local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16 
17def occupancyExponent (v : Fin n → Fin d) : Fin d →₀ ℕ :=
18  Finsupp.equivFunOnFinite.symm (occupancy v)
19 
20@[simp] theorem occupancyExponent_apply (v : Fin n → Fin d) (a : Fin d) :
21    occupancyExponent v a = occupancy v a := rfl
22 
23/-- Polynomial trace of a physical operator against the diagonal tensor power. -/
24def tensorWeightTrace : (TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) →ₗ[ℂ]
25    MvPolynomial (Fin d) ℂ where
26  toFun T := ∑ v : Fin n → Fin d, monomial (occupancyExponent v) (T (registerBasis _ v) v)
27  map_add' T U := by simp [map_add, Pi.add_apply, Finset.sum_add_distrib]
28  map_smul' c T := by
29    simp [ContinuousLinearMap.smul_apply, lp.coeFn_smul, Pi.smul_apply,
30      Finset.smul_sum, smul_monomial]
31 
32@[simp] theorem tensorWeightTrace_apply
33    (T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) :
34    tensorWeightTrace T = ∑ v : Fin n → Fin d,
35      monomial (occupancyExponent v) (T (registerBasis _ v) v) := rfl
36 
37/-- The physical character is defined from the actual orthogonal projector. -/
38def physicalCharacterPolynomial (Ω : TensorRegister n (Fin d)) : MvPolynomial (Fin d) ℂ :=
39  tensorWeightTrace (cyclicSector Ω).starProjection
40 
41/-- Coordinate Euler differentiation is actual multiplication by a Cartan
42matrix unit inside the weighted trace. -/
43theorem euler_tensorWeightTrace
44    (T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) (a : Fin d) :
45    X a * pderiv a (tensorWeightTrace T) =
46      tensorWeightTrace (collectiveGenerator n a a * T) := by
47  simp only [tensorWeightTrace_apply, map_sum, Finset.mul_sum]
48  apply Finset.sum_congr rfl
49  intro v _
50  rw [X_mul_pderiv_monomial]
51  rw [smul_monomial]
52  simp only [occupancyExponent_apply, ContinuousLinearMap.mul_apply,
53    collectiveGenerator_diagonal, nsmul_eq_mul]
54 
55/-- Evaluation is the literal finite-dimensional trace of the tensor operator. -/
56theorem eval_tensorWeightTrace (D : Fin d → ℂ)
57    (T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) :
58    eval D (tensorWeightTrace T) = LinearMap.trace ℂ (TensorRegister n (Fin d))
59      (tensorOperator n (Matrix.diagonal D) * T).toLinearMap := by
60  rw [LinearMap.trace_eq_sum_inner _ (registerBasis (Fin n → Fin d)).toOrthonormalBasis]
61  simp only [tensorWeightTrace_apply, map_sum, eval_monomial, HilbertBasis.coe_toOrthonormalBasis]
62  apply Finset.sum_congr rfl
63  intro v _
64  rw [Finsupp.prod_fintype _ _ (fun _ => pow_zero _)]
65  simp only [occupancyExponent_apply]
66  change T (registerBasis _ v) v * (∏ a, D a ^ occupancy v a) =
67    ⟪registerBasis _ v, tensorOperator n (Matrix.diagonal D) (T (registerBasis _ v))⟫_ℂ
68  rw [registerBasis_apply, register_inner_single, tensorOperator_diagonal_apply]
69  have he : (∏ a, D a ^ occupancy v a) = ∏ t, D (v t) := by
70    simpa [occupancy, Fintype.card_subtype] using Fintype.prod_fiberwise' v D
71  rw [he, mul_comm]
72 
73theorem eval_physicalCharacterPolynomial
74    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℂ)
75    (hweight : ∀ a, collectiveGenerator n a a Ω = mu a • Ω)
76    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
77    (D : Fin d → ℂ) :
78    eval D (physicalCharacterPolynomial Ω) =
79      LinearMap.trace ℂ (cyclicSector Ω)
80        (cyclicTensorOperator Ω mu hweight hraise (Matrix.diagonal D)).toLinearMap := by
81  rw [physicalCharacterPolynomial, eval_tensorWeightTrace]
82  let S := cyclicSector Ω
83  let A := cyclicTensorOperator Ω mu hweight hraise (Matrix.diagonal D)
84  have he : (tensorOperator n (Matrix.diagonal D) * S.starProjection).toLinearMap =
85      (S.subtype.comp A.toLinearMap).comp S.orthogonalProjection.toLinearMap := rfl
86  rw [he, LinearMap.trace_comp_comm']
87  congr 1
88  apply LinearMap.ext
89  intro x
90  apply Subtype.ext
91  change S.starProjection (A x) = (A x : TensorRegister n (Fin d))
92  exact Submodule.starProjection_eq_self_iff.mpr (A x).property
93 
94/-- Specialization identifies the polynomial with the actual positive-sector
95partition function, independently of any Weyl formula. -/
96theorem eval_physicalCharacterPolynomial_nonneg
97    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
98    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
99    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
100    (p : Fin d → ℝ) (hp : ∀ a, 0 ≤ p a) :
101    (eval (fun a => (p a : ℂ)) (physicalCharacterPolynomial Ω)).re =
102      sectorPartitionFunction Ω mu hweight hraise p := by
103  rw [eval_physicalCharacterPolynomial Ω (fun a => (mu a : ℂ)) hweight hraise]
104  exact (sectorPartitionFunction_eq_linearMapTrace Ω mu hweight hraise p hp).symm
105 
106/-- Every nonzero coefficient comes from an actual supported computational
107weight; hence it is dominated by the physical highest partition. -/
108theorem physicalCharacterPolynomial_support_dominated
109    (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℕ)
110    (hweight : ∀ a, collectiveGenerator n a a Ω = (mu a : ℂ) • Ω)
111    (m : Fin d →₀ ℕ) (hm : coeff m (physicalCharacterPolynomial Ω) ≠ 0) (R : ℕ) :
112    weightPrefix (fun a => (m a : ℤ)) R ≤ weightPrefix (fun a => (mu a : ℤ)) R := by
113  classical
114  have hv : ∃ v : Fin n → Fin d, occupancyExponent v = m ∧
115      (cyclicSector Ω).starProjection (registerBasis _ v) v ≠ 0 := by
116    by_contra! hh
117    apply hm
118    simp only [physicalCharacterPolynomial, tensorWeightTrace_apply, coeff_sum]
119    apply Finset.sum_eq_zero
120    intro v _
121    by_cases hvm : occupancyExponent v = m
122    · simp only [coeff_monomial, hvm, if_true]
123      exact hh v hvm
124    · simp [coeff_monomial, hvm]
125  obtain ⟨v, rfl, hv⟩ := hv
126  exact cyclicSector_occupancy_dominated Ω mu hweight
127    (Submodule.starProjection_apply_mem _ _) v hv R
128 
129end Cloning.TensorLie