-
Notifications
You must be signed in to change notification settings - Fork 437
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
rwa
tactic behaviour doesn't match documentation
#5792
Comments
Good question. I would assume the goal (heh) is to solve all side goals, i.e. all newly created goals, with assumption? Which I think we discussed elsewhere could actually benefit from it's own composable syntax. But I digress. How important is this |
Looked at some uses in mathlib and core. There are certainly many! One idiom is |
Description
The documentation of
rwa
says "rwa
callsrw
, then closes any remaining goals usingassumption
.", but in factrwa
is a macro ofrw $rws:rwRuleSeq $[$loc:location]?; assumption
, and it only callsassumption
once, on the first goal.Either the documentation should be corrected, or the tactic definition should be modified to use
all_goals assumption
- I don't know what's the intended behavior.Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: