Skip to content

[Merged by Bors] - chore: replace continuity by fun_prop, easy cases - #13880

Closed
grunweg wants to merge 3 commits into
masterfrom
MR-easy-funprop
Closed

grunweg wants to merge 3 commits into
masterfrom
MR-easy-funprop

Conversation

@grunweg

@grunweg grunweg commented Jun 16, 2024 •

Copy link
Copy Markdown
Contributor

Inspired by #12661: let's start with some easy instances, so we can focus on the difficult ones.

In particular, this PR does not depend on any in-progress bugfixes, not tries to change a default value by continuity to by fun_prop.

I am not at all confident about the tagging of lemmas with fun_prop: I remember this being subtle, but can't find any documentation on this. @lecopivo Can you advise on these lemmas (or simply link to the right documentation if I just overlooked it)?


Open in Gitpod

@grunweg

grunweg commented Jun 16, 2024

Copy link
Copy Markdown
Contributor Author

CC @urkud

@github-actions

Copy link
Copy Markdown

PR summary 6c8558b1f0

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>

@grunweg

grunweg commented Jun 16, 2024

Copy link
Copy Markdown
Contributor Author

!bench

@leanprover-bot

Copy link
Copy Markdown

Here are the benchmark results for commit 6c8558b.
There were no significant changes against commit 59c05f4.

@lecopivo

Copy link
Copy Markdown
Collaborator

Most of the theorems look fine to me. I remember there were some issues with Sigma so I'm not sure that all the theorems will be actually used.

I will investigate the use of Sigma a bit closer but that should not block this PR.

@lecopivo

Copy link
Copy Markdown
Collaborator

When checking you tagged the right theorem just add option

set_option trace.Meta.Tactic.fun_prop.attr true`

Every fun_prop attribute should produce a message. Check if the message say that the theorem is really about the function you think it should be.

@sgouezel

Copy link
Copy Markdown
Contributor

bors r+

@github-actions github-actions Bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review labels Jun 19, 2024
mathlib-bors Bot pushed a commit that referenced this pull request Jun 19, 2024
Inspired by #12661: let's start with some easy instances, so we can focus on the difficult ones.

In particular, this PR does not depend on any in-progress bugfixes, not tries to change a default value `by continuity` to `by fun_prop`.

I am not at all confident about the tagging of lemmas with fun_prop: I remember this being subtle, but can't find any documentation on this. @lecopivo Can you advise on these lemmas (or simply link to the right documentation if I just overlooked it)?
@mathlib-bors

mathlib-bors Bot commented Jun 19, 2024

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title chore: replace continuity by fun_prop, easy cases [Merged by Bors] - chore: replace continuity by fun_prop, easy cases Jun 19, 2024
@mathlib-bors mathlib-bors Bot closed this Jun 19, 2024
@mathlib-bors
mathlib-bors Bot deleted the MR-easy-funprop branch June 19, 2024 13:33
AntoineChambert-Loir pushed a commit that referenced this pull request Jun 20, 2024
Inspired by #12661: let's start with some easy instances, so we can focus on the difficult ones.

In particular, this PR does not depend on any in-progress bugfixes, not tries to change a default value `by continuity` to `by fun_prop`.

I am not at all confident about the tagging of lemmas with fun_prop: I remember this being subtle, but can't find any documentation on this. @lecopivo Can you advise on these lemmas (or simply link to the right documentation if I just overlooked it)?
grunweg added a commit that referenced this pull request Jun 20, 2024
Inspired by #12661: let's start with some easy instances, so we can focus on the difficult ones.

In particular, this PR does not depend on any in-progress bugfixes, not tries to change a default value `by continuity` to `by fun_prop`.

I am not at all confident about the tagging of lemmas with fun_prop: I remember this being subtle, but can't find any documentation on this. @lecopivo Can you advise on these lemmas (or simply link to the right documentation if I just overlooked it)?
kbuzzard pushed a commit that referenced this pull request Jun 26, 2024
Inspired by #12661: let's start with some easy instances, so we can focus on the difficult ones.

In particular, this PR does not depend on any in-progress bugfixes, not tries to change a default value `by continuity` to `by fun_prop`.

I am not at all confident about the tagging of lemmas with fun_prop: I remember this being subtle, but can't find any documentation on this. @lecopivo Can you advise on these lemmas (or simply link to the right documentation if I just overlooked it)?
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants