Thanks to visit codestin.com
Credit goes to github.com

Skip to content

A Logical Relation for Martin-Löf Type Theory in Agda

License

mr-ohman/logrel-mltt

Repository files navigation

A Logical Relation for Martin-Löf Type Theory in Agda

Formalized proof of the decidability of conversion of a dependently typed language in Agda.

The source code for the POPL 2018 paper can be browsed in HTML here. The original code was mostly written by Joakim Öhman (@mr-ohman) in 2016 as Master's thesis supervised by Andrea Vezzosi (@Saizan) and Andreas Abel (@andreasabel).

Since then, the project has been extended in the following ways:

  • The empty type added by Gaëtan Gilbert (@SkySkimmer, 2018).

  • Unit and Σ types added by Wojciech Nawrocki (@Vtec234, 2021).

  • Refactored to use well-scoped syntax by Oskar Eriksson (@fhklfy, 2021).

  • An proof that consistent axioms preserve canonicity by Andreas Abel (@andreasabel, 2021).

... and extensions available separately in their own branches:

  • Stream of natural numbers type added by Kenji Maillard, available in branch stream-nat (@kyoDralliam, 2022).

Dependencies

This project is written in Agda. It is compatible with Agda version ≥ 2.6.1 and the matching standard library. The full list of tested Agda versions can be found in the continuous integration script.

Forks

This formalization has been used as basis of further formalization projects, including the following:

Decidability of typechecking in a dependently-typed programming language with sigma types

Wojciech Nawrocki (2020), MPhil thesis at the University of Cambridge.

A type theory with definitional proof-irrelevance

Gaëtan Gilbert (2019), PhD thesis at Mines ParisTech.

Observational Equality: Now For Good

Loïc Pujet, Nicolas Tabareau, POPL 2022

Impredicative Observational Equality

Loïc Pujet, Nicolas Tabareau, POPL 2023

A Graded Modal Dependent Type Theory with a Universe and Erasure, Formalized

Andreas Abel, Nils Anders Danielsson, Oskar Eriksson, ICFP 2023.

Graded Modal Type Theory, Formalized

Oskar Eriksson (2025), Licentiate Thesis at Gothenburg University.

About

A Logical Relation for Martin-Löf Type Theory in Agda

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7