Abstract

Some problems have no solution by any program, however long it runs. Others have solutions that appear to need astronomically many steps, and for those nobody has proved that the appearance is real. The answer has three parts. Rice’s theorem says no program can decide any non-trivial property of the function another program computes, and Cohen applied the same diagonal argument in 1984 to show that exact virus detection, under his definition, is undecidable. Satisfiability and thousands of related problems can be checked fast but are not known to be solvable fast, and whether P equals NP is open after more than fifty years. Public-key cryptography rests on stronger and also unproved assumptions, with RSA and discrete-logarithm schemes among the examples, and Shor’s algorithm solves factoring and discrete logarithm in polynomial time on a large enough quantum computer.

Three kinds of problem

A decision problem is a yes-or-no question about an input, such as “is this graph connected?” or “does this formula have a satisfying assignment?”. Formally it is a set of strings: the inputs whose answer is yes. An algorithm decides the problem if it stops on every input with the right answer. Time is measured as the number of steps, in the worst case, as a function of the length of the encoded input. As far as current knowledge goes, decision problems fall into three groups.

Undecidable problems have no total decider: no algorithm stops with the right answer on every input. The reason is logical, and no hardware or cleverness changes it. The best known example is whether a given program ever stops. Some undecidable problems are semidecidable, meaning an algorithm confirms every yes-instance but may run forever on a no-instance.

Decidable problems with no known efficient algorithm come second. Satisfiability of Boolean formulas is the standard case: trying every assignment always works, and with 100 variables that means about 10^30 assignments. That is an upper bound. No polynomial-time algorithm for general satisfiability is known, and nobody has proved that none exists. Some decidable problems are proved to need enormous time: Cook’s description cites a proof that deciding Presburger arithmetic takes at least doubly exponential time on some inputs.1

The third group has efficient algorithms. Cook lists natural problems with feasible algorithms, among them integer arithmetic, linear algebra and network flow, which are computational tasks and not yes-or-no questions, and graph connectivity, which has a decision version. As shown in 2002, deciding whether a number is prime is in P.12

Security inherits all three. From the first group it inherits a limit on tools: no analyser can decide every question about what arbitrary software will do. From the second it inherits an assumption: cryptography works because certain problems are believed to be hard on the instances an attacker faces, and that belief is stronger than the statement that P differs from NP. From the third group it inherits the baseline of what attacker and defender can always do cheaply. Clay’s page lists P versus NP as unsolved on 26 November 2026.3

The Entscheidungsproblem and the first answers

Hilbert’s question

Aaronson’s survey describes Hilbert’s 1900 challenge as a request for a “purely mechanical procedure” to determine the truth or falsehood of any mathematical statement, and says that goal “turned out to be impossible”.4 The sharper form is the Entscheidungsproblem (decision problem) of Hilbert and Ackermann’s logic textbook, which asks for a general process that says whether a formula of the functional calculus (first-order logic) is provable. Church’s note cites the textbook’s 1928 edition, and Turing’s paper prints 1931.56 For further reading, the library’s article on Hilbert’s problems covers the 1900 list, including the tenth problem, on integer solutions of polynomial equations.

Proof search shows how this connects to cost. Fix a formal proof system whose proofs a computer can check in polynomial time, and write the length bound n in unary. Whether a statement has a proof of length at most n can be decided by enumerating all candidates, which takes exponential time.4 If P = NP, a general polynomial-time method would find such certificates or report that none exists, and for a particular proof system the converse needs a separate hardness argument. Cook observes that formal proofs can easily be recognised in polynomial time.1 The library’s article on formalised mathematics covers machine checking in practice.

Church, 1936

Church’s paper, published in April 1936, proposes that a function of positive integers be called effectively calculable if it is lambda-definable, or equivalently if it is recursive in the sense of Herbrand and Gödel. He describes its purpose as proposing “a definition of effective calculability” and showing, by means of an example, that not every problem of this class is solvable.7

His formal objects are formulas of the lambda calculus, built from variables by application and by abstraction (λx[M]), with a notion of conversion that rewrites one formula into another. Theorem XVIII says there is no recursive function of a formula whose value is 2 or 1 according as the formula has a normal form or not. Theorem XIX says there is no recursive function of two formulas that decides whether one converts into the other. The corollary is that the Entscheidungsproblem is unsolvable for any ω-consistent system of logic strong enough for certain simple methods of definition and proof, Principia Mathematica included if it is ω-consistent. The argument expresses conversion between formulas as provability, so that a procedure for provability would give one for conversion.7 A separate note, received on 15 April 1936 and marked as received in the March 1936 issue of the Journal of Symbolic Logic, outlines an extension of the result to the restricted functional calculus of Hilbert and Ackermann.5

Turing, May to November 1936

Turing’s paper was received on 28 May 1936 and read on 12 November 1936. A machine has a tape of squares, a head scanning one square, and a finite list of internal states, which Turing calls m-configurations. The complete configuration at a moment also includes the tape contents and the head position. A machine that prints infinitely many figures of the first kind is circle-free, and one that does not is circular; a circular machine need not halt. Each machine has a standard description that can be written as a number, and a description number of a circle-free machine is called satisfactory.6

Section 6 introduces a single machine that can “be used to compute any computable sequence” if its tape begins with the description of the machine to imitate.6 This universal machine shows that one machine can simulate any other from a description written on its tape, so a program can be treated as data.

Section 8 contains the negative results. A machine deciding whether a number is satisfactory would let a diagonal argument construct a sequence that differs from every computable sequence, which is absurd, so “there can be no general process for determining whether a given number is satisfactory or not”. Turing also shows that there is no general process for deciding whether a given machine ever prints a given symbol, 0 for instance. Section 11 reduces the Entscheidungsproblem to that second result: for each machine he builds a formula that is provable if and only if the machine ever prints 0, so a procedure for provability would decide the question, which is impossible by section 8. Hence there can be no machine that, supplied with a formula, eventually says whether it is provable.6 Turing notes that Church reached similar conclusions by a very differently defined route, and outlines the equivalence of “computable” and “effectively calculable” in an appendix.

The modern phrasing, the halting problem, differs from Turing’s, whose problem concerns circle-free machines and printing; the text of his paper contains no problem by that name. Cook’s Clay Institute description defines the Halting Problem as the set of Turing machines that halt on their own description, and says Turing used a simple diagonal argument to show it is not decidable.1 The next subsections give the standard modern argument.

A machine you can run by hand

A Turing machine in the modern style has a tape of squares holding symbols, a head, a current state, and a table of rules. Each rule says: in this state, reading this symbol, write this symbol, move left, right or stay, and enter this state. The machine below adds 1 to a binary number. It starts in state carry with the head on the rightmost digit.

StateReadsWritesMoveNext state
carry10leftcarry
carry01stayhalt
carryblank1stayhalt

