Coq source code for CS 3110 Fall 2014
Lecture on Verifying a Compiler
Michael Clarkson
11/18/14
=====================================

COQ VERSION

This code was tested with Coq 8.4pl4.  

INSTALLATION

To get Coq in your 3110 VM, run these commands:

  sudo apt-get install libgtk2.0-dev
  opam install coq coqide
  
Expect the installation of Coq through OPAM to take
a long time.

COMPILATION OF DEPENDENCIES

Run "coqc CpdtTactics.v" to produce CpdtTactics.vo.  Without that object
file, you won't be able to compile VerifyCompiler.v.

USING THE CODE YOURSELF

Run "coqide VerifyCompiler.v" to open the source code in CoqIDE.

Although both CoqIDE comes with lots of fancy features, you 
need only four buttons, which are in the toolbar:
* Forward one command.
* Backward one command.
* Go to cursor.
* Interrupt computations (in case something is taking too long).

ACKNOWLEDGMENTS

This lecture is inspired by an example in a textbook by Adam Chlipala 
titled "Certified Programming with Dependent Types":

    http://adam.chlipala.net/cpdt/
