Skip to content

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

Closed
grunweg wants to merge 4 commits intomasterfrom
MR-more_fun_prop_analysis
Closed

[Merged by Bors] - chore/perf(Analysis): replace continuity -> fun_prop#13959
grunweg wants to merge 4 commits intomasterfrom
MR-more_fun_prop_analysis

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Jun 19, 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.


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
Copy link
Copy Markdown

github-actions bot commented Jun 19, 2024

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
Copy link
Copy Markdown
Contributor Author

grunweg commented Jun 19, 2024

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

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
Copy link
Copy Markdown
Contributor Author

grunweg commented Jun 20, 2024

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

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%

Copy link
Copy Markdown
Contributor

@sgouezel sgouezel left a comment

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 A reviewer has asked the author a question or requested changes. and removed awaiting-review labels Jun 26, 2024
@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Jun 26, 2024

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

@github-actions github-actions bot added awaiting-review and removed awaiting-author A reviewer has asked the author a question or requested changes. 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
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Jun 26, 2024

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