Systematic Translation of Formalizations of Type Theory from Intrinsic to Extrinsic Style

07/16/2021
by   Florian Rabe, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/16/2019

A Gentzen-style monadic translation of Gödel's System T

We present a monadic translation of Gödel's System T in the spirit of Ge...
research
06/15/2022

An Investigation of Kripke-style Modal Type Theories

This technical report investigates Kripke-style modal type theories, bot...
research
07/25/2022

Isabelle/HOL/GST: A Formal Proof Environment for Generalized Set Theories

A generalized set theory (GST) is like a standard set theory but also ca...
research
07/03/2020

Probabilistic Soft Type Assignment

We model randomized complexity classes in the style of Implicit Computat...
research
04/28/2023

The Logical Essence of Compiling With Continuations

The essence of compiling with continuations is that conversion to contin...
research
06/28/2021

A Dictionary-Passing Translation of Featherweight Go

The Go programming language is an increasingly popular language but some...

Please sign up or login with your details

Forgot password? Click here to reset