Skip to main content

The Surprising Power of Restricted Programs and Gödel’s Functionals

  • Conference paper
Computer Science Logic (CSL 2003)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2803))

Included in the following conference series:

Abstract

Consider the following imperative programming language. The programs operate on registers storing natural numbers, the input \(\vec{x}\) is stored in certain registers, and a number b, called the base, is fixed to \(\max(\vec{x},1)+1\) before the execution starts. The single primitive instruction \(\verb/X+/\) increases the number stored in the register \(\verb/X/\) by 1 modulo b. There are two control structures: the loop \(\verb+while X{P}+\) executing the program \(\verb+P+\) repeatedly as long as the content of the register \(\verb/X/\) is different from 0; the composition \(\verb+P+\texttt{;} \verb+Q+\) executing first the program \(\verb/P/\), then the program \(\verb/Q/\). This is the whole language. The language is natural, extremely simple, yet powerful. We will prove that it captures \(\mbox{\sc linspace}\), i.e. the numerical relations decidable by such programs are exactly those decidable by Turing machines working in linear space. Variations of the language capturing other important deterministic complexity classes, like e.g. \(\mbox{\sc logspace}\), \(\mbox{\sc p}\) and \(\mbox{\sc pspace}\) are possible (see Kristiansen and Voda [5]).

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Avigad, J., Fererman, S.: Gödel’s functional interpretation. In: Buss (ed.) Handbook of Proof Theory, Elsevier, Amsterdam (1998)

    Google Scholar 

  2. Beckmann, A., Weiermann, A.: Characterizing the elementary recursive functions by a fragment of Gödel’s T. Arch. Math. Logic 39(7), 475–491 (2000)

    Article  MATH  MathSciNet  Google Scholar 

  3. Goerdt, A.: Characterizing complexity classes by higher type primitive recursive definitions. Theor. Comput. Sci. 100(1), 45–66 (1992)

    Article  MATH  MathSciNet  Google Scholar 

  4. Jones, N.D.: The expressive power of higher-order types or, life without CONS. J. Functional Programming 11, 55–94 (2001)

    Article  MATH  Google Scholar 

  5. Kristiansen, L., Voda, P.J.: Complexity classes and fragments of C (submitted), Preprint available from http://www.iu.hio.no/~larskri/

  6. Leivant, D.: Intrinsic theories and cpmputational complexity. In: Leivant, D. (ed.) LCC 1994. LNCS, vol. 960, pp. 177–194. Springer, Heidelberg (1995)

    Google Scholar 

  7. Ritchie, R.W.: Classes of predictably computable functions. Trans. Am. Math. Soc. 106, 139–173 (1963)

    Article  MATH  MathSciNet  Google Scholar 

  8. Schwichtenberg, H.: Finite notations for infinite terms. Ann. Pure Appl. Logic 94(1-3), 201–222 (1998)

    Article  MATH  MathSciNet  Google Scholar 

  9. Schwichtenberg, H., Bellantoni, S.J.: Feasible computation with higher types. Available from Schwichtenberg’s home page

    Google Scholar 

  10. Shoenfield, J.R.: Mathematical logic, vol. VII, p. 344. Addison-Wesley Publishing Company, Reading (1967)

    MATH  Google Scholar 

  11. Simmons, H.: Derivation and computation. Taking the Curry-Howard correspondenceseriously. Cambridge Tracts in Theoretical Computer Science, vol. 51. Cambridge University, Cambridge (2000)

    Google Scholar 

  12. Tiuryn, J.: Higher-order arrays and stacks in programming. An application of complexity theory to logics of programs. In: Wiedermann, J., Gruska, J., Rovan, B. (eds.) MFCS 1986. LNCS, vol. 233, pp. 177–198. Springer, Heidelberg (1986)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2003 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kristiansen, L., Voda, P.J. (2003). The Surprising Power of Restricted Programs and Gödel’s Functionals. In: Baaz, M., Makowsky, J.A. (eds) Computer Science Logic. CSL 2003. Lecture Notes in Computer Science, vol 2803. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-45220-1_28

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-45220-1_28

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-40801-7

  • Online ISBN: 978-3-540-45220-1

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics