Merged
Conversation
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 8, 2023
|
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 8, 2023
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 9, 2023
6cd5349 to
31d5ba7
Compare
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 11, 2023
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 11, 2023
kim-em
reviewed
Dec 12, 2023
nomeata
added a commit
to nomeata/batteries
that referenced
this pull request
Dec 13, 2023
this makes the necessary changes to compile with the `termination_by` syntax refactoring in leanprover/lean4#3040
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 13, 2023
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 13, 2023
kim-em
reviewed
Dec 14, 2023
nomeata
added a commit
that referenced
this pull request
Dec 15, 2023
extracted from #3040 to keep the diff smaller
nomeata
commented
Dec 15, 2023
github-merge-queue bot
pushed a commit
that referenced
this pull request
Dec 18, 2023
extracted from #3040 to keep the diff smaller
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Dec 20, 2023
c876e4b to
d6b7201
Compare
Collaborator
Author
|
Rebased this PR (against all my strongly held convictions) because it needs a stage0 update in the middle. Needs to be rebase-merged. This seems to be good to go, but I’ll wait for mathlib CI to work again, to make sure that the std and mathlib PRs are up-to-date, and check back with Scott about how to merge this with the least release complications. |
d6b7201 to
800fe3d
Compare
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Jan 5, 2024
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Jan 5, 2024
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Jan 5, 2024
leodemoura
reviewed
Jan 6, 2024
leodemoura
reviewed
Jan 6, 2024
leodemoura
approved these changes
Jan 6, 2024
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Jan 8, 2024
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Jan 8, 2024
8278b00 to
f2bc037
Compare
ghost
pushed a commit
to leanprover-community/mathlib4
that referenced
this pull request
Jan 8, 2024
This change * moves `termination_by` and `decreasing_by` next to the function they apply to * simplify the syntax of `termination_by` * apply the `decreasing_by` goal to all goals at once, for better interactive use. See the section in `RELEASES.md` for more details and migration advise. This is a hard breaking change, requiring developers to touch every `termination_by` in their code base. We decided to still do it as a hard-breaking change, because supporting both old and new syntax at the same time would be non-trivial, and not save that much. Moreover, this requires changes to some metaprograms that developers might have written, and supporting both syntaxes at the same time would make _their_ migration harder.
This was referenced Jan 11, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change
termination_byanddecreasing_bynext to the function they apply totermination_bydecreasing_bygoal to all goals at once, for better interactive use.See the section in
RELEASES.mdfor more details and migration advise.This is a hard breaking change, requiring developers to touch every
termination_byin their code base. We decided to still do it as a hard-breaking change, because supporting both old and new syntax at the same time would be non-trivial, and not save that much. Moreover, this requires changes to some metaprograms that developers might have written, and supporting both syntaxes at the same time would make their migration harder.Std and mathlib updates are prepared at
Fixes #2921 and #3081.