Exact Lean source
InfiniteFidelityBlockBound
formalization/Cloning/InfiniteFidelityBlockBound.lean
Source hash: 7df9e86a2a0060b46c7db7d0341dad5e21a4859ae6bdaef4ff2401cc03f66fe6
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
theorem
Cloning.InfiniteTraceClass.finite_block_posSemideftheorem Cloning.InfiniteTraceClass.sandwich_tendsto_of_strong_projections_selfAdjointtheorem Cloning.InfiniteTraceClass.sandwich_tendsto_of_strong_projections_alltheorem Cloning.InfiniteTraceClass.basis_sandwich_tendstotheorem Cloning.InfiniteFidelity.tendsto_fidelity_traceClasstheorem Cloning.InfiniteFidelity.trace_re_le_fidelity_of_block1import Cloning.InfiniteTraceClassCutoffConvergence
2import Cloning.InfiniteFidelityContinuity
3import Cloning.MatrixFidelityBlockBound
4import Cloning.InfiniteFiniteCorner
5
6/-!
7# Trace-class block bounds for root fidelity
8
9Finite-basis compressions reduce the block trace inequality to the matrix
10theorem. All limits below are in the actual analytic trace norm.
11-/
12
13namespace Cloning.InfiniteTraceClass
14
15noncomputable section
16set_option backward.isDefEq.respectTransparency false
17set_option maxHeartbeats 1000000
18open scoped ComplexOrder InnerProductSpace Topology BigOperators
19open Filter
20
21variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
22
23/-- Compressing a positive two-by-two operator quadratic form yields an
24actual positive finite block matrix. -/
25theorem finite_block_posSemidef {ι : Type*} [Fintype ι] [DecidableEq ι]
26 (v : ι → H) (A B X : TraceClass H) (hA : 0 ≤ A.1) (hB : 0 ≤ B.1)
27 (hblock : ∀ x y : H, 0 ≤ ⟪x, A.1 x⟫_ℂ + ⟪x, X.1 y⟫_ℂ +
28 ⟪y, (star X.1) x⟫_ℂ + ⟪y, B.1 y⟫_ℂ) :
29 (Matrix.fromBlocks
30 (fun i j => ⟪v i, A.1 (v j)⟫_ℂ)
31 (fun i j => ⟪v i, X.1 (v j)⟫_ℂ)
32 (Matrix.conjTranspose (fun i j => ⟪v i, X.1 (v j)⟫_ℂ))
33 (fun i j => ⟪v i, B.1 (v j)⟫_ℂ)).PosSemidef := by
34 apply Matrix.PosSemidef.of_dotProduct_mulVec_nonneg
35 · exact (matrixCoefficients_posSemidef hA v).isHermitian.fromBlocks rfl
36 (matrixCoefficients_posSemidef hB v).isHermitian
37 · intro z
38 have h := hblock (∑ i, z (Sum.inl i) • v i) (∑ i, z (Sum.inr i) • v i)
39 have hstar (i j : ι) : ⟪v i, (star X.1) (v j)⟫_ℂ = star ⟪v j, X.1 (v i)⟫_ℂ := by
40 rw [ContinuousLinearMap.star_eq_adjoint, ContinuousLinearMap.adjoint_inner_right]
41 exact (inner_conj_symm _ _).symm
42 have hform (T : H →L[ℂ] H) (c d : ι → ℂ) :
43 ⟪∑ i, c i • v i, T (∑ j, d j • v j)⟫_ℂ =
44 ∑ i, ∑ j, star (c i) * ⟪v i, T (v j)⟫_ℂ * d j := by
45 simp only [map_sum, map_smul, sum_inner, inner_sum, inner_smul_left,
46 inner_smul_right, Finset.mul_sum, starRingEnd_apply]
47 rw [Finset.sum_comm]
48 apply Finset.sum_congr rfl
49 intro i hi
50 apply Finset.sum_congr rfl
51 intro j hj
52 ring
53 simp only [hform, hstar] at h
54 simp only [dotProduct, Matrix.mulVec, Pi.star_apply, Fintype.sum_sum_type,
55 Matrix.fromBlocks_apply₁₁, Matrix.fromBlocks_apply₁₂,
56 Matrix.fromBlocks_apply₂₁, Matrix.fromBlocks_apply₂₂,
57 Matrix.conjTranspose_apply, Finset.mul_sum, Finset.sum_add_distrib,
58 mul_add, add_assoc]
59 simp only [mul_assoc, add_assoc] at h
60 convert h using 1
61 abel
62
63theorem sandwich_tendsto_of_strong_projections_selfAdjoint {α : Type*} {l : Filter α}
64 (P : α → H →L[ℂ] H) (hP : ∀ a, IsStarProjection (P a))
65 (hstrong : ∀ x : H, Tendsto (fun a => P a x) l (𝓝 x))
66 (A : TraceClass H) (hA : IsSelfAdjoint A.1) :
67 Tendsto (fun a => sandwichCLM (P a) (P a) A) l (𝓝 A) := by
68 have hp := sandwich_tendsto_of_strong_projections P hP hstrong
69 (TraceClass.positivePart A hA) (TraceClass.positivePart_nonneg A hA)
70 have hn := sandwich_tendsto_of_strong_projections P hP hstrong
71 (TraceClass.negativePart A hA) (TraceClass.negativePart_nonneg A hA)
72 simpa only [← map_sub, TraceClass.positivePart_sub_negativePart] using hp.sub hn
73
74/-- Compression converges for arbitrary trace-class inputs, including the
75off-diagonal entries of a positive operator block. -/
76theorem sandwich_tendsto_of_strong_projections_all {α : Type*} {l : Filter α}
77 (P : α → H →L[ℂ] H) (hP : ∀ a, IsStarProjection (P a))
78 (hstrong : ∀ x : H, Tendsto (fun a => P a x) l (𝓝 x))
79 (A : TraceClass H) :
80 Tendsto (fun a => sandwichCLM (P a) (P a) A) l (𝓝 A) := by
81 have hr := sandwich_tendsto_of_strong_projections_selfAdjoint P hP hstrong
82 (TraceClass.realComponent A) (TraceClass.realComponent_isSelfAdjoint A)
83 have hi := sandwich_tendsto_of_strong_projections_selfAdjoint P hP hstrong
84 (TraceClass.imaginaryComponent A) (TraceClass.imaginaryComponent_isSelfAdjoint A)
85 simpa only [← map_smul, ← map_add,
86 TraceClass.realComponent_add_I_smul_imaginaryComponent] using hr.add (hi.const_smul Complex.I)
87
88theorem basis_sandwich_tendsto {ι : Type*} (b : HilbertBasis ι ℂ H)
89 (A : TraceClass H) :
90 Tendsto (fun s : Finset ι => sandwichCLM (basisProjection b s) (basisProjection b s) A)
91 atTop (𝓝 A) :=
92 sandwich_tendsto_of_strong_projections_all _ (basisProjection_isStarProjection b)
93 (basisProjection_tendsto b) A
94
95end
96end Cloning.InfiniteTraceClass
97
98namespace Cloning.InfiniteFidelity
99
100noncomputable section
101set_option backward.isDefEq.respectTransparency false
102set_option maxHeartbeats 1000000
103open scoped ComplexOrder InnerProductSpace Topology BigOperators
104open Filter InfiniteTraceClass
105
106variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
107
108/-- Joint continuity in the trace-class topology follows from the proved
109dimension-independent trace-distance modulus. -/
110theorem tendsto_fidelity_traceClass {α : Type*} {l : Filter α}
111 (A B : α → TraceClass H) (C D : TraceClass H)
112 (hA : ∀ a, 0 ≤ (A a).1) (hB : ∀ a, 0 ≤ (B a).1)
113 (hC : 0 ≤ C.1) (hD : 0 ≤ D.1)
114 (hAC : Tendsto A l (𝓝 C)) (hBD : Tendsto B l (𝓝 D)) :
115 Tendsto (fun a => fidelity (A a).1 (B a).1 (hA a) (hB a) (A a).2 (B a).2) l
116 (𝓝 (fidelity C.1 D.1 hC hD C.2 D.2)) := by
117 have hAnorm : Tendsto (fun a => ‖A a - C‖) l (𝓝 0) :=
118 tendsto_iff_norm_sub_tendsto_zero.mp hAC
119 have hBnorm : Tendsto (fun a => ‖B a - D‖) l (𝓝 0) :=
120 tendsto_iff_norm_sub_tendsto_zero.mp hBD
121 have hBtrace : Tendsto (fun a => (trace (B a).1 (B a).2).re) l
122 (𝓝 (trace D.1 D.2).re) :=
123 Complex.continuous_re.continuousAt.tendsto.comp
124 (traceCLM.continuous.tendsto D |>.comp hBD)
125 have hbound : Tendsto (fun a => Real.sqrt ‖A a - C‖ *
126 Real.sqrt (trace (B a).1 (B a).2).re +
127 Real.sqrt ‖B a - D‖ * Real.sqrt (trace C.1 C.2).re) l (𝓝 0) := by
128 simpa using (hAnorm.sqrt.mul hBtrace.sqrt).add (hBnorm.sqrt.mul_const _)
129 apply tendsto_iff_norm_sub_tendsto_zero.mpr
130 apply squeeze_zero (fun _ => norm_nonneg _) _ hbound
131 intro a
132 simpa only [Real.norm_eq_abs] using fidelity_continuity
133 (hA a) (hB a) hC hD (A a).2 (B a).2 C.2 D.2
134
135/-- The real trace of an off-diagonal entry of a positive trace-class block
136is at most the actual root fidelity of its diagonal entries. Finite corners
137are proved positive and the matrix bound is passed to the trace-norm limit. -/
138theorem trace_re_le_fidelity_of_block (A B X : TraceClass H)
139 (hA : 0 ≤ A.1) (hB : 0 ≤ B.1)
140 (hblock : ∀ x y : H, 0 ≤ ⟪x, A.1 x⟫_ℂ + ⟪x, X.1 y⟫_ℂ +
141 ⟪y, (star X.1) x⟫_ℂ + ⟪y, B.1 y⟫_ℂ) :
142 (traceCLM X).re ≤ fidelity A.1 B.1 hA hB A.2 B.2 := by
143 classical
144 obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
145 let P := fun s : Finset w => basisProjection b s
146 let compress := fun (s : Finset w) (T : TraceClass H) => sandwichCLM (P s) (P s) T
147 have hpos (s : Finset w) (T : TraceClass H) (hT : 0 ≤ T.1) :
148 0 ≤ (compress s T).1 :=
149 sandwichCLM_nonneg (basisProjection_isStarProjection b s).isSelfAdjoint T hT
150 have htrace : Tendsto (fun s : Finset w => (traceCLM (compress s X)).re) atTop
151 (𝓝 (traceCLM X).re) :=
152 Complex.continuous_re.continuousAt.tendsto.comp
153 (traceCLM.continuous.tendsto X |>.comp (basis_sandwich_tendsto b X))
154 have hfid := tendsto_fidelity_traceClass (fun s => compress s A) (fun s => compress s B)
155 A B (fun s => hpos s A hA) (fun s => hpos s B hB) hA hB
156 (basis_sandwich_tendsto b A) (basis_sandwich_tendsto b B)
157 apply le_of_tendsto_of_tendsto htrace hfid
158 apply Eventually.of_forall
159 intro s
160 let v : s → H := fun i => b i
161 have hv : Orthonormal ℂ v := InfiniteFiniteCorner.basisFamily_orthonormal b s
162 have hMA := InfiniteFiniteCorner.matrixOf_posSemidef v hA
163 have hMB := InfiniteFiniteCorner.matrixOf_posSemidef v hB
164 have hfinite := MatrixFidelity.trace_re_le_fidelity_of_block_posSemidef
165 (finite_block_posSemidef v A B X hA hB hblock)
166 have eX : traceCLM (compress s X) =
167 Matrix.trace (InfiniteFiniteCorner.matrixOf v X.1) := by
168 simpa only [v, compress, P, InfiniteFiniteCorner.ofMatrix_matrixOf_basis, traceCLM_apply,
169 sandwichCLM_coe] using InfiniteFiniteCorner.trace_ofMatrix hv
170 (InfiniteFiniteCorner.matrixOf v X.1)
171 have eF : fidelity (compress s A).1 (compress s B).1 (hpos s A hA) (hpos s B hB)
172 (compress s A).2 (compress s B).2 =
173 MatrixFidelity.fidelity (InfiniteFiniteCorner.matrixOf v A.1)
174 (InfiniteFiniteCorner.matrixOf v B.1) := by
175 simpa only [v, compress, P, InfiniteFiniteCorner.ofMatrix_matrixOf_basis, sandwichCLM_coe] using
176 InfiniteFiniteCorner.fidelity_ofMatrix hv hMA hMB
177 change (traceCLM (compress s X)).re ≤ fidelity (compress s A).1 (compress s B).1
178 (hpos s A hA) (hpos s B hB) (compress s A).2 (compress s B).2
179 rw [eX, eF]
180 exact hfinite
181
182end
183end Cloning.InfiniteFidelity