The Exercise
A search problem on items is given by an oracle, a function from to . The items with are the solutions, and is their number.✦ A classical algorithm learns about only by calling the oracle on one item at a time, and it may choose each item from the answers it has had and from coins of its own. The exercise asks how many calls such an algorithm needs if it is to estimate to within , for a constant , with probability at least , and to do so for every oracle, whatever the value of . The answer is a number of calls at least proportional to , once is large compared with .
Counting Algorithms
The number of solutions of an oracle on items is the number of items with : (1)✦
A decision tree on items is either a leaf, which carries a real number , its estimate, or a node, which queries an item and has a subtree for the answer and a subtree for the answer .✦ It is a deterministic classical algorithm. The output of the tree on an oracle is if is a leaf with estimate ; if queries , it is the output of the subtree that the answer selects, (2)✦ The depth of a tree is the largest number of queries on a path from its root to a leaf, the number of oracle calls it makes in the worst case.
A randomized counting algorithm on items is a family of decision trees on items, indexed by the outcomes of a probability space , with a budget , a natural number that bounds the depth of every tree, such that for each oracle the output is a random variable on .✦ The output of a randomized counting algorithm on an oracle is the random number obtained by drawing from and taking the output of on : (3)
The Claim
Theorem 1. Let . There is a constant with the following property. Let , and let be a randomized counting algorithm on items with budget whose estimate lies within of with probability at least for every oracle : (4)✦ Then .
What Is Checked
The claim is stated over the randomized counting algorithm (3), its decision trees with their output (2), and the number of solutions (1). What the library proves about these constructions is Theorem 1, for every .