Capped adaptive direct products #
Let J index independent inputs. For each j, suppose every decision tree of depth at most
c j has weighted success at most b j on input j. A tree that may interleave its queries
to the inputs adaptively, but queries input j at most c j times on every path, outputs all
answers correctly with weighted success at most ∏ j, b j. With r copies of one problem,
cap L and bound b, this is the bound b ^ r of [OpenAI2026Quartic, Lemma 4.1].
Each input may have its own partial function, weight, cap and bound; the query positions and
the finite, nonempty output alphabet are shared. A partial function takes values in
Option β, and an input mapped to none never counts as a success. Weights need only be
nonnegative; for probabilities, take normalised weights supported on the promise. The caps are
the structural caps DecisionTree.Capped. Neither a total budget of ∑ j, c j queries nor a
bound on the expected number of queries to each input suffices; the test module checks a
counterexample to each.
Randomized algorithms are handled by averaging over a finitely supported law of trees
(StdSimplex, or RandomizedDecisionTree), each of which respects the caps. No definition of
promise randomized complexity is introduced.
The proof follows the induction in Will Cook's Lean formalization quartic-query-lean
(revision db3feec), which replaces the supermartingale argument of the source. The best
success of a depth-c tree for one input is a finite recursive optimum, attained by a tree.
Induction on the joint tree then updates one input's weight and spends one unit of its cap at
each query, so adaptive interleaving needs no conditioning or division.
Main definitions #
Cslib.DecisionTree.weightedSuccess: success with nonnegative, possibly unnormalised weights.Cslib.DecisionTree.productSuccess: simultaneous success with independent coordinate weights.
Main results #
Cslib.DecisionTree.productSuccess_le_prod: the capped direct product theorem.Cslib.DecisionTree.sum_mul_productSuccess_le_prod: the same bound averaged over independent, finitely supported side information.Cslib.RandomizedDecisionTree.sum_mul_productSuccess_le_prod: the same bound for the library's randomized decision trees.Cslib.DecisionTree.productSuccess_le_prod_of_depth_le,Cslib.RandomizedDecisionTree.sum_mul_productSuccess_le_prod_of_depth_le: a total depth bound no larger than every cap is sufficient.
References #
The weighted mass of inputs on which t returns the promised answer. Inputs where f is
none contribute zero. No normalisation or sign condition is part of this definition.
Weighted success is nonnegative for nonnegative weights.
The weighted mass of independent inputs for which every coordinate of the output is correct. Each coordinate has its own partial function and weight.
A fixed vector of answers succeeds independently in each coordinate.
Capped direct product theorem [OpenAI2026Quartic, Lemma 4.1], for deterministic trees,
with possibly different partial functions, weights, caps and bounds for the inputs. If every
tree of depth at most c j has weighted success at most b j on input j, then every tree
that queries input j at most c j times on each path, interleaving its queries adaptively,
answers all inputs correctly with weighted success at most ∏ j, b j.
The capped direct product bound after drawing side information s, independent of the
inputs, from a finitely supported probability distribution p and running the tree T s.
The caps are required only for seeds in the support of p.
A total depth bound d suffices for the capped direct product bound when d ≤ c j for
every input j.
The capped direct product bound for a randomized decision tree μ: the average over the
drawn tree of its simultaneous success is at most ∏ j, b j. Every tree that μ can draw must
respect the caps, so the caps hold in the worst case over the coins.
The randomized capped direct product bound under a bound d ≤ c j on the depth of μ,
the largest depth of a tree it can draw.