On the input 1011 (eleven) the run is:

StepTape after the stepHead onState
01011digit 4carry
11010digit 3carry
21000digit 2carry
31100digit 2halt

The output 1100 is twelve. On the input 111 the machine writes 000 in three steps, then reads the blank square to the left of the number, writes 1 and halts with 1000. An n-digit input takes at most n + 1 steps, so this machine is fast in a sense defined later.

A machine with one state go and the rule schema “for each symbol read, including the blank, write the same symbol back and move right” never halts.

The halting problem

Suppose there were a program halts(p, x) that always stops and answers true if program p stops when run on input x, and false otherwise. Programs are text, so a program can be given to itself as input. Write this program:

trouble(p):
    if halts(p, p):
        loop forever
    else:
        stop

Now ask what trouble(trouble) does. If halts(trouble, trouble) returns true, then trouble loops forever on itself, so the answer was wrong. If it returns false, then trouble stops on itself, so the answer was wrong again. No answer is consistent, so the assumed halts cannot exist. The construction has the same diagonal pattern as Turing’s section 8 and as Cantor’s proof that the real numbers cannot be listed, with “the program run on its own text” playing the role of the diagonal.61

Two further facts matter. Halting can be confirmed but not refuted by waiting: if the program stops the answer is yes, but no finite wait justifies “no”. Cook’s description says the halting set is computably enumerable, and Church’s Corollary 1 is the parallel statement that formulas with a normal form can be enumerated while those without cannot.17 And the problem is undecidable only in general: particular programs can be shown to halt or loop, and a tool may succeed on thousands of them. What is impossible is one program that succeeds on all.

The Church-Turing thesis

Church proposed his definition as a match for “the somewhat vague intuitive notion” of effective calculability.7 Turing wrote that reading “there is a general process” as “there is a machine which will determine” “can be justified if and only if we can justify our definition of ‘computable’”.6 The claim that any procedure that is mechanical in the intuitive sense can be carried out by a Turing machine is the Church-Turing thesis. It cannot be a theorem, because one side of it is an informal notion, and Shor’s paper says so directly: “Church’s thesis is not a mathematical theorem”.8 The evidence is that three independently defined classes of functions coincide: lambda-definable, recursive and Turing-computable functions, as Church’s two forms and Turing’s appendix show.76

Rice’s theorem

Rice’s 1953 paper considers classes of recursively enumerable sets of non-negative integers, where a set is enumerated by a partial recursive function as the range of that function. Its stated aim is to study “complete recursiveness”, which he says may be intuitively read as decidability, and he describes his most interesting result as “the fact that no nontrivial class is completely recursive”.9 A class is trivial if it contains all recursively enumerable sets or none.

Rice gives his own reading in the text. If P is any property possessed by some but not all r.e. sets, then “there exists no effective general method for deciding, given a set a by means of a partial recursive function enumerating it, whether or not a has the property P”. He adds that there is no effective general method “for obtaining, from a partial recursive function, any information about the set of which the function is a characterization”, and that special methods may exist for particular functions.9

The modern statement

A program computes a partial function: it maps some inputs to outputs and runs forever on others. A property of programs is semantic, or extensional, if it depends only on that function, so two programs that compute the same function either both have it or both lack it. It is non-trivial if some program has it and some does not. Rice’s theorem, in the form usually taught, says that every non-trivial semantic property of programs is undecidable.

Examples of semantic properties: the function is defined on input 5; it returns 0 on every input where it is defined; it is the same function as the one another program computes; it is defined on every input. Properties of how a program runs, such as which memory it writes or whether it modifies another executable, are not properties of the computed function alone, because two programs can compute the same function and differ in those respects. For such properties the theorem does not apply directly, and one must model the relevant executions and give a separate argument.

The reduction

The proof is a reduction from the halting problem. Take a semantic property S that is non-trivial. Suppose, to fix ideas, that the program empty, which loops forever on every input, lacks S (otherwise swap S for its negation, which is also non-trivial and decidable exactly when S is). Since S is non-trivial, some program q has it. Given a machine M and input x, build the following program P(M, x):

P(y):
    run M on x            (ignore y)
    then run q on y and return its answer

If M halts on x, then P computes the same function as q, so it has S. If M never halts on x, then P never reaches the second line, so it computes the same function as empty and lacks S. So P(M, x) has S exactly when M halts on x. Producing the text of P from M and x is a mechanical editing step that always finishes. A decider for S would therefore decide halting, which is impossible.91

What the theorem does not say

  • It says nothing about syntactic properties. Whether a program is longer than 1,000 lines or contains a given byte sequence can be read off the text, and so can whether it contains a call to a given library function. Whether that call is ever reached is a behavioural question.
  • It does not forbid analysing a specific program. Rice’s own remark that special methods exist for particular functions is exactly this.9
  • It does not forbid approximation. An analyser may answer yes, no or “unknown”, or may accept some false alarms. The theorem says no analyser avoids all error on all programs while always answering.
  • It says nothing about bounded executions. Whether P halts within a million steps on a given input is decidable by running it for a million steps. Undecidability needs unbounded runs.
  • It applies to the full class of programs. Restrict the class and many properties become decidable, and trivial properties are decidable in any class.

Cost

Counting steps

Hartmanis and Stearns opened their 1965 paper by saying that Turing showed the computable sequences separate from the noncomputable ones, but that “some computable sequences are very easy to compute whereas other computable sequences seem to have an inherent complexity that makes them difficult to compute”. They propose classifying sequences by how fast a multitape Turing machine can print them.10 The cost of a computation is the number of steps as a function of the length of the input.

The table gives the number of steps for three growth rates.

Input size nn^2n^32^n
101001,0001,024
204008,0001,048,576
401,60064,000about 1.1 × 10^12
603,600216,000about 1.15 × 10^18
10010,0001,000,000about 1.27 × 10^30

At a billion steps per second, 2^60 steps take about 1.15 × 10^9 seconds, or about 36 years. 2^100 steps take about 4 × 10^13 years. A machine a thousand times faster extends the feasible n by only about 10 in the exponential case, because 2^10 is 1,024. In the quadratic case the same speed-up allows an n about 31 times larger.

The polynomial-time convention

Hartmanis and Stearns showed that the machine model matters only mildly: a sequence computable in time T(n) by a multitape machine is computable in time T(n)^2 by a one-tape machine, and multiplying T by a constant does not change the class.10 Cook’s description states the consequence for the conventional classical models: Turing machines can generally simulate more efficient models, such as many tapes, with at most a squaring or cubing of the time, so the class of polynomial-time problems does not depend on which of them is used.1

