Mailing List


The Coq Proof Assistant

We use Coq 8.4pl2 in this class. Please use exactly this version. Coq is very much a research system and often introduces backward-incompatible changes.

CoqIDE / Proof General

You must use one of the following IDEs to interact with Coq. If you try to use the command-line coqtop program, you will be very unhappy and definitely fail.


CoqIDE is easier to use than Proof General. But, in the past, I’ve found it annoying to use on a Mac.

There are several ways to get it:

Proof General

Proof General integrates with Emacs and works well on a Mac. But, you’ll need to fiddle with your Emacs configuration to set it up. Read Section 1.6.3 of CPDT for more information.

If you’re not an Emacs user, this is your chance to either learn it well, or cheat by adding the following lines to ~/.emacs. They give you slightly more normal keyboard bindings (you're welcome):

(cua-mode t)
(delete-selection-mode t)
(global-set-key [kp-delete] 'delete-char)
(global-set-key [(end)] 'move-end-of-line)

If Proof General cannot find the coqtop program, you can fix it by adding this to your ~/.emacs file:

(setq coq-prog-name COMPLETE-PATH-TO-COQTOP)