natural deduction metalanguage, practical foundations
type theory (dependent, intensional, observational type theory, homotopy type theory)
computational trinitarianism =
propositions as types +programs as proofs +relation type theory/category theory
A recursive function is any function defined by recursion (i.e. non-dependent induction).
Recursive functions could be contrasted with inductively defined dependent functions, where one uses terms of a general dependent product type rather than a function type. Alternatively, they could be considered as a special case of an inductively defined dependent function where the target type family does not actually depend upon the source.
Similar to the case with induction, recursive functions could be generalized to higher recursive functions, where functions are recursively defined not only on the term constructors, but also the identity constructors of an higher inductive type.
Recursive functions defined on the natural numbers are particularly important for computability. For more see also at partial recursive function.
The double function
on the natural numbers type is recursively defined by sending to and to :
This last example is an example of a higher recursive function. Given a type , elements and , and identity , there is a higher recursive function from an interval type to , recursively defined by
where is the function application to identities, is transitivity, and is symmetry of identities.
See also:
Last revised on January 19, 2023 at 16:11:29. See the history of this page for a list of all contributions to it.