Join Newsletter

Programming Language Foundations in Agda

YOW! Lambda Jam 2019


Clone the repository at

This is the textbook for the course.

Install Agda, the Agda standard library, and configure the plfa library. This can be done by following the instructions under the heading

Getting Started with PLFA



This course is an introduction to formal methods in Agda, covering datatypes, recursion, structural induction, indexed datatypes, dependent functions, and induction over evidence; with focus on formal definitions of naturals, addition, and inequality, and their properties.

The textbook is freely available online:

  • Programming Language Foundations in Agda

The book has been used for teaching by me at:

  • University of Edinburgh (Sep-Dec 2018)
  • Pontifícia Universidade Católica do Rio de Janeiro (PUC-Rio) (Mar-Jul 2019)
  • University of Padova (Jun 2019)

and by others at

  • University of Vermont
  • Google Seattle.

The book is described in a paper (of the same title) at the XXI
Brazilian Symposium on Formal Methods, 28--30 Nov 2018, which is
available here:

The paper won the SBMF 2018 Best Paper Award, 1st Place.