Flip a coin during computation and you get randomized algorithms — programs that can guess, sample, and sometimes be wrong. The class BPP (Bounded-error Probabilistic Polynomial time) captures exactly the problems solvable this way with high confidence: a BPP machine says the right answer with probability at least 2/3 on every input, and it does so in polynomial time.
Randomness feels like a superpower. If you can flip coins, maybe you can solve things that ordinary deterministic machines cannot? That intuition seems plausible — until you look at the Sipser-Lautemann theorem (1983), which shows that the extra power of randomness fits neatly inside the second level of the polynomial hierarchy: BPP ⊆ Σ₂ ∩ Π₂.
In other words, any problem a randomized algorithm solves efficiently, a small team of alternating quantifiers can solve too — no coins needed. Randomness, in a precise sense, is tamer than it looks.
Comments
Loading comments...