This may be a naive question, but just wanted to know whether this was possible.
In the following attached screenshot, I am in Line 1125, and on the proof view panel, I see the result of stepping through Line 1125.
However, what if I also want to see what the result was in Line 1124? That is, is it possible to see every change/rewrite/result
during proof statements in the panel all at once? I think having all the simplification steps at the same time will aid my understanding.
Thanks for any pointers/help.
Do you mean seeing multiple goal displays at once? As far as I know, the best you can do is to copy each one into a text file as you see it. There's no support in the interface for seeing multiple goal displays.
On the other hand, if you're not bothered with seeing intermediate goals, you can replace some .
s by ;
s to turn several commands into a single command.
Yes, I meant seeing each intermediate goal displayed as part of a list or something.
Thanks for the clarification, and the tip (;
) -- wasn't aware of that.
You can also enable proof diffs, see this part of the manual: https://coq.inria.fr/refman/proofs/writing-proofs/proof-mode.html#showing-differences-between-proof-steps
@Ana de Almeida Borges That's really interesting, thanks for sharing. Will try it out.
Tried it out - and it works really nicely in CoqIDE; although in VSCoq - the setting seems to have no effect, and the diff is not shown correctly.
Please let me know if there's any trick to make it functional in VSCoq, because I'd rather use VSCode.
In VSCode, it's probably somewhere in the VSCoq settings. IIRC, VSCoq largely ignores the vernacular commands for changing IDE settings.
Have enabled the settings already. Restarted VSCode, etc.
Just opened an issue in Github - let's see whether the extension author/maintainer has any insights: https://github.com/coq-community/vscoq/issues/525
This topic was moved to #VsCoq devs & users > See all steps to Qed together in Interactive ProofView? by Karl Palmskog.
Last updated: Oct 13 2024 at 01:02 UTC