adamc@39: adamc@39: adamc@268: adamc@39: adamc@39: Certified Programming with Dependent Types adamc@39: adamc@39:

Certified Programming with Dependent Types

adamc@69:

Adam Chlipala

adamc@39: adamc@39:
adamc@39:

This is the web site for an in-progress textbook about practical engineering with the Coq proof assistant. The focus is on building programs with proofs of correctness, using dependent types and scripted proof automation.

adamc@267: adamc@267:

I'm following an unusual philosophy in this book, so it may be of interest even to long-time Coq users. At the same time, I hope that it provides an easier introduction for newcomers, since short and automated proofs are the starting point, rather than an advanced topic.

adamc@267: adamc@267:

The final part of the book applies the earlier parts' tools to examples in programming languages and compilers.

adamc@267: adamc@270:

Interested in beta testing this book in a course you're teaching? Please drop me a line!

adam@299: adam@299:

A traditional hardcopy version will appear from MIT Press Real Soon Now.

adamc@39:
adamc@39: adamc@39:
adamc@226:

Distribution Formats

adamc@39: adamc@226:
adamc@226: adamc@226:
adamc@226:

Used by:

adamc@226: adamc@226:
adamc@226: adamc@226:
adamc@226:

Status

adamc@226: adam@308:

Updated on November 16, 2009 with a version retargeted to Coq 8.2pl1, and then again on January 14, 2011 to support Coq 8.3. On August 25, 2011, I've started passes through all chapters, with an eye toward getting ready both for my fall class and publication by MIT Press. I'm adding bibliographic references, index entries, and additional exercises, along with the usual tweaks and improvements.

adamc@231: adamc@266:

The current version is effectively a beta release. It is intended to be consistent, self-contained, and useful, both for individual study and for introductory theorem-proving classes aimed at students with ML or Haskell experience and with basic familiarity with programming language theory.

adamc@266: adamc@266:

The main omissions have to do with some supporting resources that I didn't get around to implementing when I used this book for a course. Some suggested exercises are present, but only at points where I was looking to assign an exercise in the course. Some chapters are lacking the annotations used to build reduced versions of their source code, where some definitions and proofs have been elided; the course instructor can step through such a file, guiding class participants in filling in the omitted code.

adamc@267: adam@308:

My current tentative plan is to separate out the final part, on programming languages and compilers, into a distinct, online-only document, but I might be persuaded otherwise.

adamc@39:
adamc@39: adamc@39: