Support adding and removing steps from a Coq file from Python. coq-lsp-pyclient should be able to go back and forward in the execution of the file.
General steps to implement (by @pcarrott):
ProofState is changed to be a child class of CoqFile called ProofFile
CoqFile is changed to support writing in a similar way to AuxFile
Implement the sign in the exec of CoqFile. For now, we will only support this inside proofs to avoid having to remove terms that were already defined, having to change the module while going backwards, etc...
Support adding and removing steps from a Coq file from Python.
coq-lsp-pyclient
should be able to go back and forward in the execution of the file.General steps to implement (by @pcarrott):
ProofState
is changed to be a child class ofCoqFile
calledProofFile
CoqFile
is changed to support writing in a similar way toAuxFile
sign
in theexec
ofCoqFile
. For now, we will only support this inside proofs to avoid having to remove terms that were already defined, having to change the module while going backwards, etc...