Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - chore: remove unneeded decreasing_by and termination_by #11386

Closed
wants to merge 2 commits into from

Conversation

semorrison
Copy link
Contributor

The termination checker has been getting more capable, and many of the termination_by or decreasing_by clauses in Mathlib are no longer needed.

(Note that termination_by? will show the automatically derived termination expression, so no information is being lost by removing these.)


Pinging @nomeata as they might be pleased to see what is now possible!

@semorrison semorrison added the awaiting-review The author would like community review of the PR label Mar 14, 2024
@urkud
Copy link
Member

urkud commented Mar 15, 2024

LGTM. Thanks!

There is an overlap with #11388 which is currently on the queue. AFAICT, the overlap won't generate merge conflicts.

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Mar 15, 2024
mathlib-bors bot pushed a commit that referenced this pull request Mar 15, 2024
The termination checker has been getting more capable, and many of the `termination_by` or `decreasing_by` clauses in Mathlib are no longer needed.

(Note that `termination_by?` will show the automatically derived termination expression, so no information is being lost by removing these.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
@nomeata
Copy link
Collaborator

nomeata commented Mar 15, 2024

!bench

Note that there is a performance penalty if you don't specify the measure, so I don't know if I actually recommend removing these annotations if you already have them.

@mathlib-bors
Copy link

mathlib-bors bot commented Mar 15, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title chore: remove unneeded decreasing_by and termination_by [Merged by Bors] - chore: remove unneeded decreasing_by and termination_by Mar 15, 2024
@mathlib-bors mathlib-bors bot closed this Mar 15, 2024
@mathlib-bors mathlib-bors bot deleted the rm_decreasing_by branch March 15, 2024 07:26
@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit 0a38691.
There were no significant changes against commit 532c33b.

@nomeata
Copy link
Collaborator

nomeata commented Mar 15, 2024

Ok, the speedcenter alleviates my worries. Thanks!

dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
The termination checker has been getting more capable, and many of the `termination_by` or `decreasing_by` clauses in Mathlib are no longer needed.

(Note that `termination_by?` will show the automatically derived termination expression, so no information is being lost by removing these.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
utensil pushed a commit that referenced this pull request Mar 26, 2024
The termination checker has been getting more capable, and many of the `termination_by` or `decreasing_by` clauses in Mathlib are no longer needed.

(Note that `termination_by?` will show the automatically derived termination expression, so no information is being lost by removing these.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Louddy pushed a commit that referenced this pull request Apr 15, 2024
The termination checker has been getting more capable, and many of the `termination_by` or `decreasing_by` clauses in Mathlib are no longer needed.

(Note that `termination_by?` will show the automatically derived termination expression, so no information is being lost by removing these.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
The termination checker has been getting more capable, and many of the `termination_by` or `decreasing_by` clauses in Mathlib are no longer needed.

(Note that `termination_by?` will show the automatically derived termination expression, so no information is being lost by removing these.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
callesonne pushed a commit that referenced this pull request Apr 22, 2024
The termination checker has been getting more capable, and many of the `termination_by` or `decreasing_by` clauses in Mathlib are no longer needed.

(Note that `termination_by?` will show the automatically derived termination expression, so no information is being lost by removing these.)



Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
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.

None yet

4 participants