Skip to content
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

VsCoq v2 unsupported command for Restart and Undo #770

Open
Chesterhuang1999 opened this issue May 14, 2024 · 6 comments · May be fixed by #915
Open

VsCoq v2 unsupported command for Restart and Undo #770

Chesterhuang1999 opened this issue May 14, 2024 · 6 comments · May be fixed by #915
Labels
enhancement New feature or request

Comments

@Chesterhuang1999
Copy link

I just updated my VsCoq to v2.1.2 from v0.3.9 (sorry for the delay) but I found a problem that using Restart and Undo will cause an error message 'Unsupported Command'. It seems that the backtrack tactics are yet to be implemented in v2.1.2. Is that the case?

@rtetley rtetley added the enhancement New feature or request label Jun 14, 2024
@thomas-lamiaux
Copy link
Contributor

In know that some users don't care much about it, but if it is not too much work, it would be great to have soon. I am personally really using it day-to-day for tutorials, but also when I am working to easily compare how different tactics do different stuffs, or if I am writing a tactic to check it improves / does not regress etc...

@rtetley
Copy link
Collaborator

rtetley commented Aug 26, 2024

So I understand your use cases. I am not sure what to do after the discussion in #687. @ybertot what is your take on this ?

@thomas-lamiaux
Copy link
Contributor

Would could have a longer discussion on that, but I have the feeling they are different. Are they ? From what I understand from the discussion, reset changes the environment and parsing because of notation ? But isn't Restart simply restarting the proof ?

@thomas-lamiaux
Copy link
Contributor

thomas-lamiaux commented Aug 26, 2024

Note also this similar feature request that I would like: restart but for a bullet (you restart last time the goal has been focused with a bullet) https://coq.zulipchat.com/#narrow/stream/237977-Coq-users/topic/Restart.20for.20bullet

Not sure how linked it is // how different / harder it is to implement

@RalfJung
Copy link

RalfJung commented Sep 4, 2024

I like to use Restart when teaching Coq to students, where it is helpful to be able to show different ways of doing a proof -- or to show "see, here we are stuck, so let's start over again from scratch". I can work around that by using Abort. and repeating the lemma statement, but Restart. is a lot nicer.

Restart seems a lot less dangerous than Reset, so I don't quite see that this would have the same concerns as #687.

@yforster
Copy link

I agree with @RalfJung. I didn't even know Reset exists and I don't mind whether it is supported or not, but Restart is used in lots of teaching material for good reason. Removing Restart both makes teaching material worse and incurs the overhead of having to rewrite the teaching material so it stays compatible with vscoq2.

Would it be hard to get Restart back?

@gares gares linked a pull request Sep 25, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants