Theoretical computer science (TCS) is a subfield of computer science and mathematics that studies the abstract and mathematical foundations of computation. It is concerned less with the engineering of computing devices than with the nature, capabilities, and limits of computation as such, and it is characterized by an emphasis on mathematical technique and rigor. The boundaries of the field are difficult to circumscribe precisely, and its subject matter overlaps substantially with areas of mathematics such as logic, combinatorics, number theory, and probability.
Definition and scope
The Association for Computing Machinery's Special Interest Group on Algorithms and Computation Theory (SIGACT) describes the field as covering a wide range of topics, including algorithms and data structures, computational complexity, parallel and distributed computation, probabilistic computation, quantum computation, automata theory, information theory, cryptography, program semantics and verification, algorithmic game theory, machine learning, computational biology, computational economics, computational geometry, and computational number theory and algebra.
Because the field is defined by its methods rather than by a fixed list of topics, problems in theoretical computer science can arise from mathematics, engineering, or the natural and social sciences. Work in the area is often distinguished by the use of formal definitions, theorems, and proofs, and by attention to asymptotic measures of computational resources such as time, space, communication, and randomness.
History
Theoretical computer science emerged from mathematical logic and the foundations of mathematics in the 20th century. In 1931, Kurt Gödel's incompleteness theorems established fundamental limitations on what statements can be proved or disproved within a formal system. In 1936, Alan Turing and Alonzo Church independently formulated precise mathematical models of effective computation — the Turing machine and the lambda calculus — and showed them to be equivalent, an equivalence later generalized as the Church–Turing thesis. Turing's proof of the unsolvability of the Entscheidungsproblem followed from this work.
Claude Shannon's 1948 mathematical theory of communication founded information theory and brought it into contact with the study of computation. In 1970, Yuri Matiyasevich completed work, building on results of Martin Davis, Hilary Putnam, and Julia Robinson, showing that Hilbert's tenth problem is undecidable. In 1971, Stephen Cook, and independently Leonid Levin, proved that there exist practically relevant problems that are NP-complete, a result regarded as a landmark of computational complexity theory.
Major subareas
Commonly recognized branches of theoretical computer science include:
- Automata theory, the study of abstract machines such as finite automata, pushdown automata, and Turing machines, and of the computational problems they can solve.
- Computability theory, which classifies problems as solvable or unsolvable and studies concepts such as decidability and enumerability.
- Computational complexity theory, which classifies computational problems by their inherent difficulty and relates complexity classes to one another.
- Algorithms and data structures, including the design and analysis of algorithms, combinatorial optimization, computational geometry, and approximation.
- Information theory and coding theory, concerned with the quantification, compression, transmission, and error correction of information.
- Cryptography, the study and construction of protocols secure against adversaries, typically grounded in computational hardness assumptions.
- Programming language theory and formal methods, including program semantics, type theory, specification, and verification.
- Logic in computer science, including proof theory, model theory, and finite model theory as applied to computation.
Related and interdisciplinary areas include computational learning theory, algorithmic game theory, computational biology, computational economics, and quantum computing theory.
Organizations, journals, and conferences
Professional organizations in the field include SIGACT, the European Association for Theoretical Computer Science (EATCS), and the Simons Institute for the Theory of Computing.
Prominent journals include Theoretical Computer Science (Elsevier, ISSN 0304-3975), the SIAM Journal on Computing, the Journal of the ACM, Information and Computation, Computational Complexity, ACM Transactions on Computation Theory, and the open-access journals Theory of Computing and TheoretiCS.
Major conferences include the ACM Symposium on Theory of Computing (STOC, held annually since 1969), the IEEE Symposium on Foundations of Computer Science (FOCS), the International Colloquium on Automata, Languages and Programming (ICALP), the ACM–SIAM Symposium on Discrete Algorithms (SODA), the Computational Complexity Conference (CCC), and the Symposium on Theoretical Aspects of Computer Science (STACS). Prizes awarded in the area include the ACM A. M. Turing Award, the Knuth Prize, and the Gödel Prize.
Open problems
The field contains several well-known open problems. The most prominent is the question of whether the complexity classes P and NP are equal; it is one of the seven Millennium Prize Problems designated by the Clay Mathematics Institute. Other notable open questions include the resolution of the P versus NP problem's relatives, such as whether NP equals co-NP, whether P equals PSPACE, and whether one-way functions exist. The status of the relationship between P and NP is not known; no proof is currently available in either direction.