Identifying “feasible” with “polynomial-time” is a convention. Cobham and Edmonds introduced polynomial-time computation in the 1960s, and Edmonds called such algorithms “good algorithms”.1 Cook states a “feasibility thesis”: a natural problem has a feasible algorithm if and only if it has a polynomial-time algorithm. He concedes that a program needing n^100 steps could never run even on n = 10, and that the Robertson-Seymour graph-minor algorithms, with their huge constants, are a possible counterexample.1 Aaronson answers the objection that 1.0000001^n beats n^1000 with an empirical observation: most (but not all) problems in P that people care about are solved in linear, quadratic or cubic time, and most (but not all) problems outside P that they care about need c^n time by every known algorithm, for some c well above 1.4

The hierarchy theorem

Is more time ever more powerful? Hartmanis and Stearns proved that it is. A function T is real-time countable if some multitape machine, on its nth operation, prints a 1 whenever T(m) = n for some m and a 0 otherwise; the condition holds for functions such as n^k, k^n and n!. Their Theorem 9 states that if U and T are real-time countable monotone increasing functions and the limit inferior as n grows of T(n)^2 / U(n) is 0, then some sequence can be computed within U operations that cannot be computed within T.10 Time here is the number of operations needed to print the nth term, and the proof is a diagonal argument in Turing’s style.10

With T = n^k, taking U = 2^n shows that for each k some sequence computable in exponential time cannot be computed in time n^k; the separating sequence depends on k. The theorem is about sequences, and the paper treats recognition problems in a later section.10 It separates classes by constructing artificial sequences and does not say that any natural problem, satisfiability included, needs more than polynomial time.

P, NP and certificates

Cook’s description defines the class P as the languages decided by some Turing machine whose worst-case running time is at most n^k + k for some k. NP is the class of languages L for which there is a polynomial-time checking relation R and a constant k such that w is in L exactly when some string y with |y| ≤ |w|^k satisfies R(w, y).1 The string y is a certificate: a polynomial-size proof of a yes-answer that can be verified in polynomial time. NP stands for “nondeterministic polynomial time”, because it was first defined through nondeterministic machines. Every problem in P is in NP, since the checker can ignore y and solve the problem itself. The question “does P = NP?” asks whether finding is as easy as checking.1

The satisfiability problem (SAT) gives the central example. A Boolean formula in conjunctive normal form is an AND of clauses, each an OR of literals, where a literal is a variable or its negation. Take

F = (x ∨ y ∨ z) ∧ (¬x ∨ ¬y ∨ z) ∧ (¬x ∨ y ∨ ¬z)

A certificate is an assignment of true and false to x, y and z. Check x = 0, y = 0, z = 1:

  • clause 1 contains z, which is true;
  • clause 2 contains ¬x, which is true;
  • clause 3 contains ¬x, which is true.

All three clauses hold, so F is satisfiable. Checking took at most nine literal lookups, in time proportional to the size of the formula. Check the assignment x = 1, y = 1, z = 0 as well: clause 2 is 0 ∨ 0 ∨ 0, which fails, so that certificate is rejected.

Without a certificate, the obvious method tries every assignment. The eight rows are:

x y zClause 1Clause 2Clause 3F
0 0 0falsetruetruefalse
0 0 1truetruetruetrue
0 1 0truetruetruetrue
0 1 1truetruetruetrue
1 0 0truetruetruetrue
1 0 1truetruefalsefalse
1 1 0truefalsetruefalse
1 1 1truetruetruetrue

Five of the eight assignments work. With three variables the table is trivial. With 100 variables it has 2^100 rows, while checking a single guessed row is still linear. NP is the class of problems whose yes-answers have certificates of this kind. Some of them, such as SAT, have no known method that avoids exponential search in the worst case, and others are in P.

Finding follows from deciding. If SAT could be decided in polynomial time, a satisfying assignment could be found by fixing the variables one at a time, keeping each value that leaves the formula satisfiable; if the first test says the formula is unsatisfiable, the answer is that no assignment exists.1 Aaronson points out that most computational cryptography would be broken if P = NP with an algorithm efficient in practice: given a plaintext and ciphertext, a candidate key can be checked in polynomial time, so finding the key is an NP search problem. He lists the one-time pad and quantum key distribution as exceptions that do not rely on computational assumptions.4

Cook, 1971

Cook’s paper appeared in the proceedings of the third ACM symposium on the theory of computing in May 1971. It defines a set S of strings to be P-reducible to a set T if there is a query machine (a Turing machine that may ask an oracle whether a string is in T) that decides S in polynomial time given such an oracle.11 His Theorem 1 says that if a set S of strings is accepted by some nondeterministic Turing machine within polynomial time, then S is P-reducible to the set of tautologies in disjunctive normal form.11

The proof builds, from the machine M and input w, a propositional formula A(w) describing an accepting computation of at most Q(|w|) steps, with variables for the symbol on each square, the state and the scanned square at each step, and clauses that force the initial tape to be w, each step to follow the transition table and the machine to end in an accepting state. The formula is satisfiable if and only if M accepts w, and it is built in time polynomial in |w|.11 Satisfiability and tautology correspond through negation, which also reverses the answer: a CNF formula is satisfiable exactly when its negation, a DNF formula, is not a tautology. Karp’s comment on his first problem says that by duality satisfiability “is equivalent to determining whether a disjunctive normal form expression is a tautology”.12 Cook’s oracle reductions may reverse an answer, while Karp’s many-one reductions preserve it, and the modern SAT and 3-SAT framing comes from Cook’s later account.121

Cook’s Theorem 2 shows that the tautologies, the DNF tautologies, a restricted class D_3 (DNF tautologies with at most three conjuncts per disjunct) and the subgraph-pair problem are P-reducible to each other. He writes that “Theorems 1 and 2 together suggest that it is fruitless to search for a polynomial decision procedure for the subgraph problem”, and that tautologies are “a good candidate for an interesting set not in” the class of polynomial-time sets, a conjecture whose proof “would be a major breakthrough in complexity theory”.11 Cook’s later description says the paper showed that Satisfiability, 3-SAT and subgraph isomorphism are NP-complete.1

Karp, 1972

Karp’s paper “was stimulated by the work of Stephen Cook” and “rests on an important theorem which appears in his paper”.12 Cook’s later description credits it with the notation P and NP and with the standard many-one reduction.1 A language L is reducible to M if there is a polynomial-time computable function f with f(x) in M exactly when x is in L. A language is complete if it is in NP and every language in NP reduces to it. Karp states: “Either all complete languages are in P, or none of them are. The former alternative holds if and only if P = NP.” His Main Theorem lists 21 problems, headed by satisfiability, and shows them complete. They include 0-1 integer programming, clique, set packing, node cover, directed and undirected Hamilton circuit, chromatic number, knapsack (a 0-1 solution of an equation Σ a_j x_j = b) and max cut. Cook’s description counts them as Satisfiability plus 20 others.121

A reduction worked by hand

