Distributional expected query cost #
A deterministic tree's distributionalCost averages its executed query count over an input
simplex. The averaging direction of expected-cost Yao holds even without a finite coordinate
type: an always-correct randomized tree with a worst-input expected bound supplies a correct
pure tree with that distributional bound against every finitely supported input distribution.
Main definitions #
Cslib.DecisionTree.distributionalCost: average executed queries under an input distribution.
Main results #
Cslib.RandomizedDecisionTree.Computes.exists_distributionalCost_le: fix a random choice while preserving correctness and a distributional expected-cost bound.
References #
- [AB07], Definitions 11.13, 11.15–11.16 and Theorem 11.17.
Expected executed-query cost under a finitely supported input distribution. Coordinate finiteness is unnecessary for this definition.
Expand the expected cost as a finite weighted sum over inputs.
Pointwise domination of executed query costs implies domination of expected costs.
An always-correct randomized tree with a worst-input expected bound supplies a correct pure tree with that distributional cost bound against any input distribution.