Skip to content

[Merged by Bors] - chore(Data/Complex): move analysis files to under Analysis#28948

Closed
grunweg wants to merge 1 commit intoleanprover-community:masterfrom
grunweg:analysis-datacomplex
Closed

[Merged by Bors] - chore(Data/Complex): move analysis files to under Analysis#28948
grunweg wants to merge 1 commit intoleanprover-community:masterfrom
grunweg:analysis-datacomplex

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Aug 26, 2025

Continuation of #28909.


Open in Gitpod

@github-actions
Copy link
Copy Markdown

github-actions bot commented Aug 26, 2025

PR summary ce5fb4ce2a

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Data.Complex.ExponentialBounds -1877
Mathlib.Data.Complex.Trigonometric -1300
Mathlib.Data.Complex.Exponential -1299
Mathlib.Analysis.Complex.Exponential 1299
Mathlib.Analysis.Complex.Trigonometric 1300
Mathlib.Analysis.Complex.ExponentialBounds 1877

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.


No changes to technical debt.

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/Data/Complex/Exponential.lean` was renamed to `Mathlib/Analysis/Complex/Exponential.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

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

note: file Mathlib/Data/Complex/Trigonometric.lean` was renamed to `Mathlib/Analysis/Complex/Trigonometric.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 Aug 26, 2025
@grunweg grunweg force-pushed the analysis-datacomplex branch from 1c8bea1 to 3328a44 Compare August 26, 2025 09:43
@grunweg grunweg removed the WIP Work in progress label Aug 26, 2025
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🚀

maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@ghost ghost added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Aug 26, 2025
@bryangingechen
Copy link
Copy Markdown
Contributor

Thanks!
bors r+

@ghost ghost added ready-to-merge This PR has been sent to bors. and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Aug 26, 2025
mathlib-bors bot pushed a commit that referenced this pull request Aug 26, 2025
Continuation of #28909.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Aug 26, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore(Data/Complex): move analysis files to under Analysis [Merged by Bors] - chore(Data/Complex): move analysis files to under Analysis Aug 26, 2025
@mathlib-bors mathlib-bors bot closed this Aug 26, 2025
@grunweg grunweg deleted the analysis-datacomplex branch August 26, 2025 16:34
FormulaRabbit81 pushed a commit to YaelDillies/mathlib4 that referenced this pull request Aug 30, 2025
…r-community#28948)

Continuation of leanprover-community#28909.

Co-authored-by: Michael Rothgang <rothgang@math.uni-bonn.de>
@kbuzzard
Copy link
Copy Markdown
Member

kbuzzard commented Sep 1, 2025

I was brought here (eventually) by failing imports in FLT. Are we going to deprecate the now-missing modules?

@YaelDillies
Copy link
Copy Markdown
Contributor

Yes, we've got another two weeks before the next stable release

@kbuzzard
Copy link
Copy Markdown
Member

kbuzzard commented Sep 1, 2025

But definitely I shouldn't be only bumping FLT every time a new stable Lean comes out. Is the mathlib procedure really "move modules but you don't have to bother deprecating them until a new stable version of Lean is pending"? I would imagine that I'm not the only downstream project that is going to suffer, if this is the the rule.

@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Sep 1, 2025

The current procedure is "the PR author makes a deprecation PR very soon after the PR", but this is not enforced.
I have been meaning to do this --- but also was considering to batch these various deprecations together, and ultimately didn't find time before going on holiday.

So, in my opinion: the fact that no deprecation was added yet is not supposed to happen (imho, they should be added "right after", not towards the end of a release cycle), and we really need the automation for this.

@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Sep 1, 2025

I'm sorry for the annoyance this has caused you.

@YaelDillies
Copy link
Copy Markdown
Contributor

I simply meant to point out that the real deadline here is the new stable being cut, but of course earlier is always better. I personally haven't had time to add the deprecated modules myself yet.

mathlib-bors bot pushed a commit that referenced this pull request Sep 2, 2025
These modules were renamed in #28948 and #28909, and this is semi-autogenerated PR to deprecate the old module names.

These are 9 `Data.{Complex, Real}.xxx` files that have been renamed to `Analysis.{Complex, Real}.xxx`.

I had forgotten about running `lake exe mk_all` after the deprecated modules had been generated.
@kbuzzard
Copy link
Copy Markdown
Member

kbuzzard commented Sep 3, 2025

I'm sorry for the annoyance this has caused you.

Oh I'm not annoyed at all! I was just pointing out what seemed to be a deficiency in the system. I just had to chase up what had happened manually, and was under the impression that we were trying to avoid this.

CBirkbeck pushed a commit to CBirkbeck/mathlib4 that referenced this pull request Sep 8, 2025
These modules were renamed in leanprover-community#28948 and leanprover-community#28909, and this is semi-autogenerated PR to deprecate the old module names.

These are 9 `Data.{Complex, Real}.xxx` files that have been renamed to `Analysis.{Complex, Real}.xxx`.

I had forgotten about running `lake exe mk_all` after the deprecated modules had been generated.
yuanyi-350 pushed a commit to yuanyi-350/yuanyi_mathlib4 that referenced this pull request Sep 10, 2025
These modules were renamed in leanprover-community#28948 and leanprover-community#28909, and this is semi-autogenerated PR to deprecate the old module names.

These are 9 `Data.{Complex, Real}.xxx` files that have been renamed to `Analysis.{Complex, Real}.xxx`.

I had forgotten about running `lake exe mk_all` after the deprecated modules had been generated.
robertmaxton42 pushed a commit to robertmaxton42/mathlib4 that referenced this pull request Sep 11, 2025
These modules were renamed in leanprover-community#28948 and leanprover-community#28909, and this is semi-autogenerated PR to deprecate the old module names.

These are 9 `Data.{Complex, Real}.xxx` files that have been renamed to `Analysis.{Complex, Real}.xxx`.

I had forgotten about running `lake exe mk_all` after the deprecated modules had been generated.
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
These modules were renamed in leanprover-community#28948 and leanprover-community#28909, and this is semi-autogenerated PR to deprecate the old module names.

These are 9 `Data.{Complex, Real}.xxx` files that have been renamed to `Analysis.{Complex, Real}.xxx`.

I had forgotten about running `lake exe mk_all` after the deprecated modules had been generated.
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 ready-to-merge This PR has been sent to bors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants