License: Creative Commons Attribution 4.0 International license (CC BY 4.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.FSCD.2022.23
URN: urn:nbn:de:0030-drops-163048
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2022/16304/
Gratzer, Daniel ;
Birkedal, Lars
A Stratified Approach to Löb Induction
Abstract
Guarded type theory extends type theory with a handful of modalities and constants to encode productive recursion. While these theories have seen widespread use, the metatheory of guarded type theories, particularly guarded dependent type theories remains underdeveloped. We show that integrating Löb induction is the key obstruction to unifying guarded recursion and dependence in a well-behaved type theory and prove a no-go theorem sharply bounding such type theories.
Based on these results, we introduce GuTT: a stratified guarded type theory. GuTT is properly two type theories, sGuTT and dGuTT. The former contains only propositional rules governing Löb induction but enjoys decidable type-checking while the latter extends the former with definitional equalities. Accordingly, dGuTT does not have decidable type-checking. We prove, however, a novel guarded canonicity theorem for dGuTT, showing that programs in dGuTT can be run. These two type theories work in concert, with users writing programs in sGuTT and running them in dGuTT.
BibTeX - Entry
@InProceedings{gratzer_et_al:LIPIcs.FSCD.2022.23,
author = {Gratzer, Daniel and Birkedal, Lars},
title = {{A Stratified Approach to L\"{o}b Induction}},
booktitle = {7th International Conference on Formal Structures for Computation and Deduction (FSCD 2022)},
pages = {23:1--23:22},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-233-4},
ISSN = {1868-8969},
year = {2022},
volume = {228},
editor = {Felty, Amy P.},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/opus/volltexte/2022/16304},
URN = {urn:nbn:de:0030-drops-163048},
doi = {10.4230/LIPIcs.FSCD.2022.23},
annote = {Keywords: Dependent type theory, guarded recursion, modal type theory, canonicity, categorical gluing}
}
Keywords: |
|
Dependent type theory, guarded recursion, modal type theory, canonicity, categorical gluing |
Collection: |
|
7th International Conference on Formal Structures for Computation and Deduction (FSCD 2022) |
Issue Date: |
|
2022 |
Date of publication: |
|
28.06.2022 |