English

AdapTT: Functoriality for Dependent Type Casts

Programming Languages 2025-12-09 v2 Logic in Computer Science

Abstract

The ability to cast values between related types is a leitmotiv of many flavors of dependent type theory, such as observational type theories, subtyping, or cast calculi for gradual typing. These casts all exhibit a common structural behavior that boils down to the pervasive functoriality of type formers. We propose and extensively study a type theory, called AdapTT, which makes systematic and precise this idea of functorial type formers, with respect to an abstract notion of adapters relating types. Leveraging descriptions for functorial inductive types in AdapTT, we derive structural laws for type casts on general inductive type formers.

Keywords

Cite

@article{arxiv.2507.13774,
  title  = {AdapTT: Functoriality for Dependent Type Casts},
  author = {Arthur Adjedj and Meven Lennon-Bertrand and Thibaut Benjamin and Kenji Maillard},
  journal= {arXiv preprint arXiv:2507.13774},
  year   = {2025}
}

Comments

Extended version, with appendices, of a paper published at POPL '26

R2 v1 2026-07-01T04:07:28.842Z