Abstract
We introduce a language based upon lambda calculus with products, coproducts and strictly positive inductive types that allows the definition of recursive terms. We present the implementation (foetus) of a syntactical check that ensures that all such terms are structurally recursive, i.e. recursive calls appear only with arguments structurally smaller than the input parameters of terms considered. To ensure the correctness of the termination checker, we show that all structurally recursive terms are normalizing with respect to a given operational semantics. To this end, we define a semantics on all types and a structural ordering on the values in this semantics and prove that all values are accessible with regard to this ordering. Finally, we point out how to do this proof predicatively using set based operators.
Cite
CITATION STYLE
Abel, A., & Altenkirch, T. (2002). A predicative analysis of structural recursion. Journal of Functional Programming, 12(1), 1–41. https://doi.org/10.1017/s0956796801004191
Register to see more suggestions
Mendeley helps you to discover research relevant for your work.