A reduction turns instances of one problem into instances of another, preserving the answer. The following construction reduces 3-SAT to independent set. Karp’s list contains the closely related problems clique and node cover.12 An independent set of size k in a graph is a clique of size k in the complement graph, and the vertices outside it form a node cover of size |V| - k.

Start from the formula F above, with m = 3 clauses. Build a graph with one vertex per literal occurrence, nine in all. Join the three vertices of each clause by edges (a triangle, nine edges). Then join every occurrence of a variable to every occurrence of its negation in a different clause. For F these are:

  • x in clause 1 to ¬x in clause 2, and to ¬x in clause 3;
  • y in clause 1 to ¬y in clause 2, and ¬y in clause 2 to y in clause 3;
  • z in clause 1 to ¬z in clause 3, and z in clause 2 to ¬z in clause 3.

The graph has 9 vertices and 15 edges. The claim is that F is satisfiable exactly when the graph has an independent set (no two members joined by an edge) of size 3.

If F is satisfiable, pick one true literal in each clause. The three chosen vertices lie in different triangles, and none is a complementary pair, because the assignment makes only one of a variable and its negation true. For the assignment x = 0, y = 0, z = 1, choose z from clause 1 and ¬x from clauses 2 and 3. These three vertices share no edge. Conversely, an independent set of size 3 takes exactly one vertex from each triangle, since two in one triangle would be joined and there are only three triangles. It contains no complementary pair, so setting every chosen literal true is consistent, and every clause has a true literal. Listing all independent sets of size 3 in this graph gives 12, and each corresponds to a satisfying choice of one literal per clause.

For a formula with m clauses the graph has 3m vertices and at most 3m(3m - 1)/2 edges, because complementary-literal edges can join any pair of occurrences, so the quadratic bound is the worst case and the translation takes polynomial time. Independent set is itself in NP: a certificate is the set of vertices, and checking it means examining each pair for an edge. So if independent set could be solved in polynomial time, 3-SAT could too, and by Cook’s theorem so could everything in NP. To show a new problem NP-complete, it is enough to place it in NP and reduce a known NP-complete problem to it, as here. That is the standard method, and it is how the list grew.1

Why P versus NP is hard

The problem

The Clay Mathematics Institute’s description, by Cook, states the problem as “Does P = NP?” and says it is trivial that P is a subset of NP.1 The library’s article on the Millennium Prize problems covers the prize, and Clay lists P versus NP as unsolved on 26 November 2026.3

Two methods and three barriers

Cook’s description says there are two general methods that have been tried for proving P ≠ NP: diagonalisation with reduction, and Boolean circuit lower bounds. Diagonalisation is the method of Turing and of the hierarchy theorem. It has proved the halting problem undecidable and has proved super-exponential lower bounds for some very hard decidable problems, the example being Presburger arithmetic.1

Relativization. Baker, Gill and Solovay showed in 1975 that there are oracles relative to which P = NP and others relative to which P ≠ NP, which Aaronson calls “contradictory relativizations”.13 A proof technique that works identically when every machine is given the same oracle therefore cannot settle the question, because it would prove the same thing in both worlds. Diagonalisation and step-by-step simulation relativize.14

Natural proofs. In Aaronson’s account, Razborov and Rudich call a lower-bound proof natural if it yields an algorithm that is constructive (it runs in time polynomial in the size of a function’s truth table) and large (in Aaronson’s presentation, it certifies hardness for at least a 1/n^O(1) fraction of random functions). A property is useful against a circuit class if functions with the property lie outside that class. If sufficiently strong pseudorandom function families exist inside the class, no natural property is useful against it, because the algorithm would distinguish them from random functions.144 The obstruction is conditional, and it bears on strategies that go through circuit lower bounds. It does not break cryptography deployed today, and it does not constrain every possible route to P ≠ NP.4

Algebrization. Aaronson and Wigderson showed that the arithmetic techniques behind IP = PSPACE evade relativization but not a modified version of it, in which oracles can be queried through low-degree extensions.15 Aaronson reports that a uniform formulation of algebrization came later, and that proving P ≠ NP would require techniques that evade this barrier as well as natural proofs.4

The barriers exclude particular proof strategies: those that establish statements that hold relative to every oracle or every algebraic oracle, and natural proofs against strong pseudorandomness. Aaronson describes one technique, “ironic complexity theory”, that “bypasses the natural proofs, relativization, and algebrization barriers” by using algorithms in one setting to show the nonexistence of algorithms in another.4

What experts believe, and why

Cook writes that most complexity theorists believe P ≠ NP and offers the history of failed attempts at fast algorithms for NP-complete problems, over three decades and by a “vast number of programmers and engineers”, as evidence.1 Gasarch’s polls report survey responses and are not a representative estimate. In 2002, 61 respondents said P ≠ NP and 9 said P = NP. In 2012, 126 said P ≠ NP and 12 said P = NP, out of 152.16 Aaronson’s survey repeats the 2012 figure for P = NP as 9, and Gasarch’s own table gives 12.416 Aaronson names Knuth as having professed a belief that P = NP.4 Knuth says the Robertson-Seymour theorem tipped the balance in his mind toward P = NP, and that people might never be able to implement a polynomial-time worst-case algorithm for satisfiability even if P = NP.17 That matches Cook’s feasibility caveat: a polynomial-time algorithm need not be practical, so the question is theoretical and does not settle practical threat assessments.1 Aaronson gives reasons for a confidence comparable to that in the Riemann hypothesis, among them:

  1. Lower bounds are hard to prove, which explains the missing proof without mystery, whereas P = NP would leave a puzzle: no general method has been found for efficiently inverting arbitrary efficiently computable functions on the relevant input distributions, despite half a century of software engineering.
  2. The hierarchy theorems show that most pairs of classes are unequal. Since P ≠ EXP is proved, at least one of P ≠ NP, NP ≠ PSPACE and PSPACE ≠ EXP holds.
  3. The “invisible fence”: thousands of problems are NP-complete and thousands are in P, and each time the algorithms and the reductions avoid meeting, though one meeting would prove P = NP.4

Belief is not proof. For further reading, the library’s article on P versus NP and its neighbours covers claims made in autumn 2026 about neighbouring complexity questions, and Clay still lists P versus NP as unsolved.3

Average-case hardness and cryptography

What cryptography needs

For computational security, NP-completeness is a worst-case property: a problem is hard if some inputs are hard. A cryptosystem needs instances that its designer can generate from an efficiently samplable distribution and that are hard for an attacker with high probability. In trapdoor constructions the designer also holds a secret that makes inversion easy. Cook’s description observes that even if P ≠ NP, every NP problem might have an algorithm that works on most inputs, which “could render cryptography impossible”, and it points to Levin’s theory of average-case completeness.1

