Back to Search Start Over

A Modular Type Reconstruction Algorithm.

Authors :
Rabe, Florian
Source :
ACM Transactions on Computational Logic; Dec2018, Vol. 19 Issue 4, p1-43, 43p
Publication Year :
2018

Abstract

Mmt is a framework for designing and implementing formal systems in a way that systematically abstracts from theoretical and practical aspects of their type of theoretical and logical foundations. Thus, definitions, theorems, and algorithms can be stated independently of the foundation, and language designers can focus on the essentials of a particular foundation and inherit a large-scale implementation from Mmt at low cost. Going beyond the similarly motivated approach of meta-logical frameworks, Mmt does not even commit to a particular meta-logic—that makes Mmt level results harder to obtain but also more general. We present one such result: a type reconstruction algorithm that realizes the foundation-independent aspects generically relative to a set of rules that supply the foundation-specific knowledge. Maybe surprisingly, we see that the former covers most of the algorithm, including the most difficult details. Thus, we can easily instantiate our algorithm with rule sets for several important language features including, e.g., dependent function types. Moreover, our design is modular such that we obtain a type reconstruction algorithm for any combination of these features. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
15293785
Volume :
19
Issue :
4
Database :
Complementary Index
Journal :
ACM Transactions on Computational Logic
Publication Type :
Academic Journal
Accession number :
134657049
Full Text :
https://doi.org/10.1145/3234693