Exact Lean source
TensorPositiveSpectrumCompression
formalization/Cloning/TensorPositiveSpectrumCompression.lean
Source hash: 7b4c9274b8133214a72c3afdf7d6eb47801e6233648aaccb147402d9a9965fbb
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.
In the dependency map: Projector optimum
Paper ↔ Lean correspondence in this module
Declarations in this module
definition
Cloning.TensorLie.padSpectrumtheorem Cloning.TensorLie.padSpectrum_lefttheorem Cloning.TensorLie.padSpectrum_righttheorem Cloning.TensorLie.padSpectrum_nonnegtheorem Cloning.TensorLie.tensorOperator_padSpectrumtheorem Cloning.TensorLie.coordinateSectorEmbedding_gibbstheorem Cloning.TensorLie.sectorGibbsOperator_padSpectrumtheorem Cloning.TensorLie.sectorGibbsWeight_padSpectrumtheorem Cloning.TensorLie.sectorPartitionFunction_padSpectrumtheorem Cloning.TensorLie.sectorGibbsDensity_padSpectrumtheorem Cloning.TensorLie.physicalSectorCharacter_padSpectrumtheorem Cloning.TensorLie.physicalSectorCharacter_padSpectrum_postheorem Cloning.TensorLie.padSpectrum_sum1import Cloning.TensorFlatProjectorGibbs
2
3/-! Exact rank compression of arbitrary diagonal sector Gibbs states. The
4operator identity is valid for every real spectrum; nonnegativity enters only
5the equality of the trace-normalization constants. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace ComplexOrder Matrix
8namespace Cloning.TensorLie
9open Cloning.PCT Cloning.InfiniteTraceClass Cloning.Hybrid
10set_option maxHeartbeats 1600000
11set_option synthInstance.maxHeartbeats 200000
12set_option backward.isDefEq.respectTransparency false
13variable {n r k : ℕ}
14local instance (n d : ℕ) : FiniteDimensional ℂ (TensorRegister n (Fin d)) :=
15 (registerBasis (Fin n → Fin d)).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
16
17/-- Extend an arbitrary supported spectrum by zero coordinates. -/
18def padSpectrum (p : Fin r → ℝ) (k : ℕ) : Fin (r+k) → ℝ :=
19 Fin.addCases p (fun _ => 0)
20
21@[simp] theorem padSpectrum_left (p : Fin r → ℝ) (k : ℕ) (a : Fin r) :
22 padSpectrum p k (Fin.castAdd k a)=p a := by simp [padSpectrum]
23
24@[simp] theorem padSpectrum_right (p : Fin r → ℝ) (k : ℕ) (a : Fin k) :
25 padSpectrum p k (Fin.natAdd r a)=0 := by simp [padSpectrum]
26
27theorem padSpectrum_nonneg (p : Fin r → ℝ) (hp : ∀a,0≤p a) (k : ℕ) :
28 ∀a,0≤padSpectrum p k a := by
29 intro a
30 induction a using Fin.addCases <;> simp [hp]
31
32/-- Literal zero extension of the diagonal tensor power along the coordinate
33isometry. This establishes the rank identity before taking Schur blocks. -/
34theorem tensorOperator_padSpectrum (p : Fin r → ℝ) :
35 tensorOperator n (Matrix.diagonal (fun a => (padSpectrum p k a : ℂ))) =
36 (coordinateTensorEmbedding n r k).toContinuousLinearMap.comp
37 ((tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ)))).comp
38 (coordinateTensorEmbedding n r k).toContinuousLinearMap.adjoint) := by
39 ext y w
40 rw [tensorOperator_diagonal_apply]
41 by_cases hw : ∀t,(w t).val<r
42 · obtain ⟨v,rfl⟩ := (coordinateWordEmbedding_range w).mpr hw
43 change _ = coordinateTensorEmbedding n r k
44 (tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ)))
45 ((coordinateTensorEmbedding n r k).toContinuousLinearMap.adjoint y))
46 (coordinateWordEmbedding n r k v)
47 rw [coordinateTensorEmbedding,registerEmbedding_apply_image,
48 tensorOperator_diagonal_apply,registerEmbedding_adjoint_apply]
49 simp only [coordinateWordEmbedding,Function.Embedding.coeFn_mk,padSpectrum_left]
50 · have hz : (∏t : Fin n,(padSpectrum p k (w t) : ℂ))=0 := by
51 push_neg at hw
52 obtain ⟨t,ht⟩ := hw
53 apply Finset.prod_eq_zero (Finset.mem_univ t)
54 have hright : ∃a : Fin k, Fin.natAdd r a=w t := by
55 exact ⟨⟨(w t).val-r,by have := (w t).isLt; omega⟩,Fin.ext (by dsimp; omega)⟩
56 obtain ⟨a,ha⟩ := hright
57 rw [← ha,padSpectrum_right,Complex.ofReal_zero]
58 rw [hz,zero_mul]
59 exact (registerEmbedding_apply_not_mem _ _ w
60 (fun he => hw ((coordinateWordEmbedding_range w).mp he))).symm
61
62/-- The literal rank identity restricted to the cyclic sector generated by an
63embedded highest tensor. -/
64theorem coordinateSectorEmbedding_gibbs
65 (Ω : TensorRegister n (Fin r)) (mu : Fin r → ℕ)
66 (hweight : ∀a,collectiveGenerator n a a Ω=(mu a : ℂ) • Ω)
67 (hraise : ∀a b,a<b → collectiveGenerator n a b Ω=0) (p : Fin r → ℝ) :
68 sectorGibbsOperator (coordinateTensorEmbedding n r k Ω) (padPartition mu k)
69 (coordinateTensorEmbedding_highest Ω mu hweight hraise).1
70 (coordinateTensorEmbedding_highest Ω mu hweight hraise).2 (padSpectrum p k) =
71 (coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.comp
72 ((sectorGibbsOperator Ω mu hweight hraise p).comp
73 (coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.adjoint) := by
74 apply ContinuousLinearMap.ext
75 intro x
76 apply Subtype.ext
77 change tensorOperator n (Matrix.diagonal (fun a => (padSpectrum p k a : ℂ)))
78 (x : TensorRegister n (Fin (r+k))) =
79 coordinateTensorEmbedding n r k
80 (tensorOperator n (Matrix.diagonal (fun a => (p a : ℂ)))
81 (((coordinateSectorEmbedding (k := k) Ω).toContinuousLinearMap.adjoint x : cyclicSector Ω) :
82 TensorRegister n (Fin r)))
83 rw [coordinateSectorEmbedding_adjoint_coe,tensorOperator_padSpectrum]
84 rfl
85
86/-- Exact unnormalized Gibbs compression in the canonical physical sectors. -/
87theorem sectorGibbsOperator_padSpectrum (mu : Fin r → ℕ) (hmu : Antitone mu)
88 (k : ℕ) (p : Fin r → ℝ) :
89 sectorGibbsOperator
90 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
91 (padPartition mu k) (partitionHighestTensor_cartan _ _) (partitionHighestTensor_raising_zero _ _)
92 (padSpectrum p k) =
93 (rankSectorEmbedding mu hmu k).toContinuousLinearMap.comp
94 ((sectorGibbsOperator (partitionHighestTensor mu hmu) mu
95 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p).comp
96 (rankSectorEmbedding mu hmu k).toContinuousLinearMap.adjoint) := by
97 apply ContinuousLinearMap.ext
98 intro x
99 apply (rankHighestIsometry mu hmu k).injective
100 have he := highestCyclicIsometry_tensorOperator
101 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
102 (rankEmbeddedHighest mu hmu k) (fun a => (padPartition mu k a : ℂ))
103 (partitionHighestTensor_cartan _ _) (rankEmbeddedHighest_weight mu hmu k)
104 (partitionHighestTensor_raising_zero _ _) (rankEmbeddedHighest_raise mu hmu k)
105 (partitionHighestTensor_norm _ _) (rankEmbeddedHighest_norm mu hmu k)
106 (Matrix.diagonal (fun a => (padSpectrum p k a : ℂ))) x
107 change rankHighestIsometry mu hmu k
108 (sectorGibbsOperator _ _ _ _ (padSpectrum p k) x) = _ at he
109 rw [he]
110 change sectorGibbsOperator (coordinateTensorEmbedding _ r k (partitionHighestTensor mu hmu))
111 (padPartition mu k)
112 (coordinateTensorEmbedding_highest (partitionHighestTensor mu hmu) mu
113 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)).1
114 (coordinateTensorEmbedding_highest (partitionHighestTensor mu hmu) mu
115 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu)).2
116 (padSpectrum p k) (rankHighestIsometry mu hmu k x) = _
117 rw [coordinateSectorEmbedding_gibbs (partitionHighestTensor mu hmu) mu
118 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p]
119 change coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu)
120 (sectorGibbsOperator (partitionHighestTensor mu hmu) mu
121 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p
122 ((coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu)).toContinuousLinearMap.adjoint
123 (rankHighestIsometry mu hmu k x))) =
124 rankHighestIsometry mu hmu k (rankSectorEmbedding mu hmu k
125 (sectorGibbsOperator (partitionHighestTensor mu hmu) mu
126 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p ((rankSectorEmbedding mu hmu k).toContinuousLinearMap.adjoint x)))
127 exact (congrArg (fun z : cyclicSector (partitionHighestTensor mu hmu) =>
128 coordinateSectorEmbedding (k := k) (partitionHighestTensor mu hmu)
129 (sectorGibbsOperator (partitionHighestTensor mu hmu) mu
130 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p z))
131 (rankSectorEmbedding_adjoint_transport mu hmu k x)).symm.trans
132 (rankHighestIsometry_embedding mu hmu k _).symm
133
134/-- Trace-class form of exact Gibbs compression. -/
135theorem sectorGibbsWeight_padSpectrum (mu : Fin r → ℕ) (hmu : Antitone mu)
136 (k : ℕ) (p : Fin r → ℝ) :
137 sectorGibbsWeight
138 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
139 (padPartition mu k) (partitionHighestTensor_cartan _ _) (partitionHighestTensor_raising_zero _ _)
140 (padSpectrum p k) =
141 conjugationLinearMap (rankSectorEmbedding mu hmu k).toContinuousLinearMap
142 (sectorGibbsWeight (partitionHighestTensor mu hmu) mu
143 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p) := by
144 apply Subtype.ext
145 exact sectorGibbsOperator_padSpectrum mu hmu k p
146
147/-- Rank compression preserves the normalization trace at every nonnegative
148spectrum, including spectra with further zero entries. -/
149theorem sectorPartitionFunction_padSpectrum (mu : Fin r → ℕ) (hmu : Antitone mu)
150 (k : ℕ) (p : Fin r → ℝ) (hp : ∀a,0≤p a) :
151 sectorPartitionFunction
152 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
153 (padPartition mu k) (partitionHighestTensor_cartan _ _) (partitionHighestTensor_raising_zero _ _)
154 (padSpectrum p k) =
155 sectorPartitionFunction (partitionHighestTensor mu hmu) mu
156 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p := by
157 have ht := conjugationLinearMap_isometry_trace (rankSectorEmbedding mu hmu k)
158 (sectorGibbsWeight (partitionHighestTensor mu hmu) mu
159 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p)
160 rw [← sectorGibbsWeight_padSpectrum,trace_sectorGibbsWeight _ _ _ _ _ (padSpectrum_nonneg p hp k),
161 trace_sectorGibbsWeight _ _ _ _ _ hp] at ht
162 exact_mod_cast ht
163
164/-- The conditional-support identity for supported nonnegative spectra. Both
165sides use the actual physical Gibbs operators and are normalized when the
166common partition function is positive (in particular, when every `p a>0`). -/
167theorem sectorGibbsDensity_padSpectrum (mu : Fin r → ℕ) (hmu : Antitone mu)
168 (k : ℕ) (p : Fin r → ℝ) (hp : ∀a,0≤p a) :
169 sectorGibbsDensity
170 (partitionHighestTensor (padPartition mu k) (padPartition_antitone mu hmu k))
171 (padPartition mu k) (partitionHighestTensor_cartan _ _) (partitionHighestTensor_raising_zero _ _)
172 (padSpectrum p k) =
173 conjugationLinearMap (rankSectorEmbedding mu hmu k).toContinuousLinearMap
174 (sectorGibbsDensity (partitionHighestTensor mu hmu) mu
175 (partitionHighestTensor_cartan mu hmu) (partitionHighestTensor_raising_zero mu hmu) p) := by
176 rw [sectorGibbsDensity,sectorPartitionFunction_padSpectrum mu hmu k p hp,
177 sectorGibbsWeight_padSpectrum,sectorGibbsDensity,map_smul]
178
179theorem physicalSectorCharacter_padSpectrum (mu : Fin r → ℕ) (hmu : Antitone mu)
180 (k : ℕ) (p : Fin r → ℝ) (hp : ∀a,0≤p a) :
181 physicalSectorCharacter (padPartition mu k) (padSpectrum p k)=physicalSectorCharacter mu p := by
182 simp only [physicalSectorCharacter,dif_pos (padPartition_antitone mu hmu k),dif_pos hmu]
183 exact sectorPartitionFunction_padSpectrum mu hmu k p hp
184
185theorem physicalSectorCharacter_padSpectrum_pos (mu : Fin r → ℕ) (hmu : Antitone mu)
186 (k : ℕ) (p : Fin r → ℝ) (hp : ∀a,0<p a) :
187 0<physicalSectorCharacter (padPartition mu k) (padSpectrum p k) := by
188 rw [physicalSectorCharacter_padSpectrum mu hmu k p (fun a => (hp a).le)]
189 simp only [physicalSectorCharacter,dif_pos hmu]
190 exact sectorPartitionFunction_pos _ _ _ _ (partitionHighestTensor_norm mu hmu) p hp
191
192@[simp] theorem padSpectrum_sum (p : Fin r → ℝ) (k : ℕ) :
193 ∑a,padSpectrum p k a=∑a,p a := by
194 rw [Fin.sum_univ_add]
195 simp only [padSpectrum_left,padSpectrum_right,Finset.sum_const_zero,add_zero]
196
197end Cloning.TensorLie