Offline · exact source
Exact Lean source

PhysicalFlatConverseCommutant

formalization/Cloning/PhysicalFlatConverseCommutant.lean

Source hash: d8bd5efb84d673221fee80e71592e2e78673ea96301dd2f191c7643329b0748c

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.TensorLocalUnitaryCoordinates
2import Cloning.TensorCyclicSectorOperators
3import Cloning.TensorCyclicSectorCovariance
4import Mathlib.Analysis.Complex.RealDeriv
5 
6/-! The scalar unitary commutant of each actual physical cyclic sector.
7Unitary invariance is differentiated through the literal tensor exponential;
8no abstract representation identification or irreducibility premise is used. -/
9noncomputable section
10open scoped BigOperators InnerProductSpace Matrix Topology Matrix.Norms.L2Operator
11open NormedSpace
12namespace Cloning.PhysicalFlatConverse
13open Cloning.TensorLie Cloning.TensorLocalUnitary
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 600000
16set_option synthInstance.maxHeartbeats 100000
17variable {n d : ℕ}
18local instance : NormedAlgebra ℚ (Matrix (Fin d) (Fin d) ℂ) := NormedAlgebra.restrictScalars ℚ ℂ _
19 
20local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
21  (Cloning.PCT.registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
22 
23/-- Orthogonal compression, as a continuous linear map on actual operators. -/
24def sectorCompression (S : Submodule ℂ (TensorRegister n (Fin d))) :
25    (TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d)) →L[ℂ] (S →L[ℂ] S) :=
26  LinearMap.toContinuousLinearMap {
27    toFun F := S.orthogonalProjection.comp (F.comp S.subtypeL)
28    map_add' F G := by apply ContinuousLinearMap.ext; intro x; simp
29    map_smul' c F := by apply ContinuousLinearMap.ext; intro x; simp }
30 
31variable (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℂ)
32    (hweight : ∀ a, collectiveGenerator n a a Ω = mu a • Ω)
33    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
34 
35local instance : NormedSpace ℂ (cyclicSector Ω) := Submodule.normedSpace (cyclicSector Ω)
36local instance : NormedSpace ℝ (cyclicSector Ω) := Submodule.normedSpace (cyclicSector Ω)
37 
38theorem sectorCompression_tensorOperator (X : Matrix (Fin d) (Fin d) ℂ) :
39    sectorCompression (cyclicSector Ω) (tensorOperator n X) =
40      cyclicTensorOperator Ω mu hweight hraise X := by
41  apply ContinuousLinearMap.ext
42  intro x
43  apply Subtype.ext
44  exact Submodule.starProjection_eq_self_iff.mpr
45    (cyclicSector_tensorOperator_invariant Ω mu hweight hraise X x.property)
46 
47theorem sectorCompression_collectiveGenerator (a b : Fin d) :
48    sectorCompression (cyclicSector Ω) (collectiveGenerator n a b) =
49      cyclicGenerator Ω mu hweight hraise a b := by
50  apply ContinuousLinearMap.ext
51  intro x
52  apply Subtype.ext
53  exact Submodule.starProjection_eq_self_iff.mpr
54    (cyclicSector_generator_invariant Ω mu hweight hraise a b x.property)
55 
56/-- The genuine derivative of the restricted tensor exponential. -/
57theorem cyclicTensorOperator_exp_hasDerivAt_zero (Y : Matrix (Fin d) (Fin d) ℂ) :
58    HasDerivAt (fun t : ℝ => cyclicTensorOperator Ω mu hweight hraise (matrixExpPath Y (t : ℂ)))
59      (sectorCompression (cyclicSector Ω) (collectiveMatrix (n := n) Y)) 0 := by
60  have hh := (sectorCompression (cyclicSector Ω)).hasFDerivAt.comp_hasDerivAt (0 : ℂ)
61    (tensorOperator_matrixExpPath_hasDerivAt_zero (n := n) Y)
62  rw [← Complex.ofReal_zero] at hh
63  have hh' := hh.scomp (0 : ℝ) Complex.ofRealCLM.hasDerivAt
64  simpa only [Function.comp_def, Complex.ofRealCLM_apply, Complex.ofReal_one, one_smul,
65    sectorCompression_tensorOperator Ω mu hweight hraise] using hh'
66 
67/-- Commutation with every physical unitary already forces commutation with
68all actual complex collective matrix units. -/
69theorem cyclicTensorOperator_unitary_commutes_generators
70    (T : cyclicSector Ω →L[ℂ] cyclicSector Ω)
71    (hT : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
72      T * cyclicTensorOperator Ω mu hweight hraise U =
73        cyclicTensorOperator Ω mu hweight hraise U * T) :
74    ∀ a b, T * cyclicGenerator Ω mu hweight hraise a b =
75      cyclicGenerator Ω mu hweight hraise a b * T := by
76  let C : Matrix (Fin d) (Fin d) ℂ →ₗ[ℂ] (cyclicSector Ω →L[ℂ] cyclicSector Ω) :=
77    (sectorCompression (cyclicSector Ω)).toLinearMap.comp collectiveMatrixLM
78  have hskew (Y : Matrix (Fin d) (Fin d) ℂ) (hY : star Y = -Y) : T * C Y = C Y * T := by
79    have he (t : ℝ) : matrixExpPath Y (t : ℂ) ∈ unitary (Matrix (Fin d) (Fin d) ℂ) := by
80      apply exp_mem_unitary_of_mem_skewAdjoint
81      change star ((t : ℂ) • Y) = -((t : ℂ) • Y)
82      simp only [star_smul, Complex.star_def, Complex.conj_ofReal, hY, smul_neg]
83    have hfun : (fun t : ℝ => T * cyclicTensorOperator Ω mu hweight hraise (matrixExpPath Y (t : ℂ))) =
84        (fun t : ℝ => cyclicTensorOperator Ω mu hweight hraise (matrixExpPath Y (t : ℂ)) * T) :=
85      funext (fun t => hT ⟨_, he t⟩)
86    have hd := cyclicTensorOperator_exp_hasDerivAt_zero Ω mu hweight hraise Y
87    have hleft := hd.const_mul T
88    have hright := hd.mul_const T
89    rw [hfun] at hleft
90    exact hleft.unique hright
91  have hall (X : Matrix (Fin d) (Fin d) ℂ) : T * C X = C X * T := by
92    let Y := X - star X
93    let Z := Complex.I • (X + star X)
94    have hY : star Y = -Y := by simp [Y]
95    have hZ : star Z = -Z := by
96      simp only [Z, star_smul, star_add, star_star, Complex.star_def, Complex.conj_I,
97        neg_smul, smul_add]
98      abel
99    have h1 := hskew Y hY
100    have h2 := hskew Z hZ
101    have he : (2 : ℂ) • C X = C Y - Complex.I • C Z := by
102      rw [← map_smul, ← map_smul, ← map_sub]
103      congr 1
104      simp only [Y, Z, smul_smul, Complex.I_mul_I, neg_one_smul]
105      module
106    have hc : T * ((2 : ℂ) • C X) = ((2 : ℂ) • C X) * T := by
107      rw [he]
108      apply ContinuousLinearMap.ext
109      intro x
110      simp only [ContinuousLinearMap.mul_apply, ContinuousLinearMap.sub_apply,
111        ContinuousLinearMap.smul_apply, map_sub, map_smul]
112      have h1x := DFunLike.congr_fun h1 x
113      have h2x := DFunLike.congr_fun h2 x
114      simp only [ContinuousLinearMap.mul_apply] at h1x h2x
115      rw [h1x,h2x]
116    apply ContinuousLinearMap.ext
117    intro x
118    have hx := DFunLike.congr_fun hc x
119    simp only [ContinuousLinearMap.mul_apply, ContinuousLinearMap.smul_apply, map_smul] at hx
120    exact (smul_right_injective _ (by norm_num : (2 : ℂ) ≠ 0)) hx
121  intro a b
122  have hh := hall (Matrix.single a b (1 : ℂ))
123  simpa only [C, LinearMap.comp_apply, ContinuousLinearMap.coe_coe, collectiveMatrixLM_apply,
124    collectiveMatrix_single, one_smul, sectorCompression_collectiveGenerator Ω mu hweight hraise] using hh
125 
126/-- Actual tensor-unitary commutants on a normalized physical highest-weight
127sector are scalar. -/
128theorem cyclicTensorOperator_unitary_commutant_scalar (hΩ : ‖Ω‖ = 1)
129    (T : cyclicSector Ω →L[ℂ] cyclicSector Ω)
130    (hT : ∀ U : unitary (Matrix (Fin d) (Fin d) ℂ),
131      T * cyclicTensorOperator Ω mu hweight hraise U =
132        cyclicTensorOperator Ω mu hweight hraise U * T) :
133    ∃ c : ℂ, T = c • ContinuousLinearMap.id ℂ (cyclicSector Ω) := by
134  obtain ⟨c,hc⟩ := cyclicGenerator_commutant_scalar Ω mu hweight hraise hΩ T.toLinearMap
135    (fun a b x => DFunLike.congr_fun
136      (cyclicTensorOperator_unitary_commutes_generators Ω mu hweight hraise T hT a b) x)
137  refine ⟨c, ?_⟩
138  apply ContinuousLinearMap.ext
139  intro x
140  exact DFunLike.congr_fun hc x
141 
142end Cloning.PhysicalFlatConverse