Exact Lean source
HeisenbergDual
formalization/Cloning/HeisenbergDual.lean
Source hash: 03f00d61a297178607b2629ec31d3f643ab03e06e4627c51d5d49cf9977fc706
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
definition
Cloning.InfiniteTraceClass.rankOneTraceClasstheorem Cloning.InfiniteTraceClass.rankOneTraceClass_applydefinition Cloning.InfiniteTraceClass.traceClassDualFormdefinition Cloning.InfiniteTraceClass.traceClassDualOptheorem Cloning.InfiniteTraceClass.traceClassDualOp_innertheorem Cloning.InfiniteTraceClass.tracePairing_rankOneOperatortheorem Cloning.InfiniteTraceClass.traceClass_functional_exttheorem Cloning.InfiniteTraceClass.tracePairing_traceClassDualOptheorem Cloning.InfiniteTraceClass.tracePairing_separatestheorem Cloning.InfiniteTraceClass.norm_traceClassDualOp_letheorem Cloning.InfiniteTraceClass.tracePairing_nonnegdefinition Cloning.InfiniteTraceClass.heisenbergDualtheorem Cloning.InfiniteTraceClass.heisenbergDual_pairingtheorem Cloning.InfiniteTraceClass.heisenbergDual_innertheorem Cloning.InfiniteTraceClass.heisenbergDual_nonnegtheorem Cloning.InfiniteTraceClass.tracePairing_onetheorem Cloning.InfiniteTraceClass.heisenbergDual_unitaltheorem Cloning.InfiniteTraceClass.heisenbergDual_normaltheorem Cloning.InfiniteTraceClass.tracePairing_sandwichtheorem Cloning.InfiniteTraceClass.heisenbergDual_covariancedefinition Cloning.InfiniteTraceClass.QuantumChannel.heisenbergtheorem Cloning.InfiniteTraceClass.QuantumChannel.heisenberg_pairingtheorem Cloning.InfiniteTraceClass.QuantumChannel.heisenberg_unital1import Cloning.InfiniteTraceClassPairing
2import Cloning.InfiniteCompletelyPositive
3
4/-! The Banach dual of the genuine trace-class space, reconstructed as actual
5bounded Hilbert-space operators. This gives the normal Heisenberg adjoint of
6an arbitrary bounded trace-class map, with no representation hypothesis. -/
7
8noncomputable section
9open scoped ComplexOrder InnerProductSpace Topology BigOperators
10
11namespace Cloning.InfiniteTraceClass
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 800000
14
15variable {H K : Type*}
16 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
17 [NormedAddCommGroup K] [InnerProductSpace ℂ K] [CompleteSpace K]
18
19/-- The rank-one map is bounded in the actual trace norm. -/
20def rankOneTraceClass : H →L[ℂ] H →L⋆[ℂ] TraceClass H :=
21 LinearMap.mkContinuous₂
22 { toFun := fun x =>
23 { toFun := fun y => rankOneOperator x y
24 map_add' := by
25 intro y z
26 apply Subtype.ext
27 exact (InnerProductSpace.rankOne ℂ x).map_add y z
28 map_smul' := by
29 intro c y
30 apply Subtype.ext
31 exact (InnerProductSpace.rankOne ℂ x).map_smulₛₗ c y }
32 map_add' := by
33 intro x y
34 ext z
35 apply Subtype.ext
36 exact congrArg (fun f => f z) ((InnerProductSpace.rankOne ℂ).map_add x y)
37 map_smul' := by
38 intro c x
39 ext y
40 apply Subtype.ext
41 exact congrArg (fun f => f y) ((InnerProductSpace.rankOne ℂ).map_smul c x) }
42 1 (fun x y => by simpa using (norm_rankOneOperator x y).le)
43
44@[simp] theorem rankOneTraceClass_apply (x y : H) :
45 rankOneTraceClass x y = rankOneOperator x y := rfl
46
47/-- A bounded trace-class functional determines a bounded sesquilinear form. -/
48def traceClassDualForm (f : TraceClass H →L[ℂ] ℂ) : H →L⋆[ℂ] H →L[ℂ] ℂ :=
49 (ContinuousLinearMap.compL ℂ H (TraceClass H) ℂ f).comp rankOneTraceClass.flip
50
51/-- Riesz reconstruction of the entire dual of trace class. -/
52def traceClassDualOp (f : TraceClass H →L[ℂ] ℂ) : H →L[ℂ] H :=
53 (InnerProductSpace.continuousLinearMapOfBilin (traceClassDualForm f)).adjoint
54
55@[simp] theorem traceClassDualOp_inner (f : TraceClass H →L[ℂ] ℂ) (x y : H) :
56 ⟪y, traceClassDualOp f x⟫_ℂ = f (rankOneOperator x y) := by
57 rw [traceClassDualOp, ContinuousLinearMap.adjoint_inner_right,
58 InnerProductSpace.continuousLinearMapOfBilin_apply]
59 rfl
60
61/-- Rank-one trace tests recover all operator matrix coefficients. -/
62theorem tracePairing_rankOneOperator (x y : H) (A : H →L[ℂ] H) :
63 tracePairing (rankOneOperator x y) A = ⟪y, A x⟫_ℂ := by
64 change trace (InnerProductSpace.rankOne ℂ x y * A) _ = _
65 rw [← trace_mul_cycle (isTraceClass_rankOne x y)]
66 change trace (A * InnerProductSpace.rankOne ℂ x y) _ = _
67 simpa only [ContinuousLinearMap.mul_def, InnerProductSpace.comp_rankOne] using
68 trace_rankOne_general (A x) y
69
70/-- Continuous functionals on trace class agree if they agree on positive
71rank-one projectors. The Jordan decomposition supplies all complex inputs. -/
72theorem traceClass_functional_ext (f g : TraceClass H →L[ℂ] ℂ)
73 (h : ∀ x : H, f (vectorProjector x) = g (vectorProjector x)) : f = g := by
74 have hpos (T : TraceClass H) (hT : 0 ≤ T.1) : f T = g T := by
75 obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
76 have hf := (positive_rankOne_series hT T.2 b).mapL f
77 have hg := (positive_rankOne_series hT T.2 b).mapL g
78 simp only [h] at hf
79 exact hf.unique hg
80 have hsa (T : TraceClass H) (hT : IsSelfAdjoint T.1) : f T = g T := by
81 rw [← TraceClass.positivePart_sub_negativePart T hT, map_sub, map_sub,
82 hpos _ (TraceClass.positivePart_nonneg T hT),
83 hpos _ (TraceClass.negativePart_nonneg T hT)]
84 ext T
85 rw [← TraceClass.realComponent_add_I_smul_imaginaryComponent T,
86 map_add, map_add, map_smul, map_smul,
87 hsa _ (TraceClass.realComponent_isSelfAdjoint T),
88 hsa _ (TraceClass.imaginaryComponent_isSelfAdjoint T)]
89
90/-- Full trace duality, including nonpositive and off-diagonal inputs. -/
91theorem tracePairing_traceClassDualOp (f : TraceClass H →L[ℂ] ℂ) (T : TraceClass H) :
92 tracePairing T (traceClassDualOp f) = f T := by
93 have heq : (ContinuousLinearMap.apply ℂ ℂ (traceClassDualOp f)).comp tracePairingCLM = f := by
94 apply traceClass_functional_ext
95 intro x
96 change tracePairing (rankOneOperator x x) (traceClassDualOp f) = f (rankOneOperator x x)
97 rw [tracePairing_rankOneOperator, traceClassDualOp_inner]
98 exact congrArg (fun F : TraceClass H →L[ℂ] ℂ => F T) heq
99
100/-- Bounded operators are uniquely determined by their trace-class pairings. -/
101theorem tracePairing_separates {A B : H →L[ℂ] H}
102 (h : ∀ T : TraceClass H, tracePairing T A = tracePairing T B) : A = B := by
103 ext x
104 apply ext_inner_left ℂ
105 intro y
106 simpa only [tracePairing_rankOneOperator] using h (rankOneOperator x y)
107
108/-- The representing operator obeys the exact dual norm bound. -/
109theorem norm_traceClassDualOp_le (f : TraceClass H →L[ℂ] ℂ) :
110 ‖traceClassDualOp f‖ ≤ ‖f‖ := by
111 apply ContinuousLinearMap.opNorm_le_bound _ (norm_nonneg _)
112 intro x
113 have hb := f.le_opNorm (rankOneOperator x (traceClassDualOp f x))
114 rw [← traceClassDualOp_inner, inner_self_eq_norm_sq_to_K] at hb
115 simp only [norm_pow, RCLike.norm_ofReal, abs_norm, norm_rankOneOperator] at hb
116 by_cases hz : ‖traceClassDualOp f x‖ = 0
117 · rw [hz]
118 positivity
119 · have hp : 0 < ‖traceClassDualOp f x‖ := lt_of_le_of_ne (norm_nonneg _) (Ne.symm hz)
120 rw [pow_two, ← mul_assoc] at hb
121 exact (mul_le_mul_iff_of_pos_right hp).mp hb
122
123/-- Positivity of both factors makes their analytic trace pairing positive. -/
124theorem tracePairing_nonneg (T : TraceClass H) (hT : 0 ≤ T.1)
125 (A : H →L[ℂ] H) (hA : 0 ≤ A) : 0 ≤ tracePairing T A := by
126 obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
127 have hs := (positive_rankOne_series hT T.2 b).mapL (tracePairingCLM.flip A)
128 change 0 ≤ (tracePairingCLM.flip A) (TraceClass.ofOperator T.1 T.2)
129 rw [← hs.tsum_eq]
130 apply tsum_nonneg
131 intro i
132 change 0 ≤ tracePairing (rankOneOperator _ _) A
133 rw [tracePairing_rankOneOperator]
134 exact (A.nonneg_iff_isPositive.mp hA).inner_nonneg_right _
135
136/-- The actual Heisenberg adjoint of any bounded trace-class map. -/
137def heisenbergDual (Φ : TraceClass H →L[ℂ] TraceClass K) :
138 (K →L[ℂ] K) →ₗ[ℂ] (H →L[ℂ] H) where
139 toFun A := traceClassDualOp ((tracePairingCLM.flip A).comp Φ)
140 map_add' A B := by
141 ext x
142 apply ext_inner_left ℂ
143 intro y
144 simp only [traceClassDualOp_inner, ContinuousLinearMap.comp_apply,
145 ContinuousLinearMap.flip_apply, tracePairingCLM_apply,
146 ContinuousLinearMap.add_apply, inner_add_right, map_add]
147 map_smul' c A := by
148 ext x
149 apply ext_inner_left ℂ
150 intro y
151 simp only [traceClassDualOp_inner, ContinuousLinearMap.comp_apply,
152 ContinuousLinearMap.flip_apply, tracePairingCLM_apply,
153 ContinuousLinearMap.smul_apply, inner_smul_right, map_smul,
154 RingHom.id_apply, smul_eq_mul]
155
156/-- Exact Schrödinger–Heisenberg duality for every trace-class input. -/
157theorem heisenbergDual_pairing (Φ : TraceClass H →L[ℂ] TraceClass K)
158 (T : TraceClass H) (A : K →L[ℂ] K) :
159 tracePairing T (heisenbergDual Φ A) = tracePairing (Φ T) A :=
160 tracePairing_traceClassDualOp _ T
161
162@[simp] theorem heisenbergDual_inner (Φ : TraceClass H →L[ℂ] TraceClass K)
163 (A : K →L[ℂ] K) (x y : H) :
164 ⟪y, heisenbergDual Φ A x⟫_ℂ = tracePairing (Φ (rankOneOperator x y)) A :=
165 traceClassDualOp_inner _ x y
166
167/-- The Heisenberg map preserves positive bounded operators whenever the
168Schrödinger map preserves positive trace-class operators. -/
169theorem heisenbergDual_nonneg (Φ : TraceClass H →L[ℂ] TraceClass K)
170 (hΦ : ∀ T, 0 ≤ T.1 → 0 ≤ (Φ T).1)
171 (A : K →L[ℂ] K) (hA : 0 ≤ A) : 0 ≤ heisenbergDual Φ A := by
172 apply nonneg_of_inner_nonneg
173 intro x
174 rw [heisenbergDual_inner]
175 apply tracePairing_nonneg _ (hΦ _ _) A hA
176 exact (InnerProductSpace.rankOne ℂ x x).nonneg_iff_isPositive.mpr
177 (InnerProductSpace.isPositive_rankOne_self x)
178
179@[simp] theorem tracePairing_one (T : TraceClass H) :
180 tracePairing T (1 : H →L[ℂ] H) = traceCLM T := by
181 change trace (T.1 * 1) _ = trace T.1 T.2
182 simp only [mul_one]
183
184/-- Trace preservation gives actual unitality of the reconstructed dual. -/
185theorem heisenbergDual_unital (Φ : TraceClass H →L[ℂ] TraceClass K)
186 (hΦ : ∀ T, traceCLM (Φ T) = traceCLM T) :
187 heisenbergDual Φ (1 : K →L[ℂ] K) = 1 := by
188 apply tracePairing_separates
189 intro T
190 rw [heisenbergDual_pairing, tracePairing_one, tracePairing_one, hΦ]
191
192/-- Normality in its defining ultraweak form: convergence against every
193trace-class test is preserved, for arbitrary nets, with no boundedness premise. -/
194theorem heisenbergDual_normal (Φ : TraceClass H →L[ℂ] TraceClass K)
195 {ι : Type*} {l : Filter ι} {A : ι → K →L[ℂ] K} {B : K →L[ℂ] K}
196 (hA : ∀ T : TraceClass K, Filter.Tendsto (fun i => tracePairing T (A i)) l
197 (𝓝 (tracePairing T B))) (T : TraceClass H) :
198 Filter.Tendsto (fun i => tracePairing T (heisenbergDual Φ (A i))) l
199 (𝓝 (tracePairing T (heisenbergDual Φ B))) := by
200 simpa only [heisenbergDual_pairing] using hA (Φ T)
201
202/-- Cyclicity transports a bounded sandwich across the trace pairing. -/
203theorem tracePairing_sandwich (T : TraceClass H) (P Q A : H →L[ℂ] H) :
204 tracePairing (sandwichCLM P Q T) A = tracePairing T (Q * A * P) := by
205 have hT : IsTraceClass (T.1 * (Q * A)) := by
206 simpa using isTraceClass_mul_mul (A := (1 : H →L[ℂ] H)) (B := Q * A) T.2
207 change trace (P * T.1 * Q * A) _ = trace (T.1 * (Q * A * P)) _
208 simpa only [mul_assoc] using (trace_mul_cycle (A := P) hT)
209
210/-- Covariance is inherited by the actual Heisenberg adjoint, with the usual
211reversed conjugations. No dual covariance premise is assumed. -/
212theorem heisenbergDual_covariance (Φ : TraceClass H →L[ℂ] TraceClass K)
213 (U : H →L[ℂ] H) (V : K →L[ℂ] K)
214 (hΦ : ∀ T, Φ (sandwichCLM U (star U) T) = sandwichCLM V (star V) (Φ T))
215 (A : K →L[ℂ] K) :
216 star U * heisenbergDual Φ A * U = heisenbergDual Φ (star V * A * V) := by
217 apply tracePairing_separates
218 intro T
219 rw [← tracePairing_sandwich, heisenbergDual_pairing, hΦ,
220 tracePairing_sandwich, heisenbergDual_pairing]
221
222/-- The normal, positive and unital Heisenberg adjoint of an actual quantum
223channel; continuity is derived from its original positivity and trace law. -/
224def QuantumChannel.heisenberg (Φ : QuantumChannel H K) :
225 (K →L[ℂ] K) →ₗ[ℂ] (H →L[ℂ] H) :=
226 heisenbergDual Φ.toPositiveTracePreservingMap.toContinuousLinearMap
227
228@[simp] theorem QuantumChannel.heisenberg_pairing (Φ : QuantumChannel H K)
229 (T : TraceClass H) (A : K →L[ℂ] K) :
230 tracePairing T (Φ.heisenberg A) = tracePairing (Φ.toLinearMap T) A :=
231 heisenbergDual_pairing _ T A
232
233@[simp] theorem QuantumChannel.heisenberg_unital (Φ : QuantumChannel H K) :
234 Φ.heisenberg (1 : K →L[ℂ] K) = 1 :=
235 heisenbergDual_unital _ Φ.trace_preserving
236
237end Cloning.InfiniteTraceClass