Offline · exact source
Exact Lean source

TensorSchurHaarIntertwiner

formalization/Cloning/TensorSchurHaarIntertwiner.lean

Source hash: 813a8f8c67b4c072c20862b96fa74a735a137de0369a74849e4dcff1e83124b0

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.PhysicalFlatConverseHaar
2 
3/-! Distinct physical highest weights have no nonzero unitary intertwiner.
4The statement is proved for the actual cyclic tensor sectors, including
5sectors in different tensor powers. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace Matrix Topology Matrix.Norms.L2Operator
8namespace Cloning.TensorLie
9open Cloning.PCT Cloning.PhysicalFlatConverse Cloning.TensorLocalUnitary
10set_option backward.isDefEq.respectTransparency false
11set_option maxHeartbeats 1000000
12set_option synthInstance.maxHeartbeats 100000
13variable {n m d : ℕ}
14local instance haarIntertwinerRatMatrixNormedAlgebra : NormedAlgebra ℚ (Matrix (Fin d) (Fin d) ℂ) := NormedAlgebra.restrictScalars ℚ ℂ _
15local instance haarIntertwinerRegisterFiniteDimensional (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
16  (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
17 
18theorem cyclicSector_intertwiner_eq_zero
19    (Ω : TensorRegister n (Fin d)) (Ψ : TensorRegister m (Fin d))
20    (mu nu : Fin d → ℂ) (hne : mu ≠ nu)
21    (hΩ : ‖Ω‖=1) (hΨ : ‖Ψ‖=1)
22    (hΩweight : ∀ a, collectiveGenerator n a a Ω = mu a • Ω)
23    (hΨweight : ∀ a, collectiveGenerator m a a Ψ = nu a • Ψ)
24    (hΩraise : ∀ a b, a<b → collectiveGenerator n a b Ω=0)
25    (hΨraise : ∀ a b, a<b → collectiveGenerator m a b Ψ=0)
26    (T : TensorRegister m (Fin d) →ₗ[ℂ] TensorRegister n (Fin d))
27    (hT : ∀ x ∈ cyclicSector Ψ, T x ∈ cyclicSector Ω)
28    (hcomm : ∀ a b x, x ∈ cyclicSector Ψ →
29      T (collectiveGenerator m a b x) = collectiveGenerator n a b (T x)) :
30    ∀ x ∈ cyclicSector Ψ, T x = 0 := by
31  let c := ⟪Ω,T Ψ⟫_ℂ
32  have htop : T Ψ = c • Ω := by
33    apply cyclicSector_raising_kernel Ω hΩ hΩraise (hT Ψ (highest_mem_cyclicSector Ψ))
34    intro a b hab
35    rw [← hcomm a b Ψ (highest_mem_cyclicSector Ψ),hΨraise a b hab,map_zero]
36  have hΩne : Ω ≠ 0 := by intro h; simpa [h] using hΩ
37  have hc : c=0 := by
38    by_contra hc
39    apply hne
40    funext a
41    have hh := hcomm a a Ψ (highest_mem_cyclicSector Ψ)
42    rw [hΨweight,map_smul,htop,map_smul,hΩweight,smul_smul,smul_smul] at hh
43    have hs : nu a*c = c*mu a := (smul_left_injective ℂ hΩne) hh
44    exact (mul_right_cancel₀ hc (by simpa only [mul_comm c] using hs)).symm
45  have hz : T Ψ=0 := by rw [htop,hc,zero_smul]
46  have hw : ∀ w, T (loweringWord Ψ w)=0 := by
47    intro w
48    induction w with
49    | nil => exact hz
50    | cons a w ih =>
51      rw [loweringWord,hcomm a.val.2 a.val.1 _ (loweringWord_mem_cyclicSector Ψ w),ih,map_zero]
52  intro x hx
53  induction hx using Submodule.span_induction with
54  | mem x hx => obtain ⟨w,rfl⟩ := hx; exact hw w
55  | zero => exact map_zero T
56  | add x y hx hy ihx ihy => rw [map_add,ihx,ihy,add_zero]
57  | smul a x hx ih => rw [map_smul,ih,smul_zero]
58 
59section Rectangular
60variable (Ω : TensorRegister n (Fin d)) (Ψ : TensorRegister m (Fin d))
61    (mu nu : Fin d → ℂ)
62    (hΩweight : ∀ a, collectiveGenerator n a a Ω = mu a • Ω)
63    (hΨweight : ∀ a, collectiveGenerator m a a Ψ = nu a • Ψ)
64    (hΩraise : ∀ a b, a<b → collectiveGenerator n a b Ω=0)
65    (hΨraise : ∀ a b, a<b → collectiveGenerator m a b Ψ=0)
66local instance haarIntertwinerSourceComplexNormedSpace : NormedSpace ℂ (cyclicSector Ω) := Submodule.normedSpace (cyclicSector Ω)
67local instance haarIntertwinerSourceRealNormedSpace : NormedSpace ℝ (cyclicSector Ω) := Submodule.normedSpace (cyclicSector Ω)
68local instance haarIntertwinerTargetComplexNormedSpace : NormedSpace ℂ (cyclicSector Ψ) := Submodule.normedSpace (cyclicSector Ψ)
69local instance haarIntertwinerTargetRealNormedSpace : NormedSpace ℝ (cyclicSector Ψ) := Submodule.normedSpace (cyclicSector Ψ)
70 
71theorem cyclicTensorOperator_unitary_intertwines_generators
72    (T : cyclicSector Ψ →L[ℂ] cyclicSector Ω)
73    (hT : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
74      T.comp (cyclicTensorOperator Ψ nu hΨweight hΨraise U) =
75        (cyclicTensorOperator Ω mu hΩweight hΩraise U).comp T) :
76    ∀ a b, T.comp (cyclicGenerator Ψ nu hΨweight hΨraise a b) =
77      (cyclicGenerator Ω mu hΩweight hΩraise a b).comp T := by
78  let C : Matrix (Fin d) (Fin d) ℂ →ₗ[ℂ] (cyclicSector Ω →L[ℂ] cyclicSector Ω) :=
79    (sectorCompression (cyclicSector Ω)).toLinearMap.comp collectiveMatrixLM
80  let D : Matrix (Fin d) (Fin d) ℂ →ₗ[ℂ] (cyclicSector Ψ →L[ℂ] cyclicSector Ψ) :=
81    (sectorCompression (cyclicSector Ψ)).toLinearMap.comp collectiveMatrixLM
82  let L : (cyclicSector Ψ →L[ℂ] cyclicSector Ψ) →L[ℂ] (cyclicSector Ψ →L[ℂ] cyclicSector Ω) :=
83    LinearMap.toContinuousLinearMap {
84      toFun F := T.comp F
85      map_add' F G := by ext x; simp
86      map_smul' c F := by ext x; simp }
87  let R : (cyclicSector Ω →L[ℂ] cyclicSector Ω) →L[ℂ] (cyclicSector Ψ →L[ℂ] cyclicSector Ω) :=
88    LinearMap.toContinuousLinearMap {
89      toFun F := F.comp T
90      map_add' F G := by ext x; simp
91      map_smul' c F := by ext x; simp }
92  have hskew (Y : Matrix (Fin d) (Fin d) ℂ) (hY : star Y = -Y) : T.comp (D Y) = (C Y).comp T := by
93    have he (t : ℝ) : matrixExpPath Y (t : ℂ) ∈ unitary (Matrix (Fin d) (Fin d) ℂ) := by
94      apply NormedSpace.exp_mem_unitary_of_mem_skewAdjoint
95      change star ((t:ℂ) • Y) = -((t:ℂ) • Y)
96      simp only [star_smul,Complex.star_def,Complex.conj_ofReal,hY,smul_neg]
97    have hfun : (fun t : ℝ => T.comp (cyclicTensorOperator Ψ nu hΨweight hΨraise (matrixExpPath Y (t:ℂ)))) =
98        (fun t : ℝ => (cyclicTensorOperator Ω mu hΩweight hΩraise (matrixExpPath Y (t:ℂ))).comp T) :=
99      funext (fun t => hT ⟨_,he t⟩)
100    have hl := (L.restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt (0:ℝ)
101      (cyclicTensorOperator_exp_hasDerivAt_zero Ψ nu hΨweight hΨraise Y)
102    have hr := (R.restrictScalars ℝ).hasFDerivAt.comp_hasDerivAt (0:ℝ)
103      (cyclicTensorOperator_exp_hasDerivAt_zero Ω mu hΩweight hΩraise Y)
104    change HasDerivAt (fun t : ℝ => T.comp (cyclicTensorOperator Ψ nu hΨweight hΨraise (matrixExpPath Y (t:ℂ))))
105      (T.comp (D Y)) 0 at hl
106    change HasDerivAt (fun t : ℝ => (cyclicTensorOperator Ω mu hΩweight hΩraise (matrixExpPath Y (t:ℂ))).comp T)
107      ((C Y).comp T) 0 at hr
108    rw [hfun] at hl
109    exact hl.unique hr
110  have hall (X : Matrix (Fin d) (Fin d) ℂ) : T.comp (D X) = (C X).comp T := by
111    let Y := X-star X
112    let Z := Complex.I • (X+star X)
113    have hY : star Y = -Y := by simp [Y]
114    have hZ : star Z = -Z := by
115      simp only [Z,star_smul,star_add,star_star,Complex.star_def,Complex.conj_I,
116        neg_smul,smul_add]
117      abel
118    have h1 := hskew Y hY
119    have h2 := hskew Z hZ
120    have he : (2:ℂ) • X = Y-Complex.I • Z := by
121      simp only [Y,Z,smul_smul,Complex.I_mul_I,neg_one_smul]
122      module
123    have heC : (2:ℂ) • C X = C Y-Complex.I • C Z := by
124      rw [← map_smul,← map_smul,← map_sub]
125      exact congrArg C he
126    have heD : (2:ℂ) • D X = D Y-Complex.I • D Z := by
127      rw [← map_smul,← map_smul,← map_sub]
128      exact congrArg D he
129    have hc : T.comp ((2:ℂ) • D X) = ((2:ℂ) • C X).comp T := by
130      rw [heD,heC]
131      apply ContinuousLinearMap.ext
132      intro x
133      simp only [ContinuousLinearMap.comp_apply,ContinuousLinearMap.sub_apply,
134        ContinuousLinearMap.smul_apply,map_sub,map_smul]
135      have h1x := DFunLike.congr_fun h1 x
136      have h2x := DFunLike.congr_fun h2 x
137      simp only [ContinuousLinearMap.comp_apply] at h1x h2x
138      rw [h1x,h2x]
139    apply ContinuousLinearMap.ext
140    intro x
141    have hx := DFunLike.congr_fun hc x
142    simp only [ContinuousLinearMap.comp_apply,ContinuousLinearMap.smul_apply,map_smul] at hx
143    exact (smul_right_injective _ (by norm_num : (2:ℂ) ≠ 0)) hx
144  intro a b
145  have hh := hall (Matrix.single a b (1:ℂ))
146  simpa only [C,D,LinearMap.comp_apply,ContinuousLinearMap.coe_coe,collectiveMatrixLM_apply,
147    collectiveMatrix_single,one_smul,
148    sectorCompression_collectiveGenerator Ω mu hΩweight hΩraise,
149    sectorCompression_collectiveGenerator Ψ nu hΨweight hΨraise] using hh
150 
151theorem cyclicTensorOperator_unitary_intertwiner_eq_zero
152    (hne : mu ≠ nu) (hΩ : ‖Ω‖=1) (hΨ : ‖Ψ‖=1)
153    (T : cyclicSector Ψ →L[ℂ] cyclicSector Ω)
154    (hT : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
155      T.comp (cyclicTensorOperator Ψ nu hΨweight hΨraise U) =
156        (cyclicTensorOperator Ω mu hΩweight hΩraise U).comp T) : T=0 := by
157  let S := cyclicSector Ψ
158  let F := (cyclicSector Ω).subtype.comp (T.toLinearMap.comp S.orthogonalProjection.toLinearMap)
159  have hproj (x : S) : S.orthogonalProjection x=x := by
160    apply Subtype.ext
161    exact Submodule.starProjection_eq_self_iff.mpr x.property
162  have hF (x : S) : F x = (T x : TensorRegister n (Fin d)) := by
163    change (T (S.orthogonalProjection x) : TensorRegister n (Fin d)) = _
164    rw [hproj]
165  have hh := cyclicSector_intertwiner_eq_zero Ω Ψ mu nu hne hΩ hΨ hΩweight hΨweight hΩraise hΨraise F
166    (fun x _ => (T (S.orthogonalProjection x)).property) (by
167      intro a b x hx
168      let xx : S := ⟨x,hx⟩
169      have he : F (collectiveGenerator m a b x) =
170          (T (cyclicGenerator Ψ nu hΨweight hΨraise a b xx) : TensorRegister n (Fin d)) :=
171        hF (cyclicGenerator Ψ nu hΨweight hΨraise a b xx)
172      rw [he]
173      have ht := DFunLike.congr_fun
174        (cyclicTensorOperator_unitary_intertwines_generators Ω Ψ mu nu hΩweight hΨweight hΩraise hΨraise T hT a b) xx
175      change T (cyclicGenerator Ψ nu hΨweight hΨraise a b xx) =
176        cyclicGenerator Ω mu hΩweight hΩraise a b (T xx) at ht
177      rw [ht,cyclicGenerator_coe_apply,hF xx])
178  apply ContinuousLinearMap.ext
179  intro x
180  apply Subtype.ext
181  exact (hF x).symm.trans (hh x x.property)
182 
183end Rectangular
184end Cloning.TensorLie