Majority function 2026-10-07
A majority Boolean function outputs one when more than half its input bits are one. An odd number of inputs avoids a tie convention. For three bits its unique multilinear polynomial is , so the polynomial method for quantum query lower bounds requires at least two exact queries.
Maximum-influence logarithmic lower bound 2026-10-14
For a zero-one Boolean function on the unbiased Boolean hypercube with flip-probability influences , the displayed bound holds for sufficiently small . If it fails, write . The total influence identity puts at least half the nonconstant Fourier weight on levels . The hypercontractive weighted influence bound at then gives . Its upper bound contradicts .
Parity lower bound for Boolean queries 2026-10-14
For three bits, the Boolean function outputs one when is odd, where denotes exclusive or. Unlike the three-bit majority decision tree, an exact decision tree computing parity must inspect all three bits on every input. If any coordinate is unread, two completions differing only at that coordinate follow the same observed graph path but have opposite parity. A single leaf cannot correctly label both.
The same argument works for bits: parity needs all queries on every input, whatever their order. Thus its decision-tree depth is , its expected query cost is for every input probability distribution, and each coordinate revealment is one. The algorithm remains required to be correct on the whole Boolean cube, even if the chosen probability distribution assigns some inputs zero probability; a promise restricting permitted inputs would be a different computational problem.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 47 2 Solution Created 2026-10-03 Updated 2026-10-14
The Walsh-Hadamard transform is the tensor product of one Hadamard gate on each qubit. Indeed,The network therefore consists of parallel Hadamard gates, with no interaction between wires. Applied to an all-zero quantum register, it produces the uniform quantum superposition of all input strings. This lets a Boolean quantum oracle act coherently on all those inputs; a subsequent operation can turn their relative phases into useful interference. It does not permit reading all oracle values from a single measurement in quantum mechanics.
Parallel Hadamard gates and the one-query Bernstein-Vazirani network
. Details. For the supplied linear-phase input, the amplitude on output isEach factor is obtained by summing over the independent bit . This directly proves the relevant orthogonality of the binary Fourier phases, and yields the output state exactly.
For exact classical identification, query the Boolean function at the standard unit vectors: . Hence oracle calls suffice. They are also necessary in the worst case, even with adaptive queries: every answer supplies one binary linear equation in the unknown string. With fewer than queries, their coefficient matrix has matrix rank at most the number of queries, so its null space contains a nonzero string . The strings and give identical answers along that adaptive transcript and cannot both be identified correctly. Equivalently, a depth- binary decision tree has at most leaves and must distinguish possibilities. Thus the exact classical query count is . This concerns exact recovery, rather than allowing an arbitrary error probability.
The quantum network in the lower panel starts its data quantum register in and its answer ancilla qubit in , which can be prepared as . Apply Hadamard gates to the data wires, make one Boolean quantum oracle call, then apply Hadamard gates again to all data wires. Quantum phase kickback producesA computational-basis measurement of the data wires gives all bits of with certainty. This is Bernstein-Vazirani phase kickback: one quantum query, data Hadamard gates, and one answer-state preparation suffice. The answer ancilla qubit stays separate from the data at the output.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 7 5 i Solution Created 2026-10-03 Updated 2026-10-14
A Boolean function takes each vector of bits to either zero or one. Use independent uniform input bits; the influence of a variable is the probability that flipping that bit changes the value. A quite fair Boolean function has . All logarithms in the estimates below are natural, except where a base is explicitly written.
Here is a balanced tribes construction with unused coordinates valid for every . For each put , and choose the largest with . Partition of the bits into blocks of size . Let be one when at least one block is all ones, and ignore the other bits. This is a tribes function. With , its zero probability is .
For the function is a single bit and has mean . For , and . The elementary inequalities giveThus both output probabilities are between one quarter and three quarters.
A used bit is pivotal exactly when the other bits of its block are one and every other block fails. Hence its influence is ; unused bits have zero influence. Maximality of gives . Also for : this is immediate for , while for one has . ThereforeThis proves the requested existence with room in the constant. The dimension-one boundary case cannot satisfy the printed logarithmic bound: a quite fair function of one bit is nonconstant and has influence one, whereas . Thus the statement requires the usual nontrivial range (or its intended large- interpretation).
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 13 4 i Solution Created 2026-10-03 Updated 2026-10-14
We prove the following precise form of the Friedgut-Kalai sharp threshold theorem. There is an absolute such that, for a nontrivial transitive increasing event , , and , its success probability increases from to over an interval of length at mostIn particular, and , with , imply . Here denotes independent bits equal to one with probability . Symmetry means invariance under a permutation group acting transitively on the coordinates, not necessarily invariance under all coordinate permutations.
Use the allowed weighted-cube influence theorem in this exact form: an absolute exists such that, for every , , and zero-one Boolean function of mean under , some coordinate has pivotal probability at least . A coordinate's pivotal event is determined by the other coordinates and means that the two possible values of that coordinate give different outputs. This uniform form is a consequence of the weighted Kahn-Kalai-Linial theorem; it applies to nonsymmetric functions as well.
Write . Differentiating the finite product expression for , one coordinate at a time, givesThe last equality uses monotonicity, so each summand is the pivotal probability. This derives the Margulis–Russo formula in the normalization being used. Transitivity makes all the influences equal; applying the weighted influence theorem therefore yieldsNontriviality ensures throughout . Dividing and integrating the derivative of the log odds givesAt the two specified quantiles the left side is . Taking proves the window bound and, with a strict starting inequality, the asserted strict final inequality. This is the sharp threshold conclusion, rather than an assumption about a discontinuous finite- probability curve.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 59 4 Solution Created 2026-10-03 Updated 2026-10-14
Use for addition modulo two, or exclusive or. The key is to write the known Boolean function as an XOR of products of locally computable bits. An explicit separated Boolean decomposition avoids any need to assume a particular circuit for the function. For every possible Alice input , putAlice can compute the first bit from her actual input and the public label ; Bob can compute the second bit from his own input because and the full function are public. Exactly one of the indicators is one, namely the one with . Hence
For each label , invoke one independent Popescu–Rohrlich box with inputs and . Denote its outputs by and . By the given correlation, . Alice locally forms , and Bob locally forms . Taking the XOR of all box constraints yieldsThus the protocol isIt succeeds exactly for every input and every allowed sequence of box outputs. Randomness of the individual outputs introduces no error because each parity relation is exact. All box calls can be made before the message, with no extra classical communication. This proves one-bit computation using Popescu–Rohrlich boxes.
The truth-table construction uses PR boxes. If Bob's input is shorter, use the equally valid decomposition . Alice computes the first factor, Bob the indicator, and Alice still sends her output parity. Therefore at most boxes are enough. This is a bound on box use, not on local computational work; the communication complexity remains one bit.
Another standard route is the algebraic normal form over the two-element field:The empty products are one. For completeness, this representation follows by induction on the number of bits from , which adds a new variable only to its corresponding coefficients. Each nonzero monomial supplies one local product to each party and can be evaluated in distributed parity form by one PR box. Terms depending on only one party can instead be included directly in that party's final parity; the constant may be assigned to either side. For example, a single cross-product needs one box, whereas needs no boxes and just the one-bit message .
Finally, the scheme does not make the boxes themselves signalling devices. At any fixed box inputs, the two allowed output pairs give each party an individually uniform bit, independent of the distant input. Independence across box calls makes Bob's entire uncommunicated output string uniform, for any Alice input. Without he generally cannot identify the answer. The communicated parity combines with the nonlocal correlations to reveal it; it does not contradict the uniform local marginals of these no-signalling boxes.
Past exam of the mathematics course of the University of Cambridge 2009 iii Paper 51 1 e Solution Created 2026-10-03 Updated 2026-10-14
A classical query with known answer bit reveals exactly the one bit , since it returns . For the four promised Boolean functions, the value table isEvery possible first query splits the four alternatives into one class of size one and another of size three. On the branch with three remaining alternatives, a second binary answer can separate at most two classes. At least two alternatives therefore still agree on that branch, regardless of how the second query was chosen adaptively. This decision tree argument proves that a procedure guaranteed to identify every alternative needs at least three queries in the worst case.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 67 2 a Solution Created 2026-10-03 Updated 2026-10-07
Use the bit-query Boolean quantum oracle , where denotes workspace. Initially every probability amplitude is independent of , hence is a constant polynomial. An input-independent unitary gate only forms linear combinations of probability amplitudes, so it does not increase their polynomial degree.
If is an amplitude before a query, its new value isOne query increases polynomial degree by at most one. Inductively, after queries each amplitude has polynomial degree at most . The acceptance probability is a sum of squared absolute values of the accepting amplitudes, so it is a real polynomial of degree at most . Intermediate quantum measurements and classical adaptation can be retained coherently, or handled by summing unnormalized branch probabilities; either approach yields the same degree bound.
An exact algorithm has acceptance probability precisely at every Boolean input. The multilinear reduction on the Boolean cube replaces positive powers of each by , preserving these values without increasing polynomial degree. Therefore the polynomial method for quantum query lower bounds givesHere is the degree of the unique multilinear polynomial representing the Boolean function, and is its exact quantum query complexity. Uniqueness follows, for example, by evaluating successively on the indicator vectors of subsets: the value on a subset determines its coefficient once all smaller-subset coefficients are known.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 67 2 e Solution Created 2026-10-03 Updated 2026-10-07
For a Boolean function , its block sensitivity at is the maximum number of pairwise disjoint nonempty index sets such that flipping all bits in each individually changes . Maximize over to obtain .
Choose , so every three-bit block has majority one and the conjunction is one. In each block, flipping either of its two one bits alone changes that block's majority to zero and therefore changes the conjunction to zero. These singleton index sets are all disjoint, soThe supplied bounded-error quantum query complexity lower bound now givesHere denotes a fixed two-sided error bound below , such as .
In fact the block sensitivity is exactly . At a one-input, selecting two one bits from each triple gives a size- certificate: any block flip changing the output must touch it, so disjoint sensitive sets number at most . At a zero-input, one failing triple contains at least two zero bits; fixing those two zeros certifies zero, so at most two disjoint sensitive sets can change the output. The lower-bound witness above attains . The certificate complexity of a Boolean function supplies these upper bounds, though only the witness is needed for the requested result.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 168 1 ii Solution Created 2026-09-24 Updated 2026-09-25
It is enough to consider three alternatives . Encode each voter's three pairwise preferences by , where means , means , and means . A valid ranking excludes and . Independence of irrelevant alternatives gives three Boolean functions for the social comparisons. Unanimity and transitivity force : fixing arbitrary , taking and constantly equal to shows , and cyclic symmetry gives the claim.
Choose the voters' valid rankings independently and uniformly. A social Condorcet paradox is absent exactly whenThus transitivity for every profile gives . Conditional on , the bit equals with probability and differs with probability , so has correlation . ThereforeThe Fourier formula, valid for negative correlation, givesby Parseval identity. Among the numbers , the unique minimum is , attained at . Equality in this weighted average therefore forces all Fourier mass onto level one. Hence is a linear Boolean function with zero constant term. Such a function can have only one nonzero coefficient: otherwise varying two coordinates would make it assume more than two values. Thus or for some , making voter a dictator and proving Arrow theorem.
Past exam of the mathematics course of the University of Cambridge 2026 iii Paper 168 3 i Solution Created 2026-09-24 Updated 2026-09-25
The regularity lemma for Boolean functions states that for every there is such that every Boolean function has a set , , for which a -random satisfiesHere is the restriction obtained by fixing the coordinates in to .
After input-bit queries, every probability amplitude is a polynomial of degree at most , because the bit-query matrix entries are affine in the input bits. An acceptance probability is a sum of squared absolute amplitudes and has polynomial degree at most . Multilinear reduction on the Boolean cube does not increase degree. Exact acceptance therefore implies . For bounded error the acceptance polynomial only approximates the Boolean function; its exact representing degree is not the relevant bound.
Query certificate 2026-10-07
For a Boolean function and a chosen input , a set of coordinates is a query certificate if every agreeing with on has . It fixes actual input bits rather than supplying an independently guessed certificate to an NP verifier. Minimizing its size at each input and then maximizing gives query certificate complexity.
Quite fair Boolean function 2026-10-14
Separated Boolean decomposition 2026-10-14
Every Boolean function of distributed inputs is an exclusive or of products of locally computable bits. The displayed identity follows because exactly one indicator is one. It uses at most terms, each a function of times a function of ; exchanging the two input roles gives at most terms. This elementary truth-table factorization is useful for distributed computation with PR boxes and does not depend on a probabilistic approximation.
Squared-influence logarithmic lower bound 2026-10-14
For a zero-one Boolean function of mean , the displayed bound holds for sufficiently large , uniformly in . If it failed, put , and split its nonconstant Fourier weight at level . The total influence bound puts at most above that level. The hypercontractive weighted influence bound with puts only below it: the conversion factor stays bounded, while . This contradicts total nonconstant weight .
