[Merged by Bors] - feat(finiteness): support finiteness [h, h'] syntax#34039
[Merged by Bors] - feat(finiteness): support finiteness [h, h'] syntax#34039grunweg wants to merge 8 commits intoleanprover-community:masterfrom
finiteness [h, h'] syntax#34039Conversation
…heses And slightly rewrite the doc-strings to conform more closely to the guidelines.
Also include tests for using aesop clauses and finiteness?.
|
@fpvandoorn We discussed this briefly. @Vierkantor in case you'd like to look at the new doc-string formatting (entirely optional --- but it would be good to land this PR before polishing |
PR summary d498a88e35Import changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diffNo declarations were harmed in the making of this PR! 🐙 You can run this locally as follows## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
|
✌️ grunweg can now approve this pull request. To approve and merge a pull request, simply reply with |
Co-authored-by: Floris van Doorn <fpvdoorn@gmail.com>
|
Thanks for the review! |
This PR adds support for the `finiteness [h, h']` syntax. This can be combined with the existing versions, such as supporting aesop clauses or the `finiteness?` and `finiteness_nonterminal` variants. This allows golfing mathlib in a few places. While adding tests, we take the opportunity to also test `finiteness?` and adding aesop clauses: these were previously untested. We also improve the tactic doc-string slightly: making it fully confirm to the new style guidelines is left for a future PR. This PR is inspired by #30388.
* Original motivation: can leanprover-community/mathlib4#34023 be used to golf some proofs? * When leanprover-community/mathlib4#34039 (`finiteness [h, h']` syntax) is merged, it will also be interesting to try using it more. * And leanprover-community/mathlib4#34133 (positivity bugfix) might also help with using positivity/finiteness more. --------- Co-authored-by: Ruben Van de Velde <65514131+Ruben-VandeVelde@users.noreply.github.com>
|
Build failed (retrying...): |
This PR adds support for the `finiteness [h, h']` syntax. This can be combined with the existing versions, such as supporting aesop clauses or the `finiteness?` and `finiteness_nonterminal` variants. This allows golfing mathlib in a few places. While adding tests, we take the opportunity to also test `finiteness?` and adding aesop clauses: these were previously untested. We also improve the tactic doc-string slightly: making it fully confirm to the new style guidelines is left for a future PR. This PR is inspired by #30388.
|
bors r- |
|
Canceled. |
|
CI passes, and this PR state was essentially approved by Floris (except for a suggestion which sadly didn't work; I'll obviously be happy to fix it in a follow-up PR). Let me go ahead and bors it: |
This PR adds support for the `finiteness [h, h']` syntax. This can be combined with the existing versions, such as supporting aesop clauses or the `finiteness?` and `finiteness_nonterminal` variants. This allows golfing mathlib in a few places. While adding tests, we take the opportunity to also test `finiteness?` and adding aesop clauses: these were previously untested. We also improve the tactic doc-string slightly: making it fully confirm to the new style guidelines is left for a future PR. This PR is inspired by #30388.
|
Pull request successfully merged into master. Build succeeded: |
finiteness [h, h'] syntaxfiniteness [h, h'] syntax
…munity#34039) This PR adds support for the `finiteness [h, h']` syntax. This can be combined with the existing versions, such as supporting aesop clauses or the `finiteness?` and `finiteness_nonterminal` variants. This allows golfing mathlib in a few places. While adding tests, we take the opportunity to also test `finiteness?` and adding aesop clauses: these were previously untested. We also improve the tactic doc-string slightly: making it fully confirm to the new style guidelines is left for a future PR. This PR is inspired by leanprover-community#30388.
This PR adds support for the
finiteness [h, h']syntax. This can be combined with the existing versions, such as supporting aesop clauses or thefiniteness?andfiniteness_nonterminalvariants. This allows golfing mathlib in a few places.While adding tests, we take the opportunity to also test
finiteness?and adding aesop clauses: these were previously untested. We also improve the tactic doc-string slightly: making it fully confirm to the new style guidelines is left for a future PR.This PR is inspired by #30388.