AdapTT: A Type Theory with Functorial Types

Date:

Many type theoretic features, from subtyping to observational equality and cast calculi in gradual typing, center around the ability to cast values from one type to another. These casts all act in a conspicuously similar fashion, which actually corresponds to the fact that type formers in dependent type theory are functorial. We propose and extensively study a type theory, AdapTT, which makes systematic and precise this idea of functorial type formers.