Assignment 3: Coq

Due: Fri, 24 Feb 2017 23:59:00 -0500

The goals of this assignment are to practice using Coq and gain some experience with an interactive theorem prover.

Setup

Download and install Coq, and optionally an IDE.
For example, on Mac OS X, you can run:

brew install coq
brew install Caskroom/cask/coqide

This will install Coq and the basic Coq IDE. Proof General is another popular IDE choice. See the preface of Software Foundations for more details about them.

Background

Please read the following sections of Software Foundations:

Download the source files and complete all 1 and 2 star exercises in the corresponding .v files, with the following exceptions and additions:

When you’re done, there should be no Admitted calls left for these exercises. You are, of course, welcome to do more of the exercises, which will give you additional practice with the prover.

Submissions and Grading

Please submit a single zip file coq-AndrewID.zip via Blackboard (where AndrewID is obviously replaced with your actual ID). The zip file should be arranged such that it contains: