Manuscript Offprint
arXiv:2610.31638No Perfect Randomized Composition
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Does computing a composition of total Boolean functions require the product of the randomized query complexities of its factors? We give a negative answer. There are families of total functions such that
This result requires first separating linearized query complexity LR, as well as noisy randomized query complexity noisyR, from standard randomized query complexity R. Both constructions essentially come from totalizing existing partial function separations, albeit via different techniques.
By adapting these techniques, we also construct total functions separating every adjacent pair in the chain from sabotage RS, max-conflict , and linearised query complexity LR. We show that AND-of-ORs separates conflict from max-conflict complexity and makes conflict and sabotage incomparable. Finally, randomized complexity can be smaller than its composition limit by the maximal factor . The total-total composition separation is also formalized in Lean.
1 Introduction
Suppose an algorithm must evaluate a Boolean function , but each input bit of is itself the output of a Boolean function on a separate block. The natural algorithm evaluates whenever it needs a bit of . Must every randomized algorithm pay, up to a constant, for both computations? Writing R for bounded-error randomized query complexity, the question is whether
holds with a universal . For partial functions it does not [13, 6, 8]. We show that requiring both functions to be total does not restore the inequality.
Theorem 1.1 (No total-total randomized composition). There are families of nonconstant total Boolean functions f on N variables and g on n variables, with
The families can be coupled with outer size . Their block composition has input length
and satisfies
The saving relative to the product is .
Theorem 5.1 gives the construction and quantitative proof. The coupling uses the same parameter in both functions: the inner size is and the outer size is . Thus the outer size is exponential in the 4/5 power of the inner size, while . The size qualification matters. This is a counterexample to a constant-factor composition theorem, so we don’t refute composition up to polylogarithmic factors. At a high level, it seems difficult to make the separation stronger: the outer function has a very large address table, and we use this large space to make the two costs in the question come apart.
Two sides of the composition question. The existing lower bounds point to two possible obstructions, and finding a way to overcome both (simultaneously!) is the main guidance in finding this construction. These two obstructions are linearised and noisy randomized query complexity.
Linearised query complexity LR measures the cost of obtaining a small amount of correctly signed evidence. Noisy randomized query complexity noisyR measures the cost of computing when such evidence is supplied by the oracle: a query of correlation costs . They satisfy
for possibly partial [6, 8]. Thus a counterexample needs an outer function for which noisyR is small and an inner function for which LR is small. Or, in more standard terminology: it had been conjectured that and for total functions, and proving either one (i.e. proving either measure equivalent to R up to constant factors) was a promising way towards proving randomized composition, and no function was known to asymptotically separate either from R. Separations of these measures alone would not be enough – the cheap information supplied by the inner algorithm still has to be useful to the outer one – but it was a necessary obstacle to overcome. The first construction in isolation essentially immediately gives us a counterexample to partial–total composition, 3.6, but then we need to further confirm that this is compatible with the latter construction.
The investigation process was significantly aided by AI. It is worth noting, perhaps, that frontier models (e.g. Claude Fable, or GPT-6-Astra, on maximum effort, on several repeated trials) seemed unable to construct any counterexample to randomized composition. Decomposing the problem into several smaller subtler targets and giving proposed families of constructions seemed to significantly help. Even asking for an LR vs. R construction seemed to fail in isolation, but refocusing the problem on related measures as a more direct target improved the outcomes, as we will explain in the next section.
High-Level Constructions The inner function is a majority of encoded pointer functions, as in [2, 15]. A detector accepts every zero input with probability zero and every one input with the same constant probability. Sampling one majority block and applying an affine correction gives a uniformly correctly signed bias of order 1/q, at a cost much smaller than bounded-error evaluation of the majority. Exactness of the detector's acceptance probability is essential here. A merely one-sided algorithm cannot in general be calibrated across different one inputs.
The outer function starts from approximate indexing (as in [8]). Weak independent evidence about a long address is enough to land in a large Hamming ball around it; the table is constant on that ball. Ordinary queries reveal much less about the table's value. This was used in earlier partial function counterexamples. The difficulty is making this promise problem total. Checking the promise directly would lose the saving we want.
We instead put the approximate-index problems into an AND of ORs, and store certificates for several independent copies in an address-indexed array. The AND–OR core has short certificates even when its value is hard to find. Each certificate cell is encoded so that a short bit transcript is exactly independent of its decoded payload. Finding a useful certificate therefore requires either many queries to one cell or a short list containing the correct address. A direct-product bound rules out the latter. Once an approximate address has been found by the algorithm, the certificate can be checked exactly at an affordable cost. This is what allows the construction to remain total, including on malformed core and certificate inputs.
Separating the composition measures. The pointer construction also gives separations among other measures that have been used to approach the composition question. The relevant chain is
Here RS is sabotage complexity [9], is conflict complexity [19], and is max-conflict complexity [13]. The notation suppresses an absolute constant. In particular, with our signed-bias convention the immediate bound is , rather than an exact inequality with constant one. Each adjacent comparison in the chain is strict on total functions. Previously, no asymptotic separations were known between any two of these, and we give asymptotic separations between all five.
For the succinctly encoded pointer function , put . The three families
all have input length . Their bounds are collected below. We write for a separate AND–OR family, on bits.
| Family | RS | LR | R | ||
|---|---|---|---|---|---|
| - | |||||
Table 1: Bounds for the total separating families. Note that some bounds are one-sided, and we have left one blank where we have not determined useful bounds otherwise.
Parity makes bounded-error computation pay for amplification while sabotage can stop at the first damaged bit. Majority lets a linearised algorithm use the exact detector without amplifying its bias. Adding a parity mask forces any biased algorithm to pay to read the mask, while max-conflict complexity can absorb that cost additively. These mechanisms give gaps of , , and , respectively (Theorems 7.5, 3.5, and 8.3). In particular, RS and R are not within a constant factor on total functions, answering the question of [9, 20] at that resolution.
The AND–OR family behaves differently. Its sabotage and max-conflict complexities are maximal, but every single opposite-output pair admits a cheaper conflict tree (Theorem 9.1).
Together with the parity family , this makes RS and incomparable and separates from on total functions. It also gives a failure of perfect composition for and a superlinear separation of from certificate complexity (Corollaries 9.9 and 9.11).
Finally, let be the composition limit studied in [3]. A cyclic rotation of compositions gives a total family with
attaining the general upper bound. This is a different direction of separation from Theorem 1.1: the limit is larger than the one-level complexity. It's proved in Section 10.
Organisation and formal verification. After the definitions, Section 3 develops the exact detector and the LR separation. Section 4 constructs the total noisy-query separation, and Section 5 combines the two mechanisms to prove Theorem 1.1. The remaining sections establish the other separations and the composition-limit result. The main result, the total-total composition failure, is checked in Lean 4.
2.1 Notation
denote possibly partial Boolean functions, with ; is total when . For on bits and on bits, is the function on bits obtained by feeding disjoint copies of into ; we abbreviate it when no confusion arises. is the parity function on bits and is majority on an odd number of bits. We write for , and for .
A randomised algorithm is a distribution over deterministic decision trees. For , is the expected number of queries made on and . Then is the least worst-case depth of an algorithm with everywhere, is the least worst-input expected cost of such an algorithm, and . Constant-error amplification followed by Markov truncation gives . Thus at constant error the difference is only constants. At small it isn't, and several of our bounds live in that margin, so we always say which one we mean.
2.2 Sabotage complexity
We use the following formulation, equivalent up to constants to that of [9]. A sabotaged input for h on n bits is a string
for which there exist with , both agreeing with every Boolean coordinate of . Note that and must then differ only inside the wildcard coordinates, but we do not require the converse: the wildcard set may be larger than the set of differing coordinates. The task is to output which wildcard symbol occurs, and is the least worst-input expected cost of a zero-error randomised algorithm for . A zero-error algorithm can't answer until it has actually seen a wildcard, so in effect this is just the cost of finding one.
2.3 Conflict complexity
We use the definitions of [13, §3]; both conflict bounds depend on the order of the quantifiers. Let T be a deterministic tree computing h, let be the index queried at node v, and let be the number of vertices on the root-to-v path, so the root has depth 1. For distributions supported on and , put
and let at the root and otherwise , where is the parent of . Then
The intuition is a walk down which at goes left with probability , right with probability , and otherwise — with probability — halts at ; then is the probability of reaching without halting, because the walk always halts before a leaf, and (3) is the expected halting depth.
Definition 2.1 ([13, §3]). The conflict complexity of h is
the maximum over pairs and the minimum over trees computing . For a distribution over such pairs write . The max-conflict complexity is .
We'll quickly note three key facts that fall out of these definitions that we'll need later.
First, both measures are max-min: a single pair forcing against every tree computing certifies . This is the shape of our lower bounds in Sections 7 and 9.
Second, , since a point mass is an admissible . The two differ not in how a run is scored but in the range of the outer maximum: against an ensemble a single tree must do well on average, so the minimum cannot be taken pair by pair. That is the only place the gap comes from. We are not aware of any separation between and in the prior literature, for partial functions or total ones; Section 9 gives one, on a total function. [13] show [13, §3.1], and [13, §1.1.2]; since also — compose with a one-bit outer function — both measures sit between and , so no -versus- separation can exceed a quadratic one.
Third, is symmetric in its two distributions: is an absolute difference and a product of minima, so exchanging and changes nothing. Nor does (3) depend on the leaf labels of — only on 's separating the two supports, which is what makes the walk halt before a leaf. So a tree computing serves just as well for , and for pairs handed to it in either order. We use this in Section 8. It might look as though symmetry ought to force , but it doesn't: the gap lives in the range of the outer maximum, not in any asymmetry between the two sides.
2.4 Linearised complexity
For an algorithm A intended to compute f, define the signed bias
which is positive exactly when A leans towards the truth at x. Following [8],
The infimum is over algorithms with positive signed bias on every input; equivalently, an algorithm with nonpositive bias anywhere has infinite cost-to-bias ratio. This convention matters: allowing negative denominators would define a different quantity. The two properties we use are the inner composition theorem , valid for all partial , and its optimality, which gives . Because the maximum is over every input, an algorithm certifies an upper bound on LR only if its bias is bounded below uniformly; this is the point on which Section 3 turns.
2.5 Hard pairs at every budget
One of our lower bounds needs more than a hard distribution in the usual sense. It needs a pair of 0- and 1-distributions that stays hard uniformly across query budgets, and not just at the bounded-error scale. Yao’s minimax theorem doesn’t give us that: as Shaltiel [18] observed, a distribution that’s tight for bounded error can be completely easy to solve to small bias. The object we want is from [6]. For a randomised decision tree R run on a distribution , write for the induced distribution on transcripts — the queries made, the answers received, and the sampled tree — and let and be squared-Hellinger and total variation distance.
Definition 2.2 (Hellinger distinguishing cost, [6, Def. 22–23]). The Hellinger distinguishing cost of a pair is
the minimum over all randomised decision trees. The Shaltiel-free randomised query complexity is the maximum of over pairs supported on and .
Theorem 2.3 ([6, Thm. 24], via [5, Thm. 4.6]). For every possibly partial Boolean , . That is, there are distributions on and such that every randomised decision tree satisfies
A pair witnessing (4) will be called Hellinger-hard for . The point is that a single bound covers every at once, so it pins down the distinguishing advantage at every budget and not only around queries. This is precisely the “hard for all bias levels” guarantee that [5] was written to supply. A pair of comparable strength is also available from [7]. Note also that is at most the expected cost under the mixture , so (4) may be applied with the mixture cost on the right, which is the form we use.
We convert (4) into a statement about advantage using the standard chain of [6, Claim 10].
Proposition 2.4 ([6, Claim 10]). for any two distributions. In particular a tree of expected cost against a Hellinger-hard pair for distinguishes it with advantage at most .
2.6 The Blais–Brody block
Let . The pointer function of is defined on a array of cells over the alphabet
each cell carrying a bit, a list of pointers, and a single back-pointer. A 1-input has a unique all-one column, a distinguished special cell in that column, and the following conditions on the cells the special cell names. Write value, row and col for the three fields of a symbol. Then if and only if
(i) there is a unique special column , meaning value for every ;
(ii) within it there is a unique special cell ;
(iii) for every and every ;
(iv) writing for , the linked cells all have value = 0;
(v) exactly of the linked cells are good, meaning and .
Every other array is a 0-input. The feature that matters for us is that the whole of (i)–(v) is checkable from cells: (v) counts good cells among the linked cells, which the special cell names, rather than over the array at large, and (iv) exhibits a zero in every non-special column, which also rules out a second special column. So a 1-certificate has cells, and a verified certificate forces the input to be a 1-input.
Blais and Brody encode each alphabet symbol by a -resilient map
and set . Resilience means that any of the encoding bits of a cell are uniform and independent of the symbol. Then is total, its input length and complexity are
and the property we use throughout is that amplification is necessary:
The endpoint is worth pinning down, since one of our constructions sits near it. Theorem 1 of [4] states the separation for in terms of the input length of the encoded function; for , whose input length is , that is , and the proof gives the explicit form above — the constraint enters only through [4, Lem. 7], which yields on bits. So the admissible exponent is 1: property (6) is available for . All of our uses take with and are far inside the range; a noisy-oracle analogue, for the narrower range , is Theorem 10.3. Note for later that : running all blocks of a -fold composition at constant error costs , and running them at error costs .
3 Exact detectors separate LR from R
We first construct the weak evaluator used on the inside of our composition. It, necessarily, separates LR from R. The reason is general: for majority, a cheap one-sided test on a single randomly chosen block already produces a signed bias whose sign is the right answer — provided the test’s acceptance rate is a constant (i.e. it doesn’t depend on which 1-input it happens to be looking at).
3.1 The detector lemma
Lemma 3.1 (Exact detector to majority). Let g be a possibly partial Boolean function and let D be a randomised algorithm with worst-input expected cost at most T such that, for some
(7)
Then for every odd k,
Proof. Define an algorithm on : choose uniformly from and run on ; if it accepts, output 1; if it rejects, output 1 with probability
Let . By (7) the acceptance probability of the chosen block is — and this is the crucial point: it depends on alone, not on which 1-inputs happen to occupy the accepting blocks. Hence, writing ,
using , and therefore
Since is odd, , and its sign is positive exactly when , which is exactly when . So the output of is biased in the correct direction on every input, with
As runs on a single block, for every , and so pointwise.
Exactness in (7) isn’t a convenience, so it’s worth spelling out what goes wrong without it. Suppose the acceptance rate on a 1-input were merely some . Then the acceptance probability of the chosen block is , which is no longer a function of alone — and then no single affine correction can be calibrated at both boundary layers and at once, which is exactly where (8) is tight. In other words, a one-sided detector with a varying rate does not prove this lemma, without additional control on the variation in acceptance rates.
3.2 A detector for the pointer block
Lemma 3.2. There is a detector for with worst-case cost satisfying (7) with .
Exactness turns out to hang on details that [4] quite reasonably leaves to the reader, so we pin D down completely before proving anything about it. It is the PTRFCNSOLVER of [4] run with sampled set , decoding in full every cell it touches, with a reciprocal-pointer check inserted and the two branches that pseudocode leaves undefined nailed down.
Definition 3.3 (The detector ). Draw uniformly. Maintain a set of surviving candidate special columns, initially only ever shrinks, and is never refilled. Scan the cells of column in order. At , if value and lies in , then launch:
(1) put ; if , abandon the launch and resume the scan, leaving S unchanged;
(2) query and check the reciprocal pointer ; if it fails, abandon the launch and resume the scan, leaving S unchanged;
(3) while : pick any and put . If , end the launch. Otherwise query ; if its value is 0 delete from and continue the loop, and if not, end the launch. Neither ending step modifies .
(4) if , stop scanning.
After the scan, if run the closing check on the lone surviving column : read its cells and the cells named by its special cell, and accept if and only if clauses (i)–(v) of Section 2.6 are all verified (the uniqueness quantifier in clause (i) being verified via clause (iv), whose zeros exhibit a non-special cell in every other column, as noted in Section 2.6). If , reject.
Proof of Lemma 3.2. Cost. The scan reads the cells of column , so there are at most launches; step (2) adds at most one cell per launch. Each iteration of the loop in step (3) either deletes a column from — at most times over the whole run, since never refills — or ends its launch, at most once per launch. The closing check reads at most cells. So reads cells, hence bits, on every input and every draw of : the bound is worst-case, matching [4, Lem. 10] with replaced by 1.
Zero false-accepts. D accepts only through the closing check, which verifies clauses (i)–(v) on cells it has read; this is the perfect soundness recorded in [4, Lem. 10], and the inserted check only ever abandons launches, so it creates no acceptances. Locality is what makes the closing check possible at cost , and clause (v) supplies it: good cells are counted among the q - 1 linked cells, all named by the special cell, so no quantification over the whole array is involved.
Exactness. If then every cell of column has value 1 by clause (i), so no launch ever fires, at the end of the scan, the closing check is skipped and rejects. So assume , fix a 1-input and condition on , making the run deterministic. Classify each launch by the candidate it reaches at step (1):
(A) , the true special cell;
(B) but ;
(C) .
Type (B) never survives step (2), since clause (iii) forces . Type (C) needs a separate argument and is the reason the special column's structure is used: on a 1-input every cell outside the special column and the linked set is unconstrained, so an adversarial input may plant at a fake candidate and pass step (2).
Claim 1: type-(C) launches are inert. Such a launch never deletes , since step (3) draws from ; and it never deletes , because if is drawn then either and the launch ends without touching , or is a cell of the all-ones special column, so its value is 1 and the launch again ends without touching . As a launch stops the first time it ends, is examined at most once and survives. Hence throughout, so : no type-(C) launch reaches step (4), and none can leave for the closing check.
Claim 2: a good column is always accepted. Suppose is good. Earlier launches can only have shrunk , and by Claim 1 and the fact that type-(A) launches also draw , none has deleted . So the launch condition still holds when the scan reaches , and goodness gives , a type-(A) launch, whose step (2) passes because . In step (3) every has and value by clause (iv), so every iteration deletes a column and the loop exits with . The closing check then verifies (i)-(v) on a genuine 1-input, and accepts.
Claim 3: a non-good is always rejected. Acceptance needs , hence some launch that reduces to a singleton. Type (B) is abandoned before is touched and type (C) cannot do it by Claim 1, so the launch is of type (A). Its cell passes step (2) only if , forcing ; and producing the candidate at step (1) requires and — exactly goodness of , contrary to hypothesis.
Combining, accepts if and only if is one of the exactly good columns, so
on every 1-input: a function of the draw of J alone, with no dependence on the unconstrained cells.
There are two separate mechanisms in that proof, and they're worth pulling apart, because it's tempting to credit both of them to the reciprocal check. Clauses (i)–(v) constrain only the special column and the linked cells, so an unrelated zero cell of column J may carry a column pointer anywhere. The reciprocal check filters candidates that name the true special cell, cutting type (B) and pinning type (A) to the linked cell; candidates naming fake cells pass it and are instead neutralised by Claim 1, which is where the all-ones special column plays its role. Take away either one and the acceptance rate starts depending on which 1-input is present rather than only on the draw of J — and by the remark after Lemma 3.1, that's fatal.
Remark 3.4. Two properties of the pointer construction in [4] are essential here. First, goodness in clause (v) is locally checkable, being a count over the linked cells rather than over the array; had the clause quantified over every cell, a 0-input could pass an -cell check and soundness would fail. Second, the special column is all ones, which is what makes fake candidates unable to delete it and hence unable to reach the closing check. The same clause fixes the number of good cells at , hence in the hard distributions of Section 7 and the likelihood ratio there, so one reading of the definition serves both. Everything downstream of Lemma 3.2 is insensitive to the value of provided it is a constant and it is exact.
3.3 The separation
Theorem 3.5 (Majority family, linearised versus randomised). Let , a total function on bits. Then
Proof. Lemmas 3.1 and 3.2 with , and give . For the lower bound, Theorem 2 of Göös and Maystre [14] — their Majority Lemma — states that
with worst-case depth on the left and -error expected cost on the right. The restriction is not part of the statement but a standing notational assumption of [14], and is harmless here. With and (6) the right side is .
Since , this separates R from every earlier measure in the chain on as well. What it doesn't tell us is anything about how RS, and LR compare to each other on ; for that we need a different family, which is what Section 8 is for.
3.4 Composition with a total inner function
Every composition counterexample in [13, 6, 8] uses a partial inner function. Theorem 3.5 lets us drop that.
Corollary 3.6. There is a partial function F and a total function G with
and indeed with .
Proof. Take and ; [8] characterise LR by
valid once is large enough relative to the input length of . It suffices to take a sufficiently large constant multiple of [8, Lem. 15]. Dividing,
There’s a size caveat here, and we’d rather state it plainly than bury it. It turns on the indexing convention of [6, 8]: ApproxIndex_K takes a K-bit address together with an array of entries, so its own input length is while . With one may take , and the composed input then has length , so that . The gap is in the natural parameter but only in the length of the composed input.
4 A total separation between noisy and ordinary queries
We construct total Boolean functions for which weak noisy queries are asymptotically cheaper than ordinary randomized queries. The construction uses an approximate-address promise problem, an AND-of-ORs enlargement, and a certificate array. The certificate array follows the cheat-sheet method of [1], with an additional linear encoding that conceals every cell's contents until a constant fraction of that cell is read. The proof below includes the needed distributional and encoding arguments.
A noisy query to a bit with correlation returns with probability and costs ; its randomness is independent of the other queries. Exact queries have correlation one. We define noisyR using worst-input expected total cost and error at most 1/3. Every noisy algorithm constructed in this section satisfies the stronger requirement of a worst-case bound on its total cost.
Theorem 4.1 (Total noisy-query separation). There is a family of nonconstant total Boolean functions , , such that, writing ,
Consequently . If denotes the number of input bits, then , giving a separation of for sufficiently large .
The long address length makes the probabilistic estimates elementary. In particular, this construction uses address bits, rather than a logarithmically optimized address length. The constants and the linear-cell parameters below are also useful for the total composition construction.
4.1 The seed and its hard distribution
Fix , and abbreviate
The partial function has an address and two table bits for each . Its value is when
Values outside the ball are unrestricted. The ball is nonempty, so the two promised values are disjoint. A canonical promised input sets inside the ball and outside it. The latter convention is essential: the value is not copied into the erased part of the table.
Lemma 4.2 (Seed estimates). The seed has a noisy algorithm of cost and error at most on its domain. Moreover, let a be uniform and fix z. For any adaptive ordinary-query algorithm on , the probability that it ever queries a table location inside the ball is at most
The expectation and probability can also include independent algorithmic randomness and any fixed auxiliary input.
Proof. Query each address bit once at correlation and call the resulting address . The number X of incorrect address bits has mean and variance at most . Thus
An exact query to finishes the algorithm. The cost of the address queries is .
For the second assertion, run an erased-table simulation: answer address queries correctly and every table query by zero. Until the first query inside the ball, its transcript agrees with the real transcript. Condition on any erased transcript containing at most d queries. The unqueried address coordinates remain independent unbiased bits. For any next table address b, membership in its radius-r ball implies that the sum of the remaining independent signs is at least
For independent unbiased signs, the fourth moment of their sum is . Markov's inequality therefore bounds the conditional probability of membership by
A union bound over the first table queries, or over the first queries of any kind, gives probability at most . If the first query inside the ball occurs later, the real algorithm has made at least queries, because the two transcripts agree up to that query. Markov's inequality gives the other term of (11). Repeated queries only decrease the number of fixed address coordinates and cause no change in the argument.
4.2 A core with cheap certificates
The partial core is a array of seed inputs. Define its value by the following two disjoint conditions:
: every row contains a promised seed of value 1;
: some row consists entirely of promised seeds of value 0.
All other inputs are outside its domain. Thus seeds that are not needed for a witness need not satisfy their promise. A witness for value one specifies a column in each row; a witness for value zero specifies one row. Write
for the tagged witness alphabet. Given a proposed value and witness, an exact verifier reads the u indicated seeds in full, using queries. A witness of the wrong type is rejected. Soundness holds on every Boolean input, and every defined core has a witness for its value. In particular no core can have witnesses for both values.
We record the robust evaluation fact that avoids a logarithmic loss in the size of the array.
Lemma 4.3 (Robust AND-of-ORs evaluation). Suppose one can call an independent randomized procedure for each entry of an array, at worst-case cost at most B per call. On promised zero entries its probability of returning one is at most 1/3, and on promised one entries it is at least 2/3; it may behave arbitrarily on other entries. The partial AND-of-ORs rule above can be evaluated with error at most 1/100 and worst-case cost at most . Consequently noisy .
Proof. First consider OR on m entries. Visit the entries in order. At the current entry start an integer score at ten, increasing it by one on a returned one and decreasing it by one on a returned zero. When it hits zero, move to the next entry with score ten. Reject if all entries are exhausted; accept if 3000m calls have been made without exhaustion.
If all entries are promised zero, the expected time to decrease a score of ten to zero is at most thirty. This follows by stopping the process with potential three times its current score; its expected decrease per call is at least one. Applying the same potential to the sum of the current score and ten times the number of unvisited entries gives expected exhaustion time at most 30m. Markov's inequality bounds acceptance at the cap by 1/100. If some designated entry is promised one, its score walk, once reached, has probability at most of ever reaching zero. Indeed is a nonnegative supermartingale for an upward step probability at least 2/3; stopping at zero proves this bound. Rejection requires exhausting this designated entry. This argument does not constrain the biases of the other entries. The OR procedure therefore has the claimed one-sided guarantees and a fixed cap.
Apply it to each row to make a fresh row procedure, and apply its dual AND procedure to these row procedures. On a defined one input every row procedure returns one with probability at least 99/100. On a defined zero input one row procedure returns one with probability at most 1/100, and the other rows can behave arbitrarily. These are the guarantees required by the dual procedure. There are at most entry calls; the displayed bound leaves harmless slack. Use Lemma 4.2 for the final assertion.
Lemma 4.4 (An explicit hard distribution for the core). There is a distribution supported on the domain of such that every ordinary-query tree of depth at most
has success probability at most 5/8, and hence at most 2/3, under . In particular .
Proof. Choose independent uniform hidden columns . The positive matrix has a single one in each row, at its hidden column. The negative matrix is obtained by choosing an independent uniform row and changing its hidden one to zero. Choose between these matrices with equal probability, calling the choice Z. Replace every matrix entry by for an independent uniform address . This defines , and the resulting core has value Z.
We first recall an elementary search estimate. A procedure searching for one uniformly hidden item among u positions satisfies
To see this, fix all external randomness and follow its all-misses path. If this path examines distinct positions, the probability of finding the item is , while the expected number of examined positions is at least . Repeated queries only increase cost.
For any adaptive matrix-query tree, couple the positive input with the negative input by deleting a uniformly chosen row's hidden one. Their transcripts differ only if the positive run queries that particular one. Apply the search estimate in each row after fixing the other hidden columns. If K denotes the number of matrix queries on the positive distribution, the success probability for the fair positive/negative mixture is at most
This remains true for stopping trees and randomized trees.
Now simulate a Q-query tree for the seed array by a matrix-query algorithm. Sample all seed addresses first. Address bits, presence bits, and outside-ball value bits can be answered without reading the matrix. Query a matrix entry only when the first inside-ball value bit of that seed is requested, and cache its answer. The simulation is exact. For each fixed matrix, condition on the addresses of the other seeds and apply (11) to one seed's projected tree. Average again and sum over the seeds. The sum of their actual local query counts is at most Q, so
Notice that this sums expected local costs, not a worst-case budget allocated separately to every seed; the algorithm may allocate its queries adaptively. Combining with (12) bounds its success by
At this is at most , already for .
4.3 Private cells and a list direct-product bound
Lemma 4.5 (A linear encoding with private marginals). For every integer there is a surjective linear map
such that the uniform distributions on any two fibers of have identical marginals on any set of at most 12a input coordinates. These marginals are uniform. Every nonempty finite alphabet of size at most therefore has a total decoding from 36a bits with this property for any chosen representatives of its symbols in .
Proof. Choose an binary matrix uniformly. Each nonzero linear combination of its rows is a uniform binary vector. If Y is the weight of such a vector, Markov's inequality gives
The union bound over fewer than nonzero combinations is strictly less than one, since . Fix a matrix for which every nonzero combination has weight greater than 12a.
After deleting any 12a or fewer columns, the remaining matrix still has full row rank: otherwise a nonzero row combination would be supported on the deleted coordinates. Thus any assignment on the deleted coordinates has the same number of completions in each fiber, namely . This proves both assertions about the marginals. For the alphabet assertion, compose with any fixed surjection from onto the alphabet. To specify the construction uniquely, order the matrices and alphabet elements lexicographically, choose the first matrix with the stated row-weight property, and choose the first surjection in these orders. Representatives of decoded symbols can likewise be chosen lexicographically. No efficient construction of this encoding is needed in the query model.
We need a direct-product estimate that also permits a short list of guesses. Its elementary proof is included to specify the query-budget dependence; for related decision-tree direct-product theorems, see [12].
Lemma 4.6 (List direct product). Let be a distribution on the domain of a partial Boolean function . Suppose every tree of depth at most has success at most under . A tree making at most queries to independent inputs from , and outputting a list of at most vectors in , satisfies
The same bound holds for randomized trees.
Proof. For a nonnegative subdistribution , let be the maximum weighted success of a depth-t tree. There are finitely many such trees, and a query's two restrictions obey
Also is the larger of the two label masses, so it is at least half the total mass.
At a node of a tree on the product distribution, retain unnormalized restrictions of each input distribution. If queries have been made to block i, associate to that block the potential
Let the node's potential be . The sum of the two child potentials never exceeds the parent's potential. Below the threshold this follows from the query inequality for opt; above the threshold it is conservation of mass. At the crossing query it follows from . Consequently the sum of leaf potentials is at most .
For any one answer vector at a leaf, the weighted correctness mass in a block with is at most , and in a block with is at most . There are at most blocks of the latter kind. Independence of the unnormalized restrictions at a fixed transcript makes the joint correctness mass their product. Sum this bound over the at most vectors and then over the leaves. Averaging over a randomized tree preserves the inequality.
4.4 The total certificate function
Set
An input to consists of core inputs and a 36a-bit cell for each . The cell alphabet is , a flag together with one witness per core. It fits into bits because . Fix the total decoder of Lemma 4.5 for this alphabet.
Definition 4.7 (The total outer function). The value is one if there exists an address such that decodes to a flag of one and witnesses verifying for every . Its value is zero otherwise.
This is a total Boolean rule. If any address can accept, all cores are defined and the accepting address is necessarily their unique answer vector. In particular a malformed core causes rejection at every address. Given a proposed address, checking its cell exactly costs
queries, including the witness verifications. The function is nonconstant: all zero flags give a zero input, and promised cores with a valid flagged witness cell give a one input.
Lemma 4.8 (Noisy upper bound). noisyR(W_q) = O(c log(c + 2)u^2q^2).
Proof. Use Lemma 4.3 to evaluate each core and amplify its answer to error at most by independent repetitions. Use the resulting vector as an address and run its exact verifier. On a zero input no verifier can accept, irrespective of the estimated answers or of promise violations. On a one input every core is defined, so with probability at least 5/6 all estimates are correct and the accepting cell is verified. Equations (14) and Lemma 4.3 give the cost.
Lemma 4.9 (Ordinary-query lower bound). For , .
Proof. Suppose a randomized algorithm has depth at most , where , and error at most 1/3 on every input. Fix representatives in for the cell alphabet. Choose one representative whose decoded flag is zero. Fill every cell independently and uniformly from ; call this the invalid array distribution. It is independent of the cores, and always gives a zero input to .
Fix any tuple of defined cores, let y be its answer vector, and select valid witnesses for these answers. Let be their flagged payload representative. Replacing just cell y by an independent uniform element of always gives a one input. The difference in acceptance probabilities between these two distributions is therefore at least 1/3.
Fixing the algorithm’s coins, the cores, and all other cells leaves an adaptive tree on the bits of cell y. Its transcript distributions on the two fibers agree until it has made more than 12a queries to that cell, by Lemma 4.5. This assertion permits repeated queries, since at most that many distinct coordinates have then been seen. More explicitly, stop the tree just before its st cell query and attach a fixed output at every stopped node. The stopped tree has identical output distributions under the two fibers, and the probabilities of reaching a stopped node are identical as well. Comparing the original tree to the stopped one on each fiber bounds its acceptance difference by twice this probability under the invalid fiber. Average back over the other cells and the algorithm’s coins. It follows that
Record the list of all cells to which more than 12a queries are made. There are at most such cells, since . For each fixed invalid array and fixed random seed, substitute all its cell bits by constants in the original tree. Keeping the recorded list as the output produces a tree on the cores alone, of depth at most . This substitution is legitimate even though the queried cells were chosen adaptively: they are simply recorded along each path before the constant queries are removed.
Now draw the c cores independently from . Equation (15) says that the list contains their answer vector with probability at least 1/6, averaged over the fixed arrays and random seeds. On the other hand Lemmas 4.4 and 4.6, applied to every such substituted tree, give
Here and . The same bound holds after averaging over arrays and coins, contradicting 1/6.
Lemmas 4.8 and 4.9 prove Theorem 4.1. Its input length is . Since whereas , the first summand dominates for sufficiently large and .
4.5 Comparison with the linearised separation
The resources purchased by LR and noisyR are different. In the definition of LR, an ordinary-query algorithm may return an answer with small positive bias, and its query cost is divided by that output bias. In the noisy model the algorithm purchases weak information about individual input bits, paying the square of each query's correlation, but it must still compute the function with constant success probability. A small-bias evaluator does not by itself give a comparably cheap noisy evaluator: ordinary amplification of output bias can require order repetitions.
Both separations nevertheless use weak information whose value is lost when each intermediate answer must be reliable. For the pointer-based linearised separation, an exact one-sided detector is sampled to obtain a uniformly weak answer to a majority. Here many weak address samples jointly locate a table entry in a large Hamming ball. Robust AND-of-ORs evaluation increases the ordinary cost much more than the certificate cost, and the certificate array turns the promise algorithm into a total algorithm. Exact verification is affordable because only one cell is checked. The private encoding prevents an ordinary algorithm from learning which cell to inspect through cheap exploratory reads of many cells.
Neither separation alone supplies a total–total composition counterexample. The known inner and outer composition lower bounds [8, 6] require, respectively, a gap between LR and R for the inner function and a gap between noisyR and R for the outer function. One must also implement the weak address samples using the inner evaluator and pay for the final exact verification. The construction above isolates the outer part of that task: it provides a total function with a fast weak-information algorithm, cheap exact certificates, and an ordinary lower bound that remains valid despite the certificate array.
5 Failure of perfect composition for total functions
We now use the total function from the certificate construction of Section 4 as an outer function. Its certificates let us turn a fast algorithm for a partial composition into a fast algorithm for a total composition. The inner function has a cheap weak evaluator but requires substantially more queries for constant error.
We retain the notation of the preceding construction:
(16)
Thus a seed has Boolean coordinates, the partial core is a array of seeds, and has cores and one -bit certificate cell for each address in . In particular, has
input bits. We specialize to , so for .
Theorem 5.1 (Total-total failure of perfect composition). There are explicitly specified total Boolean functions and , with , such that
Here and below composition places an independent copy of the inner function at every Boolean coordinate of the outer function. Both functions are nonconstant. Consequently perfect randomized composition fails even when both the outer and inner functions are total.
All algorithms constructed for the R upper bounds have a worst-case query bound, and R has error at most 1/3. The proof will establish, for an absolute constant K and all sufficiently large s,
The first inequality is the outer lower bound of Lemma 4.9. We prove the other two below, together with matching bounds and the optimality of this saving for the inner family.
5.1 The total inner function and its weak evaluator
We specify the pointer predicate because two features of its definition are used quantitatively: only the special column and its linked cells need to be checked, and exactly half the nonspecial columns are good. The Boolean encoding in this section is deliberately longer than the succinct encoding used for the earlier families. We distinguish it by hats throughout.
A pointer cell is an element of the finite alphabet
Its components are a value bit , row pointers for , and a column pointer col. An input is a array of these cells. The predicate is one precisely when there are a cell and rows satisfying the following conditions:
(i) every value bit in column is one;
(ii) if and , then ;
(iii) for every , and ;
(iv) exactly columns satisfy and .
These columns, and their linked cells, are called good. All fields not constrained by these conditions are unrestricted. The predicate is zero on every other array. Condition (iii) makes the unique all-one column; condition (ii) then makes the special cell unique when .
Given a proposed special cell, reading its column and the cells it links to verifies all four conditions using at most 2q cell queries.
Since
fix an injection of into and a total decoder back onto that inverts that injection. Compose this decoder with the private linear map of Lemma 4.5, with payload length . Thus each physical cell has
bits, and every assignment to its bits decodes to a pointer cell. Let be after this cellwise decoding, and set
These are total Boolean functions. The input length of is .
Lemma 5.2 (Exact detector). There is an algorithm using at most bit queries such that, on every input ,
Proof. We describe a cell-query algorithm and read each requested cell in full. Choose a column J uniformly. Maintain a set E of possible special columns, initially [q], and scan column J from top to bottom. A scanned zero cell launches a candidate only if its column pointer belongs to E and its row pointer to is a row . Read and require the reciprocal pointer
If this fails, resume the scan. If it holds, repeatedly choose a column . If the candidate's row pointer to is null, end this launch. Otherwise read the pointed-to cell in column . A zero deletes from ; a one ends the launch. If becomes a singleton, verify the candidate special cell by the 2q-query check above and return the result. If the scan ends without a singleton, reject. Failed launches never refill .
There are at most q scan queries, at most q reciprocal-check queries, at most q - 1 successful deletions, and at most one unsuccessful elimination query per launch. The final verification uses at most 2q queries. This is bounded by on every array, including arrays that do not satisfy the pointer predicate. Verification gives perfect soundness.
Fix a positive array with special cell . The column is never deleted: every cell in it has value one. A candidate in column but outside row fails the reciprocal check whenever , by condition (ii). A candidate in another column cannot reduce E to a singleton, since both and survive that launch. Thus only the true special cell can initiate a successful launch.
If is good, scanning reaches its linked cell unless an earlier successful launch has already accepted. Its pointers identify the true special cell, the reciprocal check holds, and every subsequent elimination follows a link to a zero. The algorithm therefore accepts. Conversely, a successful launch must have identified . The reciprocal check forces the scanned row to be , and its two back-pointers then say exactly that is good. If no launch starts, since its value bits are all one. Acceptance is therefore equivalent to choosing one of the good columns, even with arbitrary values in every unconstrained field.
Lemma 5.3 (Weak evaluation of the total inner function). For odd , an algorithm using at most queries satisfies
Proof. Choose one of the q pointer blocks uniformly and run on it. Accept if that detector accepts; otherwise accept with probability
If t blocks have value one, the acceptance probability p satisfies
The sign is the majority value. Since is odd, ; also , so .
Lemma 5.4 (Linearised cost of the inner function). For odd ,
Consequently every nonconstant outer Boolean function F satisfies
Proof. Lemma 5.3 gives the upper bound: its cost is and its signed bias is at least .
For the lower bound, fix a logical majority input with exactly positive pointer blocks. Each positive block has individually pivotal cells in its all-one column: changing the value bit of any one of them to zero destroys that column, while every other column already contains a zero. There are therefore pivotal cells. Encode every cell independently and uniformly in the fiber of a fixed representative of its symbol; call the resulting positive-input distribution . For each pivotal cell , replace only its fiber by that of the modified symbol. The resulting distribution is supported on negative majority inputs.
Let have positive signed bias everywhere, and let bound its pointwise expected-cost-to-bias ratio. Write and . Its acceptance probabilities under and differ by . Stop the algorithm just before its st query to cell . The stopped transcript laws agree under the two distributions by Lemma 4.5, as do the probabilities of reaching the stopping point. Comparing each original execution with its stopped version gives
The argument includes the algorithm’s randomness and permits repeated queries. Summing over the pivotal cells yields
Cancel and take the infimum over A.
Finally, repeating the exact detector times on each of the pointer blocks determines all their values with probability at least . Thus . The inner composition bound now proves the last assertion.
5.2 A self-contained lower bound for the inner function
We next prove (19) directly. We first work with full-cell queries to and then transfer the lower bound through the private cell encoding. In this proof put , reserving for the much larger core width.
Two pointer distributions. Choose independent uniform hidden rows , one in each column. The negative input has a zero at in every column, ones everywhere else, and all pointers null. Denote its law by . For the positive law , also choose a uniform set of size and a uniform distinguished element . Change the hidden cell in column to a one with row pointers to every other column. For each , give the hidden zero the back-pointers and . All other pointers stay null. This is a positive pointer input with exactly good columns. Both distributions are thus supported on the stated labels.
Lemma 5.5 (Exact local likelihood). Consider a finite set of full-cell observations compatible with a negative input, and let h be the number of columns whose hidden zero has been observed. If are the probabilities of those observations under , respectively, then and
For and , this ratio lies in .
Proof. Condition on the observations under . A discovered column has its hidden row fixed; in an undiscovered column the hidden row is uniform over the rows not queried. The choices remain independent between columns. A positive sample agrees with the same observations if and only if its negative sample agrees and B avoids all discovered columns. Indeed, a hidden cell in a column of B is changed visibly: it is either the special one or carries a nonnull back-pointer. Conversely, all observed cells agree when B avoids the discovered columns. The probability of avoidance is exactly the right-hand side of (22); choosing a distinguished member of B does not alter it.
The upper bound is immediate. Writing the ratio as the product of successive avoidance probabilities, each factor is at least when and . Explicitly the factors are for . This proves the lower bound.
The lemma applies to a local portion of an adaptive transcript. Once the full transcript is fixed, its local condition is simply a set of observed cells and answers. Repeated queries impose no new conditions.
Lemma 5.6 (Hidden-row search). Fix any pattern of positive and negative pointer blocks, and draw the blocks independently from their corresponding distributions. For a full-cell algorithm using at most T queries, let H count the discovered hidden cells in negative blocks. Then
The same bound holds after conditioning on the number of positive blocks.
Proof. Fix the positive inputs and every negative hidden row except that of one particular negative column. The remaining random choice is a uniform location in [q]. Before its first hit, the algorithm’s queries in this column follow a fixed sequence; all other queries can be simulated from the fixed data. Let be the number of distinct locations on its no-hit path. Its hit probability is . The expected number of queries in that column is at least
Queries after a hit and repeated queries can only increase the cost. Thus the probability of discovering this hidden cell is at most 2/q times the expected number of queries in its column. Average over the fixed choices and sum over negative columns. The total number of queries charged is at most T. Conditioning only on the number of positive blocks is an average of the fixed-pattern cases.
Posterior variance. Initially give each block an independent fair label and then sample it from or . Let be the probability of an adaptive query transcript . Conditional on any positive-probability transcript, the block inputs, and hence their labels, remain independent. To see this, fix the leaf and its entire sequence of queries and answers. Compatibility imposes one condition on each block separately, so restricting the product prior still gives a product. Write for the posterior probability that block is positive, and put
At zero-probability transcripts, define the local posterior as zero whenever its local normalizing mass is zero. Such transcripts have zero mass under every label-count conditioning and do not affect any of the following sums.
On a block whose transcript is compatible with a negative input, let a be its likelihood ratio in (22). Equal prior weights give
If that block has discoveries, Lemma 5.5 therefore gives
For and , choose
In either central label layer, with or positive blocks, at least blocks are negative. If , at most of these blocks have at least discoveries. At least negative blocks consequently have fewer than discoveries. Since , (23) implies . Markov's inequality and Lemma 5.6 now yield, under each central layer,
For the last, deliberately loose bound, use and the definition of .
Lemma 5.7 (Adjacent probabilities of a Bernoulli sum). Let be independent Bernoulli variables, let , and let . Then
Proof. For of mean , let . Since
we have . Fourier inversion here follows simply by expanding the finite product and using the integral of over . Consequently
The substitution is .
Lemma 5.8 (Hardness of the central layers). For and , every full-cell algorithm of depth at most T from (24) has success at most 3/5 under a fixed distribution on inputs to .
Proof. Use the independent fair-label prior above, condition it on or positive blocks, and mix the two conditional laws with equal probability. These two laws have majority values zero and one. Their conditioning events have the same prior probability
If denotes the probability that independent Bernoulli variables with parameters sum to , Bayes' formula gives their transcript probabilities as
For a positive-mass transcript this follows from the product posterior. If a local mass vanishes then the full leaf mass and both conditioned leaf masses vanish, so the identity holds there as well.
On , Lemma 5.7 bounds by . On the complement use the sum of the two masses. From (25) we obtain
There is no inverse-prior loss on the exceptional event: its probability was bounded separately under each conditioned layer.
For completeness, for . At this follows from . The recurrence
preserves the inequality because . In particular . The choices in (24) satisfy
Indeed, , , and . Hence .
The success of any binary decision rule on equally likely distributions is at most one half plus one quarter of their distance. This follows pointwise from . Thus (26) bounds success by
The argument applies to every deterministic adaptive tree. Averaging over independent coins gives the same bound for randomized trees with that worst-case depth.
Lemma 5.9 (Transfer through the private encoding). Suppose every full-cell tree of depth at most T has success at most under a distribution on cell arrays. Encode the cells independently using the 36b-bit private encoding of Lemma 4.5. The resulting total Boolean function satisfies
Proof. Fix one b-bit representative payload for each alphabet symbol and encode it uniformly in its linear fiber. The first 12b distinct bits observed in any cell are jointly uniform, independently of its symbol. Simulate a Boolean query algorithm while postponing each cell query until the st distinct bit requested in that cell. Before that point, answer fresh bits by independent fair coins and remember repeated answers. Upon reaching the threshold, query the cell's symbol and sample the rest of its physical encoding uniformly conditional on the prefix already given. The privacy property makes this conditional law well defined for every prefix and symbol.
The simulation has exactly the original transcript law under the encoded input distribution. Each full-cell query is charged to distinct bit queries in its cell, so a bit algorithm using fewer than queries produces a randomized cell algorithm of depth at most . Its distributional success is at most . A worst-input 2/3-correct bit algorithm would have distributional success at least 2/3, a contradiction.
Apply Lemmas 5.8 and 5.9 with and . The encoded function is exactly , after flattening its coordinates. Since , we obtain
which proves (19).
5.3 A fast algorithm for the composed seed
Recall the partial approximate-index seed of Lemma 4.2. Its Boolean input consists of an address and a presence bit and a value bit for each table location. On a valid input, the present locations are exactly the Hamming ball of radius around , and all their value bits are a common output .
Lemma 5.10. The partial composition has an algorithm with error at most on valid inputs and worst-case cost
The cost bound holds also on every input outside its promise.
Proof. Independently run the weak evaluator of Lemma 5.3 on each address block, producing . For a fixed input, its coordinate errors are independent and each has probability at most . Thus
The distance from this mean bound to is . Chebyshev's inequality gives
Read in full the block corresponding to the table's value bit at , evaluate it deterministically, and return its value. The presence bit need not be read. If is in the promised ball, this output is z. The weak calls and one full inner input cost exactly the bound in (27). Every step has the same bound on a raw input that fails the seed promise.
5.4 From the composed core to the total composition
The seed algorithm already has error . We preserve this accuracy through the core, so that all answers are correct with high probability without a further amplification step.
Lemma 5.11 (Robust evaluation at small error). Let . Suppose each entry of an array has an independent randomized oracle, using fresh randomness on each call and at most B queries. On a promised entry its error is at most ; on other entries its output distribution is unrestricted. The partial short-circuit AND-OR rule can be evaluated with error at most using at most queries on every input.
Proof. We first evaluate an OR of m entries, promised either to have a promised one-entry or to consist entirely of promised zero-entries. Visit the entries in order. Start each entry's score at one, add one on an oracle answer of one, and subtract one on an answer of zero. Move to the next entry when its score reaches zero. Reject if all entries are exhausted, and accept if 3m oracle calls have been made before exhaustion.
On an all-zero input, couple the execution to the uncapped walks. If is entry 's acceptance probability, its hitting time of zero satisfies
For completeness, stopping the score after steps and taking expectations gives ; monotone convergence makes integrable, and summing the independent increments up to this hitting time gives the displayed equality. False acceptance requires . Subtracting the unavoidable first calls before applying Markov's inequality gives
On a promised one-input, fix a promised one-entry. Rejection requires its upward-drifting walk to hit zero, an event of probability at most . This is the usual hitting probability from initial score one. For it follows by stopping at zero or a level and sending to infinity; for the walk never hits zero. If an earlier undefined entry consumes the query budget, the algorithm accepts, which is correct in this case. Thus the OR has error at most and uses at most calls.
Apply this procedure to each row and then apply its complemented version to the row outputs to compute their AND. An undefined row may have any output distribution, exactly as permitted above. Each row call uses fresh randomness. The total number of entry calls is at most , and the error is at most
Lemma 5.12 (Matching outer upper bound). for .
Proof. For an ordinary seed algorithm, read fixed address coordinates exactly and fill the others with independent fair bits. The resulting address has mean Hamming distance from the true one, leaving slack below , and variance at most . Chebyshev's inequality bounds the probability of missing the ball by . One query to the selected value bit finishes the seed evaluation, at total cost .
Lemma 5.11 gives a core algorithm with cost and error at most . Evaluate all cores this way and check the proposed certificate exactly, at the additional cost from (14). For sufficiently large , , so this computes the total function with cost . Lemma 4.9 gives the matching lower bound.
Recall that is the partial short-circuit AND-OR of seed blocks. It is one if every row contains a valid one-seed, and zero if some row consists entirely of valid zero-seeds. The remaining blocks may be undefined. The two cases are disjoint. The robust evaluator of Lemma 5.11 therefore applies to Lemma 5.10: a seed algorithm on an undefined block may have any acceptance probability, while a valid block has error at most . It gives a core algorithm with error at most and cost at most
on every raw input. Its error guarantee holds whenever the vector of inner outputs is in the domain of .
Now consider an arbitrary input to . Estimate the core values with these algorithms, obtaining a candidate certificate-cell address . Evaluate all outer bits of cell by reading their inner blocks in full, and decode the resulting payload. If its flag is zero, reject. Otherwise its witnesses name one seed per row for a claimed one-core, or one row for a claimed zero-core. For each core, evaluate every bit of the selected seed blocks by reading the corresponding inner blocks in full, and verify all seed promises and claimed values. Accept exactly when all these checks pass.
This algorithm never falsely accepts. A passing cell is by definition a certificate for the value one of the total function , independently of the estimates that led to its address. In particular, if any core is undefined, every candidate fails verification. On a positive input all cores are defined, and the unique accepting address is their output vector. With probability at least for sufficiently large , every estimate is correct, so the algorithm reads and verifies that accepting cell.
The verification uses at most outer-bit evaluations, each costing bit queries. The complete bound is
Since , , and , this is , proving (20).
Proof of Theorem 5.1. The total outer lower bound (18), the inner lower bound (19), and (20) give
Conversely, Lemma 5.4 bounds the saving by for every outer function. This gives the matching bound on the ratio. The pointer predicate has both a negative input and a positive input by its two explicit distributions; its decoder is surjective, so is nonconstant. The certificate construction has zero inputs by setting every decoded flag to zero, and positive inputs by taking defined cores and placing their valid witnesses in their correct address. Thus is nonconstant as well. All coordinates can be flattened to ordinary Boolean strings; this changes neither query complexity nor block composition.
The bounds also identify the individual complexities up to constants. Lemma 5.12, the inner lower bound (19), and the detector upper bound give
Here . Combining the inner composition lower bound with Lemma 5.4 and (20) also gives
Write and for the outer and inner input lengths. The outer length is : in (17), the core array dominates the certificate array since and . The inner length is . Since and , the individual complexities in their own input lengths are
Using the same couples these lengths by . Their composition therefore has length
It follows that and , giving the input-length formulation in Theorem 1.1. The saving is . Lemma 5.4 shows that replacing the outer function cannot give a larger asymptotic saving with this inner family.
5.5 The machine-checked formulation
The Lean certificate proves the total–total little-o statement for the same construction on the subsequence
It uses a constant-error robust core evaluator followed by explicit iterated-majority-of-three amplification. The paper instead preserves the seed’s small error through the core using Lemma 5.11, avoiding this amplification step. Starting from error at most 1/3, three such stages reduce the error to at most 1/6; another j stages give error at most and multiply the query bound by . These claims follow from the exact error polynomial . Taking makes the sum of the core error probabilities at most 1/6. The checked upper bound, combined with the checked lower bounds, consequently gives the ratio
For example implies . The sharper rate stated in Theorem 5.1 uses the small-error robust evaluator and the matching linearised lower bound above. These refinements are not part of the Lean certificate. The formalized theorem concerns ordinary randomized query complexity and ordinary block composition of total Boolean functions, with no unproved mathematical assumptions.
6 Sabotage does not pay for amplification
The parity family gives a simple separation between sabotage and randomized complexity. A sabotage algorithm can stop as soon as it finds a damaged bit, whereas computing the parity requires reliable answers from every block. The following scan lemma isolates this difference.
Lemma 6.1 (Sabotage scan). Let be a possibly partial Boolean function and a possibly partial Boolean function on bits. If computes with worst-input error at most and worst-input expected cost at most , then
In particular .
Proof. Write and fix a sabotaged input for , with wildcard symbol . By definition there are and in , both agreeing with every Boolean coordinate of , with . The two outer strings and are therefore different, and we may fix a witness block with .
Run A on a sabotaged block in the obvious way: answer honestly whenever it queries a Boolean coordinate, and halt successfully whenever it queries a wildcard. Couple this simulation with the executions of A on and on by giving all three the same internal random string.
Fix that random string, and suppose the simulation on the witness block never queries a wildcard. Then every answer it receives agrees with and with , so the deterministic executions of on and on follow the same path and produce the same output. As , they cannot both be correct. Contrapositively,
,
and a union bound — requiring no independence — bounds the probability of the left-hand event below by .
A scan runs the simulation with fresh coins on blocks 1, 2, ..., k in turn, stopping as soon as a wildcard is found. It succeeds with probability at least p, since the witness block is reached whenever every earlier block fails. Its expected cost is at most kT: for block i, pick the completion ; until a wildcard is found the simulation's query sequence is a prefix of the coupled execution of A on , and finding a wildcard can only stop it earlier, so block i contributes at most T.
Repeat independent scans until one succeeds and output the wildcard symbol found; this is zero-error. If is the cost of the th scan and the event that scans all failed, then is independent of , so
Notice that the proof never actually locates the witness block, and never needs to: j and the completions X, Y show up only in certifying that each scan succeeds with probability p. Notice also that nothing depended on , and that's the whole point. An algorithm for never has to know the value of any block. It only has to disturb one of them — and disturbing a block is a constant-error task, which is exactly why sabotage gets off cheap here.
Theorem 6.2 (Parity family, sabotage versus randomised). Let , a total function on bits. Then
Proof. The upper bound is Lemma 6.1 with , , and , giving by (5). For the randomised complexity we use the strong XOR lemma of Brody, Kim, Lerdputtipongporn and Srinivasulu [10], which characterises for every and every partial ; in the bounded-error case it reads
as recorded in this form at [14, §1]. With and (6) the right side is . Only the lower bound half of (30) is load-bearing here: the matching upper bound follows from amplification alone, by running in each block at error at cost per block.
Corollary 6.3. There is no constant with for all total Boolean . That is, the answer to Question 1.1 of [20] — is for every total Boolean ? — is negative, as is the constant-factor form of the open problem raised in [9, §1.4].
We are deliberate about which form is being refuted. A logarithmic gap does not touch the version of the same question, under which RS and R may still agree; Section 11 returns to this.
The two ingredients are already present in the literature. The family with the Blais–Brody block is the total function used in [10] to make randomized composition cost an extra logarithm. Lemma 6.1 runs the sabotage simulation of [9] once per block. Together they identify that logarithm as an amplification cost which sabotage avoids. The next section shows that conflict complexity still pays it.
7 The parity family separates RS from
Theorem 6.2 puts a logarithmic gap somewhere in the chain (2) between RS and R, without locating the gap. On it already occurs at the first step. The conflict complexity of is already as large as its randomised complexity. Since and the randomised upper bound is , this pins all four upper measures to at once.
Throughout, fix an odd (ultimately ) and write , so .
7.1 The hard distributions
At the level of the alphabet, choose independent uniformly random hidden rows , one for each column . In both distributions below, every field not explicitly named is . In particular every non-hidden cell, including every non-hidden cell of the special column under , is the symbol , and a hidden cell that is not the special cell has value 0 with all pointer fields null except where named. This is what makes Section 7 work: a queried cell that is not a hidden cell decodes to the same symbol under and in every one of its fields, so a miss has likelihood ratio exactly 1, and the ratio computed below is exact rather than approximate.
Under : the cell is a zero with null pointers for every j, and every other cell is a one with null pointers. Every column contains a zero, so every sample is a 0-input.
Under : choose uniformly with and uniformly. Turn into the special cell, pointing at every hidden cell ; for give the two fields and , which is what clause (v) requires of a good cell; for leave a zero with null pointers. Then is the unique all-one column and exactly cells are good, so every sample is a 1-input.
In both cases, encode each cell symbol by an independent uniform element of its -fibre. Finally, let be uniform subject to and draw block from ; call the result , supported on .
Let be uniform, , and . For a transcript node of a deterministic tree, the posterior bias is
Under the sequence of posteriors along a transcript is a bounded martingale started at .
7.2 From posteriors to conflicts
The next lemma is the engine of the whole section, and the slogan for it is that a tree can't force an early conflict without also learning something. Conflict mass has to be paid for in posterior variance.
Lemma 7.1 (Posterior–conflict). Let T be any deterministic tree, let be the depth at which the conflict walk for T on the pair halts, and let be the posterior after t queries, so at the root. Then
Suppose in addition that separates the two supports, so that and the walk halts almost surely. If also , then .
Proof. Fix a node with , so that makes one of the first queries. Write and for the probabilities of reaching under the two distributions, , and
Let , be the conditional probabilities of answer at under and , let
be the conflict probability at v under the maximal coupling, and let be the probability that the conflict walk reaches v with both copies still together. Finally set
We first claim
Write for the probability of answer under given . Bayes' rule gives, after using and ,
so that
where and the inequality is Cauchy–Schwarz in the weighted form together with . It is the sum that is squared: with binary answers , so while , and only the former gives the constant 16. Hence
using . Since the conflict walk keeps the two copies together only along a coupling of and , we have , and (31) follows.
Now sum (31) over the levels . The stopping mass is exactly , so by Cauchy–Schwarz
The first sum is at most , since there are levels and the -mass of each is at most 1 (exactly 1 above every leaf, less below). The second is the accumulated quadratic variation of the martingale , so by orthogonality of martingale increments and ,
This proves the displayed inequality, for every deterministic . For the consequence, suppose additionally that separates the two supports, so that and is a genuine expectation. If then , so . The hypothesis cannot be dropped: for a tree that makes no queries at all, and while . In Theorem 7.5 the lemma is applied only to trees computing exactly, which separate the supports of and .
What Lemma 7.1 buys us is that the problem is now about posteriors, not about conflicts, and that's the entire reason for routing through it. The obvious alternative would be to prove a conflict lower bound for the alphabet-level problem and then lift it through the encoding . That doesn't work, and the reason is worth seeing, because it's the sort of thing one assumes without checking: conflict complexity is not monotone under refining a single query into several smaller ones.
Remark 7.2 (Conflict is not monotone under refinement). For four alphabet symbols indexed by 00, 01, 10, 11, consider the distributions
A single four-way maximal coupling survives with probability , whereas querying the first bit and then the second survives with probability only . Refining a symbol query has created conflict, although the information revealed is the same. Prefixing a long block of fair resilient bits delays the effect but does not remove it. So “a refinement only reveals more” simply isn’t available as a monotonicity statement for , however much one would like it to be.
Squared posterior bias, on the other hand, is monotone under refinement. That's what makes the route through Lemma 7.1 work at all.
7.3 From bits to cells
Lemma 7.3 (Posterior lift). Let be the posterior after queries to the encoded input, and let . There is an adaptive randomised process which makes at most cell queries and whose posterior satisfies
Proof. If are -algebras and is integrable then Jensen gives ; we apply this with .
Given the bit transcript, reveal a cell’s entire symbol as soon as its st distinct encoding bit is queried. At most cells are opened in queries. By -resilience, all queried bits in unopened cells are uniform and independent of that cell’s symbol, and once a symbol is revealed the remaining fibre randomness is independent of the label given the symbol. Hence the refined transcript is exactly an adaptive -cell-query process together with label-independent randomness, and the bit transcript is a garbling of it.
7.4 Adaptive hidden-row discovery
It remains to bound against every adaptive cell-query tree. This is where the structure of and is used.
Under the latent vector is uniform on , so its coordinates are independent. A deterministic transcript is a rectangle across the blocks even when the tree interleaves its queries adaptively, so the posterior factorises:
Randomised trees are handled by conditioning on their coins.
Consider the blocks whose latent label is . In such a block, any query that misses the hidden row has exactly the same likelihood under and ; information appears only when a hidden cell is found. Let be the number of distinct hidden cells found in zero blocks by an adaptive tree making at most cell queries.
Lemma 7.4. For every Q and every integer ,
Proof. The obvious per-query bound doesn’t work. Once a tree has queried s cells of a column and missed all of them, the conditional probability that the next cell it tries is the hidden one is , which is bigger than and blows up entirely as — and rightly so, since after q - 1 misses the tree knows where the hidden cell is. One might hope to repair this by conditioning on the earlier discoveries and multiplying, but that doesn’t work either: any filtration rich enough to know when the discoveries happened also knows about the misses in between, which is precisely the information that inflates to . So instead of trying to avoid the blow-up we cap it, by splitting on how deep into a column a discovery happens.
Call a discovery early if it happens on one of the first queries to its block-column pair, and late otherwise, and write .
Late discoveries are few, deterministically. Each late discovery is in a distinct pair which absorbed at least queries, and distinct pairs absorb disjoint queries, so on every run.
Early discoveries are dominated by a binomial. Let indicate that the -th query is an early discovery in a zero block, and condition on the transcript before step . Say that step queries cell of block after earlier queries to that pair. Then
The middle factor is where the structure of is used, and it is not a technicality. Inside a -block the hidden rows are not conditionally independent across columns: the special cell's pointer list names a hidden cell in every column at once, so querying it determines all of that block's hidden rows together. Inside a -block no such object exists — the contents are a deterministic function of the block's own hidden rows, one per column, with no cross-column linkage — and blocks are independent because are independent under . So conditioning on the past and on leaves uniform on the rows of that column not yet queried.
Because the bound 2/q holds uniformly given the past, iterated conditioning gives for any fixed times, and a union bound over the choices of times yields
Combining. For we have , so .
Fix a small constant , put and . Then and , so for every Lemma 7.4 gives . By Chernoff, except with probability at least blocks have ; on the intersection with , at least of those have at most
hidden cells found. If a zero-block transcript has found hidden cells in distinct columns, all appearing as zeros with null pointers, then under the marked set must avoid those columns, and all misses have likelihood ratio 1; so the exact likelihood ratio is
with the falling factorial. The corresponding local posterior is , so . Multiplying over the lightly-discovered zero blocks and bounding the rest by 1 in (32),
Since we have ; concretely for , so choosing makes and hence for large . Adding the two bad-event probabilities gives, for every adaptive randomised tree making at most cell queries,
This is far stronger than the inverse-polynomial bound that Lemma 7.1 actually asks for, and we haven’t tried to optimise it. Note the standing hypothesis , inherited from the range in which the falling-factorial bound holds: it is what makes above. In the only use, , it is satisfied with room to spare.
7.5 The separation
Theorem 7.5 (Parity family, sabotage versus conflict). For ,
and hence .
Proof. Take with small enough that Lemma 7.3 opens at most cells. Combining Lemma 7.3 with (33) gives , so Lemma 7.1 yields against every exact tree. Since the single pair defeats every tree, this bounds ordinary conflict complexity from below:
With this is . The chain together with from Theorem 6.2 collapses all four to , and the sabotage bound is Theorem 6.2.
8 Parity masks separate from LR
By now both remaining measures have been separated from a neighbour on one side or the other, but the middle inequality hasn't been touched at all. To get at it we use a masking trick: take a hard function and XOR it with a long parity. The point is that the two measures react to the mask completely differently. Conflict complexity barely notices it, since a tree can just query the mask bits first and conflict on one of them. Linearised complexity notices a great deal, because an algorithm has to read every mask bit before it has any bias whatsoever, and the cost of doing that trades off against the cost of learning the masked function underneath. This is the mechanism of [8, §6], used there with GapMaj ⊕ XOR; what follows is an abstract version of it, which we then instantiate on a total function.
Lemma 8.1. For a Boolean h and an integer t, let . Then
Proof. For the first bound, fix any for ; we must exhibit a single tree with . Let query the mask bits first, in a fixed order, and then continue with a tree to be chosen below.
Decompose (3) for a pair in the support of . Nodes of split into the mask levels and, for each mask string , the subtree hanging below the node reached after reading . On the mask levels , so those terms contribute at most . For we have and , where is computed inside from the conditional pair restricted to the -part; hence those terms contribute . Now for every , being the walk's total halting probability, and splitting that sum the same way gives
So the two t-weighted pieces together are at most t, and
Now identify the conditional pairs. Because the mask has been read in full, is determined, and the conditional -marginals are supported on and : a valid pair for when , and the same pair with its two components exchanged when . By the symmetry of (3) in its two distributions, and its independence of leaf labels, both cases are scored identically and a single tree computing serves for both (Section 2.3).
Put
If , the mask queries already account for the entire conflict cost. Otherwise define by giving a pair-prefix combination weight , and returning its conditional pair in the order that puts first. The normalisation is global: the original pair is itself reweighted by its probability of surviving the mask. Choose a single tree with and use it after every mask prefix, complementing its output when the mask parity is one. Averaging (34) now gives
Maximising over Q proves the first assertion.
The second bound is the substance. Let be the pair supplied by Theorem 2.3 for , so that (4) holds, and let denote the uniform distributions on even- and odd-parity mask strings respectively. Put
which are supported on and respectively.
Fix any randomised algorithm A and let be its distinguishing advantage between and . Say that a run completes the mask if it queries all t mask bits, let W be the probability of that event under the mixture, and let be the expected number of queries A makes to the h-part.
Consider a fixed transcript on which the algorithm does not complete the mask. The queried mask-bit assignment leaves at least one position unread, so it has the same probability under and . For each fixed law of the h-input, the probability of this transcript is therefore independent of the mask parity. Mixing the two h-laws shows that the transcript has the same probability under and . Thus non-completing transcripts contribute nothing to . This is equality of transcript probabilities; it does not assert that mask parity stays uniform after conditioning on the h-input.
That leaves the completing branch C. The tempting move is to condition on C and apply (4) to what's left, but we aren't allowed to: whether A finishes the mask depends on the x-answers as well, so the conditioned object isn't the transcript law of any randomised decision tree, and (4) has nothing to say about it. So we keep the law unconditioned and let C in through a Cauchy–Schwarz instead.
For let be the randomised decision tree on -inputs that draws as part of its internal randomness, answers mask queries from , and otherwise runs . This is a bona fide randomised decision tree, and is the expected number of -queries. Let denote the law of the coarse transcript of on — the queries made, the answers received, and the final output, mask queries included, but not the sampled tree. This is the right resolution: tran of Definition 2.2 also records the internal randomness, which for contains all of , and at that resolution the parity would be legible even off . The coarse transcript is a deterministic function of , and squared-Hellinger distance is an -divergence, so data processing gives
so (4) applies to the coarse laws as well. With that reading, and induce the coarse transcript laws and . A transcript in reveals the mask parity, so
vanishes on the part of C with even parity and on the odd part; combining this with the cancellation off C,
For any two laws P, Q and any event C, writing and applying Cauchy–Schwarz,
The first factor is the unconditioned Hellinger distance, which is what (4) controls; the event enters only through the second. Writing and , and applying Cauchy–Schwarz once more across ,
Now and with the mixture-expected -cost of , and (4) together with (35) gives . Hence
Note that no assumption was needed; the two masses appear only through their sum. The expected cost of under the mixture obeys , so by AM-GM
It remains to convert (37), a statement about distributions, into one about LR, which is defined by a worst-case maximum over inputs. Only the easy direction is needed, and no minimax theorem is involved. Let achieve , so that and for every . Averaging both sides against the mixture and using the median inequality,
The numerator is the expected cost appearing in (37). For the denominator, a 1-input has and a 0-input has , so
the distinguishing advantage is the average signed bias. Hence , and taking the minimum over gives the claim.
Remark 8.2. Theorem 2.3 is an existence statement and we use it as one; it is worth seeing why the obvious pair will not do. For the naive choice — draw each block independently from a Blais–Brody hard pair, conditioned on the sign of the majority — leaks of advantage per block solved to constant error, at cost each. But (4) at that budget permits only . Thus this particular sign-conditioned product pair is not Hellinger-hard at every budget. Adjacent central count layers avoid that specific obstruction: learning one block changes the majority posterior by only . This does not identify the pair supplied by Theorem 2.3, nor prove that it must have any particular support. We use the existence theorem, rather than assuming that the natural bounded-error hard distribution also works at small bias.
Theorem 8.3 (Masked family, max-conflict versus linearised). Let and , a total function on bits. Then
and hence .
Proof. First, . Fix any ; the restriction is or its negation, and since is total, any two mask completions of opposite parity give opposite values of . So a sabotaged input for the restriction, with its wildcards confined to the mask, is a sabotaged input for , giving . And by the argument used for in Lemma 10.5: place a single wildcard uniformly among coordinates, so that every zero-error tree finds it at expected rank . Hence . In the other direction Theorem 3.5 gives , so Lemma 8.1 gives ; with this pins both to . Lemma 8.1 also gives
Finally : the lower bound by restricting the mask to a fixed value, the upper by computing both parts. The mask has length , which is smaller than the input to , so the input length is unchanged at .
Two things to flag. First, the separation is only , and we prove no upper bound on below at all — so the remaining could honestly be sitting on either side. Second, and more annoyingly, is the ceiling of the method rather than an artefact of how we chose . Within the one-mask template the ratio to maximise is
which peaks at and tops out at . Getting past that needs a different trick, not a better .
9 AND of ORs: conflict below sabotage
Everything so far has placed high in the chain: on the parity family the whole logarithm sits below it, and sabotage is the odd measure out. This section exhibits the opposite phenomenon, on the most ordinary function imaginable,
on bits; we call the OR blocks rows. Here sabotage is maximal, , while conflict complexity is . Together with Theorem 7.5 this makes RS and incomparable on total functions, and since , it separates from — as far as we know the first such separation for any function, partial or total. Note where the action is: [16], so there is no amplification logarithm anywhere in sight, and the Blais–Brody block makes no appearance. The gap lives entirely in what the adversary is allowed to correlate. The hard pairs of Section 7 needed only within-side correlation — hidden rows, latent labels — which a single pair expresses perfectly well. The sabotage ensemble for couples its two sides: each of its members is a boundary edge, and no single pair can express that coupling, because sees the two distributions only through their separate conditional marginals. What has to be proved is that every single pair really is cheap; that is the content of the upper bound, Sections 9.1 and 9.2, and the lower bound (Section 9.3) shows that the mechanism it uses — a first-hit harvest of the empty row — is exactly what caps the natural hard pair.
Theorem 9.1 (AND of ORs). For on bits,
In particular , and
Proof of the sabotage and max-conflict statements. Sabotage composes perfectly, [9]. For , place a unique wildcard at a uniformly random coordinate of the all-zeros string; a zero-error algorithm must actually query the wildcard, so by Yao its expected cost is at least , giving , and the all-ones string gives symmetrically. Hence , and by [13, §3.1]. Both are at most : query every bit.
The upper bound on occupies the next two subsections: a robust row lemma showing that against every single pair, once heavy marginals are peeled, one of two simple row trees leaks conflict at rate per row phase, where is the posterior empty-probability of the row; and an outer induction whose budget pays for the peeling. The lower bound and the consequences follow in Sections 9.3 and 9.4.
9.1 A robust OR-row lemma
Logarithms in this subsection and the next are natural, written ; every statement is base-free. We identify a row with the subset of its coordinates that contain a one. The empty subset is denoted by . The following lemma is the main ingredient of the upper bound.
Lemma 9.2 (Robust row lemma). There are absolute constants and such that the following holds for . Put
Let , and let be distributions on subsets of satisfying
Suppose also that every coordinate marginal of Q is at most . Then one of the following two deterministic row trees has conflict probability at least
before reaching a common nonempty-row exit:
-
the tree that queries every remaining row coordinate; or
-
a tree that queries the coordinates in a fixed order and exits when it sees its first one.
Both trees make at most queries.
The conflict probability in the lemma is the probability that the local conflict walk halts during the row phase. A no-conflict one-answer is a successful exit: the row has been certified nonempty and may be discarded. For the full-query tree, a no-conflict run has identical full row transcripts; it exits successfully when that common row is nonempty. Since Q never produces the empty row, the local walk cannot reach a common empty-row exit.
The total-variation case. Let
For the full-query tree, sequentially maximal-couple the two conditional Bernoulli answers. The probability that this coupling ever disagrees is exactly the local conflict probability; a no-conflict run couples the two full row strings identically. Hence the conflict probability is at least . Moreover,
Thus the first tree proves Lemma 9.2 whenever
where is a sufficiently small absolute constant. For the rest of the proof assume that the reverse strict inequality holds.
Fixed-order algebra. Fix an ordering of the remaining coordinates. Push and forward by the location of the first one in this order. Write their masses as and , and set
and
Thus and are the probabilities, under P and Q, respectively, that no one has appeared before position j.
Let be the probability that the local conflict walk reaches query j, and let be the conflict probability accumulated before query j. The following elementary invariant will be useful:
Indeed, it holds at . After interchanging the names of the two sides if necessary, suppose that their conditional zero-transition probabilities at position are . Then the new reach is and the new conflict contribution is . On the side with zero-transition ,
while on the side with zero-transition y,
The other ordering of x, y is symmetric. In particular,
The numerator of the difference between the two conditional zero probabilities at query j is
(41)
Consequently the conflict contribution at query j is
Choose a sufficiently small absolute , and put
Let denote the total conflict probability for the order . If , this order is already more than sufficient. Suppose instead that . Whenever , Equations (40) give
and hence
Let . Equations (41)–(43) and the triangle inequality give
Every first-hit atom satisfies , because the event that the first one occurs at is contained in the event that coordinate is one. Since ,
Also implies . A standard harmonic-sum estimate therefore gives
For completeness, let . Then
while for , . Using
and telescoping from through proves (45).
We will use the following weighted Hardy estimate:
for an absolute constant C.
To see this, insert and interchange the sums. The coefficient of is at most
Since throughout , the last sum is bounded by when , and by when . More explicitly, for , while for all sufficiently large . This proves (46).
The random-priority estimate. The first-hit errors depend on the order . The next lemma controls their weighted average for completely arbitrary distributions and Q.
Lemma 9.3 (Random-priority rank tail). Under the hypotheses of Lemma 9.2, let be any fixed nonempty row and let be a uniformly random ordering. If
where is the first-one position of z, then
Proof. Generate by assigning independent uniform priorities and ordering increasingly. Put
Condition on . All coordinates of x have priority at least t, and the priorities outside x remain independent. Therefore
(48)
Here Jensen’s inequality applies because is convex, and is the sum of the coordinate marginals, at most . Conditional on , is a function of independent indicators outside . Changing the indicator of coordinate changes by at most . Efron–Stein therefore gives
Thus
On the complementary event,
If , then has density , and
The expected contribution from this event is therefore . On the exceptional event the logarithm is at most . Put and
The function g is increasing. Since the minimum of d independent uniform random variables is stochastically dominated by one uniform random variable,
Setting and splitting the last integral at gives
Multiplication by is negligible compared with s. This proves (47).
We now finish the proof of Lemma 9.2. Let be the signed measure on nonempty rows, so that has total mass . For a fixed ordering, the first-hit error is
Consequently, for any nonnegative weights ,
Taking
and applying Lemma 9.3 gives
For each order with , Equations (44), (45), and (46) yield
for absolute constants . If at least half the orders have , then . Otherwise the set of orders with has measure greater than one half. Averaging the fixed-order inequality only over , and then bounding its error by the unconditional error average in (51), gives, together with the reverse of (38),
when was chosen sufficiently small. Hence some deterministic order has conflict probability , which is stronger than the claimed . This completes the proof of Lemma 9.2. The selected order may depend on the present pair , but once that pair is fixed the order is fixed deterministically.
9.2 The outer AND induction
Fix arbitrary distributions and supported on and , respectively. We construct a deterministic decision tree adapted to this pair. Consider a common transcript at which rows remain unresolved. Every -input has all these rows nonempty. Every -input has at least one of them empty. Therefore, averaging over rows, some unresolved row has posterior empty probability
under , while its empty probability under is zero. Denote the two conditional row marginals by
Set
For a sufficiently large absolute constant K, define the remaining-cost budgets
We prove inductively that every conditional opposite-output pair on unresolved rows admits a tree with conflict cost at most . If , query every remaining bit; the walk halts at or before a last query node, so its conflict cost is at most the depth. This costs at most
for all sufficiently large m, which is at most after increasing K.
Now suppose , and put . Choose a row satisfying (52). We process this row as follows. At every local common-zero transcript, update and the posterior empty probability . Conditioning on another row-coordinate being zero can only increase .
-
If , query every remaining coordinate of the row. Its conflict probability is at least a, because the empty row has P-mass a and zero Q-mass, by the coupling argument of the total-variation case.
-
If but some current Q-marginal is larger than , query such a coordinate. On a common zero, update the distributions and repeat. On a common one, the row is certified nonempty and the phase succeeds.
-
If and all Q-marginals are at most , apply Lemma 9.2. Indeed, a never decreased, so , while
Call the full scan in the first case, or the tree supplied by Lemma 9.2 in the third case, the terminal suffix of the row phase. It uses at most m queries. In the first case its conflict probability h satisfies
In the third case Lemma 9.2 and give
Choosing K sufficiently large, the terminal suffix has nonpositive excess
It remains to pay for the high-marginal queries in the second case. At such a query, if the Q-probability of one is , the probability of taking the common-zero transition is at most
Let W denote, from a local row state, expected remaining row queries minus C times the probability of a row conflict. At a high-marginal query, if d is the immediate conflict probability and z the common-zero probability, then
Using (54) at the suffix and iterating this inequality,
The row phase ends either in conflict or by finding a common one. In the latter case the selected row is nonempty under both conditional distributions and may be discarded. The remaining conditional pair is still supported on opposite outputs of an AND of OR-rows, so the induction hypothesis gives future cost at most . If the row phase has expected query cost and conflict probability , its total expected contribution followed by the recursive tree is
where we used (55). This closes the induction.
Since
we have exhibited, for every pair , a deterministic tree with conflict cost . Maximizing over pairs proves
At any branch on which one of the two posteriors has zero mass, attach an arbitrary brute-force completion. Such a branch has zero common reach and does not affect the conflict cost. Thus the recursively described object extends to a deterministic decision tree computing on every input. This proves the upper bound of Theorem 9.1.
Remark 9.4 (Where the square root comes from). The square-root logarithm comes from balancing two losses. Removing coordinates of Q-marginal greater than costs per outer row phase. In the robust row lemma, the random-priority error is , so the full-scan alternative guarantees only . A continuation budget of order pays for that scan exactly when . Thus is the largest choice supported by this argument.
9.3 The lower bound: a product-conditioned pair
The hard pair is the simplest one available: condition an i.i.d. distribution on the value of . Correlation across rows enters only through that conditioning, and the entire proof is the bookkeeping that this correlation is weak — together with two exact cancellations which say that the walk has no cheap depth at which to harvest conflict. Logarithms inside the proof are natural, written ; the statement is base-free.
Proposition 9.5. .
Let solve , so that and . Let be the product distribution on in which every bit equals 1 independently with probability ; then for , so both members of the pair
condition on events of probability bounded away from 0 and 1. Fix a deterministic tree computing . We may assume it never queries the same coordinate twice on a path: a repeated query has zero conflict probability, and contracting that node can only decrease conflict cost. Run the walk of Section 2.3 on ; write for its halting depth, so and .
For a node — a partial assignment — and a row , let be the number of 0-answers in row , let be the set of rows with no 1-answer yet (unwitnessed rows), and for put
the last equality because under the unqueried bits are i.i.d. regardless of the transcript. Set and , and note since every .
Lemma 9.6 (Exact conditionals). Let v query a fresh coordinate of row i, put , and let
If then , so , and the walk answers 1 with probability exactly . If then
so that , the walk's 0-transition probability is exactly — a function of alone — and its 1-transition probability is .
Proof. Under , conditioning on the partial assignment leaves the unqueried bits i.i.d., and in particular leaves the rows independent. Given additionally that row is nonempty, the event is determined by the rows other than , so the conditional law of row 's unqueried bits given does not depend on : it is 's law given the row- transcript and nonemptiness. Under that law a fresh row- bit equals 1 with probability , since for all answered row- bits are 0 and nonemptiness is the event that one of the unqueried bits is 1.
For nonemptiness of row is already recorded in , both conditionals reduce to 's, the fresh bit is 1 with probability on both sides, and . For : implies row nonempty, giving the claim; and since ,
with the fresh bit equal to 0 surely on that event and equal to 1 with probability on its complement. The transition probabilities are read off the definition of the walk: .
Cross-row correlation, the one thing that could have complicated the pair, vanishes identically: given that row i is nonempty, conditioning on the value of says nothing about row i at all. All that survives of the conditioning is the single number .
Two exact cancellations now drive the count. For write
the product telescoping via . Set , so that at any node with , Lemma 9.6 and give . Then for every ,
the of the reach cancels the of the empty-row posterior, and the bracket cancels the denominator of . The growth of the posterior along a zero-run, and the blow-up of near the bottom of a row, are paid for exactly by the improbability of the run.
Proof of Proposition 9.5. Fix . Let be the event that at each of the first steps of the walk; on we have , hence , which is what the bound above assumed.
Failing is unlikely. Leaving requires at least one-answers among the first steps. By Lemma 9.6 the walk's 1-transition probability is at most at an unwitnessed row and exactly at a witnessed one. Along any single run of length : witnessed-row steps contribute at most in total; unwitnessed steps at counts have and contribute at most ; and steps at counts occur only in rows that have already received at least queries — at most rows per run — each such row contributing at most , using for . So the expected number of one-answers is at most , and by Markov's inequality
Zero-runs. For a pair let be the probability that, within its first t steps and while G still holds, the walk queries the still-unwitnessed row i at count k; along any single run this happens at most once. Three facts:
(i) , since each counted step realises exactly one pair ;
(ii) for ; in particular (with ) , and is nonincreasing in ;
(iii) at a step realising on , , and at witnessed rows, so
For (ii): to be queried at count , row must have been queried at every count with a 0-answer after its count- query; by Lemma 9.6 each of those 0-transitions has probability exactly regardless of the interleaving, and summing over the branches of the intervening non-row- queries, whose transition probabilities total at most one at each node, gives the factor .
Assembling. Split at . For we have and for large, so and, by (i), these terms total at most . For , by (ii) with and (56),
and for large, while by the monotonicity in (ii), , whence . The deep terms therefore total at most . Altogether, using ,
for large enough. Taking gives , hence ; and was arbitrary.
Remark 9.7 (This pair is worth exactly ). Proposition 9.5 is tight for the product-conditioned pair. Consider the tree that scans rows in a fixed order, leaving each row at its first one. At the start of every reached row, the probability of reaching its th query by common zero answers is . Since , its conflict probability is at least
Its expected query cost is at most
These bounds hold conditionally after every common nonempty-row exit. Consequently the probability of reaching row is at most , and the entire scan has conflict cost at most . Together with Proposition 9.5, this proves for this pair. No independence assumption about successive row phases is needed. A larger lower bound therefore needs a different pair; this calculation does not rule out all other product-conditioned pairs.
9.4 Consequences: incomparability, composition, certificates
Corollary 9.8 (RS and are incomparable on total functions). by Theorem 7.5, while by Theorem 9.1. In particular neither of RS, is O of the other, even restricted to total functions.
So the first link of (2) cannot be tightened to . Sabotage and conflict price different resources: pays for amplification and RS does not (Section 7), while RS harvests cross-side coupling and does not , and the two premiums occur on different functions. Since , Theorem 9.1 also splits from on a total function, with the chain arranged there as ; by the bracket of Section 2.3 no such separation can exceed a quadratic one, and this one is .
Corollary 9.9 (Perfect composition fails for conflict complexity). There is no constant with for all total Boolean . Indeed
Proof. Li [17] shows for every nonconstant total . At the all-ones and all-zeros inputs respectively, , so (and both are at most ). Combine with the upper bound of Theorem 9.1.
Li [17, §4] derived exactly this failure, on exactly this function, conditionally on the hypothesis ; Theorem 9.1 removes the hypothesis, and Corollary 9.11 below shows the hypothesis is false outright. Note the contrast within the chain: RS composes perfectly [9], does not, and on this very instance happens to compose perfectly as well, . As everywhere in this paper, only the constant-factor statement is refuted: the loss exhibited lies between and , and is untouched.
We turn to certificates. Write for the certificate complexities over 0-inputs, over 1-inputs, and overall.
Proposition 9.10. , hence .
Proof. A 1-certificate must contain a coordinate fixed to 1 in every row: otherwise complete the free coordinates of a 1-free row by 0s to reach a 0-input. One 1 per row suffices, and every 1-input contains one. A 0-certificate must contain an entire row fixed to 0: otherwise every row has either a coordinate fixed to 1 or a free coordinate, and completing all free coordinates by 1s reaches a 1-input. One empty row suffices, and every 0-input contains one.
Corollary 9.11 ( is not ). while . In particular there is no constant with for all total Boolean . The trivial upper bound is thus tight up to a factor, and on its right half is an equality: .
Remark 9.12 (Li's question). Li [17, §4] asks whether or , noting that the answer may well be neither, recording the a priori sandwich , and working out consequences of each branch. To our knowledge that is the only place the comparison is discussed — [11] cite [17] for the block-sensitivity bound only — and no progress on either branch had appeared since. Nor could either branch have been decided from what was known: every known lower bound on , namely [19, 13] and [17], is on every total function, since and , while the general upper bounds still leave the quadratic room above. Corollary 9.11 settles the branch, negatively, and at the top of the allowed range. The branch remains open, and nothing in this paper refutes it: has , and the natural certificates for — a constant number of cells per column, encoded — have size , below , though we have not verified their minimality. By [17], would lift the composition theorem of [19, 13] to .
Remark 9.13 (The analogue was already implicit). Li closes [17, §4] by raising the same question for . That version could already have been answered from the literature, though we are not aware of its having been observed: , by [13, §3.1] and [9] alone. The version cannot be routed through sabotage in this way, because RS does not lower bound — Corollary 9.8 — so Proposition 9.5 is genuinely needed.
Remark 9.14 (Tightness of ). Li also observed that under this family would witness tightness of . The opposite happens: [16], so — nearly full randomised complexity. Whether is tight for total functions appears to be open; the known tight examples are partial, the optimality example of [13] forcing , and hence , of their inner block down to .
10 Randomised complexity versus its composition limit
The same pointer block gives a separation in the opposite direction from the composition counterexample. For a Boolean function , write
Al-Dhalaan and Ben-David prove that this limit exists and that . They also prove invariance under cyclic rotation, , and the lower bound [3, Lemma 53 and Corollary 56]. We give a total family attaining the upper bound. Its input length is polynomial in the parameter, so the separation is logarithmic in the input length as well.
The additional fact we need is that noisy queries do not remove the pointer block’s cost of amplification. Expected cost matters here: the simulator may run for a random number of steps, and its expected number of opened cells is what the pointer lower bound controls.
10.1 Noisy transcripts of resilient encodings
We use worst-input expected cost for noisyR . A query of strength to a bit returns a sign with conditional mean and costs . Fresh query noise is independent, including when an algorithm queries the same coordinate repeatedly.
Lemma 10.1 (Noisy transcript bound). Let be a t-wise uniform distribution on , where , and put , where is uniform. Suppose every path of a noisy decision tree has cost at most . If denote its transcript distributions, then
The transcript may include the algorithm's random choices, and the tree may stop adaptively.
Proof. Work first with a finite tree. Under the uniform prior, conditioning on a transcript leaves the input coordinates independent: its likelihood is a product of one-coordinate likelihoods. Write for the posterior means. A query to changes only . Directly applying Bayes' rule gives
When the denominator vanishes, is already a known sign and the increment is zero. Thus the inequality also covers that case.
This is an expected increment, not a pathwise bound on . To retain the high-degree information we need, fix and set . The preceding inequality implies
Consequently is a nonnegative supermartingale, where is the cost spent so far. It starts at one. At the stopping transcript, , and hence
Expanding the product and writing gives
Let , with Fourier coefficients in the parity basis. Its constant coefficient is one, its coefficients of degrees vanish, and Parseval gives . The likelihood ratio of a transcript is
Cauchy–Schwarz, first over S and then over transcripts, yields
For , take . If , no answer carries information and the distance is zero. If , the stated, slightly weaker bound is at least one, since , so it follows from the trivial total-variation bound.
For a tree with unbounded stopping time, apply the finite argument to its first N queries, retaining whether it has stopped. The transcript sigma-algebras increase to the full transcript sigma-algebra; total variation is the supremum over finite-prefix events. Equivalently, use the nonnegative supermartingale bound and Fatou's lemma. This proves the same inequality for the full transcript.
An opening is one ordinary query returning the entire alphabet symbol of a cell. Internal sampling and posterior calculations cost no queries.
Lemma 10.2 (Opening noisy cells). Suppose an input has M cells, each encoded by C bits, and the uniform distribution on each encoding fiber is t-wise uniform. Fix , and put
Any finite noisy algorithm of worst-input expected cost and error for the encoded function can be simulated by a cell-query algorithm with error at most and worst-input expected number of openings at most .
Proof. Fix an alphabet input. In the real experiment, independently encode each symbol by a uniformly random point of its fiber and run the noisy algorithm. Its error is at most and its expected cost is at most D, since both bounds hold on every Boolean input.
The simulator initially treats each unopened cell as a fresh uniform C-bit string, answering noisy queries from that string. It keeps a separate cost counter for each cell. Immediately after the first query bringing a counter to at least a, it opens that cell. The prefix ending with this query has cost at most . Given the revealed symbol and the cell's previous noisy answers, it samples an encoding from the uniform fiber conditioned on those answers. It discards the provisional uniform string and uses the sampled encoding for all future answers.
in that cell. If the conditioning event has probability zero, it chooses an arbitrary encoding of the revealed symbol. This convention defines the algorithm on every simulated history.
To compare the experiments, replace the cells one at a time. Fix all other symbols, encodings, and random tapes. Up to the opening of the cell being replaced, or the algorithm's termination if it is never opened, this is an adaptive noisy tree on that cell with path cost at most . For a fiber , its density has squared norm , so Lemma 10.1 bounds the distance between its real and provisional prefixes by . After an opening, both prefix laws are extended using the same conditional fiber-sampling kernel. Extension by a common kernel cannot increase total variation. A zero-probability real prefix contributes only to the already bounded discrepancy between prefix laws. Interleaved queries to other cells are part of the adaptive tree and require no extra assumption. Averaging the fixed external randomness and telescoping over cells gives distance at most between the complete real and simulated transcripts. Their error probabilities therefore differ by at most .
In the real experiment, mark a cell at the same cost threshold. Every marked cell accounts for at least a units of noisy cost, so the expected number marked is at most D/a. This number is a transcript statistic in [0, M]. Its expectations in two distributions at total variation distance at most differ by at most . The simulator opens exactly these marked cells, proving the expected-cost bound. The comparison uses a bounded statistic, rather than the possibly much larger noisy cost. For an almost surely halting algorithm on a finite input domain, truncate after sufficiently many steps. This decreases cost and incurs an arbitrarily small additional error, uniformly over the domain. Thus the same simulation applies with arbitrarily small error slack, which we leave in its application below. This also avoids assigning a nonhalting continuation to a provisional history of probability zero in the real experiment.
Theorem 10.3 (The block is noise-rigid). For the encoded pointer block ,
Proof. The upper bound follows from noisyR_ε ≤ R_ε and ordinary repetition of a constant-error algorithm for g_q. For the lower bound, write C = C_q, t = ⌊C/3⌋, and a = t/(128e). For sufficiently large q, a ≥ 1, and Lemma 10.2 applies with
Indeed , and . There are cells.
Let a noisy algorithm have cost and error . First reduce its error to at most using a constant number of independent runs. For example, six successive levels of ternary majority use 729 runs: one level maps to for , and . Its expected cost is at most 729D. The error inequality is strict. Since the Boolean input space is finite, we can truncate after sufficiently many queries while retaining the error bound; truncation only decreases expected cost. The opening simulator has error at most and expected cell-query cost at most
The error inequality holds uniformly for and all sufficiently large .
The cell-query lower bound in the proof of Blais–Brody’s pointer construction is ; it follows from their reduction to GapID and its small-error lower bound [4, Lemmas 7–9]. Applied at error , this is . Since ,
Changing the absolute constants handles the finitely many smaller parameters for which the stated error interval is nonempty.
10.2 Transferring a small-error bound through GapMajority
We need two forms of the GapMajority connection, with different quantifiers. The constant-error characterisation of Ben-David and Blais states that, for f on n bits,
This is their Theorem 4 [6]; changing constant-error expected cost to bounded depth changes only constants. We do not need to extend this two-sided characterisation to vanishing error. The following one-sided statement preserves the error exactly.
Lemma 10.4. There are absolute constants such that, for every , every possibly partial Boolean function , and every ,
Proof. Use the two promised Hamming weights in , with and . Rounding affects only absolute constants. Given an input to , we simulate an ordinary algorithm on virtual blocks, independently uniform at weight .
For an unopened block, suppose distinct bits have been answered, with ones. At a new position, the conditional probability of answering one, if its label is , is . As long as , both probabilities lie in for sufficiently large , on every prefix, and . Put , , and . With probability , make a noisy query to of strength
and return its answer. Otherwise return zero if , and one if . The resulting probabilities are exactly . Each simulated ordinary query costs at most , pathwise. Repeated queries return the stored bit and cost nothing.
After distinct queries in a block, query its label exactly at noisy cost one. All subsequent answers can then be sampled from the correct remaining fixed-weight distribution without further oracle access. Charge the opening to the preceding distinct ordinary queries. The total noisy cost is at most on a path containing Q ordinary queries.
The virtual input has exactly the desired product of fixed-weight distributions. The ordinary algorithm has error at most on every input in their support, so the noisy simulation has error at most on each . Its expected cost is at most . Taking the infimum proves the claim.
10.3 A helper and its two rotations
Lemma 10.5. Let , on bits. Then , and , , and are all .
Proof. The upper bounds are the arity. For the lower bounds, sabotage composes perfectly [9]. Both and follow by placing a single wildcard uniformly in, respectively, an all-one input and an input with zeros and ones. Before finding it, its position is uniform among the unqueried coordinates, so a zero-error algorithm needs a linear expected number of queries. The comparisons in (2) give the remaining lower bounds. For the exact deterministic bound, an adversary answers within each majority block so that its value is undecided until the last query, then makes it one. Since the AND can be certified as one only after every block is decided, this forces all queries.
Put
Both are total, on bits. One is easy because the helper is evaluated exactly. The other forces the pointer blocks to be evaluated at small error.
Lemma 10.6. noisyR( ) = .
Proof. For the upper bound, evaluate the copies of at error using ordinary amplification, then evaluate . The cost is . For the lower bound, take , the arity of , so that (58) applies to this outer function. Write . The small-error simulation and Theorem 10.3 give
The Majority Lemma, valid for partial inner functions [14, Theorem 2], then gives
Finally, the outer composition theorem of Ben-David and Blais and noisyR(AND_k) = give R(AND_k ) = for every partial Boolean [6]. Therefore
Here constant-error expected cost and bounded depth are interchangeable up to constants. Dividing by b in (58) proves the lower bound.
Theorem 10.7 (Maximal R versus R*, polynomial size). The total function on bits satisfies
Consequently
Proof. Run an optimal constant-error algorithm for the outer , evaluating each queried exactly at cost . This gives . The inner composition theorem [8], together with Lemma 10.5, gives the matching lower bound.
For the composition limit, cyclic rotation and [3, Lemma 53 and Corollary 56] give
The matching upper bound follows in the easy orientation:
The expressions for and give all three ratios.
Corollary 10.8. The bound is tight for total Boolean functions. It is attained by a family with and .
The direction matters. Here iterating the function is more expensive per level than computing it once. This is separate from the total–total composition counterexample proved earlier: that counterexample makes one composition cheaper than the product of its factors.
11 Discussion
How much composition fails. Theorem 1.1 rules out a universal constant in the randomized composition lower bound for total functions. Its loss is in the composed input length , equivalently for the inner family in Theorem 1.1. A lower bound of the form is therefore compatible with every construction here. Lemma 5.4 shows that this saving is optimal for the inner family, regardless of the outer function. A saving polynomial in would require a stronger versus separation. This is a restriction on the present family, not a general logarithmic bound on composition savings.
The two measure separations explain why a counterexample is possible, but they are not interchangeable black boxes. The inner evaluator produces independent evidence with a uniform sign, not necessarily a fixed bias on every input. The outer sampling algorithm tolerates this variation. Its certificate verifier uses exact queries, and the core was chosen so that their total cost fits the budget. These algorithmic properties, together with the direct-product lower bound for the address, are what turn two separations into a composition counterexample.
The remaining gaps among measures. The parity mask leaves
A matching upper bound would separate LR from R on the same family that separates from LR. A matching lower bound would improve the latter separation to a full logarithm. Optimising only the length of the single parity mask cannot achieve this: its guaranteed ratio is proportional to , maximised at .
For AND of ORs, the interval also remains open. The lower endpoint is the exact strength of the particular product-conditioned pair analysed in Section 9.3. The upper endpoint comes from balancing the high-marginal scan cost against the random-priority estimate. Neither calculation determines the value of . The question whether for every total also remains: our certificate separation concerns the other direction [17].
Product distributions. Sanyal's characterisation of sabotage complexity in terms of the hardest product distribution holds up to polylogarithmic factors [20]. The logarithmic separations here do not contradict it and do not establish that every hard distribution for these functions must be correlated. Our explicit distributions do use correlation, both within pointer blocks and between their latent labels. Whether that correlation can support a larger separation is a separate question.
Iteration. The maximal gap shows that repeated composition can add a logarithm to the effective complexity of a total function. Theorem 1.1 shows that a single composition of two different total functions can save an unbounded factor. These facts concern different quantifiers. In particular, we have not shown a total family with , or a comparable saving from composing a function with itself. The construction uses different tasks on the two sides of the composition, and rotating the composition-limit example does not reverse its inequality.
References
[1] S. Aaronson, S. Ben-David, and R. Kothari, “Separations in query complexity using cheat sheets,” in Proceedings of the 48th Annual ACM Symposium on Theory of Computing (STOC 2016), 2016, pp. 863–876. doi:10.1145/2897518.2897644; arXiv:1511.01937.
[2] A. Ambainis, K. Balodis, A. Belovs, T. Lee, M. Santha, and J. Smotrovs, “Separations in query complexity based on pointer functions,” Journal of the ACM, vol. 64, no. 5, 2017. Previous version in STOC 2016. arXiv:1506.04719.
[3] B. Al-Dhalaan and S. Ben-David, “Monte Carlo to Las Vegas for recursively composed functions,” in Proceedings of the 58th Annual ACM Symposium on Theory of Computing (STOC 2026), ACM, 2026, pp. 1913–1924. arXiv:2601.08073. doi:10.1145/3798129.3800897. Numbering follows the arXiv version.
[4] E. Blais and J. Brody, “Optimal separation and strong direct sum for randomized query complexity,” in Proceedings of the 34th Computational Complexity Conference (CCC 2019), LIPIcs vol. 137, 2019, pp. 29:1–29:17. Numbering follows the LIPIcs version. doi:10.4230/LIPIcs.CCC.2019.29. arXiv:1908.01020.
[5] S. Ben-David and E. Blais, “A new minimax theorem for randomized algorithms,” Journal of the ACM, vol. 70, no. 6, 2023. Previous version in FOCS 2020. arXiv:2002.10802.
[6] S. Ben-David and E. Blais, “A tight composition theorem for the randomized query complexity of partial functions,” in Proceedings of the 61st Annual IEEE Symposium on Foundations of Computer Science (FOCS 2020), 2020, pp. 240–246. arXiv:2002.10809. Numbering follows arXiv version 3; the GapMajority characterisation is Theorem 4, proved in §6.2.
[7] A. Bassilakis, A. Drucker, M. Göös, L. Hu, W. Ma, and L.-Y. Tan, “The power of many samples in query complexity,” in Proceedings of the 47th International Colloquium on Automata, Languages, and Programming (ICALP 2020), LIPIcs vol. 168, 2020, pp. 9:1–9:18. arXiv:2002.10654.
[8] S. Ben-David, E. Blais, M. Göös, and G. Maystre, “Randomised composition and small-bias minimax,” in Proceedings of the 63rd Annual IEEE Symposium on Foundations of Computer Science (FOCS 2022), 2022, pp. 624–635. arXiv:2208.12896. Numbering follows the arXiv version.
[9] S. Ben-David and R. Kothari, “Randomized query complexity of sabotaged and composed functions,” Theory of Computing, vol. 14, no. 5, pp. 1–27, 2018. Previous version in ICALP 2016. arXiv:1605.09071.
[10] J. Brody, J. T. Kim, P. Lerdputtipongporn, and H. Srinivasulu, “A strong XOR lemma for randomized query complexity,” Theory of Computing, vol. 19, no. 11, pp. 1–14, 2023. arXiv:2007.05580.
[11] S. Chakraborty, C. Kayal, R. Mittal, M. Paraashar, S. Sanyal, and N. Saurabh, “On the composition of randomized query complexity and approximate degree,” in AP-PROX/RANDOM 2023, LIPIcs vol. 275, 2023, pp. 63:1–63:23. arXiv:2307.03900. Numbering follows the arXiv version.
[12] A. Drucker, “Improved direct product theorems for randomized query complexity,” Computational Complexity, vol. 21, no. 2, 2012, pp. 197–244. doi:10.1007/s00037-012-0043-7; arXiv:1005.0644.
[13] D. Gavinsky, T. Lee, M. Santha, and S. Sanyal, “A composition theorem for randomized query complexity via max-conflict complexity,” in Proceedings of the 46th International Colloquium on Automata, Languages, and Programming (ICALP 2019), LIPIcs vol. 132, 2019, pp. 64:1–64:13. arXiv:1811.10752. Section references follow the LIPIcs version.
[14] M. Göös and G. Maystre, “A majority lemma for randomised query complexity,” in Proceedings of the 36th Computational Complexity Conference (CCC 2021), LIPIcs vol. 200, 2021, pp. 18:1–18:15. doi:10.4230/LIPIcs.CCC.2021.18. Numbering follows the LIPIcs version.
[15] M. Göös, T. S. Jayram, T. Pitassi, and T. Watson, “Randomized communication versus partition number,” ACM Transactions on Computation Theory, vol. 10, no. 1, 2018.
[16] R. Jain and H. Klauck, “The partition bound for classical communication complexity and query complexity,” in Proceedings of the 25th IEEE Conference on Computational Complexity (CCC 2010), pp. 247–258, 2010. arXiv:0910.4266.
[17] Y. Li, “Conflict complexity is lower bounded by block sensitivity,” Theoretical Computer Science, vol. 856, pp. 169–172, 2021. arXiv:1810.08873.
[18] R. Shaltiel, “Towards proving strong direct product theorems,” Computational Complexity, vol. 12, no. 1–2, pp. 1–22, 2003. Previous version in CCC 2001.
[19] S. Sanyal, “A composition theorem via conflict complexity,” Electronic Colloquium on Computational Complexity, Report TR18-014, 2018. arXiv:1801.03285.
[20] S. Sanyal, “Randomized query composition and sabotage complexity,” ACM Transactions on Computation Theory, vol. 17, no. 4, 2025. Conference version: “Randomized query composition and product distributions,” STACS 2024, arXiv:2401.15352. Question numbering follows the conference version.