Skip to main content
Log in

Computational complexity via programming languages: constant factors do matter

  • Published:
Acta Informatica Aims and scope Submit manuscript

Abstract.

The purpose of this work is to promote a programming-language approach to studying computability and complexity, with an emphasis on time complexity. The essence of the approach is: a programming language, with semantics and complexity measure, can serve as a computational model that has several advantages over the currently popular models and in particular the Turing machine. An obvious advantage is a stronger relevance to the practice of programming. In this paper we demonstrate other advantages: certain proofs and constructions that are hard to do precisely and clearly with Turing machines become clearer and easier in our approach, and sometimes lead to finer results. In particular, we prove several time hierarchy theorems, for deterministic and non-deterministic time complexity which show that, in contrast with Turing machines, constant factors do matter in this framework. This feature, too, brings the theory closer to practical considerations. The above result suggests that this framework may be appropriate for studying low complexity classes, such as linear time. As an example we give a problem complete for non-deterministic\/ linear time under deterministic linear-time reductions. Finally, we consider some extensions and modifications of our programming language and their effect on time complexity results.

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.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received: 26 October 1998 / 9 June 2000

Rights and permissions

Reprints and permissions

About this article

Cite this article

Ben-Amram, A., Jones, N. Computational complexity via programming languages: constant factors do matter. Acta Informatica 37, 83–120 (2000). https://doi.org/10.1007/s002360000038

Download citation

  • Issue Date:

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

Keywords

Navigation