Abstract
Dependently typed languages allow us to state a program’s expected properties and automatically check that they are satisfied at compile time. Yet the implementations of these languages are themselves just software, so can we really trust them? The goal of this paper is to develop a lightweight technique to improve their trustworthiness by giving a formal specification of the typing rules and intrinsically verifying the type checker with respect to these rules. Concretely, we apply this technique to a subset of Agda’s internal language, implemented in Agda. Our development relies on erasure annotations to separate the specification from the runtime of the type checker. We provide guidelines for making design decisions for certified core type checkers and evaluate trade-offs.
Original language | English |
---|---|
Title of host publication | Programming Languages and Systems |
Subtitle of host publication | 22nd Asian Symposium, APLAS 2024, Kyoto, Japan, October 22-24, 2024, Proceedings |
Editors | Oleg Kiselyov |
Place of Publication | Singapore |
Publisher | Springer |
Pages | 63-83 |
Number of pages | 21 |
ISBN (Electronic) | 978-981-97-8943-6 |
ISBN (Print) | 978-981-97-8942-9 |
DOIs | |
Publication status | Published - 2025 |
Event | 22nd Asian Symposium on Programming Languages and Systems - Kyoto, Japan Duration: 22 Oct 2024 → 24 Oct 2024 Conference number: 22 |
Publication series
Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
---|---|
Publisher | Springer |
Volume | 15194 LNCS |
ISSN (Print) | 0302-9743 |
ISSN (Electronic) | 1611-3349 |
Conference
Conference | 22nd Asian Symposium on Programming Languages and Systems |
---|---|
Abbreviated title | APLAS 2024 |
Country/Territory | Japan |
City | Kyoto |
Period | 22/10/24 → 24/10/24 |
Bibliographical note
Green Open Access added to TU Delft Institutional Repository 'You share, we take care!' - Taverne project https://www.openaccess.nl/en/you-share-we-take-careOtherwise as indicated in the copyright section: the publisher is the copyright holder of this work and the author uses the Dutch legislation to make this work public.
Keywords
- Agda
- Correct-by-Construction Programming
- Dependent types