view staging/index.html @ 517:136d4b84eb96

Build an open-source release of library modules
author Adam Chlipala <>
date Thu, 05 Dec 2013 15:51:33 -0500
parents a8377999fcf9
children 2bd6b00f831f
line wrap: on
line source
<link rel="alternate" type="application/rss+xml" title="Updates RSS Feed" href="updates.rss">
<link rel="stylesheet" type="text/css" href="/style.css">
<title>Certified Programming with Dependent Types</title>
<h1>Certified Programming with Dependent Types</h1>
<h2><a href="">Adam Chlipala</a></h2>

<div class="summary">
<p>This is the web site for an in-progress textbook about practical engineering with <a href="">the Coq proof assistant</a>.  The focus is on building programs with proofs of correctness, using dependent types and scripted proof automation.</p>

<p>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.</p>

<p>Interested in beta testing this book in a course you're teaching?  Please <a href="">drop me a line</a>!</p>

<p>A traditional hardcopy version will appear from <a href="">MIT Press</a> Real Soon Now<a href="">*</a>.</p>

<div class="project">
<h2>Distribution Formats</h2>
<li> <a href="cpdt.pdf">Latest draft as a PDF</a></li>
<li> <a href="html/toc.html">Online version of latest draft, as hyperlinked HTML</a> [note that the author focuses on the PDF version and doesn't make an effort to keep the HTML version particularly pleasant to use]</li>
<li> <a href="cpdt.tgz">Tarball of Coq source to latest draft</a></li>
<li> <a href="cpdtlib.tgz">Tarball of a few generally useful library modules from the book</a> (which are released under an open-source license, while the book generally isn't)</li>
<li> <a href="repo">Public, read-only Mercurial repository</a></li>
<li> <a href="updates.rss">RSS feed of updates</a></li>

<div class="project">
<h2><a href="ex/">Online Collection of Exercises for the Book</a></h2>

<div class="project">
<h2>Used by:</h2>
<li>EECS 395 at Northwestern <a href="">(Fall 2013)</a></li>
<li>CIS 670 at Penn <a href="">(Fall 2012)</a></li>
<li>6.892 at MIT <a href="">(Fall 2011)</a></li>
<li>CS252 at Harvard <a href="">(Fall 2008)</a></li>

<div class="project">

<p>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 <a href="">my fall class</a> 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.</p>

<p>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.</p>

<p>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.</p>

<p>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 <a href="repo">Mercurial</a> history.)</p>