Offline · exact source
Exact Lean source

WeylChannel

formalization/Cloning/WeylChannel.lean

Source hash: 0efc9c94856adf62ce72f436258804b5fcb95536f641d245aab7db3a59cd2a21

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.WeylContinuity
2import Cloning.InfiniteIsometricChannel
3import Mathlib.Analysis.Normed.Group.Tannery
4 
5/-! Genuine trace-class Weyl conjugations: CPTP realization, exact coherent
6translation, and continuity in the actual trace norm. -/
7 
8noncomputable section
9open scoped ComplexOrder InnerProductSpace Topology BigOperators
10open Filter
11 
12namespace Cloning.ComplexCoherent
13open Cloning.InfiniteTraceClass
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 800000
16 
17@[simp] theorem displacement_adjoint (a : ℂ) :
18    (displacement a).adjoint = displacement (-a) :=
19  (weylUnitary a).adjoint_eq_symm
20 
21/-- The physical displacement as a genuine infinite-dimensional CPTP map. -/
22def displacementChannel (a : ℂ) : QuantumChannel Fock Fock :=
23  QuantumChannel.ofIsometry (weylUnitary a).toLinearIsometry
24 
25/-- The same conjugation as a continuous map for the trace norm. -/
26def displacementTraceMap (a : ℂ) : TraceClass Fock →L[ℂ] TraceClass Fock :=
27  sandwichCLM (displacement a) (displacement (-a))
28 
29theorem displacementTraceMap_eq_channel (a : ℂ) (A : TraceClass Fock) :
30    displacementTraceMap a A = (displacementChannel a).toLinearMap A := by
31  apply Subtype.ext
32  ext v : 1
33  change displacement a (A.1 (displacement (-a) v)) =
34    displacement a (A.1 ((displacement a).adjoint v))
35  rw [displacement_adjoint]
36 
37@[simp] theorem displacementTraceMap_vectorProjector (a : ℂ) (v : Fock) :
38    displacementTraceMap a (vectorProjector v) = vectorProjector (displacement a v) := by
39  rw [displacementTraceMap_eq_channel]
40  exact QuantumChannel.ofIsometry_vectorProjector (weylUnitary a).toLinearIsometry v
41 
42lemma vectorProjector_phase (c : ℂ) (hc : ‖c‖ = 1) (v : Fock) :
43    vectorProjector (c • v) = vectorProjector v := by
44  apply Subtype.ext
45  ext y : 1
46  change ⟪c • v, y⟫_ℂ • (c • v) = ⟪v, y⟫_ℂ • v
47  rw [inner_smul_left, smul_smul]
48  have h : starRingEnd ℂ c * c = 1 := by
49    rw [← Complex.normSq_eq_conj_mul_self, Complex.normSq_eq_norm_sq, hc]
50    norm_num
51  rw [mul_assoc, mul_comm ⟪v, y⟫_ℂ c, ← mul_assoc, h, one_mul]
52 
53/-- Coherent density matrices transform by literal phase-space translation. -/
54theorem displacementTraceMap_coherentProjector (a z : ℂ) :
55    displacementTraceMap a (coherentProjector z) = coherentProjector (a + z) := by
56  change displacementTraceMap a (vectorProjector (coherentVector z)) = _
57  rw [displacementTraceMap_vectorProjector, displacement_coherentVector,
58    vectorProjector_phase _ (displacementPhase_norm a z)]
59  rfl
60 
61@[simp] theorem displacementTraceMap_neg_cancel (a : ℂ) (A : TraceClass Fock) :
62    displacementTraceMap (-a) (displacementTraceMap a A) = A := by
63  apply Subtype.ext
64  ext v : 1
65  change displacement (-a) (displacement a
66    (A.1 (displacement (-a) (displacement (-(-a)) v)))) = A.1 v
67  simp
68 
69lemma displacement_opNorm_le (a : ℂ) : ‖displacement a‖ ≤ 1 :=
70  (displacement a).opNorm_le_bound zero_le_one (fun v => by simp [displacement_norm])
71 
72lemma displacementTraceMap_norm_le (a : ℂ) (A : TraceClass Fock) :
73    ‖displacementTraceMap a A‖ ≤ ‖A‖ := by
74  change traceNorm ((displacement a) * A.1 * (displacement (-a))) _ ≤ traceNorm A.1 A.2
75  calc
76    _ ≤ ‖displacement a‖ * traceNorm A.1 A.2 * ‖displacement (-a)‖ :=
77      traceNorm_mul_mul_le A.2 _
78    _ ≤ 1 * traceNorm A.1 A.2 * 1 :=
79      mul_le_mul (mul_le_mul_of_nonneg_right (displacement_opNorm_le a)
80        (traceNorm_nonneg _ _)) (displacement_opNorm_le (-a)) (norm_nonneg _)
81        (mul_nonneg zero_le_one (traceNorm_nonneg _ _))
82    _ = _ := by ring
83 
84/-- Unitary Weyl conjugation preserves trace norm for every trace-class
85operator, including nonself-adjoint inputs. -/
86theorem displacementTraceMap_norm (a : ℂ) (A : TraceClass Fock) :
87    ‖displacementTraceMap a A‖ = ‖A‖ := by
88  apply le_antisymm (displacementTraceMap_norm_le a A)
89  simpa using displacementTraceMap_norm_le (-a) (displacementTraceMap a A)
90 
91lemma displacementPhase_neg_swap (a b : ℂ) :
92    displacementPhase (-b) (-a) = starRingEnd ℂ (displacementPhase a b) := by
93  simp only [displacementPhase, ← Complex.exp_conj, map_div₀, map_sub, map_mul,
94    map_ofNat, map_neg, starRingEnd_self_apply]
95  congr 1
96  ring
97 
98/-- Scalar Weyl phases cancel in conjugation, giving an exact additive action
99on the entire trace class. -/
100theorem displacementTraceMap_add (a b : ℂ) (A : TraceClass Fock) :
101    displacementTraceMap a (displacementTraceMap b A) = displacementTraceMap (a + b) A := by
102  have hcomp (a b : ℂ) (v : Fock) : displacement a (displacement b v) =
103      displacementPhase a b • displacement (a + b) v := by
104    exact congrArg (fun T : Fock →L[ℂ] Fock => T v) (displacement_comp a b)
105  apply Subtype.ext
106  ext v : 1
107  change displacement a (displacement b (A.1 (displacement (-b) (displacement (-a) v)))) =
108    displacement (a + b) (A.1 (displacement (-(a + b)) v))
109  rw [hcomp, hcomp, displacementPhase_neg_swap]
110  simp only [map_smul, smul_smul]
111  have hp : displacementPhase a b * starRingEnd ℂ (displacementPhase a b) = 1 := by
112    rw [Complex.mul_conj, Complex.normSq_eq_norm_sq, displacementPhase_norm]
113    norm_num
114  rw [hp, one_smul]
115  rw [show -b + -a = -(a + b) by abel]
116 
117/-- Strong Hilbert-space continuity upgrades to trace-norm continuity on every
118positive trace-class input by the proved rank-one series and domination. -/
119theorem continuous_displacementTraceMap_of_nonneg (A : TraceClass Fock) (hA : 0 ≤ A.1) :
120    Continuous (fun a => displacementTraceMap a A) := by
121  obtain ⟨w, b, _⟩ := exists_hilbertBasis ℂ Fock
122  let v : w → Fock := fun i => CFC.sqrt A.1 (b i)
123  have hseries : HasSum (fun i => vectorProjector (v i)) A := positive_rankOne_series hA A.2 b
124  have hmass : Summable (fun i => ‖vectorProjector (v i)‖) :=
125    (positive_rankOne_mass hA A.2 b).summable
126  have hsum (a : ℂ) : (∑' i, vectorProjector (displacement a (v i))) =
127      displacementTraceMap a A := by
128    have h := hseries.mapL (displacementTraceMap a)
129    simpa only [displacementTraceMap_vectorProjector] using h.tsum_eq
130  apply continuous_iff_continuousAt.mpr
131  intro a
132  have hconv : Tendsto (fun a => ∑' i, vectorProjector (displacement a (v i))) (𝓝 a)
133      (𝓝 (∑' i, vectorProjector (displacement a (v i)))) := by
134    apply tendsto_tsum_of_dominated_convergence hmass
135    · intro i
136      exact vectorProjector_tendsto ((continuous_displacement (v i)).tendsto a)
137    · exact Eventually.of_forall (fun a i => by simp [norm_vectorProjector, displacement_norm])
138  simpa only [hsum] using hconv
139 
140/-- The physical Weyl action is trace-norm continuous on all trace-class
141operators, without any finite-energy or positivity restriction. -/
142theorem continuous_displacementTraceMap (A : TraceClass Fock) :
143    Continuous (fun a => displacementTraceMap a A) := by
144  have hself (B : TraceClass Fock) (hB : IsSelfAdjoint B.1) :
145      Continuous (fun a => displacementTraceMap a B) := by
146    have h := (continuous_displacementTraceMap_of_nonneg _ (TraceClass.positivePart_nonneg B hB)).sub
147      (continuous_displacementTraceMap_of_nonneg _ (TraceClass.negativePart_nonneg B hB))
148    simpa only [← map_sub, TraceClass.positivePart_sub_negativePart B hB] using h
149  have h := (hself _ (TraceClass.realComponent_isSelfAdjoint A)).add
150    ((continuous_const : Continuous (fun _ : ℂ => Complex.I)).smul
151      (hself _ (TraceClass.imaginaryComponent_isSelfAdjoint A)))
152  change Continuous (fun a => displacementTraceMap a (TraceClass.realComponent A) +
153    Complex.I • displacementTraceMap a (TraceClass.imaginaryComponent A)) at h
154  simpa only [← map_smul, ← map_add,
155    TraceClass.realComponent_add_I_smul_imaginaryComponent A] using h
156 
157end Cloning.ComplexCoherent