Exact Lean source
HybridFoelner
formalization/Cloning/HybridFoelner.lean
Source hash: 1ff2ec1c3bc6e662ddfb5acc1361b27db2cb5b8cf903806e6d82d4bc24a78126
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.Hybrid.weighted_integral_difference_le_bounddefinition Cloning.Hybrid.PhaseDensity.foelnerMapdefinition Cloning.Hybrid.PhaseDensity.foelnerChanneltheorem Cloning.Hybrid.PhaseDensity.foelnerChannel_maptheorem Cloning.Hybrid.PhaseDensity.foelnerMap_covariance_boundtheorem Cloning.Hybrid.PhaseDensity.foelnerMap_covariance_tendstotheorem Cloning.Hybrid.PhaseDensity.foelnerMap_covariance_tendsto_varyingtheorem Cloning.Hybrid.PhaseDensity.foelnerMap_classical_covariance_boundtheorem Cloning.Hybrid.PhaseDensity.foelnerMap_quantum_covariance_tendstotheorem Cloning.Hybrid.PhaseDensity.integrable_weighted_classical_errortheorem Cloning.Hybrid.PhaseDensity.weighted_classical_error_tendsto1import Cloning.HybridPrior
2
3/-! Quantitative covariance of actual hybrid probability averages. The error
4is uniform over competitors and arbitrary complex L¹ inputs. -/
5noncomputable section
6open scoped Topology
7open Filter MeasureTheory
8namespace Cloning.Hybrid
9set_option backward.isDefEq.respectTransparency false
10set_option maxHeartbeats 1000000
11variable {k s : ℕ}
12
13lemma weighted_integral_difference_le_bound {E : Type*}
14 [NormedAddCommGroup E] [NormedSpace ℝ E]
15 (f : PhaseSpace k s → E) (hf : Continuous f) (C : ℝ)
16 (hn : ∀ ξ, ‖f ξ‖ ≤ C) (p q : PhaseSpace k s → ℝ)
17 (hp : Integrable p) (hq : Integrable q) :
18 ‖(∫ ξ, p ξ • f ξ) - (∫ ξ, q ξ • f ξ)‖ ≤ C * ∫ ξ, |p ξ - q ξ| := by
19 have hi (r : PhaseSpace k s → ℝ) (hr : Integrable r) :
20 Integrable (fun ξ => r ξ • f ξ) := by
21 apply (hr.norm.mul_const C).mono' (hr.aestronglyMeasurable.smul hf.aestronglyMeasurable)
22 exact Eventually.of_forall fun ξ => by
23 rw [norm_smul]
24 exact mul_le_mul_of_nonneg_left (hn ξ) (norm_nonneg _)
25 rw [← integral_sub (hi p hp) (hi q hq)]
26 apply (norm_integral_le_integral_norm _).trans
27 calc
28 _ ≤ ∫ ξ, |p ξ - q ξ| * C := by
29 apply integral_mono ((hi p hp).sub (hi q hq)).norm ((hp.sub hq).abs.mul_const C)
30 intro ξ
31 change ‖p ξ • f ξ - q ξ • f ξ‖ ≤ |p ξ - q ξ| * C
32 rw [← sub_smul, norm_smul, Real.norm_eq_abs]
33 exact mul_le_mul_of_nonneg_left (hn ξ) (abs_nonneg _)
34 _ = _ := by rw [integral_mul_const, mul_comm]
35
36namespace PhaseDensity
37variable (p : PhaseDensity k s)
38
39/-- The actual averaged continuous linear map, with a growing phase-space prior. -/
40def foelnerMap (r : ℝ) (Λ : HybridChannel k s) (n : ℕ) :
41 HybridSpace k s →L[ℂ] HybridSpace k s := covariantAverageMap (p.expandingPrior n) r Λ
42
43def foelnerChannel (r : ℝ) (Λ : HybridChannel k s) (n : ℕ) : HybridChannel k s :=
44 covariantAverage (p.expandingPrior n) r Λ
45
46@[simp] lemma foelnerChannel_map (r : ℝ) (Λ : HybridChannel k s) (n : ℕ) :
47 (p.foelnerChannel r Λ n).map = p.foelnerMap r Λ n := rfl
48
49lemma foelnerMap_covariance_bound (r : ℝ) (Λ : HybridChannel k s)
50 (b : PhaseSpace k s) (A : HybridSpace k s) (n : ℕ) :
51 ‖p.foelnerMap r Λ n (hybridTranslation b A) -
52 hybridTranslation (r • b) (p.foelnerMap r Λ n A)‖ ≤ p.covarianceError n b * ‖A‖ := by
53 let f : PhaseSpace k s → HybridSpace k s := fun ξ => (translatedChannel r Λ ξ).map A
54 have hf : Continuous f := continuous_translatedChannel r Λ A
55 change ‖covariantAverageMap (p.expandingPrior n) r Λ (hybridTranslation b A) -
56 hybridTranslation (r • b) (covariantAverageMap (p.expandingPrior n) r Λ A)‖ ≤ _
57 rw [covariantAverageMap_shift, ← map_sub, norm_hybridTranslation]
58 change ‖(∫ ξ, f (ξ + b) ∂p.expandingPrior n) - (∫ ξ, f ξ ∂p.expandingPrior n)‖ ≤ _
59 rw [p.integral_expandingPrior_shift n b f hf, p.integral_expandingPrior n f hf]
60 have h := weighted_integral_difference_le_bound
61 (fun ξ => f (((n : ℝ) + 1) • ξ)) (hf.comp (by fun_prop)) (2 * ‖A‖)
62 (fun ξ => (translatedChannel r Λ (((n : ℝ) + 1) • ξ)).norm_le_two A)
63 (fun ξ => p.value (-(((n : ℝ) + 1)⁻¹ • b) + ξ)) p.value
64 ((measurePreserving_add_left volume (-(((n : ℝ) + 1)⁻¹ • b))).integrable_comp_of_integrable p.integrable)
65 p.integrable
66 simpa only [covarianceError, translationError, mul_assoc, mul_left_comm, mul_comm] using h
67
68lemma foelnerMap_covariance_tendsto (r : ℝ) (Λ : HybridChannel k s)
69 (b : PhaseSpace k s) (A : HybridSpace k s) :
70 Tendsto (fun n => ‖p.foelnerMap r Λ n (hybridTranslation b A) -
71 hybridTranslation (r • b) (p.foelnerMap r Λ n A)‖) atTop (𝓝 0) := by
72 exact squeeze_zero (fun _ => norm_nonneg _) (p.foelnerMap_covariance_bound r Λ b A)
73 (by simpa using (p.covarianceError_tendsto b).mul_const ‖A‖)
74
75/-- Uniformity in the original competitor permits an arbitrary new competitor
76at every averaging scale, as required for a supremum inside the limit. -/
77lemma foelnerMap_covariance_tendsto_varying (r : ℝ) (Λ : ℕ → HybridChannel k s)
78 (b : PhaseSpace k s) (A : HybridSpace k s) :
79 Tendsto (fun n => ‖p.foelnerMap r (Λ n) n (hybridTranslation b A) -
80 hybridTranslation (r • b) (p.foelnerMap r (Λ n) n A)‖) atTop (𝓝 0) := by
81 exact squeeze_zero (fun _ => norm_nonneg _)
82 (fun n => p.foelnerMap_covariance_bound r (Λ n) b A n)
83 (by simpa using (p.covarianceError_tendsto b).mul_const ‖A‖)
84
85lemma foelnerMap_classical_covariance_bound (r : ℝ) (Λ : HybridChannel k s)
86 (h : Fin k → ℝ) (A : HybridSpace k s) (n : ℕ) :
87 ‖p.foelnerMap r Λ n (classicalTranslation h A) -
88 classicalTranslation (r • h) (p.foelnerMap r Λ n A)‖ ≤
89 p.covarianceError n (h, 0) * ‖A‖ := by
90 simpa only [Prod.smul_mk, smul_zero, hybridTranslation_classical] using
91 p.foelnerMap_covariance_bound r Λ (h, 0) A n
92
93lemma foelnerMap_quantum_covariance_tendsto (r : ℝ) (Λ : ℕ → HybridChannel k s)
94 (z : Fin s → ℂ) (A : HybridSpace k s) :
95 Tendsto (fun n => ‖p.foelnerMap r (Λ n) n (quantumL1Action z A) -
96 quantumL1Action (r • z) (p.foelnerMap r (Λ n) n A)‖) atTop (𝓝 0) := by
97 simpa only [Prod.smul_mk, smul_zero, hybridTranslation_quantum] using
98 p.foelnerMap_covariance_tendsto_varying r Λ (0, z) A
99
100/-- Integrable weighted covariance errors for any integrable reference density. -/
101lemma integrable_weighted_classical_error (g : (Fin k → ℝ) → ℝ) (hg : Integrable g) (n : ℕ) :
102 Integrable (fun h => g h * p.covarianceError n (h, 0)) := by
103 apply (hg.norm.mul_const 4).mono'
104 (hg.aestronglyMeasurable.mul
105 ((p.continuous_covarianceError n).comp (continuous_id.prodMk continuous_const)).aestronglyMeasurable)
106 exact Eventually.of_forall fun h => by
107 change ‖g h * p.covarianceError n (h, 0)‖ ≤ ‖g h‖ * 4
108 rw [norm_mul, Real.norm_of_nonneg (p.covarianceError_nonneg _ _)]
109 exact mul_le_mul_of_nonneg_left (p.covarianceError_le_four _ _) (norm_nonneg _)
110
111/-- The classical covariance penalty vanishes after Gaussian weighting, with
112no uniformity-in-translation premise: a proved bound of four supplies domination. -/
113lemma weighted_classical_error_tendsto (g : (Fin k → ℝ) → ℝ) (hg : Integrable g) :
114 Tendsto (fun n => ∫ h, g h * p.covarianceError n (h, 0)) atTop (𝓝 0) := by
115 have h := tendsto_integral_of_dominated_convergence (fun h => ‖g h‖ * 4)
116 (fun n => (p.integrable_weighted_classical_error g hg n).aestronglyMeasurable)
117 (hg.norm.mul_const 4)
118 (fun n => Eventually.of_forall fun h => by
119 rw [norm_mul, Real.norm_of_nonneg (p.covarianceError_nonneg _ _)]
120 exact mul_le_mul_of_nonneg_left (p.covarianceError_le_four _ _) (norm_nonneg _))
121 (Eventually.of_forall fun h => by simpa using (p.covarianceError_tendsto (h, 0)).const_mul (g h))
122 simpa using h
123
124end PhaseDensity
125end Cloning.Hybrid