Skip to content

Conversation

@mcdoll
Copy link
Member

@mcdoll mcdoll commented Jan 16, 2026

Since Analysis/Distribution/SchwartzSpace.lean is over 1500 lines, we have to move some of its contents into a new file.
The derivatives are a natural choice, because it is quite a few lines of code, will see further expansion (with the Laplacian) and a number of imports are just needed for them.

We perform this split by moving the current file to Analysis/Distribution/SchwartzSpace/Basic.lean and creating a new file
Analysis/Distribution/SchwartzSpace.Deriv.lean. Moreover, we move the previous Analysis/Distribution/FourierSchwartz.lean to Analysis/Distribution/SchwartzSpace/Fourier.lean


Open in Gitpod

@github-actions github-actions bot added the t-analysis Analysis (normed *, calculus) label Jan 16, 2026
@github-actions
Copy link

github-actions bot commented Jan 16, 2026

PR summary ca7d6f198f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Analysis.Distribution.FourierSchwartz -2653
Mathlib.Analysis.Distribution.SchwartzSpace -2558
24 files Mathlib.Analysis.Distribution.TemperedDistribution Mathlib.Analysis.Fourier.Convolution Mathlib.Analysis.Fourier.LpSpace Mathlib.Analysis.Fourier.PoissonSummation Mathlib.Analysis.SpecialFunctions.Gaussian.PoissonSummation Mathlib.NumberTheory.EulerProduct.DirichletLSeries Mathlib.NumberTheory.Harmonic.ZetaAsymp Mathlib.NumberTheory.LSeries.DirichletContinuation Mathlib.NumberTheory.LSeries.Dirichlet Mathlib.NumberTheory.LSeries.HurwitzZetaEven Mathlib.NumberTheory.LSeries.HurwitzZetaOdd Mathlib.NumberTheory.LSeries.HurwitzZetaValues Mathlib.NumberTheory.LSeries.HurwitzZeta Mathlib.NumberTheory.LSeries.Nonvanishing Mathlib.NumberTheory.LSeries.PrimesInAP Mathlib.NumberTheory.LSeries.RiemannZeta Mathlib.NumberTheory.LSeries.ZMod Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Defs Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Summable Mathlib.NumberTheory.ModularForms.EisensteinSeries.QExpansion Mathlib.NumberTheory.ModularForms.JacobiTheta.Bounds Mathlib.NumberTheory.ModularForms.JacobiTheta.Manifold Mathlib.NumberTheory.ModularForms.JacobiTheta.OneVariable Mathlib.NumberTheory.ModularForms.JacobiTheta.TwoVariable
1
Mathlib.Analysis.Distribution.SchwartzSpace.Basic 2533
Mathlib.Analysis.Distribution.SchwartzSpace.Deriv (new file) 2559
Mathlib.Analysis.Distribution.SchwartzSpace.Fourier 2654

Declarations diff

No declarations were harmed in the making of this PR! 🐙

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


Decrease in tech debt: (relative, absolute) = (1.00, 0.25)
Current number Change Type
4 -1 large files

Current commit f75143afb9
Reference commit ca7d6f198f

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

note: file Mathlib/Analysis/Distribution/FourierSchwartz.lean` was renamed to `Mathlib/Analysis/Distribution/SchwartzSpace/Fourier.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

note: file Mathlib/Analysis/Distribution/SchwartzSpace.lean` was renamed to `Mathlib/Analysis/Distribution/SchwartzSpace/Basic.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

@github-actions github-actions bot added the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Jan 16, 2026
@github-actions github-actions bot removed the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Jan 16, 2026
This reverts commit a719f64.
@github-actions github-actions bot added the file-removed A Lean module was (re)moved without a `deprecated_module` annotation label Jan 16, 2026
@mcdoll mcdoll added the tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip label Jan 16, 2026
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 16, 2026
@mathlib4-merge-conflict-bot
Copy link
Collaborator

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jan 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

file-removed A Lean module was (re)moved without a `deprecated_module` annotation t-analysis Analysis (normed *, calculus) tech debt Tracking cross-cutting technical debt, see e.g. the "Technical debt counters" stream on zulip

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants