Offline · exact source
Exact Lean source

HybridGaussianAttainmentAction

formalization/Cloning/HybridGaussianAttainmentAction.lean

Source hash: dc0c5faac6d1ea80446815e347da0cc97c0f556a263b40a0b6ab9369bd4d4c35

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.HybridGaussianAttainmentChannel
2import Cloning.HybridGaussianAttainmentFidelity
3import Cloning.HybridGaussianConverse
4import Cloning.ThermalParameterContinuity
5 
6/-! Exact covariance and Gaussian action of the actual hybrid amplifier. -/
7noncomputable section
8open scoped ComplexOrder InnerProductSpace Topology BigOperators
9open MeasureTheory Filter Cloning.InfiniteTraceClass Cloning.MultimodeCoherent
10open Cloning.MultimodeCoherentGaussianMixture Cloning.ThermalWitness
11namespace Cloning.Hybrid
12set_option backward.isDefEq.respectTransparency false
13set_option maxHeartbeats 1200000
14variable {k s : ℕ}
15 
16/-- The physical hybrid amplifier intertwines the full joint translation
17representation at amplitude gain `sqrt g`, on every operator-valued L¹ input. -/
18theorem gaussianAmplifierChannel_covariant (g : ℝ) (hg : 1 < g)
19    (ξ : PhaseSpace k s) (A : HybridSpace k s) :
20    (gaussianAmplifierChannel g hg).map (hybridTranslation ξ A) =
21      hybridTranslation (Real.sqrt g • ξ) ((gaussianAmplifierChannel g hg).map A) := by
22  have hr : 0 < Real.sqrt g := Real.sqrt_pos.mpr (zero_lt_one.trans hg)
23  apply Lp.ext
24  have ht := (Measure.quasiMeasurePreserving_smul (volume : Measure (Fin k → ℝ))
25    (inv_ne_zero hr.ne')).ae (hybridTranslation_ae ξ A)
26  have hd := (measurePreserving_sub_right volume (Real.sqrt g • ξ.1)).quasiMeasurePreserving.ae
27    (gaussianAmplifierChannel_ae g hg A)
28  filter_upwards [gaussianAmplifierChannel_ae g hg (hybridTranslation ξ A), ht,
29    hybridTranslation_ae (Real.sqrt g • ξ) ((gaussianAmplifierChannel g hg).map A), hd]
30    with y h₁ h₂ h₃ h₄
31  rw [h₁, h₂, Cloning.MultimodeAmplifier.gainChannel_covariant, h₃]
32  simp only [Prod.smul_fst, Prod.smul_snd] at *
33  rw [h₄, map_smul]
34  congr 3
35  rw [smul_sub, smul_smul, inv_mul_cancel₀ hr.ne', one_smul]
36 
37lemma density_sqrt_dilation (a y g : ℝ) (ha : 0 < a) (hg : 0 < g) :
38    (Real.sqrt g)⁻¹ * GaussianAffinity.density a ((Real.sqrt g)⁻¹ * y) =
39      GaussianAffinity.density (a / g) y := by
40  have hr : Real.sqrt g ≠ 0 := (Real.sqrt_pos.mpr hg).ne'
41  have hp : Real.sqrt Real.pi ≠ 0 := (Real.sqrt_pos.mpr Real.pi_pos).ne'
42  unfold GaussianAffinity.density
43  rw [Real.sqrt_div ha.le]
44  have he : -a * ((Real.sqrt g)⁻¹ * y) ^ 2 = -(a / g) * y ^ 2 := by
45    rw [mul_pow, inv_pow, Real.sq_sqrt hg.le]
46    ring
47  rw [he]
48  field_simp
49 
50lemma productDensity_sqrt_dilation (a : Fin k → ℝ) (ha : ∀ i, 0 < a i)
51    (g : ℝ) (hg : 0 < g) (y : Fin k → ℝ) :
52    (Real.sqrt g ^ k)⁻¹ * GaussianAffinity.productDensity a ((Real.sqrt g)⁻¹ • y) =
53      GaussianAffinity.productDensity (fun i => a i / g) y := by
54  calc
55    _ = ∏ i, (Real.sqrt g)⁻¹ * GaussianAffinity.density (a i) ((Real.sqrt g)⁻¹ * y i) := by
56      rw [Finset.prod_mul_distrib]
57      simp [GaussianAffinity.productDensity, ← inv_pow]
58    _ = _ := by
59      unfold GaussianAffinity.productDensity
60      apply Finset.prod_congr rfl
61      intro i _
62      exact density_sqrt_dilation (a i) (y i) g (ha i) hg
63 
64/-- The actual output of the physical channel is the dilated classical
65Gaussian and the amplified quantum thermal state. -/
66theorem gaussianAmplifierChannel_gaussianThermal_toL1
67    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) (g : ℝ) (hg : 1 < g)
68    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
69    (gaussianAmplifierChannel g hg).map
70      (gaussianThermalField a ha q hq0 hq1).toL1 =
71      (amplifiedGaussianThermalField a ha g hg q hq0 hq1).toL1 := by
72  have hr : 0 < Real.sqrt g := Real.sqrt_pos.mpr (zero_lt_one.trans hg)
73  rw [gaussianThermalField_toL1, amplifiedGaussianThermalField, gaussianThermalField_toL1]
74  apply Lp.ext
75  have hp := (Measure.quasiMeasurePreserving_smul (volume : Measure (Fin k → ℝ))
76    (inv_ne_zero hr.ne')).ae
77    (prepareL1_ae (GaussianAffinity.productDensity a)
78      (GaussianAffinity.integrable_productDensity a ha)
79      (vectorMixture (numberBasis s) (productGeometric q)))
80  filter_upwards [gaussianAmplifierChannel_ae g hg
81    (prepareL1 (GaussianAffinity.productDensity a)
82      (GaussianAffinity.integrable_productDensity a ha)
83      (vectorMixture (numberBasis s) (productGeometric q))), hp,
84    prepareL1_ae (GaussianAffinity.productDensity (fun i => a i / g))
85      (GaussianAffinity.integrable_productDensity (fun i => a i / g)
86        (fun i => div_pos (ha i) (zero_lt_one.trans hg)))
87      (vectorMixture (numberBasis s) (productGeometric (fun i => Thermal.amplified g (q i))))]
88    with y h₁ h₂ h₃
89  rw [h₁, h₂, map_smul, Cloning.MultimodeAmplifier.gainChannel_productThermal_nonneg g hg hq0 hq1,
90    h₃, smul_smul, ← Complex.ofReal_mul, productDensity_sqrt_dilation a ha g
91      (zero_lt_one.trans hg)]
92 
93/-- Exact centered positive-state action, ready to insert into orbit fidelity. -/
94theorem gaussianAmplifierChannel_gaussianThermalPositive
95    (a : Fin k → ℝ) (ha : ∀ i, 0 < a i) (g : ℝ) (hg : 1 < g)
96    (q : Fin s → ℝ) (hq0 : ∀ i, 0 ≤ q i) (hq1 : ∀ i, q i < 1) :
97    (gaussianThermalPositive a ha q hq0 hq1).map
98      (gaussianAmplifierChannel g hg) =
99      (amplifiedGaussianThermalField a ha g hg q hq0 hq1).toPositiveL1 := by
100  apply Subtype.ext
101  exact gaussianAmplifierChannel_gaussianThermal_toL1 a ha g hg q hq0 hq1
102 
103end Cloning.Hybrid