Skip to content

Conversation

grunweg
Copy link
Collaborator

@grunweg grunweg commented Oct 13, 2025

Neither file is about data structures, so let's find a better home for them.

Create a new directory NumberTheory/Real for them. Moving these files was suggested on zulip.


Open in Gitpod

Copy link

github-actions bot commented Oct 13, 2025

PR summary b2a9ee2917

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference
Mathlib.Data.Real.GoldenRatio -1650
Mathlib.RingTheory.Real.Irrational -1592
Mathlib.NumberTheory.Real.Irrational 1592
Mathlib.NumberTheory.Real.GoldenRatio 1650

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/RingTheory/Real/Irrational.lean` was renamed to `Mathlib/NumberTheory/Real/Irrational.lean without a module deprecation
Please create a follow-up pull request adding one. Thanks!

note: file Mathlib/Data/Real/GoldenRatio.lean` was renamed to `Mathlib/NumberTheory/Real/GoldenRatio.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 Oct 13, 2025
@grunweg grunweg requested a review from YaelDillies October 13, 2025 09:48
Copy link
Collaborator

@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.

Maybe this should move together with Irrational to a new folder NumberTheory.Real?

@riccardobrasca
Copy link
Member

Maybe this should move together with Irrational to a new folder NumberTheory.Real?

I like this solution!

@grunweg grunweg changed the title chore: move Data/Real/GoldenRatio to NumberTheory chore: move Data/Real/GoldenRatio and RingTheory/Real/Irrational to NumberTheory/Real Oct 15, 2025
@grunweg
Copy link
Collaborator Author

grunweg commented Oct 15, 2025

Good idea, implemented.

Copy link
Collaborator

@Ruben-VandeVelde Ruben-VandeVelde left a comment

Choose a reason for hiding this comment

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

maintainer merge

Copy link

🚀 Pull request has been placed on the maintainer queue by Ruben-VandeVelde.

@riccardobrasca
Copy link
Member

Thanks!

bors merge

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added ready-to-merge This PR has been sent to bors. and removed maintainer-merge labels Oct 15, 2025
mathlib-bors bot pushed a commit that referenced this pull request Oct 16, 2025
…umberTheory/Real (#30498)

Neither file is about data structures, so let's find a better home for them.

Create a new directory `NumberTheory/Real` for them. Moving these files was suggested [on zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Cleaning.20up.20.60Data.60/with/544442456).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 16, 2025

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Oct 16, 2025
…umberTheory/Real (#30498)

Neither file is about data structures, so let's find a better home for them.

Create a new directory `NumberTheory/Real` for them. Moving these files was suggested [on zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Cleaning.20up.20.60Data.60/with/544442456).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 16, 2025

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Oct 16, 2025
…umberTheory/Real (#30498)

Neither file is about data structures, so let's find a better home for them.

Create a new directory `NumberTheory/Real` for them. Moving these files was suggested [on zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Cleaning.20up.20.60Data.60/with/544442456).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 16, 2025

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Oct 16, 2025
…umberTheory/Real (#30498)

Neither file is about data structures, so let's find a better home for them.

Create a new directory `NumberTheory/Real` for them. Moving these files was suggested [on zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Cleaning.20up.20.60Data.60/with/544442456).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 16, 2025

Build failed (retrying...):

mathlib-bors bot pushed a commit that referenced this pull request Oct 16, 2025
…umberTheory/Real (#30498)

Neither file is about data structures, so let's find a better home for them.

Create a new directory `NumberTheory/Real` for them. Moving these files was suggested [on zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Cleaning.20up.20.60Data.60/with/544442456).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 16, 2025

Build failed:

@bryangingechen
Copy link
Contributor

Please merge master, fix, and re-bors, thanks!
bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 16, 2025

✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@grunweg
Copy link
Collaborator Author

grunweg commented Oct 16, 2025

Thanks for the reminder; one file needed a fix.
bors merge

mathlib-bors bot pushed a commit that referenced this pull request Oct 16, 2025
…umberTheory/Real (#30498)

Neither file is about data structures, so let's find a better home for them.

Create a new directory `NumberTheory/Real` for them. Moving these files was suggested [on zulip](https://leanprover.zulipchat.com/#narrow/channel/287929-mathlib4/topic/Cleaning.20up.20.60Data.60/with/544442456).
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Oct 16, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: move Data/Real/GoldenRatio and RingTheory/Real/Irrational to NumberTheory/Real [Merged by Bors] - chore: move Data/Real/GoldenRatio and RingTheory/Real/Irrational to NumberTheory/Real Oct 16, 2025
@mathlib-bors mathlib-bors bot closed this Oct 16, 2025
@grunweg grunweg deleted the goldenratio branch October 16, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated 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.

6 participants