Core Concepts
Restricting the elimination principle of the natural numbers type in Martin-Löf Type Theory to a universe of types not containing Π-types ensures that all definable functions are primitive recursive, extending the concept of primitive recursiveness to general types.
Abstract
The paper presents a formal system called Primitive Recursive Dependent Type Theory (PRTT), which is a subtheory of Martin-Löf Type Theory (MLTT). The key idea is to restrict the elimination principle of the natural numbers type N to a universe U0 that does not contain Π-types. This ensures that all definable functions N → N are primitive recursive.
The authors first define the notion of primitive recursive functions and explain why one might expect MLTT with natural numbers but without Π-types to capture exactly primitive recursive functions. They then introduce the synthetic Tait computability framework, which is used to construct a model of PRTT in a topos of sheaves on a site of primitive recursive functions.
The main technical results are:
PRTT is sound and complete with respect to primitive recursion, in the sense that any primitive recursive function can be defined in it.
There is a sound interpretation of PRTT in a topos R, where the natural numbers object yN represents exactly the primitive recursive functions ℕ → ℕ.
By gluing the interpretation in R with the standard interpretation in Set, the authors show that all PRTT-definable functions N → N are primitive recursive.
The paper also discusses extensions of PRTT, such as adding a comonadic modality, an internal universe of codes for primitive recursive constructions, and connections to cubical type theory.