The central notion is the one-way function. Diffie and Hellman defined it in 1976 as a function f for which it is easy to compute f(x) and yet, for almost all y in the range, “computationally infeasible” to solve y = f(x).18 Aaronson’s definition is the modern form: a family computable in polynomial time such that every polynomial-time algorithm inverts it on a random input with probability smaller than 1/q(n) for every polynomial q, for large n. Existence of one-way functions is Conjecture 29 in his survey, and it implies, but is not known to follow from, P ≠ NP.4 He shows the link to NP: a one-way function gives an efficient way to generate hard 3-SAT instances together with a satisfying assignment. Pick a random x, compute f(x), and use Cook’s theorem to write the question “find a preimage of f(x)“ as a 3-SAT formula, whose satisfying assignment encodes the preimage x together with auxiliary variables for the computation.4

Impagliazzo’s five worlds

Impagliazzo’s 1995 paper, dated 17 April 1995, organises average-case complexity around five possible worlds, “not currently known to be false”.19

WorldImpagliazzo’s definition
Algorithmica“P = NP or some moral equivalent”, for example NP is contained in BPP
HeuristicaNP problems are intractable in the worst case but tractable on average for any samplable distribution
PessilandThere are hard average-case problems but no one-way functions. He calls it, “to my mind, the worst of all possible worlds”
MinicryptOne-way functions exist but public-key cryptography is impossible
CryptomaniaPublic-key cryptography is possible: two parties can agree on a secret using only publicly accessible channels

In Heuristica hard instances exist, but finding one is itself intractable. For Pessiland Impagliazzo gives an informal argument: hard problems are easy to generate but not together with their solutions, because with no one-way functions the map from the generator’s random bits to the problem can be inverted well enough to recover a valid solution on the relevant distributions.19 Cryptomania is the world with public-key encryption and, Impagliazzo says, “the one closest to the real world, in that as far as we know, the RSA cryptosystem is secure”.19 Aaronson’s survey says that one-way functions suffice for most of private-key cryptography, for pseudorandom generators and functions, and for digital signatures, while public-key encryption needs more.4 Which world is the real one is not known.

Public-key encryption needs more than P ≠ NP

Aaronson states the gap directly: a public-key encryption system needs something stronger than a one-way function, for example a trapdoor one-way function, which becomes easy to invert given a secret. A trapdoor is a sufficient route and not the only one; signatures need only one-way functions. The known candidates rest on factoring (RSA is the classic example), discrete logarithms over multiplicative groups and elliptic curves, and finding planted short vectors in lattices. “To date, however, all public-key cryptosystems require ‘sticking our necks out’”, conjecturing hardness of some specific NP problem, “something with much more structure than any known NP-complete problem”, and even a proof of P ≠ NP would leave reasonable doubt about the known public-key systems.4

Factoring shows what that means. Cook’s decision version asks, for a pair (a, b), whether b has a divisor d with 1 < d < a. It is in NP, with the divisor as the certificate. It is also in coNP: to show there is no such divisor, give the complete prime factorisation of b, and check that the factors multiply to b, that each is prime by a deterministic primality test, and that every one is at least a (a prime b is its own factorisation). Cook calls it a good example of a problem in NP that seems unlikely to be in P or NP-complete. If any problem in both NP and coNP were NP-complete, NP would equal coNP, which is thought not to hold, so factoring is probably not NP-complete.14 The fastest known general-purpose classical method, the number field sieve, has a heuristic running-time estimate of 2^(O(n^(1/3) log^(2/3) n)) for an n-digit integer, which Aaronson describes as conjectured and empirically observed. The expression is subexponential in the number of digits and exceeds any polynomial, and it is an estimate for that algorithm and not a lower bound for factoring. Shor’s paper calls the algorithm exponential-time, using the word loosely.48

The original RSA paper was candid about the foundation. Its authors say that the security of the system “rests in part on the difficulty of factoring the published divisor”, that “factoring large numbers is not provably difficult”, and that their confidence rests on three hundred years of effort on factoring in which no one had found an algorithm for a 200-digit number in a reasonable amount of time.20 A computational security proof for a protocol is a reduction for a stated security game: it shows that an attacker who wins the game could solve the underlying problem, so it is only as strong as that assumption.

Primality is easy; factoring is not known to be

Factoring has an easier neighbour. Whether a number is composite is in NP, with a divisor b (where 1 < b < a and b | a) as the certificate, and it is also in P.1 Agrawal, Kayal and Saxena presented an “unconditional deterministic polynomial-time algorithm that determines whether an input number is prime or composite”; the journal record shows receipt on 24 January 2002 and online publication in 2004.2 Before that, randomised polynomial-time tests by Rabin and by Solovay and Strassen were known, and a deterministic test by Miller had a polynomial-time guarantee only if the Extended Riemann Hypothesis holds.4 Cook’s description notes the contrast: the search problem associated with compositeness, finding a divisor, is equivalent to factoring and “is thought unlikely to be solvable in polynomial time”, and an efficient factoring algorithm “would break the RSA public key encryption scheme”.1

RSA key generation needs random primes, so, in Aaronson’s words, it is “just as important that primality testing be easy as that the related factoring problem be hard”.4 No source used here shows a polynomial-time classical factoring algorithm.

Quantum computers and the limits of the claim

Shor, 1994

Shor’s paper was presented at the 35th Annual Symposium on Foundations of Computer Science in November 1994, and the expanded arXiv version was submitted on 30 August 1995 and revised on 25 January 1996. It gives efficient randomised algorithms for factoring integers and for finding discrete logarithms on a hypothetical quantum computer, taking “a number of steps polynomial in the input size”. The factoring algorithm takes O((log n)^2 (log log n)(log log log n)) steps on a quantum computer plus polynomial classical post-processing.8

The reduction from factoring to order finding is old: choose a random nonzero residue x modulo n, and if gcd(x, n) is a proper divisor (greater than 1 and less than n) it is a factor; otherwise find the order r of x (the least r with x^r ≡ 1 mod n) and compute gcd(x^(r/2) - 1, n). The identity (x^(r/2) - 1)(x^(r/2) + 1) = x^r - 1 ≡ 0 mod n shows the gcd is a divisor, and it fails to be a nontrivial one only if r is odd or x^(r/2) ≡ -1 mod n. Shor shows that for odd n that is not a prime power, a uniformly chosen unit x modulo n with a correct order yields a factor with probability at least 1 - 1/2^(k-1), where k is the number of distinct odd prime factors.8 The quantum computer’s job is to find r: it applies a Fourier transform to a register in superposition, and a classical continued-fraction step turns the measurement into a candidate for r. The measured fraction can reduce to a denominator smaller than r, so candidates are verified and the experiment is repeated.8 The quantum step is described here and not worked; Shor’s paper works through a small distribution in detail.

Factoring 15 and 21 by hand

