Adjacent-pair predicates on unequal consecutive blocks #
The function in [AB07], Chapter 11 Exercise 2, is the OR of the local adjacent-pair
predicate adjacentPair over disjoint contiguous blocks. This module permits arbitrary, possibly
unequal block sizes laid out by Cslib.BitString.orBlocks. Every adjacent pair of a block is
accepted, including overlapping choices; the block-sensitivity witness family uses only the
disjoint pairs starting at even local positions.
Main definitions #
Cslib.BitString.adjacentPairBlocks: the OR ofadjacentPairover the given block sizes.Cslib.BitString.adjacentPairWitness: one designated pair used for the lower bound.Cslib.BitString.adjacentPairSensitiveFamily: all these disjoint pair witnesses.
Main results #
Cslib.BitString.sensitivity_adjacentPairBlocks_le: withkblocks of size at mostM,s(f) ≤ max (3 * k) M.Cslib.BitString.le_sensitivity_adjacentPairBlocks: every block of size at least two givessizes b ≤ s(f).Cslib.BitString.sum_half_le_blockSensitivity_adjacentPairBlocks:∑ b, sizes b / 2 ≤ bs(f).Cslib.BitString.card_le_three_mul_blockSensitivity_adjacentPairBlocks:n ≤ 3 bs(f)when every block has at least two coordinates.
Sensitivity upper bound. A rejected block has local sensitivity at most three and an
accepted block of size at most M has local sensitivity at most M.
The j-th disjoint pair in block b consists of local positions 2 * j and 2 * j + 1.
These are witnesses for block sensitivity; the function itself also accepts overlapping
pairs.
Flipping a designated pair at zero creates an accepted local adjacent pair.
Witnesses with distinct indices are disjoint, within a block and across blocks.
The concrete family is sensitive at zero and pairwise disjoint.
If every block has at least two coordinates, three times block sensitivity covers every input coordinate. Odd and unequal block sizes are permitted.