Offline · exact source
Exact Lean source

PCTGaussianAssembly

formalization/Cloning/PCTGaussianAssembly.lean

Source hash: e1964ea6bfe7f97bd8b0f5c8e7c006adba8afd886e00ab321a0aef593bfca7cd

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.PCTPhysicalWerner
2 
3/-! Frame-independent physical purification-cloning-tracing and its Gaussian
4reduced-product mixture. Environmental probability/Haar randomization cancels
5exactly, and the trace-norm limit starts from Werner's literal sandwich. -/
6noncomputable section
7open scoped BigOperators InnerProductSpace ComplexOrder Topology
8open Filter MeasureTheory Cloning.InfiniteTraceClass
9namespace Cloning.PCT
10open GeneralSymmetricOccupation GeneralCoherent
11set_option maxHeartbeats 1500000
12set_option backward.isDefEq.respectTransparency false
13set_option linter.unusedSectionVars false
14variable {C : Type*} [Fintype C] [DecidableEq C]
15 
16theorem fullFrame_of_orthonormal {s : ℕ} (hcard : Fintype.card C = s + 1)
17    {u : Fin (s + 1) → Register C} (hu : Orthonormal ℂ u) :
18    ∃ b : OrthonormalBasis (Fin (s + 1)) ℂ (Register C), (b : Fin (s + 1) → Register C) = u := by
19  letI : FiniteDimensional ℂ (Register C) :=
20    (registerBasis C).toOrthonormalBasis.toBasis.finiteDimensional_of_finite
21  have hc : Module.finrank ℂ (Register C) = Fintype.card (Fin (s + 1)) := by
22    rw [Module.finrank_eq_card_basis (registerBasis C).toOrthonormalBasis.toBasis]
23    simpa using hcard
24  have hv : Orthonormal ℂ ((Set.univ : Set (Fin (s + 1))).restrict u) :=
25    hu.comp _ Subtype.val_injective
26  obtain ⟨b, hb⟩ := hv.exists_orthonormalBasis_extension_of_card_eq hc
27  exact ⟨b, funext fun i => hb i (Set.mem_univ i)⟩
28 
29/-- Werner's original physical output on a pure tensor input, defined using
30only the input vector and the canonical physical symmetric projector. -/
31def pureWernerOperator {L : ℕ} (s : ℕ) (ψ : Register C) (S : Finset (Fin L)) :
32    Register (Fin L → C) →L[ℂ] Register (Fin L → C) :=
33  (((Nat.choose (S.card + s) s : ℝ) / Nat.choose (L + s) s : ℝ) : ℂ) •
34    (physicalProjector L * pureSlotsOperator ψ S * physicalProjector L)
35 
36theorem pureWernerOperator_traceClass {L s : ℕ} (hcard : Fintype.card C = s + 1)
37    (ψ : Register C) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L)) :
38    IsTraceClass (pureWernerOperator s ψ S) := by
39  obtain ⟨b, hb⟩ := exists_purification_frame hcard ψ hψ
40  have he := wernerOutput_physical_purification b S
41  rw [hb] at he
42  change IsTraceClass (_ • _)
43  rw [← he]
44  exact ((QuantumChannel.ofIsometry (tensorFrame b.orthonormal L)).toLinearMap
45    (wernerOutput (s := s) S)).2
46 
47def pureWernerOutput {L s : ℕ} (hcard : Fintype.card C = s + 1)
48    (ψ : Register C) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L)) : TraceClass (Register (Fin L → C)) :=
49  TraceClass.ofOperator (pureWernerOperator s ψ S) (pureWernerOperator_traceClass hcard ψ hψ S)
50 
51theorem pureWernerOutput_eq_frame {L s : ℕ} (hcard : Fintype.card C = s + 1)
52    {u : Fin (s + 1) → Register C} (hu : Orthonormal ℂ u) (S : Finset (Fin L)) :
53    pureWernerOutput hcard (u 0) (hu.norm_eq_one 0) S =
54      (QuantumChannel.ofIsometry (tensorFrame hu L)).toLinearMap (wernerOutput (s := s) S) := by
55  obtain ⟨b, hb⟩ := fullFrame_of_orthonormal hcard hu
56  cases hb
57  apply Subtype.ext
58  exact (wernerOutput_physical_purification b S).symm
59 
60variable {A B : Type*} [Fintype A] [Fintype B] [DecidableEq A] [DecidableEq B]
61 
62/-- The actual one-particle reduced density matrix of a purification. -/
63def reducedDensityMatrix (ψ : Register (A × B)) : Matrix A A ℂ :=
64  fun a c => ∑ b, ψ (a, b) * star (ψ (c, b))
65 
66/-- A literal tensor power of a finite matrix, lifted to the physical
67trace-class space in its computational word basis. -/
68def matrixTensorPower (ρ : Matrix A A ℂ) (L : ℕ) : TraceClass (Register (Fin L → A)) :=
69  InfiniteFiniteCorner.matrixLift (registerBasis (Fin L → A))
70    (fun a c => ∏ i, ρ (a i) (c i))
71 
72theorem partialTrace_product_eq_matrixTensorPower (ψ : Register (A × B)) (L : ℕ) :
73    partialTraceChannel.toLinearMap (vectorProjector
74      (regroup L (tensorVector (fun _ : Fin L => ψ)))) =
75      matrixTensorPower (reducedDensityMatrix ψ) L := by
76  apply Subtype.ext
77  apply register_operator_ext
78  intro a c
79  rw [reduced_product_coefficient]
80  have he := InfiniteFiniteCorner.matrixOf_ofMatrix (registerBasis (Fin L → A)).orthonormal
81    (fun a c => ∏ i, reducedDensityMatrix ψ (a i) (c i))
82  have h := congrArg (fun M => M a c) he
83  simpa only [InfiniteFiniteCorner.matrixOf, registerBasis_apply, register_inner_single,
84    reducedDensityMatrix, matrixTensorPower, InfiniteFiniteCorner.ofMatrix] using h.symm
85 
86/-- Trace every purifying-register slot out of the frame-independent physical
87Werner output. -/
88def reducedWernerOutput {L s : ℕ} (hcard : Fintype.card (A × B) = s + 1)
89    (ψ : Register (A × B)) (hψ : ‖ψ‖ = 1) (S : Finset (Fin L)) :
90    TraceClass (Register (Fin L → A)) :=
91  partialTraceChannel.toLinearMap
92    ((QuantumChannel.ofIsometry (regroup L)).toLinearMap (pureWernerOutput hcard ψ hψ S))
93 
94theorem reducedWernerOutput_eq_frame {L s : ℕ} (hcard : Fintype.card (A × B) = s + 1)
95    {u : Fin (s + 1) → Register (A × B)} (hu : Orthonormal ℂ u) (S : Finset (Fin L)) :
96    reducedWernerOutput hcard (u 0) (hu.norm_eq_one 0) S =
97      (reducedTensorChannel hu L).toLinearMap (wernerOutput (s := s) S) := by
98  unfold reducedWernerOutput
99  rw [pureWernerOutput_eq_frame hcard hu]
100  rfl
101 
102theorem environmentRotate_norm (W : Register B →ₗᵢ[ℂ] Register B) (ψ : Register (A × B)) :
103    ‖environmentRotate W ψ‖ = ‖ψ‖ := by
104  rw [norm_eq_sqrt_re_inner (𝕜 := ℂ), environmentRotate_inner,
105    ← norm_eq_sqrt_re_inner (𝕜 := ℂ)]
106 
107/-- Exact cancellation of an arbitrary environment unitary in the original
108physical symmetric-sandwich output, with no chosen-frame premise. -/
109theorem reducedWernerOutput_environment_invariant {L s : ℕ}
110    (hcard : Fintype.card (A × B) = s + 1) (ψ : Register (A × B)) (hψ : ‖ψ‖ = 1)
111    (W : Register B →ₗᵢ[ℂ] Register B) (S : Finset (Fin L)) :
112    reducedWernerOutput hcard (environmentRotate W ψ) ((environmentRotate_norm W ψ).trans hψ) S =
113      reducedWernerOutput hcard ψ hψ S := by
114  obtain ⟨u, hu⟩ := exists_purification_frame hcard ψ hψ
115  subst ψ
116  rw [reducedWernerOutput_eq_frame hcard (environmentRotate_orthonormal u.orthonormal W),
117    reducedWernerOutput_eq_frame hcard u.orthonormal]
118  exact werner_reduced_environment_invariant u.orthonormal W S
119 
120/-- The reduced output of random purification, cloning, and tracing: the
121physical Werner formula is evaluated on every randomized purification. -/
122def randomizedPurificationOutput {L s : ℕ} (hcard : Fintype.card (A × B) = s + 1)
123    (ψ : Register (A × B)) (hψ : ‖ψ‖ = 1)
124    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω)
125    (W : Ω → Register B →ₗᵢ[ℂ] Register B) (S : Finset (Fin L)) :
126    TraceClass (Register (Fin L → A)) :=
127  ∫ t, reducedWernerOutput hcard (environmentRotate (W t) ψ)
128    ((environmentRotate_norm (W t) ψ).trans hψ) S ∂μ
129 
130/-- Haar removal is exact for the frame-independent physical output; this
131holds for every probability randomization, a stronger statement than Haar. -/
132theorem randomizedPurificationOutput_eq {L s : ℕ} (hcard : Fintype.card (A × B) = s + 1)
133    (ψ : Register (A × B)) (hψ : ‖ψ‖ = 1)
134    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
135    (W : Ω → Register B →ₗᵢ[ℂ] Register B) (S : Finset (Fin L)) :
136    randomizedPurificationOutput hcard ψ hψ μ W S = reducedWernerOutput hcard ψ hψ S := by
137  unfold randomizedPurificationOutput
138  have he (t : Ω) := reducedWernerOutput_environment_invariant hcard ψ hψ (W t) S
139  simp_rw [he]
140  simp
141 
142/-- The manuscript's physical PCT-to-Gaussian-mixture step. It starts with the
143canonical physical Werner sandwich on randomized purifications, traces all
144environment slots, and ends at the actual mixture of reduced tensor powers.
145No covariance, frame existence, occupation limit, or integrability premise is
146assumed; only the physical dimensions, unit vector, and cloning-ratio limit. -/
147theorem randomizedPurification_gaussian_product_mixture {s : ℕ} (hs : 1 ≤ s)
148    (hcard : Fintype.card (A × B) = s + 1)
149    (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × B)))
150    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
151    (W : Ω → Register B →ₗᵢ[ℂ] Register B)
152    (m : ℕ → ℕ) (hm : ∀ n, n ≤ m n) {γ : ℝ} (hγ : 1 < γ)
153    (h : Tendsto (fun n ↦ (m n : ℝ) / n) atTop (𝓝 γ)) :
154    Tendsto (fun n => ‖randomizedPurificationOutput hcard (u 0) (u.orthonormal.norm_eq_one 0)
155      μ W (inputSlots n (m n) (hm n)) -
156      ∫ z, partialTraceChannel.toLinearMap (vectorProjector
157        (regroup (m n) (tensorVector (fun _ : Fin (m n) => frameParticle u z (m n)))))
158        ∂MultimodeCoherentGaussianMixture.gaussianProductMeasure
159          (fun _ : Fin s => γ - 1)‖) atTop (𝓝 0) := by
160  simp only [randomizedPurificationOutput_eq, reducedWernerOutput_eq_frame hcard u.orthonormal]
161  exact werner_reduced_gaussian_product_mixture hs u.orthonormal m hm hγ h
162 
163/-- The physical randomized PCT output converges in trace norm to the mixture
164`∫ ρ_{z,m}^{⊗m} dμ_{γ-1}(z)`, with each `ρ_{z,m}` the actual partial trace of
165the normalized one-particle purification. The RHS consists of literal finite
166matrix tensor powers, not an assumed identification of limit models. -/
167theorem pct_product_mixture {s : ℕ} (hs : 1 ≤ s)
168    (hcard : Fintype.card (A × B) = s + 1)
169    (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × B)))
170    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
171    (W : Ω → Register B →ₗᵢ[ℂ] Register B)
172    (m : ℕ → ℕ) (hm : ∀ n, n ≤ m n) {γ : ℝ} (hγ : 1 < γ)
173    (h : Tendsto (fun n ↦ (m n : ℝ) / n) atTop (𝓝 γ)) :
174    Tendsto (fun n => ‖randomizedPurificationOutput hcard (u 0) (u.orthonormal.norm_eq_one 0)
175      μ W (inputSlots n (m n) (hm n)) -
176      ∫ z, matrixTensorPower (reducedDensityMatrix (frameParticle u z (m n))) (m n)
177        ∂MultimodeCoherentGaussianMixture.gaussianProductMeasure
178          (fun _ : Fin s => γ - 1)‖) atTop (𝓝 0) := by
179  simpa only [partialTrace_product_eq_matrixTensorPower] using
180    randomizedPurification_gaussian_product_mixture hs hcard u μ W m hm hγ h
181 
182theorem integrable_reduced_product_mixture {s : ℕ}
183    {u : Fin (s + 1) → Register (A × B)} (hu : Orthonormal ℂ u) (L : ℕ)
184    (ν : Measure (Fin s → ℂ)) [IsFiniteMeasure ν] :
185    Integrable (fun z => matrixTensorPower (reducedDensityMatrix (frameParticle u z L)) L) ν := by
186  have hi := (reducedTensorChannel hu L).toPositiveTracePreservingMap.toContinuousLinearMap.integrable_comp
187    (integrable_productProjector L ν)
188  change Integrable (fun z => (reducedTensorChannel hu L).toLinearMap
189    (vectorProjector (productTensor z L))) ν at hi
190  simpa only [reducedTensorChannel_productTensor, partialTrace_product_eq_matrixTensorPower] using hi
191 
192/-- Every normalized purification admits the full physical mixture theorem;
193the required complete orthonormal frame is produced by the proof. -/
194theorem exists_pct_product_mixture {s : ℕ} (hs : 1 ≤ s)
195    (hcard : Fintype.card (A × B) = s + 1) (ψ : Register (A × B)) (hψ : ‖ψ‖ = 1)
196    {Ω : Type*} [MeasurableSpace Ω] (μ : Measure Ω) [IsProbabilityMeasure μ]
197    (W : Ω → Register B →ₗᵢ[ℂ] Register B)
198    (m : ℕ → ℕ) (hm : ∀ n, n ≤ m n) {γ : ℝ} (hγ : 1 < γ)
199    (h : Tendsto (fun n ↦ (m n : ℝ) / n) atTop (𝓝 γ)) :
200    ∃ u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × B)), u 0 = ψ ∧
201      Tendsto (fun n => ‖randomizedPurificationOutput hcard ψ hψ μ W
202        (inputSlots n (m n) (hm n)) -
203        ∫ z, matrixTensorPower (reducedDensityMatrix (frameParticle u z (m n))) (m n)
204          ∂MultimodeCoherentGaussianMixture.gaussianProductMeasure
205            (fun _ : Fin s => γ - 1)‖) atTop (𝓝 0) := by
206  obtain ⟨u, hu⟩ := exists_purification_frame hcard ψ hψ
207  refine ⟨u, hu, ?_⟩
208  have ht := pct_product_mixture hs hcard u μ W m hm hγ h
209  simpa only [hu] using ht
210 
211end Cloning.PCT