Exact Lean source
HybridClassicalConvolution
formalization/Cloning/HybridClassicalConvolution.lean
Source hash: 396b08d52cb888eff632914d55a367c5c45410693ef0443c2f7314cad23d1215
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
definition
Cloning.Hybrid.classicalAveragetheorem Cloning.Hybrid.integrable_classicalAverage_integrandtheorem Cloning.Hybrid.norm_classicalAverage_ledefinition Cloning.Hybrid.classicalSetIntegralCLMtheorem Cloning.Hybrid.classicalSetIntegralCLM_applytheorem Cloning.Hybrid.classicalTranslation_prepareL1_aetheorem Cloning.Hybrid.setIntegral_classicalAverage_prepareL1theorem Cloning.Hybrid.classicalAverage_prepareL1_commdefinition Cloning.Hybrid.classicalApproxBumpdefinition Cloning.Hybrid.classicalApproxDensitytheorem Cloning.Hybrid.continuous_classicalApproxDensitytheorem Cloning.Hybrid.integrable_classicalApproxDensitytheorem Cloning.Hybrid.classicalApproxDensity_nonnegtheorem Cloning.Hybrid.integral_classicalApproxDensitytheorem Cloning.Hybrid.classicalApproxDensity_supporttheorem Cloning.Hybrid.classicalAverage_approx_tendstotheorem Cloning.Hybrid.classicalAverage_prepareApprox_tendsto1import Cloning.HybridTranslation
2import Mathlib.Analysis.Calculus.BumpFunction.Convolution
3import Mathlib.MeasureTheory.Function.AEEqOfIntegral
4
5/-!
6# Actual L¹ classical averaging and approximate identities
7
8Classical averaging is the Bochner integral of the strongly continuous
9translation action on operator-valued L¹. Preparing either scalar factor and
10averaging with the other gives the same L¹ class. Explicit normalized bumps
11give an approximate identity in the L¹ norm.
12-/
13
14noncomputable section
15open scoped ComplexOrder InnerProductSpace Topology BigOperators Convolution
16open MeasureTheory Filter Cloning.InfiniteTraceClass
17namespace Cloning.Hybrid
18set_option backward.isDefEq.respectTransparency false
19set_option maxHeartbeats 1000000
20
21variable {k : ℕ} {H : Type*}
22 [NormedAddCommGroup H] [InnerProductSpace ℂ H] [CompleteSpace H]
23
24/-- The actual Bochner average of classical translations. -/
25def classicalAverage (g : (Fin k → ℝ) → ℝ)
26 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
27 Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ)) :=
28 ∫ h, (g h : ℂ) • classicalTranslation h A
29
30theorem integrable_classicalAverage_integrand (g : (Fin k → ℝ) → ℝ)
31 (hg : Integrable g)
32 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
33 Integrable (fun h => (g h : ℂ) • classicalTranslation h A) := by
34 apply (hg.norm.mul_const ‖A‖).mono'
35 ((Complex.continuous_ofReal.comp_aestronglyMeasurable hg.aestronglyMeasurable).smul
36 (continuous_classicalTranslation A).aestronglyMeasurable)
37 exact Eventually.of_forall fun h => by
38 simp only [norm_smul, Complex.norm_real, norm_classicalTranslation, le_refl]
39
40theorem norm_classicalAverage_le (g : (Fin k → ℝ) → ℝ)
41 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
42 ‖classicalAverage g A‖ ≤ (∫ h, |g h|) * ‖A‖ := by
43 unfold classicalAverage
44 calc
45 _ ≤ ∫ h, ‖(g h : ℂ) • classicalTranslation h A‖ := norm_integral_le_integral_norm _
46 _ = _ := by simp only [norm_smul, Complex.norm_real, norm_classicalTranslation,
47 Real.norm_eq_abs, integral_mul_const]
48
49/-- Set integration is a continuous linear functional on operator-valued L¹. -/
50def classicalSetIntegralCLM (s : Set (Fin k → ℝ)) :
51 Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ)) →L[ℂ] TraceClass H :=
52 LinearMap.mkContinuous
53 { toFun := fun A => ∫ y in s, A y
54 map_add' := fun A B => by
55 rw [integral_congr_ae (ae_restrict_of_ae (Lp.coeFn_add A B))]
56 exact integral_add (L1.integrable_coeFn A).integrableOn
57 (L1.integrable_coeFn B).integrableOn
58 map_smul' := fun c A => by
59 rw [integral_congr_ae (ae_restrict_of_ae (Lp.coeFn_smul c A))]
60 exact integral_smul c _ }
61 1 (by
62 intro A
63 rw [one_mul, L1.norm_eq_integral_norm]
64 exact (norm_integral_le_integral_norm _).trans
65 (setIntegral_le_integral (L1.integrable_coeFn A).norm
66 (Eventually.of_forall fun y => norm_nonneg (A y))))
67
68theorem classicalSetIntegralCLM_apply (s : Set (Fin k → ℝ))
69 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
70 classicalSetIntegralCLM s A = ∫ y in s, A y := rfl
71
72theorem classicalTranslation_prepareL1_ae (u : (Fin k → ℝ) → ℝ)
73 (hu : Integrable u) (h : Fin k → ℝ) (X : TraceClass H) :
74 classicalTranslation h (prepareL1 u hu X) =ᵐ[volume]
75 fun y => (u (y - h) : ℂ) • X := by
76 exact (classicalTranslation_ae h _).trans
77 ((measurePreserving_sub_right volume h).quasiMeasurePreserving.ae (prepareL1_ae u hu X))
78
79theorem setIntegral_classicalAverage_prepareL1
80 (g u : (Fin k → ℝ) → ℝ) (hg : Integrable g) (hu : Integrable u)
81 (X : TraceClass H) (s : Set (Fin k → ℝ)) :
82 (∫ y in s, classicalAverage g (prepareL1 u hu X) y) =
83 ∫ y in s, ∫ h, ((g h * u (y - h) : ℝ) : ℂ) • X := by
84 have hscalar : Integrable
85 (fun z : (Fin k → ℝ) × (Fin k → ℝ) => g z.2 * u (z.1 - z.2))
86 (volume.prod volume) :=
87 hg.convolution_integrand (ContinuousLinearMap.mul ℝ ℝ) hu
88 have hF := (Complex.ofRealCLM.integrable_comp hscalar).smul_const X
89 have hFs : Integrable
90 (fun z : (Fin k → ℝ) × (Fin k → ℝ) =>
91 ((g z.2 * u (z.1 - z.2) : ℝ) : ℂ) • X)
92 ((volume.restrict s).prod volume) := by
93 rw [Measure.restrict_prod_eq_prod_univ]
94 exact hF.integrableOn
95 calc
96 _ = ∫ h, classicalSetIntegralCLM s
97 ((g h : ℂ) • classicalTranslation h (prepareL1 u hu X)) :=
98 ((classicalSetIntegralCLM s).integral_comp_comm
99 (integrable_classicalAverage_integrand g hg _)).symm
100 _ = ∫ h, ∫ y in s, ((g h * u (y - h) : ℝ) : ℂ) • X := by
101 apply integral_congr_ae
102 exact Eventually.of_forall fun h => by
103 dsimp only
104 rw [map_smul, classicalSetIntegralCLM_apply, ← integral_smul]
105 apply integral_congr_ae
106 filter_upwards [ae_restrict_of_ae (classicalTranslation_prepareL1_ae u hu h X)]
107 with y hy
108 rw [hy, smul_smul, Complex.ofReal_mul]
109 _ = _ := integral_integral_swap hFs.swap
110
111/-- Commutativity of scalar convolution holds as equality of actual
112operator-valued L¹ averages, without choosing pointwise representatives of
113their Bochner integrals. -/
114theorem classicalAverage_prepareL1_comm
115 (g u : (Fin k → ℝ) → ℝ) (hg : Integrable g) (hu : Integrable u)
116 (X : TraceClass H) :
117 classicalAverage g (prepareL1 u hu X) =
118 classicalAverage u (prepareL1 g hg X) := by
119 apply Lp.ext
120 apply Lp.ae_eq_of_forall_setIntegral_eq _ _ (by simp) (by simp)
121 (fun s _ _ => (L1.integrable_coeFn _).integrableOn)
122 (fun s _ _ => (L1.integrable_coeFn _).integrableOn)
123 intro s _ _
124 rw [setIntegral_classicalAverage_prepareL1 g u hg hu,
125 setIntegral_classicalAverage_prepareL1 u g hu hg]
126 apply integral_congr_ae
127 exact Eventually.of_forall fun y => by
128 dsimp only
129 rw [← integral_sub_left_eq_self
130 (fun h : Fin k → ℝ => ((u h * g (y - h) : ℝ) : ℂ) • X) volume y]
131 apply integral_congr_ae
132 exact Eventually.of_forall fun h => by
133 simp only [sub_sub_cancel, mul_comm]
134
135/-- Inner and outer radii are respectively `1/(2(n+1))` and `1/(n+1)`. -/
136def classicalApproxBump (k n : ℕ) : ContDiffBump (0 : Fin k → ℝ) where
137 rIn := ((n : ℝ) + 1)⁻¹ / 2
138 rOut := ((n : ℝ) + 1)⁻¹
139 rIn_pos := by positivity
140 rIn_lt_rOut := by
141 have : 0 < ((n : ℝ) + 1)⁻¹ := by positivity
142 linarith
143
144def classicalApproxDensity (k n : ℕ) : (Fin k → ℝ) → ℝ :=
145 (classicalApproxBump k n).normed volume
146
147theorem continuous_classicalApproxDensity (k n : ℕ) :
148 Continuous (classicalApproxDensity k n) :=
149 (classicalApproxBump k n).continuous_normed
150
151theorem integrable_classicalApproxDensity (k n : ℕ) :
152 Integrable (classicalApproxDensity k n) :=
153 (classicalApproxBump k n).integrable_normed
154
155theorem classicalApproxDensity_nonneg (k n : ℕ) (y : Fin k → ℝ) :
156 0 ≤ classicalApproxDensity k n y :=
157 (classicalApproxBump k n).nonneg_normed y
158
159theorem integral_classicalApproxDensity (k n : ℕ) :
160 (∫ y, classicalApproxDensity k n y) = 1 :=
161 (classicalApproxBump k n).integral_normed
162
163theorem classicalApproxDensity_support (k n : ℕ) :
164 Function.support (classicalApproxDensity k n) =
165 Metric.ball 0 (((n : ℝ) + 1)⁻¹) :=
166 (classicalApproxBump k n).support_normed_eq
167
168/-- Normalized compactly supported classical averages converge in actual L¹. -/
169theorem classicalAverage_approx_tendsto
170 (A : Lp (TraceClass H) 1 (volume : Measure (Fin k → ℝ))) :
171 Tendsto (fun n => classicalAverage (classicalApproxDensity k n) A) atTop (𝓝 A) := by
172 have hr : Tendsto (fun n : ℕ => (classicalApproxBump k n).rOut) atTop (𝓝 0) := by
173 simpa only [classicalApproxBump, one_div] using
174 (tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ))
175 have hc : Continuous (fun x : Fin k → ℝ => classicalTranslation (-x) A) :=
176 (continuous_classicalTranslation A).comp continuous_neg
177 have ht := ContDiffBump.convolution_tendsto_right_of_continuous (μ := volume) hr hc 0
178 simpa only [convolution_def, ContinuousLinearMap.lsmul_apply, zero_sub, neg_neg,
179 neg_zero, classicalTranslation_zero, classicalAverage, classicalApproxDensity,
180 Complex.coe_smul] using ht
181
182/-- Averaging a prepared approximate delta against any integrable density
183converges to preparation of that density, in the actual operator-valued L¹ norm. -/
184theorem classicalAverage_prepareApprox_tendsto
185 (g : (Fin k → ℝ) → ℝ) (hg : Integrable g) (X : TraceClass H) :
186 Tendsto (fun n => classicalAverage g
187 (prepareL1 (classicalApproxDensity k n) (integrable_classicalApproxDensity k n) X))
188 atTop (𝓝 (prepareL1 g hg X)) := by
189 have he (n : ℕ) := classicalAverage_prepareL1_comm g (classicalApproxDensity k n)
190 hg (integrable_classicalApproxDensity k n) X
191 simpa only [he] using classicalAverage_approx_tendsto (prepareL1 g hg X)
192
193end Cloning.Hybrid