Past exam of the mathematics course of the University of Cambridge 2023 iii Paper 124 1 iii Solution 2026-09-28
We use the following consequence of the Håstad switching lemma. If an unbounded-fan-in layered AND/OR circuit has depth and size , then after successive independent random restrictions, each retaining a suitably small proportion of the currently live variables, the restricted circuit is constant on the leaves of a decision tree of bounded depth with probability at least . To prove this switching-lemma depth reduction, first express the bottom layer as DNFs or CNFs, truncate any term wider than because a random assignment satisfies or kills it except with probability , and then apply the switching lemma with a union bound over at most gates. Replace each surviving bottom gate by its decision tree, switch DNF to CNF or conversely, and repeat. Choosing the constants so each round fails with probability at most proves the claim by a union bound.
Suppose now that . After the rounds, the expected number of live variables isA Chernoff bound shows that at least variables remain live with probability tending to one. Conditional on the set of live variables, the assigned variables contain, with probability bounded away from zero, sufficiently close to half zeros and half ones that the restricted majority function remains a nonconstant threshold function on live variables. By part (i), its decision-tree depth is then .
With positive probability both conclusions hold: the restricted circuit has bounded decision-tree depth, but the function it computes has depth tending to infinity. This contradiction provesFor each fixed depth, the constants in the reduction may be chosen uniformly to give an absolute positive constant after the usual depth convention is fixed.