The examples find the orders by classical arithmetic on paper. They do not simulate the quantum routine.

Take n = 15 and x = 7. The powers of 7 modulo 15 are 7^0 = 1, 7^1 = 7, 7^2 = 49 ≡ 4, 7^3 = 28 ≡ 13, 7^4 = 91 ≡ 1. The order is r = 4. It is even, and 7^2 ≡ 4 is not -1 ≡ 14. Then gcd(4 - 1, 15) = 3 and gcd(4 + 1, 15) = 5, and indeed 15 = 3 × 5.

Take n = 21 and x = 2. The powers of 2 modulo 21 are 1, 2, 4, 8, 16, 11, 1, so r = 6. Then 2^3 = 8, and gcd(7, 21) = 7, gcd(9, 21) = 3.

Failures occur. For n = 15 and x = 14, the order is 2 and 14 ≡ -1, so the gcds are 1 and 15. For n = 21 and x = 4, the order is 3, which is odd. Of the 8 units modulo 15 (residues coprime to 15, counting 1), 6 give a factor, and of the 12 units modulo 21, 6 do, in line with Shor’s lower bound of one half for k = 2. A failed attempt is repeated with a new x.

What a quantum computer is not known to do

Aaronson describes the complexity class BQP, “Bounded-Error Quantum Polynomial-Time”, as defined by Bernstein and Vazirani in 1993 as a quantum generalisation of BPP. The known containments are P ⊆ BPP ⊆ BQP ⊆ PP ⊆ P^#P ⊆ PSPACE. Shor gave quantum polynomial-time algorithms for the search versions of factoring and discrete logarithm, and the associated decision versions are in BQP. Shor’s algorithms apply to the factoring and discrete-logarithm problems on which RSA and discrete-logarithm schemes rest, and Aaronson wrote in 2017 that a scalable quantum computer, if built, could break almost all public-key cryptography then in use. He adds that Shor “had to exploit extremely special properties of factoring and discrete logarithm, which aren’t known or believed to hold for NP-complete problems”.4 Most quantum-computing researchers conjecture that NP is not contained in BQP, though proving it would prove P ≠ NP.4

Grover’s 1996 algorithm searches an unordered collection of N items in O(sqrt(N)) oracle queries and is within a small constant factor of the fewest queries any quantum search can use.21 Aaronson notes that for most NP-complete problems the best known quantum algorithm layers Grover’s search over the best classical one, giving a quadratic speed-up and no more, so that, as of his 2017 survey, “as far as anyone knows today, even a quantum computer would need 2^Ω(n) time to solve 3Sat”.4 By reasoning from these statements, a quadratic speed-up halves the exponent of an idealised exhaustive key search measured in queries, which is a different threat from Shor’s and does not translate directly into device running time.

The size of the machine

Resource estimates for 2048-bit RSA have fallen. Gidney and Ekerå’s 2019 estimate was eight hours on a machine with 20 million noisy qubits.22 Gidney’s 2025 paper estimates less than a week with less than a million noisy qubits, under the same assumptions of a square grid of qubits with nearest-neighbour connections, a gate error rate of 0.1 percent, a surface-code cycle time of 1 microsecond and a control reaction time of 10 microseconds.23 These are cost estimates for a hypothetical machine, and neither paper reports building one.

The response: standards built on other assumptions

NIST published its first three post-quantum standards on 13 August 2024: FIPS 203, a key-encapsulation mechanism called ML-KEM; FIPS 204, the digital signature algorithm ML-DSA; and FIPS 205, the hash-based signature SLH-DSA, based on SPHINCS+.24252627 FIPS 203 says the security of ML-KEM “is related to the computational difficulty of the Module Learning with Errors problem” and that “At present, ML-KEM is believed to be secure, even against adversaries who possess a quantum computer.”25 FIPS 204 says ML-DSA “is believed to be secure, even against adversaries in possession of a large-scale quantum computer”.26 Both are statements of belief. ML-KEM and ML-DSA are module-lattice schemes, and SLH-DSA is hash-based, so the three do not share one assumption. Moving from factoring to module lattices replaces one unproved hardness assumption with another that quantum algorithms are not known to break, which is consistent with Aaronson’s statement that known public-key systems require conjectures beyond P ≠ NP.4 The library’s governance article on the post-quantum migration covers deadlines and policy.

Undecidability and the security tools

Cohen’s argument

Fred Cohen’s paper “Computer Viruses - Theory and Experiments” (the online text carries a 1984 copyright notice, and the journal version appeared in 1987) defines a virus as “a program that can ‘infect’ other programs by modifying them to include a possibly evolved copy of itself”. Its abstract says that, “in general, detection of a virus is shown to be undecidable both by a-priori and runtime analysis”.28 His definition covers benign programs too; his example of a compression virus asks permission before it acts.28

The argument runs as follows. To decide whether a program P is a virus, one must decide whether P infects other programs. Cohen says this is undecidable “since P could invoke the decision procedure D and infect other programs if and only if D determines that P is not a virus”. His pseudocode for the contradictory virus is:

program contradictory-virus:=
{...
main-program:=
 {if ~D(contradictory-virus) then
    {infect-executable;
    if trigger-pulled then do-damage;
    }
 goto next;
 }
}

where D is a hypothetical decision procedure that returns true if and only if its argument is a virus. If D says the program is a virus, it does not infect and so is not one. If D says it is not a virus, it infects and is one. Cohen concludes that “precise determination of a virus by its appearance is undecidable”.28 The shape is that of the halting proof: a program that consults the decider about itself and does the opposite. The result is stated for his definition of a virus and for a general-purpose computing system in which programs can modify and run other programs.

Cohen extends the result to the equivalence of two evolutions of a virus and to detection by behaviour rather than appearance.28

Infection is a property of what a program does to other programs, so Rice’s theorem does not apply to it directly, because it is not a property of the computed function alone. Cohen’s own diagonal argument does the work, and his paper does not cite Rice. Carrying the result to “all malware”, to vulnerabilities or to policy violations needs a separate reduction for each property and a stated execution model.

Soundness, completeness and the three-way answer

Take an analyser for a positive query such as “can this program overflow a buffer?”. Its alarm is correct if the program really can overflow, so it has no false positives, and it has no missed positives if it raises an alarm whenever the program can overflow. Verification tools often say “sound” for the other guarantee, that a program certified safe really is safe, which is the same as having no missed positives. If the query is an undecidable property in a stated execution model, no analyser that always terminates can give a definitive yes or no that is correct on every program. An analyser can always terminate and give only correct answers by returning “unknown” when it cannot decide, so something has to give: a definitive answer on every program, termination, or the class of programs. This is reasoning from Rice’s theorem, with the overflow query illustrative unless a model is fixed in which it is undecidable. A runtime scanner, a signature matcher and a static verifier answer different questions, so each needs its own statement of what it promises.

