Binary arithmetic for the strict-majority tester #
The decision after sampling in [Goldreich2007DraftR5, Exercise 10.9, p. 498] is computable in time polynomial in the binary input length and binary sample count. For a fixed sample budget, the count has bounded length. The input-addressing and fair-coin stages require their own realization in the direct-access model of Definition 10.10.
For fixed probe budget and tolerance, the comparison on the binary length and number of sampled ones has a uniform deterministic polynomial-time realization.