Documentation

CslibFrontier.Computability.Complexity.Classes.SharpP.Oracle.Search

Recovering relativized counts by majority queries #

Compare a relativized count with a binary threshold using the positive-gap characterization, then recover the entire count with the existing certified binary search. Threshold requests are total on raw words through a supplied polynomial-time decoder. Thus an arbitrary encoding is never assumed to have efficient range recognition.

Main results #

Comparison with a relativized count is strict-majority decidable: the gap is f(x)+1-k.

A relativized count can be recovered one level above its fixed oracle. The decoder makes the threshold oracle a language on all raw words; its values off valid codes are fixed by the decoder. The search uses one more bit than the witness bound, including the endpoint 2^b.