Skip to main content
Log in

On list primitive recursion and the complexity of computinginf

  • Programming Logic
  • Published:
BIT Numerical Mathematics Aims and scope Submit manuscript

Abstract

We present a primitive recursive programinf_with_lists computing the minimum of two natural numbersn andp (written in unary notation) and using primitive recursion on lists. This program has at first sight the required property of visiting simultaneously its inputs, so it is a counterexample to a theorem showing that such a program cannot be written in the language of primitive recursion on natural numbers, in the more general framework of primitive recursion on term algebras. However, its complexity is at leastinf(n,p)2 so it does not implement the algorithm we have in mind to computeinf(n,p).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  1. S. C. Kleene,Introduction to Meta-mathematics. North Holland (1952).

  2. L. Colson,About Primitive Recursive Algorithms Proceedings of the sixteenth International Colloquium on Automata, Languages and Programming, Eds. G. Ausiello, M. Dezani-Ciancaglini, S. Ronchi Della Rocca, Springer-Verlag LNCS 372, (1989) 194–206.

    Google Scholar 

  3. C. Böhm, A. Berarducci,Automatic synthesis of typed Λ-programs on term algebras, Theoretical Computer Science 39 (1985) 135–154.

    Article  Google Scholar 

  4. C. Böhm,Reducing Recursion to Iteration by Algebraic Extension, ESOP 86. Springer-Verlag LNCS 213.

  5. C. Böhm,Reducing Recursion to Iteration by Mean of Pairs and Tuples; Foundations of logic and functional programming. Springer-Verlag LNCS 306.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Colson, L. On list primitive recursion and the complexity of computinginf . BIT 32, 5–9 (1992). https://doi.org/10.1007/BF01995103

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01995103

AMS categories

Navigation