
COS 510: Programming Languages
Homework 1
- Install Coq 8.16.1 on your computer
(see the installation notes).
- Download Basics.v,
Induction.v,
and Lists.v.
- You may use any interactive development environment
for Coq: CoqIDE, VSCode, or Proof General. The rest of these instructions
assume you're using CoqIDE.
- Change the navigation
shortcut from <ctrl><alt> to <ctrl>
and change the font to Lucida Sans Unicode.
- Using coqide,
interactively step through the first few definitions
and/or proofs in Basics.v.
- Compile Basics.v to produce Basics.vo. You can do this
either via the Compile/Compile-Buffer menu tab, or using the
coqc command in the shell.
- Check that your compile worked by using coqide
to step through the first command of Induction.v,
the line "Require Export Basics."
- Fill in the proofs in Basics.v,
at each place marked "Exercise".
Add a README comment at the top describing who you helped (or got help from), and what kind of help.
- Upload your Basics.v file at right.
- Fill in the proofs in Induction.v,
and Lists.v
at each place marked "Exercise", and upload those.
- If you got help from other than the teaching assistants or the professor, add a README comment at the top of Basics.v describing who you helped (or got help
from), and what kind of help (and re-upload Basics).