Small covers by shifted distinctness tests #
Explicit finite bounds for the covering argument in Lecomte and Ramakrishnan,
Optimal Shallow Circuits for Majority, Sections 3 and 4. A test accepting at
least a 1/q fraction of the seeds at every valid input has a cover of size
q * (n + 1) when there are at most 2^n valid inputs. The finite union bound
is reused from Algebraic.Combinatorics.FiniteCover. We sample all shift
vectors and reject those with the wrong sum, rather than sampling only
sum-compatible vectors as in the paper. The resulting density k! / k^k
still gives the required exponential bound, using k^k ≤ 3^k * k!.
A success density of at least 1/q covers 2^n obligations with
q * (n + 1) tests. Repetition of tests is permitted.
The shifted tests cover any 2^n valid weight vectors using at most
3^|G| * (n+1) tests.
Independent residue tests can be covered simultaneously, with an exponent equal to the sum of the group sizes.