Exact Lean source
InfiniteTraceClassNormalPart
formalization/Cloning/InfiniteTraceClassNormalPart.lean
Source hash: 8469b8ae54504745af1e6e21f63db4327d2b51be1f802629eae948989f3d7931
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.normalPartFormdefinition Cloning.InfiniteTraceClass.normalPartOptheorem Cloning.InfiniteTraceClass.normalPart_innertheorem Cloning.InfiniteTraceClass.normalPart_nonnegtheorem Cloning.InfiniteTraceClass.normalPart_finite_diagonal_letheorem Cloning.InfiniteTraceClass.normalPart_isTraceClasstheorem Cloning.InfiniteTraceClass.normalPart_trace_ledefinition Cloning.InfiniteTraceClass.normalPartdefinition Cloning.InfiniteTraceClass.traceClassRightMultiplydefinition Cloning.InfiniteTraceClass.tracePairingtheorem Cloning.InfiniteTraceClass.trace_rankOne_generaltheorem Cloning.InfiniteTraceClass.tracePairing_rankOnetheorem Cloning.InfiniteTraceClass.normalPart_tracePairing_rankOnetheorem Cloning.InfiniteTraceClass.basisProjection_tendstoUniformlyOntheorem Cloning.InfiniteTraceClass.basisProjection_mul_tendstotheorem Cloning.InfiniteTraceClass.basisProjection_mul_eq_sum_rankOnetheorem Cloning.InfiniteTraceClass.normalPart_tracePairing_compact1import Cloning.InfiniteTraceClassCutoffConvergence
2import Cloning.InfiniteTraceClassWeakLimit
3import Mathlib.Analysis.InnerProductSpace.Dual
4import Mathlib.Analysis.Normed.Operator.Compact
5
6/-! Normal-part reconstruction of a positive bounded functional on bounded
7operators. Its values on rank-one operators determine an actual positive
8trace-class operator, whose trace can be smaller than the norm of the original
9functional. No trace-class representing operator is assumed. -/
10
11namespace Cloning.InfiniteTraceClass
12
13set_option backward.isDefEq.respectTransparency false
14
15noncomputable section
16open scoped ComplexOrder InnerProductSpace Topology
17open Filter
18
19variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
20
21/-- The bounded sesquilinear form obtained by evaluating a functional on rank ones. -/
22def normalPartForm (f : (H →L[ℂ] H) →L[ℂ] ℂ) : H →L⋆[ℂ] H →L[ℂ] ℂ :=
23 (ContinuousLinearMap.compL ℂ H (H →L[ℂ] H) ℂ f).comp
24 (InnerProductSpace.rankOne ℂ).flip
25
26/-- The Riesz operator reconstructed from the rank-one values of `f`. -/
27def normalPartOp (f : (H →L[ℂ] H) →L[ℂ] ℂ) : H →L[ℂ] H :=
28 (InnerProductSpace.continuousLinearMapOfBilin (normalPartForm f)).adjoint
29
30/-- Reconstruction has the actual rank-one matrix coefficients, for any bounded functional. -/
31lemma normalPart_inner (f : (H →L[ℂ] H) →L[ℂ] ℂ) (x y : H) :
32 ⟪y, normalPartOp f x⟫_ℂ = f (InnerProductSpace.rankOne ℂ x y) := by
33 rw [normalPartOp, ContinuousLinearMap.adjoint_inner_right,
34 InnerProductSpace.continuousLinearMapOfBilin_apply]
35 rfl
36
37lemma normalPart_nonneg (f : (H →L[ℂ] H) →L[ℂ] ℂ)
38 (hf : ∀ A, 0 ≤ A → 0 ≤ f A) : 0 ≤ normalPartOp f := by
39 apply (normalPartOp f).nonneg_iff_isPositive.mpr
40 apply (ContinuousLinearMap.isPositive_iff_complex _).mpr
41 intro x
42 have hr : 0 ≤ f (InnerProductSpace.rankOne ℂ x x) :=
43 hf _ ((InnerProductSpace.rankOne ℂ x x).nonneg_iff_isPositive.mpr
44 (InnerProductSpace.isPositive_rankOne_self x))
45 have hi : ⟪normalPartOp f x, x⟫_ℂ =
46 star (f (InnerProductSpace.rankOne ℂ x x)) := by
47 rw [← inner_conj_symm, normalPart_inner]
48 rfl
49 rw [hi]
50 obtain ⟨hre, him⟩ := Complex.nonneg_iff.mp hr
51 constructor
52 · apply Complex.ext <;> simp [← him]
53 · simpa using hre
54
55lemma normalPart_finite_diagonal_le (f : (H →L[ℂ] H) →L[ℂ] ℂ)
56 {w : Set H} (b : HilbertBasis w ℂ H) (s : Finset w) :
57 (∑ i ∈ s, (⟪b i, normalPartOp f (b i)⟫_ℂ).re) ≤ ‖f‖ := by
58 have heq : (∑ i ∈ s, (⟪b i, normalPartOp f (b i)⟫_ℂ).re) =
59 (f (basisProjection b s)).re := by
60 simp [basisProjection, normalPart_inner, map_sum, Complex.re_sum]
61 rw [heq]
62 calc
63 (f (basisProjection b s)).re ≤ ‖f (basisProjection b s)‖ := Complex.re_le_norm _
64 _ ≤ ‖f‖ * ‖basisProjection b s‖ := f.le_opNorm _
65 _ ≤ ‖f‖ * 1 := mul_le_mul_of_nonneg_left
66 (basisProjection_isStarProjection b s).norm_le (norm_nonneg _)
67 _ = ‖f‖ := mul_one _
68
69/-- Positivity and boundedness force the reconstructed operator to be trace class. -/
70theorem normalPart_isTraceClass (f : (H →L[ℂ] H) →L[ℂ] ℂ)
71 (hf : ∀ A, 0 ≤ A → 0 ≤ f A) : IsTraceClass (normalPartOp f) := by
72 obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
73 exact InfiniteTraceClassWeakLimit.isTraceClass_of_finite_diagonal_bound
74 (normalPart_nonneg f hf) b ‖f‖ (normalPart_finite_diagonal_le f b)
75
76/-- The normal part can lose trace mass to the singular part of the functional. -/
77theorem normalPart_trace_le (f : (H →L[ℂ] H) →L[ℂ] ℂ)
78 (hf : ∀ A, 0 ≤ A → 0 ≤ f A) :
79 (trace (normalPartOp f) (normalPart_isTraceClass f hf)).re ≤ ‖f‖ := by
80 obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
81 rw [trace_re_eq_traceNorm (normalPart_nonneg f hf), traceNorm_eq_of_hilbertBasis _ b,
82 CFC.abs_of_nonneg _ (normalPart_nonneg f hf)]
83 exact Real.tsum_le_of_sum_le
84 (fun i => real_inner_nonneg_of_nonneg (normalPart_nonneg f hf) (b i))
85 (normalPart_finite_diagonal_le f b)
86
87/-- The normal part as an element of the trace-class Banach space. -/
88def normalPart (f : (H →L[ℂ] H) →L[ℂ] ℂ) (hf : ∀ A, 0 ≤ A → 0 ≤ f A) :
89 TraceClass H := TraceClass.ofOperator (normalPartOp f) (normalPart_isTraceClass f hf)
90
91/-- Multiplication by a fixed trace-class operator, with the bounded operator
92as the variable, is continuous into the trace-class Banach space. -/
93def traceClassRightMultiply (T : TraceClass H) : (H →L[ℂ] H) →L[ℂ] TraceClass H :=
94 LinearMap.mkContinuous
95 { toFun := fun O => TraceClass.ofOperator (T.1 * O)
96 (by simpa using (isTraceClass_mul_mul (A := 1) (B := O) T.2))
97 map_add' := by
98 intro A B
99 apply Subtype.ext
100 change T.1 * (A + B) = T.1 * A + T.1 * B
101 exact mul_add _ _ _
102 map_smul' := by
103 intro c A
104 apply Subtype.ext
105 change T.1 * (c • A) = c • (T.1 * A)
106 simp }
107 ‖T‖ (fun O => by
108 change traceNorm (T.1 * O) _ ≤ traceNorm T.1 T.2 * ‖O‖
109 have h := traceNorm_mul_mul_le (A := (1 : H →L[ℂ] H)) (B := O) T.2
110 (isTraceClass_mul_mul T.2)
111 simp only [one_mul] at h
112 apply h.trans
113 have h1 : ‖(1 : H →L[ℂ] H)‖ ≤ 1 :=
114 ContinuousLinearMap.opNorm_le_bound _ zero_le_one (by intro x; simp)
115 calc
116 ‖(1 : H →L[ℂ] H)‖ * traceNorm T.1 T.2 * ‖O‖ ≤
117 1 * traceNorm T.1 T.2 * ‖O‖ :=
118 mul_le_mul_of_nonneg_right
119 (mul_le_mul_of_nonneg_right h1 (traceNorm_nonneg _ _)) (norm_nonneg _)
120 _ = _ := by ring)
121
122/-- The continuous trace pairing of a trace-class operator with bounded observables. -/
123def tracePairing (T : TraceClass H) : (H →L[ℂ] H) →L[ℂ] ℂ :=
124 traceCLM.comp (traceClassRightMultiply T)
125
126lemma trace_rankOne_general (x y : H) :
127 trace (InnerProductSpace.rankOne ℂ x y) (isTraceClass_rankOne x y) = ⟪y, x⟫_ℂ := by
128 obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
129 rw [trace_eq_of_hilbertBasis _ b]
130 simpa only [InnerProductSpace.rankOne_apply, inner_smul_right] using
131 b.tsum_inner_mul_inner y x
132
133lemma tracePairing_rankOne (T : TraceClass H) (x y : H) :
134 tracePairing T (InnerProductSpace.rankOne ℂ x y) = ⟪y, T.1 x⟫_ℂ := by
135 have heq : traceClassRightMultiply T (InnerProductSpace.rankOne ℂ x y) =
136 rankOneOperator (T.1 x) y := by
137 apply Subtype.ext
138 change T.1 * InnerProductSpace.rankOne ℂ x y = InnerProductSpace.rankOne ℂ (T.1 x) y
139 rw [ContinuousLinearMap.mul_def, InnerProductSpace.comp_rankOne]
140 change traceCLM (traceClassRightMultiply T (InnerProductSpace.rankOne ℂ x y)) = _
141 rw [heq]
142 exact trace_rankOne_general _ _
143
144/-- The normal-part trace pairing agrees with the original functional on every rank one. -/
145lemma normalPart_tracePairing_rankOne (f : (H →L[ℂ] H) →L[ℂ] ℂ)
146 (hf : ∀ A, 0 ≤ A → 0 ≤ f A) (x y : H) :
147 tracePairing (normalPart f hf) (InnerProductSpace.rankOne ℂ x y) =
148 f (InnerProductSpace.rankOne ℂ x y) := by
149 rw [tracePairing_rankOne]
150 exact normalPart_inner f x y
151
152/-- Strong basis projections converge uniformly on every compact set of vectors. -/
153lemma basisProjection_tendstoUniformlyOn {ι : Type*} (b : HilbertBasis ι ℂ H)
154 {S : Set H} (hS : IsCompact S) :
155 TendstoUniformlyOn (fun s : Finset ι => basisProjection b s) (fun x => x) atTop S := by
156 classical
157 rw [Metric.tendstoUniformlyOn_iff]
158 intro ε hε
159 obtain ⟨t, htS, ht, hcover⟩ := hS.finite_cover_balls (show 0 < ε / 3 by positivity)
160 have hevent : ∀ᶠ s : Finset ι in atTop, ∀ y ∈ t, dist (basisProjection b s y) y < ε / 3 := by
161 rw [ht.eventually_all]
162 intro y _
163 exact (Metric.tendsto_nhds.mp (basisProjection_tendsto b y)) _ (by positivity)
164 filter_upwards [hevent] with s hs
165 intro x hx
166 obtain ⟨y, hy, hxy⟩ : ∃ y ∈ t, dist x y < ε / 3 := by
167 simpa only [Set.mem_iUnion, Metric.mem_ball, exists_prop] using hcover hx
168 have hcon : dist (basisProjection b s y) (basisProjection b s x) ≤ dist y x := by
169 rw [dist_eq_norm, ← map_sub, dist_eq_norm]
170 calc
171 ‖basisProjection b s (y - x)‖ ≤ ‖basisProjection b s‖ * ‖y - x‖ :=
172 (basisProjection b s).le_opNorm _
173 _ ≤ 1 * ‖y - x‖ := mul_le_mul_of_nonneg_right
174 (basisProjection_isStarProjection b s).norm_le (norm_nonneg _)
175 _ = ‖y - x‖ := one_mul _
176 have hnet := hs y hy
177 have htri := dist_triangle x y (basisProjection b s x)
178 have htri' := dist_triangle y (basisProjection b s y) (basisProjection b s x)
179 rw [dist_comm y x] at hcon
180 rw [dist_comm (basisProjection b s y) y] at hnet
181 linarith
182
183/-- Every compact observable is approximated in operator norm by finite-basis
184range truncations. Compactness, rather than a finite-rank density premise, is used. -/
185lemma basisProjection_mul_tendsto {ι : Type*} (b : HilbertBasis ι ℂ H)
186 (K : H →L[ℂ] H) (hK : IsCompactOperator K) :
187 Tendsto (fun s : Finset ι => basisProjection b s * K) atTop (𝓝 K) := by
188 have hc : IsCompact (closure (K '' Metric.closedBall (0 : H) 1)) :=
189 hK.isCompact_closure_image_closedBall 1
190 have hu := Metric.tendstoUniformlyOn_iff.mp (basisProjection_tendstoUniformlyOn b hc)
191 rw [Metric.tendsto_nhds]
192 intro ε hε
193 filter_upwards [hu (ε / 2) (by positivity)] with s hs
194 rw [dist_eq_norm]
195 apply lt_of_le_of_lt (b := ε / 2)
196 · apply ContinuousLinearMap.opNorm_le_of_unit_norm (by positivity)
197 intro x hx
198 have hmem : K x ∈ closure (K '' Metric.closedBall (0 : H) 1) :=
199 subset_closure ⟨x, by simp [Metric.mem_closedBall, dist_zero_right, hx], rfl⟩
200 have h := hs (K x) hmem
201 change ‖basisProjection b s (K x) - K x‖ ≤ ε / 2
202 rw [dist_eq_norm, norm_sub_rev] at h
203 exact h.le
204 · linarith
205
206lemma basisProjection_mul_eq_sum_rankOne {ι : Type*} (b : HilbertBasis ι ℂ H)
207 (s : Finset ι) (K : H →L[ℂ] H) :
208 basisProjection b s * K = ∑ i ∈ s, InnerProductSpace.rankOne ℂ (b i) (K.adjoint (b i)) := by
209 simp only [basisProjection, Finset.sum_mul, ContinuousLinearMap.mul_def,
210 InnerProductSpace.rankOne_comp]
211
212/-- The reconstructed trace-class operator agrees with the original bounded
213positive functional on every compact observable. -/
214theorem normalPart_tracePairing_compact (f : (H →L[ℂ] H) →L[ℂ] ℂ)
215 (hf : ∀ A, 0 ≤ A → 0 ≤ f A) (K : H →L[ℂ] H) (hK : IsCompactOperator K) :
216 tracePairing (normalPart f hf) K = f K := by
217 obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
218 have heq (s : Finset w) :
219 tracePairing (normalPart f hf) (basisProjection b s * K) = f (basisProjection b s * K) := by
220 rw [basisProjection_mul_eq_sum_rankOne]
221 simp only [map_sum, normalPart_tracePairing_rankOne]
222 have hl := (tracePairing (normalPart f hf)).continuous.tendsto K |>.comp
223 (basisProjection_mul_tendsto b K hK)
224 have hr := f.continuous.tendsto K |>.comp (basisProjection_mul_tendsto b K hK)
225 simp only [Function.comp_def, heq] at hl
226 exact tendsto_nhds_unique hl hr
227
228end
229end Cloning.InfiniteTraceClass