Three queries are necessary for one-sided linearity testing #
A decision tree of depth at most two that accepts every parity accepts every table f with
f 0 = false. On the path taken by f, at most two points are queried. Their answers agree
with a parity, so that parity reaches the same accepting leaf, even when the second query
depends on the first answer.
Consequently, any distribution on decision trees with perfect completeness on every parity that rejects such a normalized table with positive probability has a supported tree making at least three queries. The PMF statement has no finite-support assumption. The finite-simplex randomized-decision-tree model has the corresponding lower bound on its worst-case depth. These are supportwise query bounds, with no lower bound on the expected number of queries.
Main results #
Cslib.DecisionTree.eval_eq_true_of_depth_le_two_of_parity_complete: two adaptive queries cannot reject a normalized table while accepting all parities.Cslib.DecisionTree.three_le_card_queries_of_parity_complete: rejection requires three distinct queried points on that input, even if other paths are long or queries repeat.Cslib.BitString.exists_three_le_depth_of_parity_complete: the lower bound for an arbitrary PMF.Cslib.RandomizedDecisionTree.three_le_depth_of_parity_complete: the lower bound in the existing finitely supported randomized model.
References #
The two-point interpolation and indistinguishability argument is elementary and original to this formalization.
A tree that accepts all parities and makes at most two adaptive queries accepts every table that is false at zero.
Rejecting a normalized table while accepting all parities requires three distinct queried points on that input. This remains true when other paths are longer or positions are repeated.
Perfect completeness on parities and positive rejection of a normalized table force a
positive-mass tree of depth at least three. No finite-support hypothesis on μ is needed.
In the existing finite-simplex randomized-tree model, a perfectly complete parity tester rejecting a normalized table with positive probability has worst-case query depth at least three.