I have a case where I apply a lemma with 4 premises, which generates 4 goals. I use + to start the first goal - fine. But then VsCoq won't let me start the second goal. {} instead of bullets work and in CoqIDE bullets also work. Has someone seen this on a simple case? Mine is a bit intricate and I can't share it anyway, but if nobody has seen this I try to create a reproduction case.
Do you have the same with -
instead of +
? I have never seen that but I always do -
then +
then *
.
I am also using -, the +, then *. It happens on the second level.
Are you using nested proofs, or other "more complicated" scenarios than a list of Definition/lemmas? (maybe involving nesting modules and sections, or using custom notation making use of the symbol ".".
No, it is a clean proof. Since this doesn't seem to happen frequently I try to boil it down to a repro case ...
It looks like it was a temporary hick-up. If I close and reload the file it does work - so no way to reproduce it.
Michael Soegtrop has marked this topic as resolved.
I have seen similar hick-ups when I edited the white space between lemmas. So for instance if I remove an empty line, VsCoq will just go on without re-processing anything (which is good), but might get very confused by the missing line afterwards, so only reloading helps
yes, it's better now but there's a reason I still have "Reload Window" in muscle memory :-|
It's a shame Coq is not recognized as an Olympic sport :)
We are in good company, I've to restart the ocaml language server every time I play with a module type... they did even add a shortcut to just restart it instead of reloading the window (there is the same for Coq, btw).
What's the Coq shortcut? "Coq: Reset" only works sometimes
that one. it does not work in all cases right.
there you restart the extension host, still faster that restarting the window.
Last updated: Oct 13 2024 at 01:02 UTC