Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2024/iii/paper-124/3/ii/solution

This is the Karp–Lipton theorem. It is enough to place inside . Let , so for a polynomial-time predicate and polynomially bounded strings,
The NP search problem that receives and seeks such a has, by part (i), a polynomial-size circuit family producing a valid witness whenever one exists. For each input length there is therefore a polynomial-size circuit such that, for every relevant , existence of a witness implies .
Consequently
where the existentially guessed circuit description has polynomial length and evaluation of is polynomial time. This is a description. Hence ; complementation gives the reverse inclusion, and merging adjacent equal quantifier blocks collapses every higher level. Thus the polynomial hierarchy satisfies

New to topics? Read the docs here!