-
Notifications
You must be signed in to change notification settings - Fork 18
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
Failure of weakening? #101
Comments
Sorry for the delay in getting to this. The problem here is that when you give an explicit argument to apply, it expects exactly what fits, not something upto weakening. This is different from underscore arguments to apply or search (implicit or explicit), which tries weakening to match. Further investigation is needed to see if there is a way to relax this without breaking a lot of proofs. |
Thanks for the comment. I seem to remember getting weakening in situations other than with underscore arguments, but I guess I was mistaken. My sense is that allowing weakening, even with explicit arguments, would not break any proofs, since it wouldn't disallow any currently-working tactics but only enable some tactics that wouldn't have worked before. Also, since the "infrastructure" needed to handle weakening is already present with underscore arguments, explicit arguments would just need inherit a little of that infrastructure. Said another way, I imagine every explicit argument as a special case of an underscore where there is a strong hint as to the shape of the proposition to be guessed. (This is just speculation, though, as I shamefully haven't looked at the code yet, although FWIW I hope to do so this summer.) |
I'm generally in agreement that weakening (monotonicity) should be tried by default no matter how the argument was selected (explicit or guessed). |
Sorry for dropping into the middle of a proof, but a single proof state should be enough to illustrate my problem (in Abella 2.0.5):
After
apply IH to H12 H6 H3
, I getBut if I explicitly weaken H3 with
A1:assert {R, rep n1 T n1 |- rept T T'}. apply IH to H12 H6 A1.
both tactics succeed. I thought weakening was for free in situations like this.The text was updated successfully, but these errors were encountered: