Executing Boolean local tests as decision trees #
An explicit enumeration of the query layout turns a Boolean LocalTest into a decision tree
for each random string. The tree reads the listed positions and decides the existing acceptance
predicate from their answers. This preserves acceptance and makes at most |Q| queries. The
bound counts occurrences, including repeated positions, and certifies query cost; evaluating the
acceptance predicate is free in this decision-tree model.
Main definitions #
Cslib.PCP.LocalTest.decisionTree: execute the queries of a Boolean local test in order.
Main results #
Cslib.PCP.LocalTest.eval_decisionTree: execution decides the local test's acceptance.Cslib.PCP.LocalTest.depth_decisionTree_le: at most the query-layout cardinality is read.Cslib.PCP.LocalTest.acceptProb_eq_expect_decisionTree: the execution has the same acceptance probability as the local test.Cslib.PCP.LocalTest.depth_decisionTree_repeatAll_le:ktrials make at mostk * |Q|queries.
References #
Read the positions in query order, then decide the test's acceptance from their values. The enumeration and the acceptance decision are supplied explicitly by instances.
The distribution of acceptance decisions produced by execution agrees with acceptProb.
Executing k independent trials makes at most k * |Q| queries on every seed and input.