Skip to main content

Turing Machines and Computability

  • Chapter
  • First Online:
Fundamentals of Logic and Computation

Part of the book series: Texts in Computer Science ((TCS))

  • 991 Accesses

Abstract

This chapter begins with Turing’s model of computable functions, called Turing Machines, and presents them as upgraded pushdown automata. We give informal arguments that Turing machines can perform any computation that a modern computer can compute. We then discuss two different computational models: partial recursive functions and \(\lambda \)-calculus, which are shown as powerful as Turing machines. Next, we return to Turing machines, which play a central role in describing unsolvable problems. Finally, we focus on solvable problems and discuss the complexity issue—how much time and space are required to solve them.

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 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 64.99
Price excludes VAT (USA)
  • Durable hardcover 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

Notes

  1. 1.

    The definition of completeness in this section is called “syntactic/maximal/negation completeness”. By contrast, the definition of completeness in previous sections only requires that all valid formulae can be derived, and we call it “semantic completeness”.

  2. 2.

    The Latin phrase “ignoramus et ignorabimus” means that “we do not know and will not know”. It represents the idea that scientific knowledge is limited.

  3. 3.

    Means “We must know, we shall know.” in English. Perhaps ironically, these are the words engraved on Hilbert’s tombstone.

  4. 4.

    At that time, Turing was only 23 and had not obtained his PhD degree yet.

  5. 5.

    By contrast, we assume that PDAs are nondeterministic.

  6. 6.

    For example, 2 is written as 11 and 5 as 11111.

  7. 7.

    Most say in 1934.

  8. 8.

    This is an equivalent statement of Church’s thesis.

  9. 9.

    Not just the above three computational models, but all the models for capturing “effectively computable” functions that people have developed since the 1930s, and many of them are of drastically different forms. See examples given below.

  10. 10.

    The process of encoding components of functions into natural numbers is called Gödelisation, which is a technique Gödel used to prove his incompleteness theorems.

  11. 11.

    Recall in Sect. 5.1 that this assumption does not reduce computational power.

  12. 12.

    Clearly, if a problem is not recursively enumerable, it is (even harder than) undecidable. But in this case, we will be explicit and call it non-recursively enumerable (non-RE). The literature often refers to non-recursive but recursively enumerable problems as undecidable/semi-decidable problems.

  13. 13.

    Theorem 5.5 indicates that the halting problem of TMs corresponds to the question “does a \(\lambda \)-term have normal form?”.

  14. 14.

    It is called “recursively enumerable” because we can go through the input in the order of natural numbers and enumerate each input that is in the language. But given an arbitrary input, we may not be able to give an answer.

  15. 15.

    \(\mathcal {P}\) versus \(\mathcal {NP}\) has a million-dollar prize funded by the Clay Mathematics Institute.

  16. 16.

    Some may ask, can quantum computers solve NP-complete problems efficiently? If we go with our definition of “solving a problem efficiently” means solving it in polynomial time, then to the best of our knowledge, the answer is no. For example, with Grover’s search algorithm, a quantum computer can provide a worse-case quadratic speed-up than the best-known classical algorithm. However, \(O(\sqrt{c^n})\) is still exponential time. Confusions arise when the integer factorisation problem is involved. Shor’s algorithm, the best-known quantum algorithm for this problem, does run in polynomial time, and there is no known efficient classical algorithm for this problem. However, integer factorisation is not known to be NP-complete, although it is in \(\mathcal {NP} \).

References

  1. Cooper S (2003) Computability theory. Taylor & Francis. ISBN: 9781584882374

    Google Scholar 

  2. Wadler P (2015) Propositions as types. Commun ACM 58, 75–84. ISBN: 0001-0782

    Google Scholar 

  3. Turing AM (1937) On computable numbers, with an application to the Entscheidungsproblem. Proc Lond Math Soc s2-42, 230–265. ISBN: 0024-6115

    Google Scholar 

  4. Von Neumann J (1982) The origins of digital computers: selected papers. Randell B (ed). Springer Berlin Heidelberg, Berlin, Heidelberg, pp 383–392. ISBN: 978-3-642-61812-3

    Google Scholar 

  5. Hopcroft J, Motwani R, Ullman J (2007) Introduction to automata theory, languages, and computation. Pearson/AddisonWesley. ISBN: 9780321455369

    Google Scholar 

  6. Turing AM (1939) Systems of logic based on ordinals. Proc Lond Math Soc s2-45, 161–228

    Google Scholar 

  7. Rice HG (1953) Classes of recursively enumerable sets and their decision problems. Trans Amer Math Soc 74:358–366

    Article  MathSciNet  Google Scholar 

  8. Cook SA (1971) The complexity of theorem-proving procedures in proceedings of the third annual acm symposium on theory of computing. Association for Computing Machinery, Shaker Heights, Ohio, USA. pp 151–158. ISBN: 9781450374644

    Google Scholar 

  9. Karp RM (1972) Reducibility, among combinatorial problems in proceedings of a symposium on the complexity of computer computations, held March 20–22, 1972, at the IBM Thomas J. Watson research center, Yorktown Heights, New York, USA. Miller RE, Thatcher JW (eds). Plenum Press, New York, pp 85–103

    Google Scholar 

  10. Savitch WJ (1970) Relationships between nondeterministic and deterministic tape complexities. J Comput Syst Sci 4, 177–192. ISBN: 0022-0000

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Zhe Hou .

Rights and permissions

Reprints and permissions

Copyright information

© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Hou, Z. (2021). Turing Machines and Computability. In: Fundamentals of Logic and Computation. Texts in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-030-87882-5_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-87882-5_5

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-87881-8

  • Online ISBN: 978-3-030-87882-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics