arXiv · 2107.07665
Systematic Translation of Formalizations of Type Theory from Intrinsic to Extrinsic Style
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.
Explore related subjects
Keep this discovery
Florian Rabe, Navid Roux. 2021-07-16. Systematic Translation of Formalizations of Type Theory from Intrinsic to Extrinsic Style. https://doi.org/10.4204/eptcs.337.7
Cite the original work for its findings. Save a collection to share your selection of sources.