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: adam@309:

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

adam@299: adam@309:

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:
adam@489:

Online Collection of Exercises for the Book

adam@489:
adam@489: adam@489:
adamc@226:

Used by:

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

Status

adamc@226: adam@482:

Updated on November 16, 2009 with a version retargeted to Coq 8.2pl1, then again on January 14, 2011 to support Coq 8.3, and then again on March 29, 2012 to support Coq 8.4 beta. On August 25, 2011, I started passes through all chapters, with an eye toward getting ready both for my fall class and publication by MIT Press. I added bibliographic references and index entries, along with the usual tweaks and improvements. In late Summer 2012, the mode switched to final proofreading by others.

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: adam@380:

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 (now only in a supplementary file), 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@332:

Previous versions included a final Part on programming language semantics in particular. I have decided to separate that part out. I plan to put it up as a supplementary resource eventually; for now it is simply removed. (It remains present in the Mercurial history.)

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