Skip to content

[Merged by Bors] - chore(IntervalIntegrable/Basic): generalise typeclasses slightly - #28813

Closed
grunweg wants to merge 1 commit into
leanprover-community:masterfrom
grunweg:gen-typeclasses
Closed

grunweg wants to merge 1 commit into
leanprover-community:masterfrom
grunweg:gen-typeclasses

Conversation

@grunweg

@grunweg grunweg commented Aug 23, 2025 •

Copy link
Copy Markdown
Contributor

Discovered in #28803. Transitively part of the Carleson project, as this is about the enorm classes.

While this PR is basically performance-neutral; transplanting this to #28803 speeds up the file by 20 * 10⁹ instructions.


Open in Gitpod

@grunweg
grunweg requested a review from YaelDillies August 23, 2025 15:10
@grunweg grunweg added easy < 20s of review time. See the lifecycle page for guidelines. carleson part of the ongoing formalization of Carleson's theorem labels Aug 23, 2025
@grunweg

grunweg commented Aug 23, 2025

Copy link
Copy Markdown
Contributor Author

@YaelDillies Would you like to give this a quick review? This PR should be a no-brainer, and blocks the unbundling in #28803.

@grunweg grunweg added the awaiting-bench This PR needs to be benchmarked before merging label Aug 23, 2025
@github-actions github-actions Bot added the t-measure-probability Measure theory / Probability theory label Aug 23, 2025
@github-actions

Copy link
Copy Markdown

PR summary 01f216151d

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

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

@YaelDillies YaelDillies left a comment

Copy link
Copy Markdown
Contributor

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 23, 2025
@grunweg

grunweg commented Aug 23, 2025

Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-bot

Copy link
Copy Markdown

Here are the benchmark results for commit 0220de0.
There were no significant changes against commit 01f2161.

@github-actions

Copy link
Copy Markdown
File Instructions %
build -4.10⬝10⁹ (+0.00%)
Mathlib.MeasureTheory.Integral.IntervalIntegral.Basic +1.366⬝10⁹ (+1.35%)
Mathlib.CategoryTheory.Preadditive.Biproducts -1.20⬝10⁹ (-1.59%)
CI run Lakeprof report

@grunweg grunweg removed the awaiting-bench This PR needs to be benchmarked before merging label Aug 23, 2025
@ADedecker

Copy link
Copy Markdown
Member

Thanks!

bors merge

@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 23, 2025
mathlib-bors Bot pushed a commit that referenced this pull request Aug 23, 2025
)

Discovered in #28803. Transitively part of the Carleson project, as this is about the enorm classes.

While this PR is basically performance-neutral; transplanting this to #28803 speeds up the file by 20 * 10⁹ instructions.
@mathlib-bors

mathlib-bors Bot commented Aug 23, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore(IntervalIntegrable/Basic): generalise typeclasses slightly [Merged by Bors] - chore(IntervalIntegrable/Basic): generalise typeclasses slightly Aug 23, 2025
@mathlib-bors mathlib-bors Bot closed this Aug 23, 2025
pechersky pushed a commit to pechersky/mathlib4 that referenced this pull request Aug 25, 2025
…nprover-community#28813)

Discovered in leanprover-community#28803. Transitively part of the Carleson project, as this is about the enorm classes.

While this PR is basically performance-neutral; transplanting this to leanprover-community#28803 speeds up the file by 20 * 10⁹ instructions.
FormulaRabbit81 pushed a commit to YaelDillies/mathlib4 that referenced this pull request Aug 30, 2025
…nprover-community#28813)

Discovered in leanprover-community#28803. Transitively part of the Carleson project, as this is about the enorm classes.

While this PR is basically performance-neutral; transplanting this to leanprover-community#28803 speeds up the file by 20 * 10⁹ instructions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

carleson part of the ongoing formalization of Carleson's theorem easy < 20s of review time. See the lifecycle page for guidelines. ready-to-merge This PR has been sent to bors. t-measure-probability Measure theory / Probability theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants