Programming Language Foundations in Agda

Philip Wadler, Wen Kokke

Research output: Book/ReportBook

Abstract

The most profound connection between logic and computation is a pun. The doctrine of Propositions as Types asserts that a certain kind of formal structure may be read in two ways: either as a proposition in logic or as a type in computing. Further, a related structure may be read as either the proof of the proposition or as a programme of the corresponding type. Further still, simplification of proofs corresponds to evaluation of programs.

Accordingly, the title of this book also has two readings. It may be parsed as "(Programming Language) Foundations in Agda" or "Programming (Language Foundations) in Agda" — the specifications we will write in the proof assistant Agda both describe programming languages and are themselves programmes.

The book is aimed at students in the last year of an undergraduate honours programme or the first year of a master or doctorate degree. It aims to teach the fundamentals of operational semantics of programming languages, with simply-typed lambda calculus as the central example. The textbook is written as a literate script in Agda. The hope is that using a proof assistant will make the development more concrete and accessible to students, and give them rapid feedback to find and correct misaprehensions.

The book is broken into two parts. The first part, Logical Foundations, develops the needed formalisms. The second part, Programming Language Foundations, introduces basic methods of operational semantics.
Original languageEnglish
Publication statusPublished - 2018

Fingerprint

Dive into the research topics of 'Programming Language Foundations in Agda'. Together they form a unique fingerprint.
  • Programming Language Foundations in Agda

    Wadler, P., 2018, Formal Methods: Foundations and Applications: 21st Brazilian Symposium, SBMF 2018, Salvador, Brazil, November 26 — November 30, 2018, Proceedings. Salvador, Brazil: Springer, Cham, p. 56-73 18 p. (Lecture Notes in Computer Science; vol. 11254)(Programming and Software Engineering; vol. 11254).

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Open Access
    File

Cite this