I started dabbling in Programs and proofs recently by using Spacemacs and its
Coq layer. Since I didn’t study this subject before I start by setting up and
using the tools.
During the installation of coq using homebrew an issue was identified which
I reported here
and it seems to have been fixed promptly.
coqc the compiler works like when it is invoked by C-c C-RET
There is something pleasing about this IDE.
IDE setup
The colour scheme of Spacemacs is very pleasing. I think. So Spacemacs is what I
like to use whenever possible. The other options are VSCode and CoqIDE.
Install Proof-general
Proof-general is a generic Emacs interface for proof assistants.
Commands are M-x package-install and install-package
.spacemacs configuration
Enable the coq layer like this.
I added add-hook to activate Company-coq to enable auto-completion features.