Skip to content

Conversation

@xgenereux
Copy link
Collaborator


Open in Gitpod

@xgenereux xgenereux added the WIP Work in progress label Jan 5, 2026
@github-actions
Copy link

github-actions bot commented Jan 5, 2026

PR summary 27ab765809

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ instance : P.support.IsPrime := by simpa using Ideal.isPrime_bot
+ isPrime_bot
- instance : P.support.IsPrime := by simpa using Ideal.bot_prime

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

@github-actions github-actions bot added the t-ring-theory Ring theory label Jan 5, 2026
@xgenereux
Copy link
Collaborator Author

!bench

@leanprover-radar
Copy link

leanprover-radar commented Jan 5, 2026

Benchmark results for f401614 against 27ab765 are in! @xgenereux

Large changes (1✅)
  • open-mathlib//wall-clock: -423ms (-6.6%)
Small changes (1🟥)
  • 🟥 build/module/Mathlib.Util.LongNames//instructions: +129.0M (+4.2%)

@xgenereux xgenereux removed the WIP Work in progress label Jan 5, 2026
@xgenereux
Copy link
Collaborator Author

Given the bench, would it be fine to have this as an instance?

Copy link
Contributor

@alreadydone alreadydone left a comment

Choose a reason for hiding this comment

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

!radar (oh it's already been benched)

@erdOne
Copy link
Member

erdOne commented Jan 10, 2026

maintainer delegate

@github-actions
Copy link

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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jan 10, 2026
@riccardobrasca
Copy link
Member

!bench

@leanprover-radar
Copy link

leanprover-radar commented Jan 10, 2026

Benchmark results for 7241087 against 27ab765 are in! @riccardobrasca

Large changes (1✅)
  • open-mathlib//wall-clock: -391ms (-6.1%)
Small changes (4✅, 1🟥)
  • build/module/Mathlib.Data.Int.LeastGreatest//instructions: -230.0M (-3.7%)
  • build/module/Mathlib.RingTheory.WittVector.InitTail//instructions: -739.6M (-2.6%)
  • build/module/Mathlib.RingTheory.WittVector.MulP//instructions: -693.0M (-5.3%)
  • build/module/Mathlib.RingTheory.WittVector.Verschiebung//instructions: -680.1M (-4.6%)
  • 🟥 build/module/Mathlib.Util.LongNames//instructions: +128.1M (+4.2%)

@erdOne
Copy link
Member

erdOne commented Jan 10, 2026

It was already benched and it seemed fine. But I guess it doesn't hurt to check again.

@riccardobrasca
Copy link
Member

Oh sorry, I didn't notice it. Anyway we are still missing a deprecation.

bors d+

@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 10, 2026

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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). and removed maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. labels Jan 10, 2026
@xgenereux
Copy link
Collaborator Author

bors r+

mathlib-bors bot pushed a commit that referenced this pull request Jan 10, 2026
Co-authored-by: Xavier Genereux <xaviergenereux@hotmail.com>
@mathlib-bors
Copy link
Contributor

mathlib-bors bot commented Jan 10, 2026

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title refactor: Ideal.bot_prime as an instance [Merged by Bors] - refactor: Ideal.bot_prime as an instance Jan 10, 2026
@mathlib-bors mathlib-bors bot closed this Jan 10, 2026
@adomani adomani mentioned this pull request Jan 16, 2026
eliasjudin pushed a commit to eliasjudin/mathlib4 that referenced this pull request Jan 18, 2026
Co-authored-by: Xavier Genereux <xaviergenereux@hotmail.com>
goliath-klein pushed a commit to PrParadoxy/mathlib4 that referenced this pull request Jan 24, 2026
Co-authored-by: Xavier Genereux <xaviergenereux@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). t-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants