-
Notifications
You must be signed in to change notification settings - Fork 21
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
Failed to input the tactics step-by-step within a case block #25
Comments
The issue here is that the "focusing dot" in
says: "I am now giving you a tactic which must close the goal". You can see this from the error message:
Options:
instead, and then pick up the "proofState" in the "sorries" field of the response to then replace the The short answer is essentially that the current tactic mode is not compatible with structured proofs, and only supports "linear" proofs, which are just a stream of one-liners. I won't have time to make changes addressing these issues until January. But please feel free to make suggestions about which behaviour would be most useful to you! |
@semorrison Thanks for your prompt reply! I will try to find other ways to solve this issue. |
I'm going to reopen this issue, as it is something I would like to improve! |
First thanks for such excellent tools!
I'm testing repl to see if I can enter the tactics one-by-one so that I can get state information within each step. When I was testing the following simple problem, I met the problem on case analysis.
Here is the input/output from my terminal
The problem occurred after I entered the second tactic
{"tactic": " apply exp_lt_exp.mpr h₁", "proofState": 2}
from the case block. However, if I entered the two tactics from the case block within one command, normal state information will be returned.I guess repl just ignores the two whitespaces before the second tactic within the case block when I enter them separately, because I tried to remove the two leading whitespaces in the interactive mode using vscode, and got the same error message
So I wonder if it's possible to handle this issue? Thanks!
The text was updated successfully, but these errors were encountered: