Systematic Translation of Formalizations of Type Theory from Intrinsic to Extrinsic Style
Florian Rabe (University Erlangen-Nuremberg), Navid Roux (University, Erlangen-Nuremberg)

TL;DR
This paper introduces a systematic method to translate formalizations of type theory from intrinsic to extrinsic style, addressing duplication and integration issues in large libraries, and preserves modularity during translation.
Contribution
It defines and implements an operator that systematically converts hard-typed formalizations into soft-typed ones while maintaining modular structure.
Findings
Successful implementation in the MMT system
Preserves modularity of type-theoretical features
Reduces code duplication in large libraries
Abstract
Type theories can be formalized using the intrinsically (hard) or the extrinsically (soft) typed style. In large libraries of type theoretical features, often both styles are present, which can lead to code duplication and integration issues. We define an operator that systematically translates a hard-typed into the corresponding soft-typed formulation. Even though this translation is known in principle, a number of subtleties make it more difficult than naively expected. Importantly, our translation preserves modularity, i.e., it maps structured sets of hard-typed features to correspondingly structured soft-typed ones. We implement our operator in the MMT system and apply it to a library of type-theoretical features.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsLogic, programming, and type systems · Model-Driven Software Engineering Techniques · Business Process Modeling and Analysis
