Computing Fundamentals Overview
Computing Fundamentals Overview
Acknowledgments. I am grateful to the University of California at Berkeley, its MacKey Professorship fund and
Manuel Blum who made possible for me to teach this course. The opportunity to attend lectures of M. Blum and
Richard Karp and many ideas of my colleagues at BU and MIT were very beneficial for my lectures. I am also grateful
to the California Institute of Technology for a semester with light teaching load in a stimulating environment enabling
me to rewrite the students' notes. NSF grants \#DCR-8304498, DCR-8607492, CCR-9015276 also supported the work.
And most of all I am grateful to the students (see sec.7.2) who not only have originally written these notes, but also
influenced the lectures a lot by providing very intelligent reactions and criticism.
Contents
I Basics 2
1 Deterministic Models; Polynomial Time \& Church's Thesis 2
1.1 Rigid Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Pointer Machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
II Mysteries 12
4 Nondeterminism; Inverting Functions; Reductions 12
4.1 An Example of a Narrow Computation: Inverting a Function . . . . . . . . . . . . . . . . . . . . . . . 12
4.2 Complexity of NP Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4.3 An NP-Complete Problem: Tiling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
5 Probability in Computing 15
5.1 A Monte-Carlo Primality Tester . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
5.2 Randomized Algorithms and Random Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
5.3 Arithmetization: One-Player Games with Randomized Transition . . . . . . . . . . . . . . . . . . . . . 17
6 Randomness 18
6.1 Randomness and Complexity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
6.2 Pseudo-randomness . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
6.3 Cryptography . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7 End Matter. 20
7.1 Go On! . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
7.2 Writing Contributions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Copyright ○
c 2025 by the author. Last revised: November 5, 2025.
1
2
Part I
Basics
1 Deterministic Models; Polynomial Time \& Church's Thesis
Sections 1, 2 study deterministic computations. Non-deterministic aspects of computations (interaction,
randomization, errors, etc.) are crucial and challenging in advanced theory and practice. Defining them as
an extension of deterministic computations is simple. The latter, however, while much simpler conceptually,
require elaborate models for definition. These models may be sophisticated if we need to measure all required
resources precisely. However, if we only need to define what is computable and get a very rough magnitude
of the needed resources, all reasonable models turn out equivalent, even to the simplest ones. We will pay
significant attention to this surprising and important fact. The simplest models are most useful for proving
negative results and the strongest ones for positive results.
We start with terminology common to all models, later adding specifics of models we actually study.
We represent computations as graphs: the edges reflect various relations between nodes (events). Nodes,
edges have attributes: labels, states, colors, parameters, etc. (affecting the computation, or only its analysis).
Causal edges run from each event to all events immediately essential for its occurrence or attributes. They
form a directed acyclic graph (though cycles may be added artificially to mark external input parts).
We will study only synchronous computations. Their nodes have a time parameter. It reflects logical
steps, not necessarily a precise value of any physical clock. Causal edges only span short (typically, \leq 3
moments) time intervals. One event among the causes of a node is called its parent. Pointer edges connect
the parent of each event to all its other possible causes and reflect connections that allow simultaneous events
to interact and have a joint effect. Pointers with the same source have different labels (colors). The colored
subgraph of events/edges at a given time is an instant memory configuration of the model.
Each non-terminal configuration has active nodes/edges around which it may change. The models with
only a small active area at any step of the computation are sequential. Others are called parallel.
Complexity. We use the following measures of computing resources of a machine A on input x:
Time: The greatest depth DA(x) of causal chains is the number of computation steps. The volume VA(x)
is the combined number of active edges in all steps. Time TA(x) , depending on the context, means either
depth or volume (close for sequential models). Note that time complexity is robust only up to a constant
factor: Machines can be modified for a larger labels alphabet, representing several locations in one. It would
produce identical results in a fraction of time and space (provided, the time limits suffice for transforming
the input and output into the other alphabet).
Space: SA(x) or SA (x) of a synchronous computation is the greatest (over time) size of its configurations.
Sometimes excluded are nodes/edges unchanged since the input.
Growth Rates (typically expressed as functions of bit length n = \| x, y\| of input/output x/y):
O, \Omega : f (n) = O(g(n)) \Leftarrow \Rightarrow g(n) = \Omega (f (n)) \Leftarrow \Rightarrow supn fg(n)
(n)
< \infty .
o, \omega : f (n) = o(g(n)) \Leftarrow \Rightarrow g(n) = \omega (f (n)) \Leftarrow \Rightarrow limn\rightarrow \infty fg(n)
(n)
=0.
\Theta : f (n) = \Theta (g(n)) \Leftarrow \Rightarrow (f (n) = O(g(n)) and g(n) = O(f (n))).
(These are customary but somewhat misleading notations. E.g., n = O(n3 ) and n2 = O(n3 )
do not imply n = n2 . The clear notations would be like f (n) \in O(g(n)).)
Here are examples of frequently appearing growth rates: negligible (log n)O(1) ; moderate n\Theta (1)
\Omega (1) \sqrt{}
(called polynomial or P, like in P-time); infeasible: 2n , also n! = (n/e)n \pi (2n+1/3) + \varepsilon /n, \varepsilon \in [0, .1].
n+.5 \sum n \int n+.5
(A rougher estimate ln n! = t ln(t/e)| t=1.5 + O(1) follows by using that | i=2 g(i) - 1.5 g(t) dt|
\prime
is bounded by the total variation v of g \prime /8. For monotone g \prime (t)= ln (t)=1/t the O(1) is <v<1/12.)
The reason for ruling out exponential (and neglecting logarithmic) rates is that the known Universe
is too small to accommodate exponents. Its radius is about 46.5 giga-light-years \sim 2204 Plank units. A system
of \gg R1.5 atoms packed in R Plank Units radius collapses rapidly, be it Universe-sized or a neutron star.
4
So the number of atoms is < 2306 \ll 44 \ll 5!!. (Actually, < 1080 .)
3
1.3 Simulation
We looked at several models of computation. We will see now how the simplest of them -- Turing Machine --
can simulate all others: these powerful machines can compute no more functions than TM.
Church-Turing Thesis is a generalization of this conclusion: TMs can compute every function computable
in any thinkable realistic model of computation. This is not a math theorem because the notion of model
is not formally specified. Yet, the long history of studying ways to design real and ideal computing devices
makes it very convincing. Moreover, this Thesis has a stronger Polynomial Time version which bounds
the volume of computation required by that TM simulation by a polynomial of the volume used by the other
models. Both forms of the Thesis play a significant role in foundations of Computer Science.
PKM Simulation of PPM. Assume all PPM nodes have pointers to root, as generated in the above HW.
PKM represents PPM configuration with extra colors l, r, u used in a u-colored binary tree added
to each node X. All (unlimited in number) PPM pointers to X are reconnected to its leaves.
The inverses, colored l, r, added to all u-pointers. The number of pointers increases at most 4 times.
To simulate PPM, X gets a binary name formed by the l, r colors on its path through the root tree,
and broadcasts it down its own tree. For pulling stage X extends its tree to double depth and merges
(with combined colors) its own 2-pointer paths with the same targets (seeing identical names).
Then X re-colors its pointers as PPM program requires and rebalances its tree.
This simulation of a PPM step takes polylogarithmic parallel time.
TM Simulation of PKM.. Assume the PKM keeps a roughly balanced root tree. TM tape reflects PKM
state as the list of all pointers sorted by (source (l, r)-name, color). TM's transition table reflects the PKM
program. To simulate PKM's pulling stage TM creates a copy of each pointer and sorts copies by their sinks.
Now each pointer, located at source, has its copy near its sink. So both components of 2-pointer paths
are nearby, stored as double-colored special pointers, and moved to their sources by resorting on the source
names. The re-coloring stage is local: all relevant pointers with the same source are nearby.
Once the root has no active pointers, the TM stops. If a PPM computes f (x) in t(x) steps,
using s(x) nodes, the simulating TM uses space S = O(s log s), (O(log s) bits
for each of O(s) pointers) and time T = O(S 2 )t, as TM sorting takes quadratic time.
Squaring matters ! TM cannot outperform Bubble Sort. Is its quadratic overhead a big deal? In a short time all
6.3
silicon gates on your PC run, say, Avogadro order clock cycles X=6\cdot 1023 \sim 22 combined. Silicon parameters double
almost annually. Decades may bring clouds of \mu m-thin sunlight sails in space in of great computing and physical
(light beam) power. Centuries may turn them into a Dyson Sphere enveloping the solar system. Still, the power of
7.3
such an ultimate computer is limited by the number of photons the Sun emits per second: Y \sim 22 =X 2 . Giga-years
8.3
may turn much of the known universe into a computer, but its might is still limited by its total entropy 22 =Y 2 .
Faster PPM Simulations. Parallel Bubble-Sort on CA or Merge-Sort on sequential FCM take nearly
linear time. Parallel FCM can do much better [Ofman 65]. It represents and updates pointer graphs as the
above TM. All steps are straightforward to do locally in parallel polylog time except sorting of pointers.
Sophisticated sorting networks sort arbitrary arrays of n integers in O(log n) parallel steps.
We need only a simpler polylog method. Merge-Sort splits an array of two or more entries in two halves
and sorts each recursively. Batcher-Merge combines two sorted lists in O(log n) steps as follows.
Batcher-Merge. A bitonic cycle is the combination of two sorted arrays (one may be shorter),
connected by max-to-max and min-to-min entries. Entries in a contiguous half (high-half) of the cycle are
\geq than all entries in the other (low) half. Each half (with its ends connected) forms a bitonic cycle itself.
Shuffle Exchange graph links nodes in a 2k -nodes array to their flips and shits.
The flip flips the highest bit of a node's address; the shift cycle-shifts that bit to the end.
We merge-sort two sorted arrays given as a bitonic cycle on such a graph as follows. Comparing each
entry with its flip (half-a-cycle away), and switching if wrongly ordered, fits the high and low halves into
respectively the first and last halves of the array. (This rotates the array, and then its left and right halves.)
We do so for each half recursively (decrementing k via shift edges).
6
The rightmost part of one or two segments is always a copy of M 's (infinite to the right) tape.
The other segments describe one transition command each: (s, b) \rightarrow (s\prime , b\prime , d) for M to change head state s
to s\prime , tape bit b to b\prime and turn left or right. The commands segments are sorted in order of (s, b) and never
change, except for priming. Each transition is represented as \ast S db, where b is the bit to write, d the direction
R=0/L=1 to turn. S points to the next state represented as 1k , if it is k segments to the left,
or 0k (if to the right). Each cycle starts with U 's head in state F or f , located at the site of M 's head.
Primed are the digits of S in the prior command and all digits to their left. An example of the configuration:
\ast \prime 0\prime 0\prime 0\prime 1\prime 0\prime \ast \prime 0\prime 0\prime 0\prime 0\prime 01 \ast 011 \ast . . . \ast 00 head 00 . . . The leftward head in the leftmost cell halts.
U first reads the bit of an M 's cell changing the state from F or f to a/b, puts a * there, moves left to
the primed state segment S, finds from it the command segment and moves there. It does this by repeatedly
priming nearest unprimed * and 1s of S (or unpriming 0s) while alternating the states c/F or d/D.
When S is exhausted, the target segment \| S\| + b stars away is reached. Then U reads (changing state from
e to A or B) the rightmost symbol b\prime of the command, copies it at the * in the M area, goes back, reads
the next symbol d, returns to the just overwritten (and first unprimed) cell of M area and turns left or right.
In CA format, M and U have in each cell three standard bits: present d and previous d\prime pointer directions
and a ``content"" bit to store M's symbol. In addition U needs just one ``trit"" of its own!
7
Goedel's Theorem.
Formal proof systems are computable functions A(P ) which check if P is an acceptable proof and output
the proven statement. \vdash s means s = A(P ) for some P . A is rich iff it allows computable translations sx
of statements ``u2 (x) = 0"", provable whenever true, and refutable (\vdash \neg sx ), whenever u2 (x) = 1.
A is consistent iff at most one of any such pair sx , \neg sx is provable, and complete iff at least one of
them always (even when u(x) diverges) is. There is no complete function among the total computable ones,
as this class is closed under negation. So the universal in C function u (and u2 = (u mod 2)) has no total
computable extensions. Thus, rich consistent and complete formal systems cannot exist, since they would
provide an obvious total extension uA of u2 (by exhaustive search for P to prove or refute sx ).
This is the famous Goedel's Theorem -- one of the shocking surprises of the 20th century science. (Here A is
any extension of the formal Peano Arithmetic; we skip the details of its formalization and proof of richness.)1
Computable Functions. Another byproduct is that the Halting (of u) Problem would yield
a total extension of u and, thus, is not computable. This leads to many other uncomputability results.
Another source is an elegant Fixed Point Theorem by S. Kleene: any total computable A
transforming programs (prefixes) p maps some p into equivalent ones (computing the same functions).
Indeed, the complete u(ps) intersects computable u(A(p)s). This implies Rice theorem: the only total
computable invariant (i.e. equal on equivalent programs) property of programs is constant (exercise).
Computable (partial and total) functions are also called recursive (due to an alternative definition).
Their ranges (and, equivalently, domains) are called (computably) enumerable or c.e. sets. A c.e. set with
a c.e. complement is called computable or decidable. A function f is computable iff its graph G is c.e.
If f is also total, G is decidable. Each infinite c.e. set is the range of an injective total computable function
(``enumerating"" it, hence the name c.e.).
We can reduce membership problem of a set A to one of a set B by finding a computable function
f s.t. x \in A \Leftarrow \Rightarrow f (x) \in B. Then A is called m- (or many-to-1-) reducible to B. More complex
Turing reduction are by algorithms which, starting from input x, interact with B by generating strings s
and receiving answers to s \in ?B questions. Eventually this stops and tells if x\in A. C.e. sets (like Halting
Problem) to which all c.e. sets m-reduce are called c.e.-complete. This (and, thus, undecidability) can be
shown by reducing the Halting Problem to them. [Link] so proved completeness of Diophantine
Equations Problem: find if a given multivariate integer polynomial of degree 4 has integer roots. Such ideas
are broadly used in Theory of Algorithms and should be learned from any standard text, e.g., [Rogers 67].
1 \mathrm{A} \mathrm{c}\mathrm{l}\mathrm{o}\mathrm{s}\mathrm{e}\mathrm{r} \mathrm{l}\mathrm{o} \mathrm{o}\mathrm{k} \mathrm{a}\mathrm{t} \mathrm{t}\mathrm{h}\mathrm{i}\mathrm{s} \mathrm{p}\mathrm{r}\mathrm{o} \mathrm{o}\mathrm{f} \mathrm{r}\mathrm{e}\mathrm{v}\mathrm{e}\mathrm{a}\mathrm{l}\mathrm{s} \mathrm{a}\mathrm{n}\mathrm{o}\mathrm{t}\mathrm{h}\mathrm{e}\mathrm{r} \mathrm{f}\mathrm{a}\mathrm{m}\mathrm{o}\mathrm{u}\mathrm{s} \mathrm{G}\mathrm{o} \mathrm{e}\mathrm{d}\mathrm{e}\mathrm{l} \mathrm{t}\mathrm{h}\mathrm{e}\mathrm{o}\mathrm{r}\mathrm{e}\mathrm{m}: \mathrm{C}\mathrm{o}\mathrm{n}\mathrm{s}\mathrm{i}\mathrm{s}\mathrm{t}\mathrm{e}\mathrm{n}\mathrm{c}\mathrm{y} Cn \mathrm{o}\mathrm{f} A (\mathrm{e}\mathrm{x}\mathrm{p}\mathrm{r}\mathrm{e}\mathrm{s}\mathrm{s}\mathrm{i}\mathrm{b}\mathrm{l}\mathrm{e} \mathrm{i}\mathrm{n} \mathrm{r}\mathrm{i}\mathrm{c}\mathrm{h} A, \mathrm{a}\mathrm{s} \mathrm{d}\mathrm{i}\mathrm{v}\mathrm{e}\mathrm{r}\mathrm{g}\mathrm{e}\mathrm{n}\mathrm{c}\mathrm{e}
\mathrm{o}\mathrm{f} \mathrm{t}\mathrm{h}\mathrm{e} \mathrm{s}\mathrm{e}\mathrm{a}\mathrm{r}\mathrm{c}\mathrm{h} \mathrm{f}\mathrm{o}\mathrm{r} \mathrm{c}\mathrm{o}\mathrm{n}\mathrm{t}\mathrm{r}\mathrm{a}\mathrm{d}\mathrm{i}\mathrm{c}\mathrm{t}\mathrm{i}\mathrm{o}\mathrm{n}\mathrm{s}) \mathrm{i}\mathrm{s} \mathrm{i}\mathrm{t}\mathrm{s}\mathrm{e}\mathrm{l}\mathrm{f} \mathrm{a}\mathrm{n} \mathrm{u}\mathrm{n}\mathrm{p}\mathrm{r}\mathrm{o}\mathrm{v}\mathrm{a}\mathrm{b}\mathrm{l}\mathrm{e} \mathrm{e}\mathrm{x}\mathrm{a}\mathrm{m}\mathrm{p}\mathrm{l}\mathrm{e}. \mathrm{I}\mathrm{n}\mathrm{d}\mathrm{e}\mathrm{e}\mathrm{d}, u2 \mathrm{i}\mathrm{n}\mathrm{t}\mathrm{e}\mathrm{r}\mathrm{s}\mathrm{e}\mathrm{c}\mathrm{t}\mathrm{s} 1 - uA \mathrm{f}\mathrm{o}\mathrm{r} \mathrm{s}\mathrm{o}\mathrm{m}\mathrm{e} \mathrm{p}\mathrm{r}\mathrm{e}fi\mathrm{x} a. Cn \mathrm{i}\mathrm{m}\mathrm{p}\mathrm{l}\mathrm{i}\mathrm{e}\mathrm{s} \mathrm{t}\mathrm{h}\mathrm{a}\mathrm{t} uA
\mathrm{e}\mathrm{x}\mathrm{t}\mathrm{e}\mathrm{n}\mathrm{d}\mathrm{s} u2 \mathrm{a}\mathrm{n}\mathrm{d}, \mathrm{t}\mathrm{h}\mathrm{u}\mathrm{s}, u2 (a), uA (a) \mathrm{b}\mathrm{o}\mathrm{t}\mathrm{h} \mathrm{d}\mathrm{i}\mathrm{v}\mathrm{e}\mathrm{r}\mathrm{g}\mathrm{e}. \mathrm{S}\mathrm{o}, Cn\Rightarrow \neg sa . \mathrm{P}\mathrm{e}\mathrm{a}\mathrm{n}\mathrm{o} \mathrm{A}\mathrm{r}\mathrm{i}\mathrm{t}\mathrm{h}\mathrm{m}\mathrm{e}\mathrm{t}\mathrm{i}\mathrm{c} \mathrm{c}\mathrm{a}\mathrm{n} \mathrm{f}\mathrm{o}\mathrm{r}\mathrm{m}\mathrm{a}\mathrm{l}\mathrm{i}\mathrm{z}\mathrm{e} \mathrm{t}\mathrm{h}\mathrm{i}\mathrm{s} \mathrm{p}\mathrm{r}\mathrm{o}\mathrm{o}\mathrm{f}, \mathrm{t}\mathrm{h}\mathrm{u}\mathrm{s} \vdash C n \Rightarrow \vdash \neg sa .
\mathrm{B}\mathrm{u}\mathrm{t} \vdash \neg sa \mathrm{i}\mathrm{m}\mathrm{p}\mathrm{l}\mathrm{i}\mathrm{e}\mathrm{s} uA (a) \mathrm{c}\mathrm{o}\mathrm{n}\mathrm{v}\mathrm{e}\mathrm{r}\mathrm{g}\mathrm{e}\mathrm{s}, \mathrm{s}\mathrm{o} \vdash Cn \mathrm{c}\mathrm{o}\mathrm{n}\mathrm{t}\mathrm{r}\mathrm{a}\mathrm{d}\mathrm{i}\mathrm{c}\mathrm{t}\mathrm{s} Cn. \mathrm{S}\mathrm{o}, \mathrm{c}\mathrm{o}\mathrm{n}\mathrm{s}\mathrm{i}\mathrm{s}\mathrm{t}\mathrm{e}\mathrm{n}\mathrm{c}\mathrm{y} \mathrm{o}\mathrm{f} A \mathrm{i}\mathrm{s} \mathrm{p}\mathrm{r}\mathrm{o}\mathrm{v}\mathrm{a}\mathrm{b}\mathrm{l}\mathrm{e} \mathrm{i}\mathrm{n} A \mathrm{i}\mathrm{f} \mathrm{a}\mathrm{n}\mathrm{d} \mathrm{o}\mathrm{n}\mathrm{l}\mathrm{y} \mathrm{i}\mathrm{f} \mathrm{f}\mathrm{a}\mathrm{l}\mathrm{s}\mathrm{e} !
8
Speed-up Theorem [Blum 67]. There exists a total computable predicate P such that for any algorithm
computing P (x) in volume t(x), there exists another algorithm doing it in volume O(log t(x)).
Though stated here for exponential speed-up, this theorem holds for any computable unbounded
monotone function in place of log. So, not even remotely optimal algorithm computing P exists.
This case is in a sharp contrast with Compression Theorem cases.
The general case. So, the complexity of some predicates P cannot be characterized by a single constructible
function f . However, Compression Theorem remains true for any semi-constructible f , i.e. computable in
volume b as f (b) (x) given any its upper bound b>f (x). In this form it is fully general (every computable
function P satisfies the Compression Theorem with an appropriate semi-constructible f ). There is no con-
tradiction with Blum's Speed-up, since the bound f (not constructible itself) cannot be reached.
Proof. Let Timed Kolmogorov Complexity KT(i| x) of i given x be the least \lceil 3\| p\| + log v\rceil for programs
p generating i from x in volume v=Vu(p,x) . Let Pf (x) be the least i, with KT(i| x)> log f . Computing f and
Pf takes volume b>f , by generating all i of low KT, sorting them, and taking the first missing. It satisfies
the Theorem, since computing i=Pf (x) faster than f would violate the complexity bound defining it.
(Some extra efforts can make P Boolean valued.)
Moreover, any computable bound f has an equivalent semi-constructible bound g with the same con-
structible bounds t above either of them: t = \Omega (f ) \Leftarrow \Rightarrow t = \Omega (g). (For (1) or (2) of the Theorem (with
computable P, f ), the set M of constructible t satisfying it is directed, i.e. for each t1 , t2 in M includes all
t > min(t1 , t2 )/2. Their programs form a \Sigma 02 class (i.e. of form \{ p : \exists c \forall d A(p, c, d)\} . Such M are shown to
be the \Omega (f ) for some semi-constructible f .) See a review in [Seiferas, Meyer 95].
9
Note that W may lie (i.e distort the actual computation of u(x) in filling ``?""), as long as he is compliant.
Strategy for W: If u(x) does indeed halt, then the initial configuration is true to the computation of
u(x). Then W has an obvious (though hard to compute) winning strategy: just tell truly (and thus always
consistently) what happens in the computation. W will win when t=1, so S cannot decrement it further.
Strategy for S: If the initial configuration is a lie, S can force W to lie all the way down to t=1
(when the lie is exposed). How is this done?' If the upper box Cpt+1 of a legal configuration is false then
the lower boxes Cpt \prime Cpt cannot both be true, since the rules of u determine Cpt+1 uniquely from them.
If S correctly points the false C and brings it to the top on his move, then W is forced to keep on lying.
At time t=1 the lie is illegal, as the configuration doesn't match the actual input string x. So, solving this
game is to decide if the initial configuration is correct, i.e. u(x) halts in 2\| x\| steps: impossible in time o(2\| x\| ).
This Halting Game is artificial, still has a Halting Problem flavor, though it does not refer to exponents.
We will now reduce it to a sleeker game -- Linear Chess -- to prove it exponentially hard, too.
11
Part II
Mysteries
4 Nondeterminism; Inverting Functions; Reductions
4.1 An Example of a Narrow Computation: Inverting a Function
We now enter Terra Incognita with deterministic computations extended by tools like random choices,
non-deterministic guesses, etc., the power of which is completely unknown.
Yet fascinating discoveries were made there, a glimpse of which we will get here.
Consider a P-time function F . Assume \| F (x)\| = \| x\| , for convenience (often \| F (x)\| = \| x\| \Theta (1) suffices).
Inverting F means given y, finding some x \in F - 1 (y), i.e. such that F (x) = y.
To invert F we may check F (x) = y for all possible x. This takes small space but absolutely infeasible
\Omega (2\| x\| ) time. No method is currently proven much better in the worst case. Nor could we prove some
inversion problems to require more time than F does. This is the sad present state of Computer Science !
An Example: Factoring. Let F (x1 , x2 ) = x1 x2 be the product of integers. For simplicity, assume x1 , x2
are primes. A fast algorithm in sec. 5.1 determines if an integer is prime. If not, no factor is given, only
its existence. To invert F means to factor F (x). The density of n-bit primes is \Theta (1)/n. So, factoring by
exhaustive search takes
\surd exponential time! In fact, even the best known algorithms for this ancient problem
run in time about 2 \| x\| , despite centuries of efforts by most brilliant people. The task is commonly believed
infeasible and the security of many popular cryptographic schemes depends on this unproven faith.
One-Way Functions: F : x \rightarrow y are those easy to compute but hard to invert (y \mapsto \rightarrow x) for most x.
Even their existence is a sort of religious belief in Computer Theory. It is unproven, though many functions
seem to be one-way. Some functions, however, are proven to be one-way iff any one-way functions exist.
Many theories and applications are based on this hypothetical existence.
We will now reduce all search problems to that one, starting with some ``standard"" NP problem.
An obvious candidate is existence of w with U (v, w), where the universal Turing Machine U
simulates F (x, w) for v = px. But U has no P-time limit, so we must impose one on it. How to make such
fixed degree polynomial sufficient to simulate any polynomial (even of higher degree) time?
Padding Argument. Let u(v, w) for v=00 . . . 01px simulate \| v\| 2 steps of U (px, w)=F (x, w).
If the 0\ast padding in v is long enough, u has time to simulate F , even though u runs
in quadratic time, while F 's time limit may be, say, cube (of a shorter string xw).
So an NP problem F (x, w) is reduced to u(v, w) by mapping instances x to v=0\ast 1px, with \| 0\ast \|
determined by F 's time limit. So, if some NP problem cannot be solved in P-time then neither
can be \exists ?w : u(v, w). And if the latter HAS a P-time solution then so have all search problems.
(Which of these alternatives is true we do not know.) It remains to reduce the search problem u to Tiling.
The Reduction. u(v, w) is run by a TM represented as an array of 1-pointer cellular automata that runs
for \| v\| 2 steps and stops if w does NOT solve the relation F . Otherwise it enters an infinite loop.
- space: n=\| v\| 2
An instance x has a solution iff u(v, w) runs forever for some w. Set n
to u's time/space \| v\| 2 . In the space-time diagram of computation of v ?. . . ? \#. . . \# ([Link].)
u(v, w), each row represents configuration of u at the respective time. v w T1
the second step fills in the solution w below a special symbol ""?"". .. .. ..
A faulty table may reflect no actual computation. ? . . .
time T n
Then it must have 4 cells sharing a corner impossible to appear in the computation of u on any input.
Proof. As the input v and the guessed solution w are the same in both the right and wrong tables,
the first 2 rows agree. The third row starts the actual computation. In the first mismatching row
a transition of some cell from the previous row is wrong. This is clear from the state in both rows of
this cell and the cell it points to, making an impossible combination of four cells sharing a corner.
For a given x, the existence of w satisfying F (x, w) is equivalent to the existence of a table with
the prescribed first row, no halting state, and permissible patterns of each 4 adjacent squares (cells).
We now convert the table into the Tiling Problem: Cut each cell into 4 parts by a u u v v
vertical and a horizontal lines through its center and copy cell's content in each part.
Combine into a tile the 4 parts sharing a corner of 4 cells. The cells at the right are u u v v
separated by ``---""; the tiles by dashes; If these cells are permissible in the table, then so v v x x
is the respective tile. Thus any matching tiled square solves the respective NP problem.
This reduces inversion of u, and thus every NP problem, to Tiling. v v x x
5 Probability in Computing
5.1 A Monte-Carlo Primality Tester
The factoring problem seems very hard. But to test if a number has factors turns out to be much easier
than to find them. This is crucial for many applications, such as, e.g., security tools. It also helps to supply
the computer with a coin-flipping device. We now consider a Monte Carlo algorithm, i.e. one that with high
probability rejects any composite number, but never a prime. See: [Miller 76, Solovay, Strassen 77, Rabin 80].
Residue Arithmetic. p| x means p divides x. x \equiv y (mod p) means p| (x - y). y = (x mod p) denotes
the residue of x when divided by p, i.e. x \equiv y \in [0, p - 1]. Residues can be added, multiplied and
subtracted with the result put back in the range [0, p - 1] via shifting by an appropriate multiple of p.
E.g., - x means p - x for residues mod p. \pm x means either x or - x.
The Euclidean Algorithm finds gcd (x, y) -- the greatest (multiple of any other) common divisor of
x, y: gcd (x, 0)=x; gcd (x, y) = gcd (y, (x mod y)) for y>0. By induction, d = gcd (x, y) = A\ast x - B\ast y ,
where integers A=(d/x mod y) and B= - (d/y mod x) are produced as a byproduct of that algorithm.
It allows division (mod p) by any r coprime with p (i.e. gcd (r, p) = 1), and operations +, - , \ast , /
obey all usual arithmetical laws. We also need to compute (xq mod p) in polynomial time.
i
We cannot do q>2\| q\| multiplications. Instead we compute all xi =(x2i - 1 mod p)=(x2 mod p), i<\| q\| .
Then we take q in binary, i.e. as a sum of powers of 2 and multiply mod p the needed xi 's.
Fermat Test. The Little Fermat Theorem for \prod p\not | x says:
\prod each prime x(p - 1) \equiv 1 (mod p). Indeed, i \rightarrow
p - 1
(ix mod p) is a permutation of [1, p - 1]. So, 1 \equiv ( i<p (ix))/( i<p i) \equiv x ( mod p). This test rejects typical
composite p. The other composite (Carmichael) numbers are actually factored by the following tests.
Square Root Test. For each y and prime p, x2 \equiv y (mod p) has at most one pair of solutions \pm x.
2
Proof. Let x, x\prime be two solutions: y \equiv x2 \equiv x\prime 2 (mod p). Then p | x2 - x\prime = (x - x\prime )(x+x\prime ). Thus p| (x - x\prime )
or p| (x+x ), making x \equiv \pm x , if p is prime. Otherwise p is composite, and gcd (p, x+x\prime ) even gives its factor.
\prime \prime
Random Choice. We say d kills \BbbZ \ast p if xd \equiv 1 (mod p) for all x (in \BbbZ \ast p , i.e. coprime with p).
If xd \not \equiv 1, then for all y either y d \not \equiv 1 or (xy)d \not \equiv 1. Same with xd \not \equiv \pm 1 (mod p).
So existence of a single such x implies the same for most of randomly chosen y.
Miller-Rabin Test \bfitT \bfitx factors a composite p given d that kills \BbbZ \ast p . If d = p - 1 does not, then
Fermat Test confirms p is composite. If it does, let p - 1=2k q, with odd q. Tx sets x0 =(xq mod p),
i
xi = (x2i - 1 mod p) = (x2 q mod p), i\leq k. xk =1. If x0 =1, or one of xi is - 1, Tx gives up for this x.
Otherwise xi \not \equiv \pm 1 for some i<k, while x2i \equiv xi+1 \equiv 1, and the Square Root Test factors p.
Now, T succeeds with some (thus most!) x \in \BbbZ \ast p . If p=ai+1 , i>0, then (1+ai )p - 1 =1+ai (p - 1)+a2i c \equiv
1 - ai \not \equiv 1 (mod p). Else, p=ab, gcd(a, b)>1: Take the greatest i such that 2i q does not kill \BbbZ \ast p .
It exists (as ( - 1)q \equiv - 1 for odd q) and has xi \not \equiv 1 \equiv (xi )2 (mod p).
Then x\prime =1+b(1/b mod a)(x - 1) \equiv 1\equiv x\prime i (mod b), while x\prime i \equiv xi \not \equiv 1 (mod a). So, x\prime i \not \equiv \pm 1 (mod p).
16
Vc\prime (m, x, y) =
\mathrm{d}\mathrm{f}
Vc\prime (m, x, y\circ 0)+Vc\prime (m, x, y\circ 1) for shorter y. (\circ denotes concatenation.) In our game G Merlin
must prove his value v for V \prime . At the start he chooses a 2s-bit prime p. Configurations X=(m, x, y, c, v)
of G replace xi , m, yi , v bits with \BbbZ p -bytes. The polynomial V \prime retains the above inductive definition,
thus is quadratic in each xi , m, as t(m, x, y) is. Then yi have degree \leq 4 in Vc (y) and \leq 6 in V \prime .
At his steps Merlin chooses a degree 6 polynomial P (r). v must be t(m, x, y)(1 - P (1)P (0)) for
s-byte y, or P (0)+P (1) for shorter y. Arthur then takes a random r\in \BbbZ p , sets X to (r, y, \{ \} , c - 1, P (r)),
or (m, x, y\circ r, c, P (r)), respectively. For X with a correct v Merlin's obvious winning strategy
is to always provide the correct P . If v is wrong then P (1), P (0) cannot both be right.
So P will differ from V , they can agree only on few (up to degree) points (i.e. on exponentially small
fraction of random r). The wrong v will then propagate throughout the game, becoming obvious at c=0.
Thus any Merlin strategy has exponentially small winning chance.
This reduction of Section 3 games yields a hierarchy of powers of Arthur-Merlin games and of
computations mutually reducible with Vc (x) of such games. The one-player games with randomized
transition rule g running in space O(\| x\| ) are equivalent to exponential time deterministic computations.
If instead the running time T of g combined for all steps is limited by a polynomial, then the games
(called interactive proofs, IP) are equivalent to P-space deterministic computations.
An interesting twist comes in 1-move games with polylog T , too tiny to examine the initial configuration
x and the move m. Yet, a little care not only removes this obstacle but achieves equivalence to NP.
Namely, x, m are set in an error correcting code, and g is given O(log \| x\| ) coin-flips and random access
to the digits of x, m. Then the membership proof m is reliably verified by the polylog randomized g.
See [Holographic proof] for details and references.
18
6 Randomness
6.1 Randomness and Complexity
Now let us look into the concept of Randomness itself. Intuitively, random sequences are those with
the same properties as coin flips. But what are these properties? Kolmogorov resolved the issue with
a robust definition of random sequences: those with no description noticeably shorter than their length.
See survey and history in [Kolmogorov, [Link] 87, Li, Vitanyi 19].
Kolmogorov Complexity KA (x| y) of the string x given y is the length of the shortest program p which
lets algorithm A transform y into x: min\{ (\| p\| ) : A(p, y) = x\} . A Universal Algorithm U exists s.t, KU (x) \leq
KA (x)+O(1), for every algorithm A. This O(1) is bounded by the length of the program U needs to simulate
A. And as | KU (x| y) - KU (x| y)| = O(1) for any such U, U \prime , we select some U and abbreviate KU (x| y)
as K(x| y), or K(x) for empty y. E.g.: for A :x\rightarrow x, KA (x)=\| x\| , so K(x)\leq KA (x)+O(1)=\| x\| +O(1).
We cannot compute K(x) by running all programs p of length \leq \| x\| +O(1) to find the shortest one
generating x, as some p diverge, and the halting problem is unsolvable. In fact, no algorithm can compute K
or even any its lower bounds except O(1). Consider the Berry Paradox expressed in the phrase: ``The smallest
integer that cannot be uniquely and clearly defined by an English phrase of less than two hundred characters.""
There are < 128200 English phrases of < 200 characters. So there must be integers not expressible
by such phrases and the smallest one among them. But isn't it described by the above phrase?
A similar argument proves that K is not computable. Assume an algorithm L(x)\not =O(1) gives a lower
bound for K(x). We can use it to compute f (n) that finds x with n < L(x) \leq K(x). But K(x) \leq Kf (x)+O(1)
and Kf (f (n)) \leq \| n\| . So n < K(f (n)) \leq \| n\| + O(1) = log O(n) \ll n: a contradiction. Thus, K and its non-
constant lower bounds are not computable. An important application of Kolmogorov Complexity measures
the Mutual Information: I(x : y) = K(x) + K(y) - K(x, y). It has many uses which we cannot consider here.
6.2 Pseudo-randomness
The above definition of randomness is very robust, if not practical. True random generators are rarely used
in computing. The problem is not in physics of random sources: we just saw efficient ways to perfect the
distributions of messy random noise. The reason lies in many extra benefits provided by pseudorandom
generators. E.g., designing. debugging, or using programs often requires to repeat the exact same sequence.
With a physical random generator, one would need to record all its bits: slow and costly.
[Blum, Micali 84, Yao 82] justified an alternative: generating pseudo-random strings from a short seed.
First, take any one-way permutation fn (x) (see sec. 6.3) with a hard-core bit bt (x) (in \{ 0, 1\} or \{ \pm 1\} ): easy
to compute from (x, t), but infeasible to guess from (fn (x), n, t) with any noticeable correlation (see below).
Then take random k-bit seeds x0 , t, n, and run: xi+1 \leftarrow fn (xi ), Si \leftarrow bt (xi ) = bt ((fn )i (x0 )).
We will see how distinguishing outputs S of this generator from strings of coin flips would imply
the ability to invert f : infeasible if f is one-way. But if P=NP (a famous open problem), no one-way f ,
and no pseudorandom generators could exist. By Kolmogorov standards, pseudo-random strings S=G(s),
are not random: Take \| S\| \gg \| s\| . Then K(S) \leq O(1)+\| s\| \ll \| S\| , so fail Kolmogorov's definition.
We can distinguish between truly random and pseudo-random strings by simply trying all short seeds.
This, however, takes exponential time 2\| s\| . Realistically, pseudo-random strings will be as good as
truly random ones if they can't be distinguished in any feasible time. Such generators we call perfect.
Theorem: [Yao 82] Let G(s) = S \in \{ 0, 1\} n run in time TG . Let an algorithm Aw in expected (over
internal coin flips w) time TA accept G(s) and truly random strings with probabilities different by d.
\mathrm{d}\mathrm{f}
Then, for random i, one can use A to guess Si from Si+ = Si+1 , . . ., Sn in time TA +TG with correlation d/n.
Proof. Let pi,\sigma (or pi for \sigma =\{ \} ) be the probabilities of A accepting r\sigma Si+ , for randomly chosen r and
\| r\sigma \| = i. So A accepts G(s) and random r with respective probabilities p0 , pn =p0 \pm d. So, pi - 1 - pi =d/n,
for randomly chosen i. Then (pi,1 +pi,0 )/2 averages to pi , while pi,Si =pi,0 +(pi,1 - pi,0 )Si averages to pi - 1 and
(pi,1 - pi,0 )(Si - 1/2) to pi - 1 - pi = d/n. So, (samplable) pi,1 - pi,0 has the stated correlation with Si .
If the above generator Si =bt (fn (xi )) was not perfect, one could guess Si from Si+ with correlation d/n.
But, Si+ can be computed from (fn (xi ), n, t). So, this employs A to guess bt (xi ) from (fn (xi ), n.t, w) with
correlation d/n contrary to b being hard-core.
Hard Core. \sum The key to pseudorandom generation is a one-way f (e.g., Rabin's, sec. 6.3) with a hard core.
And (x \cdot t) = i xi pi mod 2 is hard-core for any one-way F (x, n, t)=(fn (x), n, t). Indeed,
[Goldreich, Levin 89] converts any method a of guessing (x \cdot t) from (fn (x), n, t) with correlation
\varepsilon into one for inverting f (slower \varepsilon 2 times than a). [Knuth 97] has more details and references.
Proof. (Simplified with some ideas of Charles Rackoff.) Let k=\| x\| =\| fn (x)\| , j= log(2k/\varepsilon 2 ), vi =0i - 1 10k - i ,
(x\cdot t)
bt (x)=( - 1)
\sum - \| t\| . Throughout the proof y=(fn (x), n, w) is fixed. Assume at (y)\in \{ \pm 1\} guesses bt (x) with cor-
relation t 2 bt (x)at (y)>\varepsilon . bt (x)at averaged over >2k/\varepsilon 2 random pairwise independent t is \varepsilon -close to its
mean (over all t) (and so >0) with probability > 1 - 1/2k. Same for bt+vi (x)at+vi =( - 1)(x\cdot t) at+vi ( - 1)(x\cdot vi ) .
Take a random k\times j binary \sum matrix P . The vectors P r, 0\not =r\in \{ 0, 1\} j , are pairwise independent. So, for a
fraction \geq 1 - 1/2k of P , sign ( r ( - 1)xP r aP r+vi ) = ( - 1)(x\cdot vi ) . We could thus find all bits (x \cdot vi ) of x with
probability >.5 if we knew z=xP . But z is short: we can try all its 2j possible values and check fn (x) for
each ! So the inverter \sum computes Ai (r)=aP r+vi , for a random P and all i, r. It uses Fast Fourier on Ai to
compute hi (z) = r br (z)Ai (r). The sign of hi (z) is the i-th bit of z-th member of output list.
20
6.3 Cryptography
A very useful type of one-way permutations, called ``trap-doors"", has many applications,
especially in Cryptography. Here is a popular example:
Rabin's One-way Function. Pick random prime numbers p, q, \| p\| =\| q\| with two last bits =1, i.e. with
odd (p - 1)(q - 1)/4. Then n = pq is called a Blum number. Its length should make factoring infeasible.
All residues below are mod n, i.e. in Zn . Let Qn be the group of quadratic residues, i.e. squares in \BbbZ \ast n .
Lemma. Let n = pq be a Blum number, F : x \mapsto \rightarrow x2 (mod n). Then (1) F is a permutation on Qn
and (2) The ability to invert F on random x is equivalent to that of factoring n.
\mathrm{d}\mathrm{f}
Proof. (1) v = (p - 1)(q - 1)/4 is odd, so u=(v+1)/2 is an integer. Let x=F (z). Both p - 1 and q - 1 divide 2v.
So, by Fermat's little theorem, both p, q (and, thus n) divide xv - 1 \equiv z 2v - 1. Then F (x)u \equiv x2u = xxv \equiv x.
(2) The above y u inverts F . Conversely, let F (A(y)) = y for a fraction \varepsilon of y \in Qn .
Each y\in Qn has x, x\prime \not = \pm x with F (x)=F (x\prime )=y, both with equal chance to be chosen at random.
If F (x) generates y while A(y)=x\prime the Square Root Test (Sec.5.1) has both x, x\prime for factoring n.
Picking random primes is easy: their density is 1/O(\| p\| ). Indeed, all primes in [n, 2n] divide 2n
\bigl( \bigr)
n
but none in [ 32 n, n] and no prime power pi >2n do. So, logn 2n
\bigl( \bigr)
n = 2n/ log n - O(1) is an upper bound on
the number of primes in [n, 2n] and a lower bound on that in [1, 2n] (and in [3n, 6n] (i.e. in [1, 6n] \setminus [1, 2n].
And fast VLSI exist to multiply long numbers and check primality.
Public Key Encryption. A perfect way to encrypt a message m is to add it mod 2 bit by bit to a random
string S of same length k. The resulting encryption m \oplus S has the same uniform probability distribution,
no matter what m is. So it is useless to the adversary for learning something about m, if S is hidden.
A disadvantage is that the parties must secretly share S as large as all messages to be exchanged, combined.
Public Key Cryptosystems use two keys. One, needed to encrypt the messages, may be completely
disclosed to the public. The secret decryption key need not be sent to the encrypting party.
The same keys may be used repeatedly for many messages.
Such cryptosystem can be obtained [Blum, Goldwasser 82] by replacing the above random S by pseudo-
random Si = (xi \cdot t); xi+1 = (x2i mod n). Here a Blum number n = pq is chosen by the Decryptor and is
\| n\|
public, but p, q are kept secret. The Encryptor chooses t \in \BbbZ 2 , x0 \in \BbbZ n at random and sends t, xk , m\oplus S.
Assuming factoring is intractable for the adversary, S should be indistinguishable from random strings
(even with known t, xk ). Then this scheme is as secure as if S were random. The Decryptor knows p, q and
can compute u, v (see above) and w=(uk - 1 mod v). So, he can find x1 =(xw k mod n), then S and m.
Another use of the intractability of factoring is digital signatures [Rivest, Shamir, Adleman 78, Rabin 79].
Strings x can be released as authorizations of y = (x2 mod n). Verifying x, is easy but the ability of forging
it for generic y is equivalent to that of factoring n.
7 End Matter.
7.1 Go On!
You saw, most of our burning questions are still open. Take them on! Start with reading recent results
(FOCS/STOC is a good source). See where you can improve them. Start writing, first notes just for your
friends, then real papers. Here is a little writing advice: A well written paper has clear components: skeleton,
muscles, etc. The skeleton is an acyclic digraph of basic definitions and statements, with cross-references.
The meat consists of proofs (muscles) each separately verifiable by competent graduate students having to
read no other parts but statements and definitions cited. Intuitive comments, examples and other comfort
items are fat and skin: a lack or excess will not make the paper pretty. Proper scholarly references constitute
clothing, no paper should ever appear in public without! Trains of thought which led to the discovery are
blood and guts: keep them hidden. Metaphors for other vital parts, like open problems, I skip out of modesty.
21
References
[Levin 91] [Link]. Fundamentals of Computing: a Cheat-List. SIGACT News; Education Forum. Special
100-th issue, 27(3):89-110, 1996. Errata: ibid. 28(2):80. Earlier version: ibid. 22(1), 1991.
[Kleinberg, Tardos 06] Jon Kleinberg, Eva Tardos. Algorithm design. 2006. Pearson.
[Knuth 97] Donald E. Knuth. The Art of Computer Programming. Vol. 1-3. Addison-Wesley, 3d ed., 1997.
New to 3d ed. Sec.3.5.F of v.2 is also on pp. 10, 29-36 of [Link]
[Link]
[Feller 68] William Feller. An Introduction to Probability Theory and Its Applications. Wiley \& Sons, 1968.
[Lang 93] [Link]. Algebra. 3rd ed. 1993, Addison-Wesley.
[Rogers 67] H. Rogers, Jr. Theory of Recursive Functions and Effective Computability. McGraw-Hill, 1967.
[] References for section 1:
[Barzdin', Kalnin's 74] Ja.M. Barzdin', [Link]. Kalnin's. A Universal Automaton with Variable Structure.
Automatic Control and Computing Sciences. 8(2):6-12, 1974.
[Berlekamp, Conway, Guy 82] [Link], [Link], [Link]. Winning Ways. Sec.25. 1982.
[Kolmogorov, Uspenskii 58] A.N. Kolmogorov, V.A. Uspenskii. On the Definition of an Algorithm. Uspekhi
Mat. Nauk 13:3-28, 1958; AMS Transl. 2nd ser. 29:217-245, 1963.
[Schoenhage 80] A. Schoenhage. Storage Modification Machines. SIAM J. on Computing 9(3):490-508, 1980.
[Ofman 65] Yu. Ofman. A Universal Automaton. Trans. of the Moscow Math. Soc., pp.200-215, 1965.
[] Section 2:
[Blum 67] M. Blum. A machine-independent theory of the complexity of recursive functions. JACM 14, 1967.
[Davis 65] M. Davis, ed. The Undecidable. Hewlett, N.Y. Raven Press, 1965. (The reprints of the original
papers of [Link], [Link], [Link], [Link] and others).
[Ikeno 58] Shinichi Ikeno. A 6-symbol 10-state Universal Turing Machine. Proceedings, Institute of Electrical
Communications, Tokyo, 1958.
[Seiferas, Meyer 95] Joel I. Seiferas, Albert R. Meyer. Characterization of Realizable Space Complexities.
Annals of Pure and Applied Logic 73:171-190, 1995.
[Rabin 59] M.O. Rabin. Speed of computation of functions and classification of recursive sets. Third Con-
vention of [Link]. Israel, 1959, 1-2. Abst.: Bull. of the Research Council of Israel, 8F:69-70, 1959.
[Tseitin 56] G.S. Tseitin. Talk: seminar on math. logic, Moscow university, 11/14, 11/21, 1956. Also pp. 44-45
in: S.A. Yanovskaya, Math. Logic and Foundations of Math., Math. in the USSR for 40 Years, 1:13-120,
1959, Moscow, Fizmatgiz, (in Russian).
[] Section 3:
[Neumann, Morgenstern 44] J. [Link], O. Morgenstern. Theory of Games and Economic Behavior.
Princeton Univ. Press, 1944.
[Stockmeyer, Meyer 73] [Link], [Link]. Word problems requiring exponential time. STOC-1973
[Chandra, Kozen, Stockmeyer 81] Ashok K. Chandra, Dexter C. Kozen, Larry J. Stockmeyer. Alternation.
J. ACM, 28(1):114-133, 1981.
22
[Robson 83, 84] J.M. Robson. N by N checkers is EXPTIME-complete. SIAM J. Comput 13(2), 1984. Also:
The complexity of Go. Proc. 1983 IFIP World Computer Congress, p. 413-417.
[Fraenkel, Lichtenstein 81] A.S. Fraenkel, D. Lichtenstein. Computing a perfect strategy for n \times n chess
requires time exponential in n. J. Combin. Theory (Ser. A) 31:199-214. ICALP-1981.
[] Section 4:
[Savitch 70] W.J. Savitch. Relationships between nondeterministic and deterministic tape complexities. J.
Comput. Syst. Sci. 4:177-190, 1970.
[Yudin and A.S. Nemirovsky 76] D.B. Yudin and A.S. Nemirovsky. Informational Complexity and Effective
Methods for Solving Convex Extremum Problems. Economica i Mat. Metody 12(2):128-142; transl.
MatEcon 13:3-25, 1976.
[Luks 80] E.M. Luks: Isomorphism of Graphs of Bounded Valence Can Be Tested in Polynomial Time.
FOCS-1980.
[Garey, Johnson 79] [Link], [Link]. Computers and Intractability. [Link] \& Co. 1979.
[Trakhtenbrot 84] [Link]. A survey of Russian approaches to Perebor (brute-force search) algo-
rithms. Annals of the History of Computing, 6(4):384-400, 1984.
[] Section 5:
[Rabin 80] [Link]. Probabilistic Algorithms for Testing Primality. J. Number Theory, 12: 128-138, 1980.
[Miller 76] [Link]. Riemann's Hypothesis and tests for Primality. J. Comp. Sys. Sci. 13(3):300-317, 1976.
[Solovay, Strassen 77] R. Solovay, V. Strassen. A fast Monte-Carlo test for primality. SIComp 6:84-85, 1977.
[Karp 86] R. Karp. Combinatorics, Complexity and Randomness. (Turing Award Lecture) Communication
of the ACM, 29(2):98-109, 1986.
[Johnson 84] David S. Johnson. The NP-Completeness Column. J. of Algorithms 5:284-299, 1984.
[Karp 76] R. Karp. The probabilistic analysis of some combinatorial search algorithms. Algorithms and
Complexity. ([Link], ed.) pp. 1-19. Academic Press, NY 1976.
[Gurevich 85] Y. Gurevich, Average Case Complexity. Internat. Symp. on Information Theory, IEEE, 1985.
[Levin Venkatesan 18] Leonid A Levin, Ramarathnam Venkatesan. An average case NP-complete graph col-
oring problem. Combinatorics, Probability, and Computing, 27(5), 2018. [Link]
[Shamir 90] A. Shamir. IP = PSPACE. JACM 39/4:869-877, 1992.
[Fortnow, Lund 93] Lance Fortnow, Carsten Lund. Interactive proof systems and alternating time---space
complexity. [Link]. 113(1):55-73, 1993. [Link]
[Holographic proof] Holographic proof. The Encyclopedia of Mathematics, Supplement II, Hazewinkel, M.
(Ed.), Kluwer, 2000. [Link]
[] Section 6:
[Kolmogorov, [Link] 87] [Link], [Link]. Algorithms and Randomness. Theoria
Veroyatnostey i ee Primeneniya = Theory of Probability and its Applications, 3(32):389-412, 1987.
[Li, Vitanyi 19] M. Li, P.M.B. Vitanyi. Introduction to Kolmogorov Complexity and its Applications. Springer
Verlag, New York, 2019.
[Blum, Micali 84] [Link], [Link]. How to generate Cryptographically Strong Sequences. SICOMP,
13, 1984.
[Yao 82] A. C. Yao. Theory and Applications of Trapdoor Functions. FOCS-1982.
[Goldreich, Levin 89] [Link], [Link]. A Hard-Core Predicate for all One-Way Functions. STOC-1989.
[Rivest, Shamir, Adleman 78] [Link], [Link], [Link]. A Method for Obtaining Digital Signature
and Public-Key Cryptosystems. Comm. ACM, 21:120-126, 1978.
[Blum, Goldwasser 82] M. Blum, S. Goldwasser. An Efficient Probabilistic Encryption Scheme Hiding All
Partial Information. Crypto-1982.
[Rabin 79] M. Rabin. Digitalized Signatures as Intractable as Factorization. MIT/LCS/TR-212, 1979.