Offline · exact source
Exact Lean source

TensorCyclicSectorCovariance

formalization/Cloning/TensorCyclicSectorCovariance.lean

Source hash: cd24a7859445001becfeca39013be5ccd9618f34f42dc7c8edd8ab56620e9ba2

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.TensorCyclicSectorDiagonal
2import Cloning.TensorCyclicSectorTransvection
3 
4/-! Literal tensor-power covariance of the physical highest-weight cyclic sectors. -/
5noncomputable section
6open scoped BigOperators InnerProductSpace Matrix
7namespace Cloning.TensorLie
8set_option maxHeartbeats 1000000
9set_option backward.isDefEq.respectTransparency false
10variable {n d : ℕ}
11 
12local instance : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
13  (Cloning.PCT.registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
14 
15/-- Commuting with the actual collective generators implies commuting with
16all literal tensor powers, including singular matrices. -/
17theorem tensorOperator_commutes_of_generators
18    (T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d))
19    (hT : ∀ a b, T * collectiveGenerator n a b = collectiveGenerator n a b * T)
20    (X : Matrix (Fin d) (Fin d) ℂ) :
21    T * tensorOperator n X = tensorOperator n X * T := by
22  apply Matrix.diagonal_transvection_induction
23    (fun X => T * tensorOperator n X = tensorOperator n X * T) X
24  · intro D _
25    exact tensorOperator_diagonal_commutes T (fun a => hT a a) D
26  · intro t
27    exact tensorOperator_transvection_commutes T t.i t.j t.hij (hT t.i t.j) t.c
28  · intro A B hA hB
29    rw [tensorOperator_mul, ← mul_assoc, hA, mul_assoc, hB, ← mul_assoc]
30 
31/-- Every subspace invariant under the actual collective matrix units is
32invariant under every literal tensor power. -/
33theorem generatorInvariant_tensorOperator_invariant
34    (W : Submodule ℂ (TensorRegister n (Fin d)))
35    (hW : ∀ a b x, x ∈ W → collectiveGenerator n a b x ∈ W)
36    (X : Matrix (Fin d) (Fin d) ℂ) {x : TensorRegister n (Fin d)} (hx : x ∈ W) :
37    tensorOperator n X x ∈ W := by
38  have hcomm := tensorOperator_commutes_of_generators W.starProjection
39    (fun a b => ContinuousLinearMap.ext (invariant_starProjection_commutes W hW a b)) X
40  apply Submodule.starProjection_eq_self_iff.mp
41  have hh := congrArg (fun T : TensorRegister n (Fin d) →L[ℂ] TensorRegister n (Fin d) => T x) hcomm
42  simpa only [ContinuousLinearMap.mul_apply, Submodule.starProjection_eq_self_iff.mpr hx] using hh
43 
44variable (Ω : TensorRegister n (Fin d)) (mu : Fin d → ℂ)
45    (hweight : ∀ a, collectiveGenerator n a a Ω = mu a • Ω)
46    (hraise : ∀ a b, a < b → collectiveGenerator n a b Ω = 0)
47 
48include mu hweight hraise in
49/-- Actual highest-weight cyclic sectors are invariant under `X` on every tensor
50factor, without a group-invariance assumption. -/
51theorem cyclicSector_tensorOperator_invariant
52    (X : Matrix (Fin d) (Fin d) ℂ) {x : TensorRegister n (Fin d)} (hx : x ∈ cyclicSector Ω) :
53    tensorOperator n X x ∈ cyclicSector Ω :=
54  generatorInvariant_tensorOperator_invariant (cyclicSector Ω)
55    (fun a b x hx => cyclicSector_generator_invariant Ω mu hweight hraise a b hx) X hx
56 
57/-- The literal restricted tensor-power action. -/
58def cyclicTensorOperator (X : Matrix (Fin d) (Fin d) ℂ) :
59    cyclicSector Ω →L[ℂ] cyclicSector Ω :=
60  ((tensorOperator n X).comp (cyclicSector Ω).subtypeL).codRestrict
61    (cyclicSector Ω) (fun x => cyclicSector_tensorOperator_invariant Ω mu hweight hraise X x.property)
62 
63@[simp] theorem cyclicTensorOperator_coe_apply (X : Matrix (Fin d) (Fin d) ℂ)
64    (x : cyclicSector Ω) :
65    (cyclicTensorOperator Ω mu hweight hraise X x : TensorRegister n (Fin d)) =
66      tensorOperator n X x := rfl
67 
68@[simp] theorem cyclicTensorOperator_one :
69    cyclicTensorOperator Ω mu hweight hraise (1 : Matrix (Fin d) (Fin d) ℂ) = 1 := by
70  apply ContinuousLinearMap.ext
71  intro x
72  apply Subtype.ext
73  simp only [cyclicTensorOperator_coe_apply, tensorOperator_one, ContinuousLinearMap.one_apply]
74 
75theorem cyclicTensorOperator_mul (X Y : Matrix (Fin d) (Fin d) ℂ) :
76    cyclicTensorOperator Ω mu hweight hraise (X * Y) =
77      cyclicTensorOperator Ω mu hweight hraise X * cyclicTensorOperator Ω mu hweight hraise Y := by
78  apply ContinuousLinearMap.ext
79  intro x
80  apply Subtype.ext
81  simp only [cyclicTensorOperator_coe_apply, tensorOperator_mul, ContinuousLinearMap.mul_apply]
82 
83/-- Physical unitaries restrict to honest linear isometric equivalences of the
84entire cyclic sector. Both maps are literal tensor powers. -/
85def cyclicUnitary (U : Matrix (Fin d) (Fin d) ℂ) (hU : Uᴴ * U = 1) :
86    cyclicSector Ω ≃ₗᵢ[ℂ] cyclicSector Ω where
87  toLinearEquiv := {
88    toLinearMap := (cyclicTensorOperator Ω mu hweight hraise U).toLinearMap
89    invFun := cyclicTensorOperator Ω mu hweight hraise Uᴴ
90    left_inv := by
91      intro x
92      have hh := congrArg (fun T : cyclicSector Ω →L[ℂ] cyclicSector Ω => T x)
93        (cyclicTensorOperator_mul Ω mu hweight hraise Uᴴ U)
94      simpa only [hU, cyclicTensorOperator_one, ContinuousLinearMap.one_apply,
95        ContinuousLinearMap.mul_apply] using hh.symm
96    right_inv := by
97      intro x
98      have hU' : U * Uᴴ = 1 := mul_eq_one_comm.mp hU
99      have hh := congrArg (fun T : cyclicSector Ω →L[ℂ] cyclicSector Ω => T x)
100        (cyclicTensorOperator_mul Ω mu hweight hraise U Uᴴ)
101      simpa only [hU', cyclicTensorOperator_one, ContinuousLinearMap.one_apply,
102        ContinuousLinearMap.mul_apply] using hh.symm }
103  norm_map' := by
104    intro x
105    change ‖tensorOperator n U (x : TensorRegister n (Fin d))‖ = ‖(x : TensorRegister n (Fin d))‖
106    exact tensorOperator_norm U hU (x : TensorRegister n (Fin d))
107 
108@[simp] theorem cyclicUnitary_coe_apply (U : Matrix (Fin d) (Fin d) ℂ)
109    (hU : Uᴴ * U = 1) (x : cyclicSector Ω) :
110    (cyclicUnitary Ω mu hweight hraise U hU x : TensorRegister n (Fin d)) =
111      tensorOperator n U x := rfl
112 
113end Cloning.TensorLie