Smooth positive-axis tests approximate every compact-window L2 function
ProvedMasulloRepair.halfline_smooth_test_approximationfunctional-analysismasullosobolev-spacessource-repair
Fix any . Let be the positive-axis measures
If for every , then there is one sequence , with compact support contained in , for which
This proves the smooth-test approximation required by the compact-window repair, for every real endpoint and every real logarithmic weight parameter . The approximants stay away from both zero and infinity individually. The compact support may grow with , and the conclusion makes no assertion about a supremum over all windows.
Formalization Note. The support condition uses the closed support, and each is smooth on the entire real line, including across zero.
Preamble
import Definitions.Def_MasulloRepair_LogWindows import Mathlib.Analysis.SpecialFunctions.Log.Deriv import Mathlib.Analysis.SpecialFunctions.Pow.Continuity import Mathlib.Tactic.Positivity import Mathlib.Tactic.Linarith set_option autoImplicit false open MeasureTheory Set Filter Topology MasulloRepair open scoped ENNReal ContDiff
Formal statement
theorem MasulloRepair.halfline_smooth_test_approximation (a s : ℝ) (f : ℝ → ℂ)
(hf : ∀ n : ℕ, MemLp f 2 (windowMeasure (halflineBaseMeasure a s) n)) :
∃ g : ℕ → ℝ → ℂ,
(∀ k, HasCompactSupport (g k) ∧
tsupport (g k) ⊆ Ioi (0 : ℝ) ∧ ContDiff ℝ ∞ (g k)) ∧
(∀ n k, MemLp (g k) 2 (windowMeasure (halflineBaseMeasure a s) n)) ∧
∀ n, Tendsto (fun k => eLpNorm (f - g k) 2
(windowMeasure (halflineBaseMeasure a s) n)) atTop (𝓝 0) := by sorrySource
Auxiliary theorem for the compact-window repair of A. M. Masullo, The Music of the Primes, Definition 9.2.2.1 and Lemma 9.2.2.2(3), printed pp. 412-413, and Proposition 9.2.2.4, p. 414. Frozen source: https://math216.wordpress.com/wp-content/uploads/2026/11/the-music-of-the-primes.pdf . This develops Yi's proposed compact-window replacement (mission comment a96ab6a0-9f70-4b3f-ab3e-8c7e38a823f2), after the accepted completeness theorem fea3483f-d6b8-43ba-95b4-3acb3895e88f. It is an explicitly stated repair, not a claim that the original uniform supremum is finite.