KIT | KIT-Bibliothek | Impressum | Datenschutz

Type Systems for the Masses: Deriving Soundness Proofs and Efficient Checkers

Grewe, Sylvia; Erdweg, Sebastian ORCID iD icon 1; Wittmann, Pascal; Mezini, Mira
1 Institut für Programmstrukturen und Datenorganisation (IPD), Karlsruher Institut für Technologie (KIT)

Abstract (englisch):

The correct definition and implementation of non-trivial type systems is difficult and requires expert knowledge, which is not available to developers of domain-specific languages (DSLs) in practice. We propose Veritas, a workbench that simplifies the development of sound type systems. Veritas provides a single, high-level specification language for type systems, from which it automatically tries to derive soundness proofs and efficient and correct type-checking algorithms. For verification, Veritas combines off-the-shelf automated first-order theorem provers with automated proof strategies specific to type systems. For deriving efficient type checkers, Veritas provides a collection of optimization strategies whose applicability to a given type system is checked through verification on a case-by-case basis. We have developed a prototypical implementation of Veritas and used it to verify type soundness of the simply-typed lambda calculus and of parts of typed SQL. Our experience suggests that many of the individual verification steps can be automated and, in particular, that a high degree of automation is possible for type systems of DSLs.


Zugehörige Institution(en) am KIT Institut für Programmstrukturen und Datenorganisation (IPD)
Publikationstyp Proceedingsbeitrag
Publikationsdatum 21.10.2015
Sprache Englisch
Identifikator ISBN: 978-1-4503-3688-8
KITopen-ID: 1000188558
Erschienen in Onward! 2015 - Proceedings of the 2015 ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, Part of SPLASH 2015; Pittsburgh, PA, USA, 25.-30.10.2015
Veranstaltung ACM International Symposium on New Ideas, New Paradigms, and Reflections on Programming and Software, Onward! (2015), Pittsburgh, PA, USA, 25.10.2015 – 30.10.2015
Verlag Association for Computing Machinery (ACM)
Seiten S. 137–150
Schlagwörter First-order theorem proving; Type checking; Type soundness; Type systems
Nachgewiesen in Scopus
KIT – Die Universität in der Helmholtz-Gemeinschaft
KITopen Landing Page