coqide
program, which you'd like to
run after the installation.
# apt-get install coqOr else you may grab the sources here and compile from scratch.
However, there is another popular IDE: Proof General, and it's more popular in the Coq community. We'll use proof general in this course.
The installation of proof general is simple:
# apt-get install proofgeneral # apt-get install proofgeneral-coq
There are only a few commands you need to know to use ProofGeneral effectively:
C-c C-n
: send the next command to Coq.
C-c C-u
: undo (retract) the most recently executed command.
C-c C-RET
: submit everything up to the current cursor location to Coq for processing.
C-c C-.
: move the cursor to the end of the last command which has been processed by Coq.
C-c .
: toggle "electric terminator mode". When this mode is turned
on, simply typing a period will send the current command to Coq (normally you have
to type a period and then type C-c C-n).