Exact Lean source
TensorSchurHaarOrthogonality
formalization/Cloning/TensorSchurHaarOrthogonality.lean
Source hash: d6dd5efcca8e5e3bd04cd23edb2642731ad16a3b1a88beafda6cccb749d24351
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.partitionActionMatrix_unitary_intertwiner_eq_zerodefinition Cloning.TensorLie.rectangularSandwichCLMdefinition Cloning.TensorLie.matrixEntryCLMdefinition Cloning.TensorLie.mixedTwirltheorem Cloning.TensorLie.continuous_mixedSandwichtheorem Cloning.TensorLie.integrable_mixedSandwichtheorem Cloning.TensorLie.mixedTwirl_invarianttheorem Cloning.TensorLie.mixedTwirl_eq_zerotheorem Cloning.TensorLie.matrixEntry_sandwich_singletheorem Cloning.TensorLie.integral_partition_coefficients_netheorem Cloning.TensorLie.integral_partition_coefficients_same1import Cloning.TensorSchurHaarIntertwiner
2
3/-! Exact Haar orthogonality of the matrix coefficients of actual physical
4Schur sectors. Equal labels give the dimension-normalized Kronecker factors;
5unequal highest weights give zero, including different tensor degrees. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Matrix Topology Matrix.Norms.L2Operator
8open MeasureTheory
9namespace Cloning.TensorLie
10open Cloning.PhysicalFlatConverse Cloning.PCTPurificationChannel
11set_option backward.isDefEq.respectTransparency false
12set_option maxHeartbeats 1000000
13variable {d : ℕ}
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15 (Cloning.PCT.registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16
17theorem partitionActionMatrix_unitary_intertwiner_eq_zero
18 (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu) (hne : mu ≠ nu)
19 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex nu hnu) ℂ)
20 (hcomm : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
21 M * partitionActionMatrix nu hnu U = partitionActionMatrix mu hmu U * M) : M=0 := by
22 let B := (partitionBasis mu hmu).toBasis
23 let C := (partitionBasis nu hnu).toBasis
24 let T := (Matrix.toLin C B M).toContinuousLinearMap
25 have hT : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
26 T.comp (partitionTensorAction nu hnu U) = (partitionTensorAction mu hmu U).comp T := by
27 intro U
28 apply ContinuousLinearMap.coe_injective
29 apply (LinearMap.toMatrix C B).injective
30 rw [ContinuousLinearMap.coe_comp,ContinuousLinearMap.coe_comp,
31 LinearMap.toMatrix_comp C C B,LinearMap.toMatrix_comp C B B]
32 simpa only [T,LinearMap.coe_toContinuousLinearMap,LinearMap.toMatrix_toLin] using hcomm U
33 have hn : (fun a => (mu a : ℂ)) ≠ (fun a => (nu a : ℂ)) := by
34 intro hh
35 apply hne
36 funext a
37 exact Nat.cast_injective (congrFun hh a)
38 have ht := cyclicTensorOperator_unitary_intertwiner_eq_zero
39 (partitionHighestTensor mu hmu) (partitionHighestTensor nu hnu)
40 (fun a => (mu a : ℂ)) (fun a => (nu a : ℂ))
41 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_cartan nu hnu)
42 (partitionHighestTensor_raising_zero mu hmu) (partitionHighestTensor_raising_zero nu hnu)
43 hn (partitionHighestTensor_norm mu hmu) (partitionHighestTensor_norm nu hnu) T hT
44 have hh := congrArg (fun F => LinearMap.toMatrix C B (F : _ →L[ℂ] _).toLinearMap) ht
45 simpa only [T,LinearMap.coe_toContinuousLinearMap,LinearMap.toMatrix_toLin,
46 ContinuousLinearMap.coe_zero,map_zero] using hh
47
48def rectangularSandwichCLM {I J : Type*} [Fintype I] [Fintype J] [DecidableEq I] [DecidableEq J]
49 (A : Matrix I I ℂ) (B : Matrix J J ℂ) : Matrix I J ℂ →L[ℂ] Matrix I J ℂ :=
50 LinearMap.toContinuousLinearMap {
51 toFun M := A*M*Bᴴ
52 map_add' M N := by simp only [Matrix.mul_add,Matrix.add_mul]
53 map_smul' c M := by simp only [Matrix.mul_smul,Matrix.smul_mul,RingHom.id_apply] }
54
55def matrixEntryCLM {I J : Type*} [Fintype I] [Fintype J] (i : I) (j : J) :
56 Matrix I J ℂ →L[ℂ] ℂ :=
57 LinearMap.toContinuousLinearMap {
58 toFun M := M i j
59 map_add' _ _ := rfl
60 map_smul' _ _ := rfl }
61
62variable [Nonempty (Fin d)]
63
64def mixedTwirl (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
65 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex nu hnu) ℂ) :=
66 ∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
67 partitionActionMatrix mu hmu U * M * (partitionActionMatrix nu hnu U)ᴴ ∂unitaryHaar
68
69theorem continuous_mixedSandwich (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
70 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex nu hnu) ℂ) :
71 Continuous (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
72 partitionActionMatrix mu hmu U * M * (partitionActionMatrix nu hnu U)ᴴ) := by
73 have hμ : Continuous (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) => partitionActionMatrix mu hmu U) :=
74 (continuous_partitionActionMatrix mu hmu).comp continuous_subtype_val
75 have hν : Continuous (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) => partitionActionMatrix nu hnu U) :=
76 (continuous_partitionActionMatrix nu hnu).comp continuous_subtype_val
77 exact (hμ.matrix_mul continuous_const).matrix_mul hν.matrix_conjTranspose
78
79theorem integrable_mixedSandwich (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
80 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex nu hnu) ℂ) :
81 Integrable (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
82 partitionActionMatrix mu hmu U * M * (partitionActionMatrix nu hnu U)ᴴ) unitaryHaar :=
83 (continuous_mixedSandwich mu nu hmu hnu M).integrable_of_hasCompactSupport
84 (HasCompactSupport.of_compactSpace _)
85
86theorem mixedTwirl_invariant (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
87 (M : Matrix (PartitionIndex mu hmu) (PartitionIndex nu hnu) ℂ)
88 (V : unitary (Matrix (Fin d) (Fin d) ℂ)) :
89 partitionActionMatrix mu hmu V * mixedTwirl mu nu hmu hnu M *
90 (partitionActionMatrix nu hnu V)ᴴ = mixedTwirl mu nu hmu hnu M := by
91 have hh := (rectangularSandwichCLM (partitionActionMatrix mu hmu V)
92 (partitionActionMatrix nu hnu V)).integral_comp_comm (integrable_mixedSandwich mu nu hmu hnu M)
93 change (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
94 partitionActionMatrix mu hmu V * (partitionActionMatrix mu hmu U * M *
95 (partitionActionMatrix nu hnu U)ᴴ) * (partitionActionMatrix nu hnu V)ᴴ ∂unitaryHaar) =
96 partitionActionMatrix mu hmu V * mixedTwirl mu nu hmu hnu M *
97 (partitionActionMatrix nu hnu V)ᴴ at hh
98 rw [← hh]
99 have he (U : unitary (Matrix (Fin d) (Fin d) ℂ)) :
100 partitionActionMatrix mu hmu V * (partitionActionMatrix mu hmu U * M *
101 (partitionActionMatrix nu hnu U)ᴴ) * (partitionActionMatrix nu hnu V)ᴴ =
102 partitionActionMatrix mu hmu (V*U) * M * (partitionActionMatrix nu hnu (V*U))ᴴ := by
103 simp only [Submonoid.coe_mul,partitionActionMatrix_mul,Matrix.conjTranspose_mul,Matrix.mul_assoc]
104 simp_rw [he]
105 exact integral_mul_left_eq_self (μ := unitaryHaar)
106 (fun U : unitary (Matrix (Fin d) (Fin d) ℂ) =>
107 partitionActionMatrix mu hmu U*M*(partitionActionMatrix nu hnu U)ᴴ) V
108
109theorem mixedTwirl_eq_zero (mu nu : Fin d → ℕ) (hmu : Antitone mu) (hnu : Antitone nu)
110 (hne : mu ≠ nu) (M : Matrix (PartitionIndex mu hmu) (PartitionIndex nu hnu) ℂ) :
111 mixedTwirl mu nu hmu hnu M = 0 := by
112 apply partitionActionMatrix_unitary_intertwiner_eq_zero mu nu hmu hnu hne
113 intro U
114 have hh := congrArg (fun X => X*partitionActionMatrix nu hnu U)
115 (mixedTwirl_invariant mu nu hmu hnu M U)
116 simpa only [Matrix.mul_assoc,partitionActionMatrix_unitary,Matrix.mul_one] using hh.symm
117
118theorem matrixEntry_sandwich_single {I J : Type*} [Fintype I] [Fintype J]
119 [DecidableEq I] [DecidableEq J] (A : Matrix I I ℂ) (B : Matrix J J ℂ)
120 (i j : I) (k l : J) :
121 (A*Matrix.single j l (1:ℂ)*Bᴴ) i k = A i j * star (B k l) := by
122 rw [Matrix.mul_apply,Finset.sum_eq_single l]
123 · simp only [Matrix.mul_single_apply_same,mul_one,Matrix.conjTranspose_apply]
124 · intro b _ hbl
125 rw [Matrix.mul_single_apply_of_ne (1:ℂ) j l i b hbl A,zero_mul]
126 · simp
127
128theorem integral_partition_coefficients_ne (mu nu : Fin d → ℕ)
129 (hmu : Antitone mu) (hnu : Antitone nu) (hne : mu ≠ nu)
130 (i j : PartitionIndex mu hmu) (k l : PartitionIndex nu hnu) :
131 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
132 partitionActionMatrix mu hmu U i j * star (partitionActionMatrix nu hnu U k l) ∂unitaryHaar) = 0 := by
133 have hh := (matrixEntryCLM i k).integral_comp_comm
134 (integrable_mixedSandwich mu nu hmu hnu (Matrix.single j l (1:ℂ)))
135 change (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
136 (partitionActionMatrix mu hmu U * Matrix.single j l (1:ℂ) * (partitionActionMatrix nu hnu U)ᴴ) i k ∂unitaryHaar) =
137 mixedTwirl mu nu hmu hnu (Matrix.single j l (1:ℂ)) i k at hh
138 simpa only [matrixEntry_sandwich_single,mixedTwirl_eq_zero mu nu hmu hnu hne,Matrix.zero_apply] using hh
139
140theorem integral_partition_coefficients_same (mu : Fin d → ℕ) (hmu : Antitone mu)
141 (i j k l : PartitionIndex mu hmu) :
142 (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
143 partitionActionMatrix mu hmu U i j * star (partitionActionMatrix mu hmu U k l) ∂unitaryHaar) =
144 if i=k ∧ j=l then (partitionDimension mu hmu : ℂ)⁻¹ else 0 := by
145 have hh := (matrixEntryCLM i k).integral_comp_comm
146 (integrable_partitionSandwich mu hmu (Matrix.single j l (1:ℂ)))
147 change (∫ U : unitary (Matrix (Fin d) (Fin d) ℂ),
148 (partitionActionMatrix mu hmu U * Matrix.single j l (1:ℂ) * (partitionActionMatrix mu hmu U)ᴴ) i k ∂unitaryHaar) =
149 partitionTwirl mu hmu (Matrix.single j l (1:ℂ)) i k at hh
150 rw [partitionTwirl_eq] at hh
151 simp only [matrixEntry_sandwich_single] at hh
152 rw [hh]
153 by_cases hik : i=k <;> by_cases hjl : j=l
154 · subst k; subst l
155 simp [Matrix.trace_single_eq_same]
156 · simp [hik,hjl,Matrix.trace_single_eq_of_ne j l (1:ℂ) hjl]
157 · simp [hik,hjl]
158 · simp [hik,hjl]
159
160end Cloning.TensorLie