Sensitivity of a disjunction of blocks #
A disjunction over disjoint blocks of input bits changes value under a single-bit flip only when
the flip changes the block containing the bit and that block change changes the disjunction.
When some block accepts, only that block can change the disjunction; when every block rejects,
every block can. sum_le_max_of_or is this count-level argument, independent of how blocks are
laid out or how their local sensitivities are measured. It is shared by the homogeneous
QueryComplexity.SensitivitySeparation.Internal.sensitivity_orCopies_le and by the dependent,
unequal-size native layout below.
The native layout orBlocks puts blocks of sizes sizes b consecutively in block order using
Mathlib's finSigmaFinEquiv, transported along a length equation ∑ b, sizes b = n.
Main definitions #
Cslib.BitString.blockEquiv: the consecutive layout of unequal blocks insideFin n.Cslib.BitString.blockOf: the restriction of an input to one block.Cslib.BitString.orBlocks: the OR of local Boolean functions on the blocks.
Main results #
Cslib.BitString.sum_le_max_of_or: the shared dependent-OR counting argument.Cslib.BitString.sensitivityAt_orBlocks: sensitivity at an input is the sum of local sensitivities over the blocks whose flip changes the disjunction.Cslib.BitString.sensitivity_orBlocks_le: rejected-block boundS₀and accepted-block boundS₁gives(orBlocks g) ≤ max (k * S₀) S₁.
Dependent-OR counting. Let y k be the value of block k, T the blocks whose change
changes the disjunction, and s k a count attached to block k (for instance its local
sensitivity). If every accepting block j forces T ⊆ {j}, rejected blocks have count at most
S₀ and accepted blocks at most S₁, then the counts over T sum to at most
max (card K * S₀) S₁.
The OR of the local functions g b on the blocks of the consecutive layout.
A coordinate is sensitive for the disjunction iff it is sensitive for its block and that block is one whose flip changes the disjunction.
The sensitive coordinates of the disjunction are the sensitive coordinates of the blocks whose flip changes the disjunction, placed by the layout.
Sensitivity of a disjunction of blocks. The sensitivity at x is the sum of the local
sensitivities over the blocks whose flip changes the disjunction.
If rejected blocks have local sensitivity at most S₀ and accepted blocks at most S₁,
then the disjunction of k blocks has sensitivity at most max (k * S₀) S₁.
If exactly block b accepts, the disjunction has the local sensitivity of block b.