Journal of Formalized Reasoning (Jan 2010)

An Introduction to Programming and Proving with Dependent Types in Coq

  • Adam Chlipala

Journal volume & issue
Vol. 3, no. 2
pp. 1 – 93

Abstract

Read online

Computer proof assistants vary along many dimensions. Among the mature implementations, the Coq system is distinguished by two key features. First, we have support for programming with dependent types in the tradition of type theory, based on dependent function types and inductive type families. Second, we have a domain-specific language for coding correct-by-construction proof automation. Though the Coq user community has grown quite large, neither of the aspects I highlight is widely used. In this tutorial, I aim to provide a pragmatic introduction to both, showing how they can bring significant improvements in productivity.