Skip to content

[Merged by Bors] - chore/perf(Analysis): replace continuity -> fun_prop - #13959

Closed
grunweg wants to merge 4 commits into
masterfrom
MR-more_fun_prop_analysis
Closed

grunweg wants to merge 4 commits into
masterfrom
MR-more_fun_prop_analysis

Conversation

@grunweg

@grunweg grunweg commented Jun 19, 2024 •

Copy link
Copy Markdown
Contributor

This is exhaustive, with the exception of one goal where the continuity proof is seemingly not about continuity at all...
We tag two lemmas with fun_prop which were continuity lemmas.

In some cases, this speeds up proofs significantly; we also resolve two porting notes about continuity not applying.


Open in Gitpod

This is not exhaustive, but another gradual step towards using fun_prop
everywhere possible. In some cases, this speeds up proofs significantly;
we also resolve to porting notes about continuity not applying.
@grunweg grunweg added awaiting-review awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. t-analysis Analysis (normed *, calculus) labels Jun 19, 2024
@github-actions

github-actions Bot commented Jun 19, 2024 •

Copy link
Copy Markdown

PR summary 8108ce1431

Import changes

No significant changes to the import graph


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/no_lost_declarations.sh short <optional_commit>

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

@github-actions github-actions Bot removed the awaiting-CI This PR does not pass CI yet. This label is automatically removed once it does. label Jun 19, 2024
@grunweg

grunweg commented Jun 19, 2024

Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-bot

Copy link
Copy Markdown

Here are the benchmark results for commit 252d72a.
There were significant changes against commit 63b99ca:

  Benchmark                                        Metric         Change
  ======================================================================
+ ~Mathlib.Analysis.Calculus.LineDeriv.Basic       instructions   -30.2%
+ ~Mathlib.Analysis.InnerProductSpace.Projection   instructions    -4.5%
+ ~Mathlib.Analysis.SpecialFunctions.Integrals     instructions   -28.2%

@grunweg grunweg changed the title chore/perf(Analysis): replace continuity -> fun_prop in many cases chore/perf(Analysis): replace continuity -> fun_prop Jun 20, 2024
@grunweg

grunweg commented Jun 20, 2024

Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-bot

Copy link
Copy Markdown

Here are the benchmark results for commit 18b00ef.
There were significant changes against commit 63b99ca:

  Benchmark                                                 Metric         Change
  ===============================================================================
+ ~Mathlib.Analysis.Calculus.LineDeriv.Basic                instructions   -30.2%
+ ~Mathlib.Analysis.InnerProductSpace.Projection            instructions    -4.4%
+ ~Mathlib.Analysis.NormedSpace.HahnBanach.SeparatingDual   instructions   -20.3%
+ ~Mathlib.Analysis.NormedSpace.SphereNormEquiv             instructions   -71.9%
+ ~Mathlib.Analysis.SpecialFunctions.Integrals              instructions   -28.2%
+ ~Mathlib.Analysis.SpecialFunctions.Trigonometric.Bounds   instructions   -23.3%

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

Looks great, thanks!

@sgouezel sgouezel added awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. and removed awaiting-review labels Jun 26, 2024
@grunweg

grunweg commented Jun 26, 2024

Copy link
Copy Markdown
Contributor Author

Thank you for the review! I have addressed all comments.
awaiting-review

@github-actions github-actions Bot added awaiting-review and removed awaiting-author Reply -awaiting-author to remove the label on your PR once you have addressed all comments. labels Jun 26, 2024
@sgouezel

Copy link
Copy Markdown
Contributor

bors r+
Thanks!

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jun 26, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jun 26, 2024
This is exhaustive, with the exception of one goal where the `continuity` proof is seemingly not about continuity at all...
We tag two lemmas with `fun_prop` which were continuity lemmas.

In some cases, this speeds up proofs significantly; we also resolve two porting notes about continuity not applying.
@mathlib-bors

mathlib-bors Bot commented Jun 26, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore/perf(Analysis): replace continuity -> fun_prop [Merged by Bors] - chore/perf(Analysis): replace continuity -> fun_prop Jun 26, 2024
@mathlib-bors mathlib-bors Bot closed this Jun 26, 2024
@mathlib-bors
mathlib-bors Bot deleted the MR-more_fun_prop_analysis branch June 26, 2024 17:20
kbuzzard pushed a commit that referenced this pull request Jun 26, 2024
This is exhaustive, with the exception of one goal where the `continuity` proof is seemingly not about continuity at all...
We tag two lemmas with `fun_prop` which were continuity lemmas.

In some cases, this speeds up proofs significantly; we also resolve two porting notes about continuity not applying.
dagurtomas pushed a commit that referenced this pull request Jul 2, 2024
This is exhaustive, with the exception of one goal where the `continuity` proof is seemingly not about continuity at all...
We tag two lemmas with `fun_prop` which were continuity lemmas.

In some cases, this speeds up proofs significantly; we also resolve two porting notes about continuity not applying.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge This PR has been sent to bors. t-analysis Analysis (normed *, calculus)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants