Exact Lean source
GeneralCoherentMixture
formalization/Cloning/GeneralCoherentMixture.lean
Source hash: e7bb4457b1a4e32919b014568a62e46714e2d1256577e592274e369c7af98beb
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
theorem
Cloning.GeneralCoherent.continuous_oneParticletheorem Cloning.GeneralCoherent.continuous_productTensortheorem Cloning.GeneralCoherent.continuous_productProjectortheorem Cloning.GeneralCoherent.integrable_productProjectordefinition Cloning.GeneralCoherent.productMixturedefinition Cloning.GeneralCoherent.coherentMixturetheorem Cloning.GeneralCoherent.occupationChannel_error_le_twotheorem Cloning.GeneralCoherent.occupationChannel_error_tendstotheorem Cloning.GeneralCoherent.integrable_occupationChannel_errortheorem Cloning.GeneralCoherent.integral_occupationChannel_error_tendstotheorem Cloning.GeneralCoherent.occupationChannel_mixture_distance_letheorem Cloning.GeneralCoherent.occupationChannel_mixture_tendsto1import Cloning.GeneralCoherentChannels
2import Cloning.MultimodeCoherentGaussianMixture
3import Mathlib.MeasureTheory.Integral.DominatedConvergence
4
5/-! Actual integration of the finite pure-product model against any finite
6amplitude measure. The unbounded Gaussian parameter space needs no uniform
7approximation hypothesis: unit trace supplies an integrable constant bound. -/
8noncomputable section
9open scoped BigOperators InnerProductSpace ComplexOrder Topology
10open Filter MeasureTheory Cloning.InfiniteTraceClass
11namespace Cloning.GeneralCoherent
12open GeneralSymmetricOccupation
13set_option maxHeartbeats 1000000
14set_option backward.isDefEq.respectTransparency false
15
16theorem continuous_oneParticle (s L : ℕ) (a : Fin (s + 1)) :
17 Continuous (fun z : Fin s → ℂ => oneParticle z L a) := by
18 have hd : Continuous (fun z : Fin s → ℂ =>
19 (Real.sqrt (1 + energy z / L) : ℂ)) := by
20 exact Complex.continuous_ofReal.comp
21 (Real.continuous_sqrt.comp (continuous_const.add ((continuous_energy s).div_const _)))
22 have hdn (z : Fin s → ℂ) : (Real.sqrt (1 + energy z / L) : ℂ) ≠ 0 := by
23 exact_mod_cast (Real.sqrt_pos.mpr (by have := energy_nonneg z; positivity)).ne'
24 refine Fin.cases ?_ (fun i => ?_) a
25 · exact continuous_const.div hd hdn
26 · exact ((continuous_apply i).div_const _).div hd hdn
27
28theorem continuous_productTensor (s L : ℕ) : Continuous (fun z : Fin s → ℂ => productTensor z L) := by
29 classical
30 have he : (fun z : Fin s → ℂ => productTensor z L) =
31 fun z => ∑ w : Word L (s + 1), (∏ i, oneParticle z L (w i)) •
32 (lp.single 2 w 1 : TensorSpace L (s + 1)) := by
33 funext z
34 ext w
35 simp [productTensor_apply, lp.single_apply, Pi.single_apply]
36 rw [he]
37 exact continuous_finset_sum _ (fun w _ =>
38 (continuous_finset_prod _ (fun i _ => continuous_oneParticle s L (w i))).smul continuous_const)
39
40theorem continuous_productProjector (s L : ℕ) :
41 Continuous (fun z : Fin s → ℂ => vectorProjector (productTensor z L)) := by
42 apply continuous_iff_continuousAt.mpr
43 intro z
44 exact vectorProjector_tendsto ((continuous_productTensor s L).tendsto z)
45
46theorem integrable_productProjector {s : ℕ} (L : ℕ) (μ : Measure (Fin s → ℂ))
47 [IsFiniteMeasure μ] : Integrable (fun z => vectorProjector (productTensor z L)) μ := by
48 apply (integrable_const (1 : ℝ)).mono' (continuous_productProjector s L).aestronglyMeasurable
49 exact Filter.Eventually.of_forall (fun z => by
50 simp only [norm_vectorProjector, productTensor_norm, one_pow, le_refl])
51
52/-- The literal mixture of physical tensor-power projectors. -/
53def productMixture {s : ℕ} (L : ℕ) (μ : Measure (Fin s → ℂ)) :
54 TraceClass (TensorSpace L (s + 1)) :=
55 ∫ z, vectorProjector (productTensor z L) ∂μ
56
57/-- The literal coherent-state mixture in the common Fock space. -/
58def coherentMixture {s : ℕ} (μ : Measure (Fin s → ℂ)) : TraceClass (FockSpace s) :=
59 ∫ z, MultimodeCoherent.coherentProjector z ∂μ
60
61theorem occupationChannel_error_le_two {s : ℕ} (z : Fin s → ℂ) (L : ℕ) :
62 ‖(occupationChannel L s).toLinearMap (MultimodeCoherent.coherentProjector z) -
63 vectorProjector (productTensor z L)‖ ≤ 2 := by
64 refine (norm_sub_le _ _).trans ?_
65 rw [(occupationChannel L s).toPositiveTracePreservingMap.norm_map_of_nonneg _
66 (MultimodeCoherent.coherentProjector_nonneg z), MultimodeCoherent.coherentProjector_norm,
67 norm_vectorProjector, productTensor_norm]
68 norm_num
69
70theorem occupationChannel_error_tendsto {s : ℕ} (z : Fin s → ℂ) :
71 Tendsto (fun L => ‖(occupationChannel L s).toLinearMap
72 (MultimodeCoherent.coherentProjector z) - vectorProjector (productTensor z L)‖)
73 atTop (𝓝 0) := by
74 have hp := productVector_moving_tendsto (fun L : ℕ => L) tendsto_id
75 (fun _ => z) tendsto_const_nhds
76 have ht : Tendsto (fun L => 2 * ‖productVector z L - MultimodeCoherent.coherentVector z‖)
77 atTop (𝓝 0) := by
78 simpa using (tendsto_iff_norm_sub_tendsto_zero.mp hp).const_mul 2
79 exact squeeze_zero (fun _ => norm_nonneg _) (fun L => occupationChannel_coherent_distance_le z L) ht
80
81theorem integrable_occupationChannel_error {s : ℕ} (L : ℕ) (μ : Measure (Fin s → ℂ))
82 [IsFiniteMeasure μ] : Integrable (fun z =>
83 ‖(occupationChannel L s).toLinearMap (MultimodeCoherent.coherentProjector z) -
84 vectorProjector (productTensor z L)‖) μ := by
85 exact ((occupationChannel L s).toPositiveTracePreservingMap.toContinuousLinearMap.integrable_comp
86 (MultimodeCoherent.integrable_coherentProjector μ)).sub
87 (integrable_productProjector L μ) |>.norm
88
89/-- Dominated convergence on the full amplitude space, with the actual trace
90distance bounded by two. No compact support or Gaussian-tail premise is needed. -/
91theorem integral_occupationChannel_error_tendsto {s : ℕ} (μ : Measure (Fin s → ℂ))
92 [IsFiniteMeasure μ] : Tendsto (fun L => ∫ z,
93 ‖(occupationChannel L s).toLinearMap (MultimodeCoherent.coherentProjector z) -
94 vectorProjector (productTensor z L)‖ ∂μ) atTop (𝓝 0) := by
95 have h := tendsto_integral_of_dominated_convergence (fun _ : Fin s → ℂ => (2 : ℝ))
96 (fun L => (integrable_occupationChannel_error L μ).aestronglyMeasurable)
97 (integrable_const _)
98 (fun L => Filter.Eventually.of_forall (fun z => by
99 simpa only [Real.norm_eq_abs, abs_of_nonneg (norm_nonneg _)] using
100 occupationChannel_error_le_two z L))
101 (Filter.Eventually.of_forall occupationChannel_error_tendsto)
102 simpa using h
103
104theorem occupationChannel_mixture_distance_le {s : ℕ} (L : ℕ)
105 (μ : Measure (Fin s → ℂ)) [IsFiniteMeasure μ] :
106 ‖(occupationChannel L s).toLinearMap (coherentMixture μ) - productMixture L μ‖ ≤
107 ∫ z, ‖(occupationChannel L s).toLinearMap (MultimodeCoherent.coherentProjector z) -
108 vectorProjector (productTensor z L)‖ ∂μ := by
109 let C := (occupationChannel L s).toPositiveTracePreservingMap.toContinuousLinearMap
110 change ‖C (∫ z, MultimodeCoherent.coherentProjector z ∂μ) -
111 ∫ z, vectorProjector (productTensor z L) ∂μ‖ ≤ _
112 rw [← C.integral_comp_comm (MultimodeCoherent.integrable_coherentProjector μ),
113 ← integral_sub (C.integrable_comp (MultimodeCoherent.integrable_coherentProjector μ))
114 (integrable_productProjector L μ)]
115 exact norm_integral_le_integral_norm _
116
117/-- Actual mixed-state trace-norm approximation after integrating the physical
118pure tensors against any finite measure, including the unbounded Gaussian. -/
119theorem occupationChannel_mixture_tendsto {s : ℕ} (μ : Measure (Fin s → ℂ))
120 [IsFiniteMeasure μ] : Tendsto (fun L =>
121 ‖(occupationChannel L s).toLinearMap (coherentMixture μ) - productMixture L μ‖)
122 atTop (𝓝 0) :=
123 squeeze_zero (fun _ => norm_nonneg _) (fun L => occupationChannel_mixture_distance_le L μ)
124 (integral_occupationChannel_error_tendsto μ)
125
126end Cloning.GeneralCoherent