Offline · exact source
Exact Lean source

InfiniteTraceClassSeries

formalization/Cloning/InfiniteTraceClassSeries.lean

Source hash: 98ba76a09434c6054748d723ba1d287be5038c20bfdc114f6f6998149a3eb2c0

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.InfiniteTraceClassAlgebra
2import Cloning.InfiniteDensityState
3import Cloning.CountableScheffe
4import Mathlib.Analysis.Normed.Group.InfiniteSum
5import Mathlib.Analysis.CStarAlgebra.ContinuousFunctionalCalculus.Order
6 
7/-!
8# Infinite mixtures in the actual trace-class Banach space
9 
10The analytic trace and inclusion into bounded operators are continuous linear
11maps. Summable mixtures of unit-vector projectors therefore define genuine
12trace-class operators. Their trace-norm variation is bounded by the ℓ¹ variation
13of the coefficients, linking countable occupation laws to quantum states.
14-/
15 
16namespace Cloning.InfiniteTraceClass
17 
18set_option backward.isDefEq.respectTransparency false
19 
20noncomputable section
21open scoped ComplexOrder InnerProductSpace Topology BigOperators
22open Filter
23 
24variable {H : Type*} [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
25 
26theorem norm_trace_le_traceNorm {T : H →L[ℂ] H} (hT : IsTraceClass T) :
27    ‖trace T hT‖ ≤ traceNorm T hT := by
28  obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ H
29  rw [trace_eq_of_hilbertBasis hT b]
30  have hs := summable_trace_diagonal_of_isTraceClass hT b
31  calc
32    ‖∑' i : w, ⟪b i, T (b i)⟫_ℂ‖ ≤ ∑' i : w, ‖⟪b i, T (b i)⟫_ℂ‖ :=
33      norm_tsum_le_tsum_norm hs.norm
34    _ ≤ traceNorm T hT := by
35      simpa using tsum_norm_inner_contraction_le_traceNorm hT
36        (W := (1 : H →L[ℂ] H)) (ContinuousLinearMap.opNorm_le_bound _ zero_le_one (by intro x; simp)) b
37 
38/-- The analytic trace as a continuous complex-linear functional. -/
39def traceCLM : TraceClass H →L[ℂ] ℂ :=
40  LinearMap.mkContinuous
41    { toFun := fun T => trace T.1 T.2
42      map_add' := fun S T => trace_add S.2 T.2
43      map_smul' := fun c T => trace_smul c T.2 }
44    1 (fun T => by simpa using norm_trace_le_traceNorm T.2)
45 
46theorem traceCLM_apply (T : TraceClass H) : traceCLM T = trace T.1 T.2 := rfl
47 
48/-- The trace norm continuously dominates the bounded-operator norm. -/
49def inclusionCLM : TraceClass H →L[ℂ] (H →L[ℂ] H) :=
50  LinearMap.mkContinuous
51    { toFun := fun T => T.1
52      map_add' := fun _ _ => rfl
53      map_smul' := fun _ _ => rfl }
54    1 (fun T => by simpa using opNorm_le_traceNorm T.2)
55 
56theorem inclusionCLM_apply (T : TraceClass H) : inclusionCLM T = T.1 := rfl
57 
58/-- A rank-one projector as an element of the trace-class Banach space. -/
59def vectorProjector (x : H) : TraceClass H :=
60  TraceClass.ofOperator (InnerProductSpace.rankOne ℂ x x) (isTraceClass_rankOne_self x)
61 
62theorem norm_vectorProjector (x : H) : ‖vectorProjector x‖ = ‖x‖ ^ 2 :=
63  traceNorm_rankOne_self x
64 
65theorem traceCLM_vectorProjector (x : H) :
66    traceCLM (vectorProjector x) = (‖x‖ ^ 2 : ℝ) := trace_rankOne_self x
67 
68variable {ι : Type*}
69 
70theorem norm_weighted_projector (x : H) (hx : ‖x‖ = 1) (a : ℝ) :
71    ‖(a : ℂ) • vectorProjector x‖ = |a| := by
72  rw [norm_smul, norm_vectorProjector, hx]
73  simp
74 
75theorem summable_weighted_projectors (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
76    (p : ι → ℝ) (hp : Summable p) :
77    Summable (fun i => (p i : ℂ) • vectorProjector (x i)) := by
78  apply Summable.of_norm
79  simpa only [norm_weighted_projector _ (hx _) _, Real.norm_eq_abs] using hp.norm
80 
81/-- The mixture is a series in the trace norm, not just a formal diagonal. -/
82def vectorMixture (x : ι → H) (p : ι → ℝ) : TraceClass H :=
83  ∑' i, (p i : ℂ) • vectorProjector (x i)
84 
85theorem traceCLM_vectorMixture (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
86    (p : ι → ℝ) (hp : Summable p) :
87    traceCLM (vectorMixture x p) = ((∑' i, p i : ℝ) : ℂ) := by
88  rw [vectorMixture, ContinuousLinearMap.map_tsum _ (summable_weighted_projectors x hx p hp)]
89  simp only [map_smul, traceCLM_vectorProjector, hx, one_pow, Complex.ofReal_one,
90    smul_eq_mul, mul_one]
91  exact (Complex.hasSum_ofReal.mpr hp.hasSum).tsum_eq
92 
93theorem vectorMixture_nonneg (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
94    (p : ι → ℝ) (hp : Summable p) (hp0 : ∀ i, 0 ≤ p i) :
95    0 ≤ (vectorMixture x p).1 := by
96  change 0 ≤ inclusionCLM (vectorMixture x p)
97  rw [vectorMixture, ContinuousLinearMap.map_tsum _ (summable_weighted_projectors x hx p hp)]
98  apply tsum_nonneg
99  intro i
100  change 0 ≤ (p i : ℂ) • InnerProductSpace.rankOne ℂ (x i) (x i)
101  have hcast : (p i : ℂ) • InnerProductSpace.rankOne ℂ (x i) (x i) =
102      p i • InnerProductSpace.rankOne ℂ (x i) (x i) := by
103    ext y
104    simp only [ContinuousLinearMap.smul_apply, RCLike.real_smul_eq_coe_smul (K := ℂ)]
105    rfl
106  rw [hcast]
107  exact smul_nonneg (hp0 i)
108    ((InnerProductSpace.rankOne ℂ (x i) (x i)).nonneg_iff_isPositive.mpr
109      (InnerProductSpace.isPositive_rankOne_self (x i)))
110 
111/-- A normalized nonnegative law gives an actual analytic density operator. -/
112def DensityState.vectorMixture (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
113    (p : ι → ℝ) (hp0 : ∀ i, 0 ≤ p i) (hp : HasSum p 1) : DensityState H where
114  op := (Cloning.InfiniteTraceClass.vectorMixture x p).1
115  positive := vectorMixture_nonneg x hx p hp.summable hp0
116  traceClass := (Cloning.InfiniteTraceClass.vectorMixture x p).2
117  trace_one := by
118    change traceCLM (Cloning.InfiniteTraceClass.vectorMixture x p) = 1
119    rw [traceCLM_vectorMixture x hx p hp.summable, hp.tsum_eq]
120    simp
121 
122theorem vectorMixture_sub (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
123    (p q : ι → ℝ) (hp : Summable p) (hq : Summable q) :
124    vectorMixture x p - vectorMixture x q = vectorMixture x (p - q) := by
125  rw [vectorMixture, vectorMixture, ← (summable_weighted_projectors x hx p hp).tsum_sub
126    (summable_weighted_projectors x hx q hq)]
127  apply tsum_congr
128  intro i
129  simp [sub_smul]
130 
131theorem norm_vectorMixture_le (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
132    (p : ι → ℝ) (hp : Summable p) :
133    ‖vectorMixture x p‖ ≤ ∑' i, |p i| := by
134  have hs : Summable (fun i => ‖(p i : ℂ) • vectorProjector (x i)‖) := by
135    simpa only [norm_weighted_projector _ (hx _) _, Real.norm_eq_abs] using hp.norm
136  simpa only [vectorMixture, norm_weighted_projector _ (hx _) _] using
137    norm_tsum_le_tsum_norm hs
138 
139theorem norm_vectorMixture_sub_le_l1 (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
140    (p q : ι → ℝ) (hp : Summable p) (hq : Summable q) :
141    ‖vectorMixture x p - vectorMixture x q‖ ≤ CountableScheffe.l1Distance p q := by
142  rw [vectorMixture_sub x hx p q hp hq]
143  exact norm_vectorMixture_le x hx (p - q) (hp.sub hq)
144 
145theorem vectorMixture_tendsto_of_pointwise (x : ι → H) (hx : ∀ i, ‖x i‖ = 1)
146    (p : ℕ → ι → ℝ) (q : ι → ℝ)
147    (hp : ∀ n i, 0 ≤ p n i) (hq : ∀ i, 0 ≤ q i)
148    (hp_sum : ∀ n, HasSum (p n) 1) (hq_sum : HasSum q 1)
149    (hlim : ∀ i, Tendsto (fun n => p n i) atTop (𝓝 (q i))) :
150    Tendsto (fun n => vectorMixture x (p n)) atTop (𝓝 (vectorMixture x q)) := by
151  apply tendsto_iff_norm_sub_tendsto_zero.mpr
152  exact squeeze_zero (fun _ => norm_nonneg _)
153    (fun n => norm_vectorMixture_sub_le_l1 x hx (p n) q
154      (hp_sum n).summable hq_sum.summable)
155    (CountableScheffe.discrete_scheffe p q hp hq hp_sum hq_sum hlim)
156 
157end
158end Cloning.InfiniteTraceClass