Cohen draws the practical conclusion in his own terms: precise detection is undecidable, “however statistical methods may be used to limit undetected spreading either in time or in extent”, and limited forms of detection and prevention can offer limited protection.28

How practitioners live with it

Each exemption from Rice’s theorem has a technique.

Sound over-approximation. Abstract interpretation, introduced by Patrick and Radhia Cousot, abstracts the semantics of a program into a simpler universe of abstract values so that the result describes all concrete executions. Their summary uses the rule of signs. The expression -1515 * 17 abstracts to -(+) * (+), then (-) * (+), then (-), proving the result is negative. The same method abstracts -1515 + 17 to (-) + (+), which gives (+-): the sign is unknown, because the abstraction lost information. The Cousots say that “despite its fundamental incomplete results” the method answers questions that do not need full knowledge of executions or that tolerate an imprecise answer.29 When the abstraction over-approximates the possible behaviours, a “safe” verdict is trustworthy and an alarm may be spurious.

Bounded checking. Aaronson stresses that P versus NP does not ask whether heuristic methods such as SAT solvers can sometimes do well in practice.4 Bounded model checking turns the question of whether a counterexample of length at most k exists into a propositional formula that is satisfiable if and only if there is one. The translation is polynomial in the size of the model and the bound, and the cost sits in the SAT solver; trying every assignment is an exponential upper bound in the number of variables.30 A counterexample found this way is of minimal length when smaller bounds are tried first. For reachability of a bad state in a finite model, if the bound is at least the maximum shortest distance from the initial states to any reachable state (the diameter), finding no counterexample establishes that no bad state is reachable; the paper gives different bounds for different temporal formulas, and below an adequate bound the result says nothing about longer runs.30 A time-triggered payload may fire after any bound that was tried, and Cohen’s trigger-pulled is such a trigger, in his example if year>1984 then return true.28

Solvers. SMT (satisfiability modulo theories) solvers extend SAT with theories such as arithmetic. SMT-LIB defines many logics, each with specific theories and restrictions, and the complexity differs by logic.31 Unrestricted integer polynomial constraints are undecidable, which is Matiyasevich’s negative solution of Hilbert’s tenth problem as reported in the library’s article on Hilbert’s problems.

Observation and restriction. Running a sample in a sandbox lets one observe a finite trace, which is not a decision about everything the sample will ever do on other inputs, dates or environments. Restricting the model helps: in a language where every primitive operation terminates and the only control flow is loops whose counts are fixed in advance, with no recursion or other unbounded flow, every program halts on every input, so halting is decidable for the whole class. A step bound on one specified input is only a finite test.

What a practitioner should take from it

  1. A claim of exact detection of a non-trivial extensional property of arbitrary programs is a claim to have beaten Rice’s theorem. For properties of executions, such as infection or memory misuse, check the execution model the claim assumes. The useful question is which error the tool accepts, false positives or false negatives, and on what class of programs. Some unbounded properties are decidable, trivial ones and those of restricted systems among them.
  2. Classify a property before choosing a method. If it can be read off the text, it is syntactic and decidable. If it concerns behaviour on bounded runs, it is decidable by running. If it concerns behaviour on all inputs without a bound, check whether an undecidability result holds for that property and model; where one does, the choices are over-approximation, under-approximation or restriction.
  3. “NP-complete” describes the worst case. It does not mean the instances you hold are hard, and a fast solver does not mean the problem is easy in general. Test on your own distribution.
  4. A thousandfold hardware speed-up adds about ten bits to the size of a brute-force search that can be completed.
  5. The schemes discussed here rest on assumptions. The RSA authors say their scheme’s security rests in part on the difficulty of factoring, and discrete-logarithm schemes rest on discrete logarithm; Shor’s algorithm solves both problems in polynomial time on a large enough quantum computer. The standardised module-lattice replacements rest on a different assumption that their standards describe as believed and not proved. An inventory of where public-key cryptography is used is the first task, and the library’s governance article covers the rest.
  6. Weigh a claim of broken hardness assumptions by what it provides: a paper, a checkable algorithm, an independent replication.

Annotated reference list

Each entry gives what the source claimed, why it mattered, and what later work changed.

Conclusion

Three results carry the structure. Church and Turing in 1936 showed that no procedure decides every instance of certain questions about formulas or machines, and Rice in 1953 extended this to every non-trivial property of the function a program computes. Cohen’s result applies the same diagonal idea to viruses as he defines them. Hartmanis and Stearns, Cook and Karp then divided the decidable problems by cost, and thousands of problems turned out to be equivalent to one another, with a polynomial-time algorithm for any one giving it for all. Whether such an algorithm exists is the open P versus NP question. The three known barriers rule out specific proof properties: arguments that relativize, natural proofs against strong pseudorandomness, and algebrizing arguments.

Cryptography sits on assumptions that lie further out than P versus NP. Public-key encryption can be built from trapdoor functions, while signatures need only one-way functions, and the candidates rest on specific problems such as factoring, discrete logarithms and lattice problems. Shor’s algorithm turns factoring and discrete logarithm into polynomial-time problems for a sufficiently large quantum computer, and the standardised module-lattice replacements rest on a different belief that their own standards describe as a belief. For a practitioner, the working rule is to identify which result is a theorem and which is an assumption before relying on either.

