Skip to content

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

Closed
grunweg wants to merge 3 commits intomasterfrom
MR-easy-funprop
Closed

[Merged by Bors] - chore: replace continuity by fun_prop, easy cases#13880
grunweg wants to merge 3 commits intomasterfrom
MR-easy-funprop

Conversation

@grunweg
Copy link
Copy Markdown
Contributor

@grunweg grunweg commented Jun 16, 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)?


Open in Gitpod

@grunweg
Copy link
Copy Markdown
Contributor Author

grunweg commented Jun 16, 2024

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

grunweg commented Jun 16, 2024

!bench

@leanprover-bot
Copy link
Copy Markdown
Collaborator

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

mathlib-bors bot commented Jun 19, 2024

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