Offline · exact source
Exact Lean source

PCTWernerMixture

formalization/Cloning/PCTWernerMixture.lean

Source hash: 1a7e6a19fa9b4dc271bb2042061fa3a55432652c11d72caf61d1aed8a77e2b7c

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.GeneralCoherentMixture
2import Cloning.WernerPhysicalAgreement
3 
4/-! Gaussian pure-product mixtures approximate the actual physical Werner
5output in trace norm. This joins the independently proved occupation law,
6thermal limit, actual two-way occupation channels, and unbounded Gaussian
7integration. It is the pure-state precursor of the PCT mixture formula. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace ComplexOrder Topology
10open Filter MeasureTheory Cloning.InfiniteTraceClass
11namespace Cloning.GeneralCoherent
12open GeneralSymmetricOccupation MultimodeCoherentGaussianMixture
13set_option maxHeartbeats 1000000
14set_option backward.isDefEq.respectTransparency false
15 
16theorem occupationChannel_numberVector (L s : ℕ) (q : Occupation L (s + 1)) :
17    (occupationChannel L s).toLinearMap (vectorProjector (numberVector (excitation q))) =
18      vectorProjector (column q) := by
19  rw [← occupationPad_single L s q]
20  change (QuantumChannel.ofIsometry (isometry L (s + 1))).toLinearMap
21    ((QuantumChannel.isometricRecovery (occupationPad L s) (vacuumRegister L s)).toLinearMap
22      (vectorProjector (occupationPad L s (lp.single 2 q 1)))) = _
23  rw [QuantumChannel.isometricRecovery_vectorProjector,
24    QuantumChannel.ofIsometry_vectorProjector, isometry_single]
25 
26/-- The actual forward occupation channel restores the physical Werner output
27exactly. In particular the replacement term carries zero mass on that output. -/
28theorem occupationChannel_recovery_wernerOutput {L s : ℕ} (S : Finset (Fin L)) :
29    (occupationChannel L s).toLinearMap
30      ((GeneralSymmetricOccupation.occupationRecovery L s).toLinearMap
31        (wernerOutput (s := s) S)) = wernerOutput (s := s) S := by
32  simp only [wernerOutput, map_sum, map_smul, occupationRecovery_column,
33    occupationChannel_numberVector]
34 
35/-- The Gaussian with variance `γ-1` in each excitation coordinate is exactly
36the thermal operator appearing in the physical Werner limit. -/
37theorem coherentMixture_gaussian_eq_thermal {s : ℕ} {γ : ℝ} (hγ : 1 < γ) :
38    coherentMixture (gaussianProductMeasure (fun _ : Fin s => γ - 1)) =
39      InfiniteOccupationStates.thermalOperator (@numberVector s) γ := by
40  unfold coherentMixture
41  rw [integral_coherentProjector_gaussian_eq_productThermal (fun _ => by linarith)]
42  congr 1
43  · funext k
44    exact numberBasis_eq_single k
45  · funext k
46    simp only [WernerAsymptotics.thermalLaw, show 1 + (γ - 1) = γ by ring]
47 
48theorem wernerOutput_thermal_distance_le {L s : ℕ} (S : Finset (Fin L))
49    {γ : ℝ} (hγ : 1 < γ) :
50    ‖wernerOutput (s := s) S - (occupationChannel L s).toLinearMap
51      (InfiniteOccupationStates.thermalOperator (@numberVector s) γ)‖ ≤
52      ‖(GeneralSymmetricOccupation.occupationRecovery L s).toLinearMap
53        (wernerOutput (s := s) S) -
54        InfiniteOccupationStates.thermalOperator (@numberVector s) γ‖ := by
55  have hc := (occupationChannel L s).toPositiveTracePreservingMap.norm_map_sub_le
56    ((GeneralSymmetricOccupation.occupationRecovery L s).toLinearMap (wernerOutput (s := s) S))
57    (InfiniteOccupationStates.thermalOperator (@numberVector s) γ)
58    ((GeneralSymmetricOccupation.occupationRecovery L s).map_nonneg _ (wernerOutput_nonneg S))
59    (InfiniteOccupationStates.thermalOperator_nonneg _ numberVector_norm hγ)
60  simpa only [occupationChannel_recovery_wernerOutput] using hc
61 
62/-- The full unbounded Gaussian mixture of literal finite tensor-power states
63approximates the actual physical Werner output. All three approximation steps
64are proved; the only asymptotic premise is the cloning ratio. -/
65theorem physical_werner_gaussian_product_mixture {s : ℕ} (hs : 1 ≤ s)
66    (m : ℕ → ℕ) (hm : ∀ n, n ≤ m n) {γ : ℝ} (hγ : 1 < γ)
67    (h : Tendsto (fun n ↦ (m n : ℝ) / n) atTop (𝓝 γ)) :
68    Tendsto (fun n => ‖wernerOutput (s := s) (inputSlots n (m n) (hm n)) -
69      productMixture (m n) (gaussianProductMeasure (fun _ : Fin s => γ - 1))‖)
70      atTop (𝓝 0) := by
71  let μ := gaussianProductMeasure (fun _ : Fin s => γ - 1)
72  letI : IsProbabilityMeasure μ := gaussianProductMeasure_probability (fun _ => by linarith)
73  have hmTop : Tendsto m atTop atTop := tendsto_atTop_mono hm tendsto_id
74  have ht := physical_werner_traceNorm_limit hs m hm hγ h
75  have hg := (occupationChannel_mixture_tendsto μ).comp hmTop
76  have hsum : Tendsto (fun n =>
77      ‖(GeneralSymmetricOccupation.occupationRecovery (m n) s).toLinearMap
78        (wernerOutput (s := s) (inputSlots n (m n) (hm n))) -
79        InfiniteOccupationStates.thermalOperator (@numberVector s) γ‖ +
80      ‖(occupationChannel (m n) s).toLinearMap (coherentMixture μ) -
81        productMixture (m n) μ‖) atTop (𝓝 0) := by
82    simpa only [Function.comp_def, add_zero] using ht.add hg
83  apply squeeze_zero (fun _ => norm_nonneg _) (fun n => ?_) hsum
84  calc
85    _ ≤ ‖wernerOutput (s := s) (inputSlots n (m n) (hm n)) -
86        (occupationChannel (m n) s).toLinearMap (coherentMixture μ)‖ +
87      ‖(occupationChannel (m n) s).toLinearMap (coherentMixture μ) -
88        productMixture (m n) μ‖ := norm_sub_le_norm_sub_add_norm_sub _ _ _
89    _ ≤ _ := by
90      apply add_le_add_left
91      have he : coherentMixture μ = InfiniteOccupationStates.thermalOperator (@numberVector s) γ :=
92        coherentMixture_gaussian_eq_thermal hγ
93      rw [he]
94      exact wernerOutput_thermal_distance_le _ hγ
95 
96/-- The same end-to-end result starts from the constructed full CPTP Werner
97channel on its pure reference input, not an assumed diagonal state. -/
98theorem wernerChannel_gaussian_product_mixture {s : ℕ} (hs : 1 ≤ s)
99    (r : ℕ → ℕ) {γ : ℝ} (hγ : 1 < γ)
100    (h : Tendsto (fun n ↦ ((n + r n : ℕ) : ℝ) / n) atTop (𝓝 γ)) :
101    Tendsto (fun n => ‖InfiniteFiniteCorner.matrixLift (@column (n + r n) (s + 1))
102      ((wernerChannel n (r n) s).toFun (pureInputMatrix n (s + 1) 0)) -
103      productMixture (n + r n) (gaussianProductMeasure (fun _ : Fin s => γ - 1))‖)
104      atTop (𝓝 0) := by
105  simp only [wernerChannel_pure_output]
106  exact physical_werner_gaussian_product_mixture hs (fun n => n + r n)
107    (fun n => Nat.le_add_right n (r n)) hγ h
108 
109/-- The approximation survives arbitrary output channels, even with a
110changing output Hilbert space. The Gaussian integral commutes with the actual
111channel; no pointwise integrability or continuity premise is left to prove. -/
112theorem physical_werner_gaussian_mixture_after_channels {s : ℕ} (hs : 1 ≤ s)
113    (m : ℕ → ℕ) (hm : ∀ n, n ≤ m n) {γ : ℝ} (hγ : 1 < γ)
114    (h : Tendsto (fun n ↦ (m n : ℝ) / n) atTop (𝓝 γ))
115    {K : ℕ → Type*} [∀ n, NormedAddCommGroup (K n)]
116    [∀ n, InnerProductSpace ℂ (K n)] [∀ n, CompleteSpace (K n)]
117    (Φ : ∀ n, QuantumChannel (TensorSpace (m n) (s + 1)) (K n)) :
118    Tendsto (fun n => ‖(Φ n).toLinearMap
119      (wernerOutput (s := s) (inputSlots n (m n) (hm n))) -
120      ∫ z, (Φ n).toLinearMap (vectorProjector (productTensor z (m n)))
121        ∂gaussianProductMeasure (fun _ : Fin s => γ - 1)‖) atTop (𝓝 0) := by
122  let μ := gaussianProductMeasure (fun _ : Fin s => γ - 1)
123  letI : IsProbabilityMeasure μ := gaussianProductMeasure_probability (fun _ => by linarith)
124  have ht := (physical_werner_gaussian_product_mixture hs m hm hγ h).const_mul 2
125  have ht' : Tendsto (fun n => 2 * ‖wernerOutput (s := s) (inputSlots n (m n) (hm n)) -
126      productMixture (m n) μ‖) atTop (𝓝 0) := by simpa using ht
127  apply squeeze_zero (fun _ => norm_nonneg _) (fun n => ?_) ht'
128  let C := (Φ n).toPositiveTracePreservingMap.toContinuousLinearMap
129  have he : (∫ z, (Φ n).toLinearMap (vectorProjector (productTensor z (m n))) ∂μ) =
130      (Φ n).toLinearMap (productMixture (m n) μ) :=
131    C.integral_comp_comm (integrable_productProjector (m n) μ)
132  change ‖(Φ n).toLinearMap _ - ∫ z, (Φ n).toLinearMap
133    (vectorProjector (productTensor z (m n))) ∂μ‖ ≤ _
134  rw [he, ← map_sub]
135  exact (Φ n).toPositiveTracePreservingMap.norm_map_le_two_mul _
136 
137end Cloning.GeneralCoherent