Footnotes

  1. Stephen Cook, The P versus NP Problem, official problem description, Clay Mathematics Institute. https://www.claymath.org/wp-content/uploads/2022/06/pvsnp.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 ↩21 ↩22 ↩23 ↩24 ↩25 ↩26 ↩27
  2. Manindra Agrawal, Neeraj Kayal and Nitin Saxena, PRIMES is in P, Annals of Mathematics 160(2), pp. 781-793, received 24 January 2002, published online September 2004, DOI 10.4007/annals.2004.160.781. https://annals.math.princeton.edu/2004/160-2/p12 (opens in a new tab) ↩1 ↩2
  3. P vs NP, Clay Mathematics Institute, problem page, listed as Unsolved. https://www.claymath.org/millennium/p-vs-np/ (opens in a new tab) ↩1 ↩2 ↩3
  4. Scott Aaronson, P =? NP, survey of the status of the problem in 2017. https://www.scottaaronson.com/papers/pnp.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 ↩21 ↩22 ↩23 ↩24 ↩25
  5. Alonzo Church, A Note on the Entscheidungsproblem, Journal of Symbolic Logic 1(1), March 1936, pp. 40-41, received 15 April 1936. https://courses.fit.cvut.cz/NI-VYC/church-a-note-on-the-entscheidungsproblem.pdf (opens in a new tab) ↩1 ↩2
  6. Alan M. Turing, On Computable Numbers, with an Application to the Entscheidungsproblem, Proceedings of the London Mathematical Society, received 28 May 1936, read 12 November 1936. https://www.cs.virginia.edu/~robins/Turing_Paper_1936.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
  7. Alonzo Church, An Unsolvable Problem of Elementary Number Theory, American Journal of Mathematics 58(2), April 1936, pp. 345-363. https://ics.uci.edu/~lopes/teaching/inf212W12/readings/church.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  8. Peter W. Shor, Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer, arXiv quant-ph/9508027, v2 25 January 1996; preliminary version “Algorithms for Quantum Computation: Discrete Logarithms and Factoring” in Proceedings of the 35th Annual Symposium on Foundations of Computer Science, 20 to 22 November 1994, pp. 124-134; the expanded version’s journal DOI is 10.1137/S0097539795293172. https://arxiv.org/abs/quant-ph/9508027 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  9. H. G. Rice, Classes of Recursively Enumerable Sets and Their Decision Problems, Transactions of the American Mathematical Society 74 (1953), pp. 358-366, DOI 10.1090/S0002-9947-1953-0053041-6. https://web.archive.org/web/20250123045736if_/https://www.ams.org/journals/tran/1953-074-02/S0002-9947-1953-0053041-6/S0002-9947-1953-0053041-6.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  10. J. Hartmanis and R. E. Stearns, On the Computational Complexity of Algorithms, Transactions of the American Mathematical Society 117 (1965), pp. 285-306, DOI 10.1090/S0002-9947-1965-0170805-7. https://web.archive.org/web/20241229221751if_/https://www.ams.org/journals/tran/1965-117-00/S0002-9947-1965-0170805-7/S0002-9947-1965-0170805-7.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  11. Stephen A. Cook, The Complexity of Theorem-Proving Procedures, Proceedings of the Third Annual ACM Symposium on Theory of Computing, May 1971, pp. 151-158. https://www.cs.toronto.edu/~sacook/homepage/1971.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  12. Richard M. Karp, Reducibility among Combinatorial Problems, University of California at Berkeley, 1972; in Complexity of Computer Computations, pp. 85-103, DOI 10.1007/978-1-4684-2001-2_9. https://cgi.di.uoa.gr/~sgk/teaching/grad/handouts/karp.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  13. T. Baker, J. Gill and R. Solovay, 1975, DOI 10.1137/0204037, as cited in Cook’s description and Aaronson’s survey. https://doi.org/10.1137/0204037 (opens in a new tab) ↩
  14. Alexander A. Razborov and Steven Rudich, Natural Proofs, Journal of Computer and System Sciences 55 (1997), pp. 24-35, received 1 December 1994, revised 2 December 1996. https://www.cs.toronto.edu/tss/files/papers/1-s2.0-S002200009791494X-main.pdf (opens in a new tab) ↩
  15. Scott Aaronson and Avi Wigderson, Algebrization: A New Barrier in Complexity Theory. https://www.scottaaronson.com/papers/alg.pdf (opens in a new tab) ↩
  16. William I. Gasarch, The Second P =? NP Poll, University of Maryland, with the 2002 and 2012 counts in section 2.1. https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/pollpaper2.pdf (opens in a new tab) ↩1 ↩2
  17. Donald E. Knuth, Twenty Questions for Donald Knuth, InformIT, 20 May 2014. https://www.informit.com/articles/article.aspx?p=2213858 (opens in a new tab) ↩
  18. Whitfield Diffie and Martin E. Hellman, New Directions in Cryptography, IEEE Transactions on Information Theory IT-22(6), November 1976. https://www-ee.stanford.edu/~hellman/publications/24.pdf (opens in a new tab) ↩
  19. Russell Impagliazzo, A Personal View of Average-Case Complexity, University of California San Diego, 17 April 1995. https://cseweb.ucsd.edu/~russell/average.ps (opens in a new tab) ↩1 ↩2 ↩3
  20. R. L. Rivest, A. Shamir and L. Adleman, A Method for Obtaining Digital Signatures and Public-Key Cryptosystems, MIT, received 4 April 1977, revised 1 September 1977. https://people.csail.mit.edu/rivest/Rsapaper.pdf (opens in a new tab) ↩
  21. Lov K. Grover, A Fast Quantum Mechanical Algorithm for Database Search, Proceedings of the 28th Annual ACM Symposium on the Theory of Computing, May 1996, pp. 212-219, arXiv quant-ph/9605043. https://arxiv.org/abs/quant-ph/9605043 (opens in a new tab) ↩
  22. Craig Gidney and Martin Ekerå, How to factor 2048 bit RSA integers in 8 hours using 20 million noisy qubits, arXiv 1905.09749, 2019. https://arxiv.org/abs/1905.09749 (opens in a new tab) ↩
  23. Craig Gidney, How to factor 2048 bit RSA integers with less than a million noisy qubits, arXiv 2505.15917, 2025. https://arxiv.org/abs/2505.15917 (opens in a new tab) ↩
  24. NIST Releases First 3 Finalized Post-Quantum Encryption Standards, National Institute of Standards and Technology, 13 August 2024. https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards (opens in a new tab) ↩
  25. FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard, NIST, published 13 August 2024, DOI 10.6028/NIST.FIPS.203. https://csrc.nist.gov/pubs/fips/203/final (opens in a new tab) ↩1 ↩2
  26. FIPS 204, Module-Lattice-Based Digital Signature Standard, NIST, published 13 August 2024, DOI 10.6028/NIST.FIPS.204. https://csrc.nist.gov/pubs/fips/204/final (opens in a new tab) ↩1 ↩2
  27. FIPS 205, Stateless Hash-Based Digital Signature Standard, NIST, published 13 August 2024, DOI 10.6028/NIST.FIPS.205. https://csrc.nist.gov/pubs/fips/205/final (opens in a new tab) ↩
  28. Fred Cohen, Computer Viruses - Theory and Experiments, online text with a 1984 copyright notice; journal version in Computers & Security, 1987, DOI 10.1016/0167-4048(87)90122-2. https://web.eecs.umich.edu/~aprakash/eecs588/handouts/cohen-viruses.html (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  29. Patrick Cousot and Radhia Cousot, Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints, Conference Record of the Sixth Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, Los Angeles, 1977, pp. 238-252. https://www.di.ens.fr/~cousot/COUSOTpapers/POPL77.shtml (opens in a new tab) ↩
  30. Armin Biere, Alessandro Cimatti, Edmund Clarke and Yunshan Zhu, Symbolic Model Checking without BDDs, Carnegie Mellon University and IRST. https://www.cs.cmu.edu/~emc/papers/Conference%20Papers/Symbolic%20Model%20Checking%20Without%20BDDs.pdf (opens in a new tab) ↩1 ↩2
  31. SMT-LIB, The Satisfiability Modulo Theories Library, home page and logics catalogue. https://smt-lib.org/ (opens in a new tab) ↩