Skip to content

feat(Wiener): prove prelim_decay_2 without Stieltjes integration - #1819

Open
Riccardo-Vecchi wants to merge 1 commit into
AlexKontorovich:mainfrom
Riccardo-Vecchi:feat/wiener-prelim-decay-2
Open

Riccardo-Vecchi wants to merge 1 commit into
AlexKontorovich:mainfrom
Riccardo-Vecchi:feat/wiener-prelim-decay-2

Conversation

@Riccardo-Vecchi

@Riccardo-Vecchi Riccardo-Vecchi commented Nov 26, 2026 •

Copy link
Copy Markdown

Motivation

Closes the sorry on prelim_decay_2 (@[blueprint "prelim-decay-2"], Lemma 3.1.4) in PrimeNumberTheoremAnd/Wiener.lean — the sole remaining gap blocking prelim_decay_3 (#1818) and decay_alt, and together with #1818 making Wiener.lean sorry-free.

Previously #562 and #1560 were shelved because Fourier–Stieltjes integration by parts would have required adding a large custom Stieltjes/vector-measure library prior to Mathlib's Stieltjes work. This PR shows that prelim_decay_2 admits a short, elementary, Stieltjes-free proof (~135 lines total, zero new files or imports) directly in Wiener.lean:

  1. For every $h > 0$, translation invariance of Lebesgue measure gives
    $$\bigl(e(hu) - 1\bigr),\hat\psi(u) = \int_{\mathbb{R}} e(-tu),\bigl(\psi(t+h) - \psi(t)\bigr),dt.$$
  2. Partitioning $\mathbb{R} = \bigsqcup_{n \in \mathbb{Z}} [nh, (n+1)h)$ and applying measurePreserving_add_right + Tonelli's theorem (lintegral_tsum) yields the $L^1$ shift-variation bound
    $$\int_{\mathbb{R}} |\psi(t+h) - \psi(t)|,dt \le h,|\psi|_{TV}.$$
  3. Dividing by $h > 0$ and letting $h \to 0^+$ via HasDerivAt of $h \mapsto \exp(2\pi i u h)$ at $0$ gives $2\pi|u|,|\hat\psi(u)| \le |\psi|_{TV}$.

Refs #562 (bypassing the Stieltjes dependency entirely); complements #1818.

Scope

  • Proves prelim_decay_2 in PrimeNumberTheoremAnd/Wiener.lean with its statement and @[blueprint] metadata unchanged (+136 / -1 lines, max line length 90 chars).
  • Adds two private local helper lemmas (tsum_edist_shift_le_eVariationOn and integral_norm_shift_sub_le); no new public declarations, no new files, no new imports.
  • Note on blueprint text / Mathlib upstreaming: left the @[blueprint "prelim-decay-2"] proof docstring untouched (happy to update it to the translation-difference proof if maintainers prefer). Both integral_norm_shift_sub_le and the $O(|\psi|_{TV}/|u|)$ Fourier decay bound are self-contained and plausible candidates for upstreaming to Mathlib.

Test plan

  • lake build PrimeNumberTheoremAnd.Wiener PrimeNumberTheoremAnd.Consequences PrimeNumberTheoremAnd.PerronFormula PrimeNumberTheoremAnd.Wiener:blueprint (0 errors, 0 warnings)
  • Fresh elaboration with all lakefile.toml options + linter.mathlibStandardSet=true, linter.flexible=true, linter.unusedTactic=true, linter.unusedVariables=true (0 warnings)
  • All 15 Batteries.Tactic.Lint environment linters on prelim_decay_2 (0 issues)
  • #print axioms prelim_decay_2 verified: [propext, Classical.choice, Quot.sound]
  • Kernel edge-case instantiation tests (ψ = 0, discontinuous boxcar 1_{[0, 1)} at sharp frequency u = 1/2 and negative u = -3/2) verified cleanly
  • Merge + elaboration compatibility verified with open PR feat(Wiener): prove prelim_decay_3 from prelim_decay_2 #1818 (zero conflicts, zero sorrys in combined Wiener.lean, [propext, Classical.choice, Quot.sound] on prelim_decay_2, prelim_decay_3, and decay_alt)

Made with Gemini.

@github-actions github-actions Bot added ai Formalised using AI. gemini Formalised using Gemini models. labels Nov 26, 2026
@Riccardo-Vecchi
Riccardo-Vecchi force-pushed the feat/wiener-prelim-decay-2 branch from 2ce3d5b to 03fd86d Compare November 26, 2026 18:59

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai Formalised using AI. gemini Formalised using Gemini models.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant