diff options
| author | Jason Gross | 2019-09-16 19:19:07 -0400 |
|---|---|---|
| committer | Jason Gross | 2019-11-26 14:14:04 -0500 |
| commit | b09444fdaee1cf608dd40465d5e400fbd46ef6ad (patch) | |
| tree | 96918b6f363dcbad148d8b5cb4623eacddd3c75e /doc/changelog/04-tactics | |
| parent | 49d21a292c3a57e8ec01888745957716834f1e36 (diff) | |
Make rapply handle all numbers of underscores
Also add a tactic notation so that it takes in uconstrs by default.
Also add some basic tests for `rapply`.
Also document rapply in the manual
Diffstat (limited to 'doc/changelog/04-tactics')
| -rw-r--r-- | doc/changelog/04-tactics/10760-more-rapply.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/changelog/04-tactics/10760-more-rapply.rst b/doc/changelog/04-tactics/10760-more-rapply.rst new file mode 100644 index 0000000000..e11a93d654 --- /dev/null +++ b/doc/changelog/04-tactics/10760-more-rapply.rst @@ -0,0 +1,19 @@ +- The tactic :tacn:`rapply` in :g:`Coq.Program.Tactics` now handles + arbitrary numbers of underscores and takes in a :g:`uconstr`. In + rare cases where users were relying on :tacn:`rapply` inserting + exactly 15 underscores and no more, due to the lemma having a + completely unspecified codomain (and thus allowing for any number of + underscores), the tactic will now instead loop. Additional + incompatibility may occur in cases where it was important to + interpret the lemma passed in to :tacn:`rapply` as a :g:`constr` + (thus failing on unresolved holes and resolving typeclasses before + adding arguments) before refining with it. Users may work around + this by replacing all invocations of :tacn:`rapply` with the + qualified :g:`Tactics.rapply` to get the underlying tactic rather + than the tactic notation. Finally, any users who defined their own + tactic :tacn:`rapply` and also imported :g:`Coq.Program.Tactics` may + see incompatibilities due to the fact that :g:`Coq.Program.Tactics` + now defines an :tacn:`rapply` as a :cmd:`Tactic Notation`. Users + can work around this by defining their :tacn:`rapply` as a + :cmd:`Tactic Notation` as well. (`#10760 + <https://github.com/coq/coq/pull/10760>`_, by Jason Gross) |
