Computational Complexity
A Conceptual Perspective
Oded Goldreich
Department of Computer Science and Applied Mathematics
Weizmann Institute of Science Rehovot Israel
July
Chapter
Randomness and Counting
I owe this almost atro cious variety to an institution which other
republics do not know or which op erates in them in an imp erfect
and secret manner the lottery
Jorge Luis Borges The Lottery In Babylon
So far our approach to computing devices was somewhat conservative we thought
of them as executing a deterministic rule A more lib eral and quite realistic ap
proach which is pursued in this chapter considers computing devices that use a
probabilistic rule This relaxation has an immediate impact on the notion of e
cient computation which is consequently asso ciated with probabilistic p olynomial
time computations rather than with deterministic p olynomial time ones We
stress that the asso ciation of e cient computation with probabilistic p olynomial
time computation makes sense provided that the failure probability of the latter is
negligible which means that it may b e safely ignored
The quantitative nature of the failure probability of probabilistic algorithm
provides one connection b etween probabilistic algorithms and counting problems
The latter are indeed a new type of computational problems and our fo cus is on
counting e ciently recognizable ob jects e g NP witnesses for a given instance of
set in NP Randomized pro cedures turn out to play an imp ortant role in the
study of such counting problems
Summary Focusing on probabilistic p olynomial time algorithms we
consider various types of failure of such algorithms giving rise to com
plexity classes such as BPP RP and ZPP The results presented
include BPP P p oly and BPP