Documentation

CslibFrontier.Computability.QueryComplexity.Randomized.Counting

Counting lower bounds for randomized decision trees #

A decision tree of depth q has at most 2 ^ q leaves, so it takes at most 2 ^ q values (Cslib.DecisionTree.card_le_two_pow_depth_of_injOn). A randomized decision tree that recovers a function F, injective on a finite set S of inputs, with error at most ε on every input of S, therefore satisfies |S| (1 - ε) ≤ 2 ^ q (Cslib.RandomizedDecisionTree.card_mul_one_sub_le_two_pow_depth): each tree it can draw is right on at most 2 ^ q inputs of S, while averaged over the trees it is right on at least |S| (1 - ε) of them. This is the information-theoretic lower bound for search problems with |S| distinct answers.

Main results #

theorem Cslib.RandomizedDecisionTree.card_mul_one_sub_le_two_pow_depth {ι : Type u_1} {β : Type u_2} (μ : RandomizedDecisionTree ι β) {F : (ι → Bool) → β} {S : Finset (ι → Bool)} (hF : Set.InjOn F ↑S) {ε : ℝ} (hμ : ∀ x ∈ S, μ.errorProb F x ≤ ε) :
↑S.card * (1 - ε) ≤ 2 ^ μ.depth

Counting lower bound for randomized recovery: a randomized decision tree that recovers a function F, injective on a finite set S of inputs, with error at most ε on every input of S, has depth q with |S| (1 - ε) ≤ 2 ^ q.