Higher-Order Computability
Let and be computability models with types indexed by respectively. A simulation of in (denotes ) consists of
- a mapping associating each type a representing type ;
- for each , a relation between elements of and those of .
subject to the following conditions
- For each and each , there is some such that .
- Every operation is tracked by some , i.e. if is defined and , then is defined and .
Example and [local-0]
By definition of , a simulation is given. If and is a memory state, we take
iff represents in the sense we have defined. Every operation in is tracked by one in .
We cannot have a simulation , because there are uncountably many memory states. But there is a simulation for variant of , by restricting 's memory states to those with a designated blank symbol in all but finitely many cells. Such memory states can be coded as natural numbers, and the action of any Turing machine may then be emulated by a partial computable function . We thus obtain a simulation .