Introduction
Main contribution. Theorem 6.17 gives a complete closed formula for global block sensitivity of consecutive even-degree monomial rotation symmetric Boolean functions at sufficiently large lengths. Its proof is independent of the companion paper’s universal sensitivity inequality. The quadratic and quartic classifications from the earlier version remain original contributions of the present paper and are incorporated as integral parts of the expanded treatment; they are not results borrowed from independent prior work.
A Boolean function on n n n variables is a map
f : { 0 , 1 } n ⟶ { 0 , 1 } . f : \{0,1\}^{n} \longrightarrow\{0,1\}. f : { 0 , 1 } n ⟶ { 0 , 1 } .
Among the fundamental complexity measures associated with Boolean functions are sensitivity, block sensitivity, and certificate complexity. Block sensitivity was introduced by Nisan in connection with decision-tree and parallel computation complexity [11 ] ; the relations among these measures have since played a central role in Boolean-function complexity, including the sensitivity conjecture of Nisan and Szegedy [12 ] , proved by Huang [8 ] . For every Boolean function f f f ,
s ( f ) ≤ b s ( f ) ≤ C ( f ) . s(f) \le bs(f) \le C(f). s ( f ) ≤ b s ( f ) ≤ C ( f ) .
Exact formulas for these measures are nevertheless known only for special classes. In our earlier joint work, we studied sensitivity and block sensitivity of elementary symmetric Boolean functions [17 ] , and certificate complexity for this class [15 , 16 ] . General quantitative relations between sensitivity and certificate complexity were developed by He et al. [7 ] .
Rotation symmetric Boolean functions form an important class of Boolean functions invariant under cyclic permutations of their variables. Their counting and cryptographic properties were studied systematically by Stănică and Maitra [13 ] ; subsequent work on monomial rotation symmetric functions includes affine-equivalence and weight questions for quartic functions [6 ] , and detailed work on quadratic MRS functions [5 ] . Higher-order derivative structure, linear structures, and fast points of RSBFs have also been studied by Sun and Shi [14 ] . From the complexity point of view, cyclically invariant and more generally transitive Boolean functions have been studied by Chakraborty [2 ] and, more recently, by Chaubal and Gál [4 ] . Recent work of Chakraborty and Gál also studies the number and structure of minimal sensitive blocks [3 ] . These works concern general bounds, constructions, or sensitive-block parameters rather than the exact certificate- and block-sensitivity formulas for the monomial rotation symmetric families considered here.
Relation to the earlier version of this paper.
An earlier version of this article (arXiv:2610.17100) presented, among other results, our exact quadratic and consecutive-quartic classifications. Those are original results of the present authors and remain contributions of this expanded article. The present version retains these results and adds the general even-degree theorem and further certificate-complexity results. The earlier posting documents the authors’ own discoveries; it is not independent prior work.
Our companion manuscript, Sensitivity of Rotation Symmetric Boolean Functions via Binary Necklaces [10 ] , develops the sensitivity theory for these families. For the consecutive even-degree family in the sufficiently-large-length range, we give an independent sensitivity proof in Corollary 6.18. The purpose of the present paper is to study block sensitivity and certificate complexity for the same class of functions, and in particular to compare these measures with the known sensitivity values. The quartic sensitivity values are reproved for the sufficiently-large-length range by Corollary 6.18; small lengths are treated separately. The companion manuscript is cited for background, not as a necessary input to our general even-degree sensitivity proof. The proof of our n = 4 ( m o d 6 ) n = 4 \pmod{6} n = 4 ( mod 6 ) certificate bound is supplied independently in the present paper, with the finite-state identities and their exact verifier reproduced in Appendix § 13 ; it does not rely on the finite-state excursion argument from an earlier companion draft. We first formulate certificate complexity and block sensitivity on the necklace space: the sensitive-block hypergraph at a necklace is decomposed into cyclic difference families indexed by opposite-value necklaces, so that certificate complexity is its transversal number and block sensitivity is its matching number. We also determine the stabilizer-orbit structure of these difference families. To the best of our knowledge, these exact block-sensitivity and certificate-complexity formulas were not established in independent earlier work; the quadratic and quartic formulas were already reported in the authors’ earlier version of this paper.
The strict separation in this paper also distinguishes cyclic symmetry from full permutation symmetry. In the fully symmetric setting, it is known that for every nonconstant fully symmetric Boolean function, b s ( f ) ≤ max { s ( f ) , C ( f ) − 1 } bs(f) \le\max\{s(f), C(f)-1\} b s ( f ) ≤ max { s ( f ) , C ( f ) − 1 } [9 ] . In particular such a function cannot satisfy s ( f ) < b s ( f ) = C ( f ) s(f) < bs(f) = C(f) s ( f ) < b s ( f ) = C ( f ) . By contrast, the quadratic and consecutive quartic MRS families below provide infinite families with exactly this pattern. Thus cyclic invariance alone permits a separation forbidden by full symmetry.
Our first observation completely settles the odd-degree case. Every odd-degree monomial rotation symmetric Boolean function has sensitivity n n n . Since
s ( f ) ≤ C ( f ) ≤ n , s(f) \le C(f) \le n, s ( f ) ≤ C ( f ) ≤ n ,
its certificate complexity is necessarily n n n .
The quadratic case is considerably more interesting. Let Q n , k Q_{n,k} Q n , k denote the rotation symmetric Boolean function generated by x 0 x k x_0x_k x 0 x k . We obtain an exact pointwise description of C ( Q n , k , x ) C(Q_{n,k},x) C ( Q n , k , x ) using an associated graph consisting of disjoint cycles. This reduces the certificate problem to an independence-number problem on certain induced subgraphs of cycles.
If
d = gcd ( n , k ) , m = n d , d=\gcd(n,k), \qquad m=\frac{n}{d}, d = g cd( n , k ) , m = d n ,
then, apart from the short-orbit case k = n / 2 k=n/2 k = n /2 ,
C ( Q n , k ) = { n , 4 ∣ m , n − d , 4 ∤ m . C(Q_{n,k}) =
\begin{cases}
n, & 4 \mid m,\\
n-d, & 4 \nmid m.
\end{cases} C ( Q n , k ) = { n , n − d , 4 ∣ m , 4 ∤ m .
In the short-orbit case, C ( Q n , n / 2 ) = n C(Q_{n,n/2})=n C ( Q n , n /2 ) = n .
Comparison with the corresponding sensitivity formula gives
s ( Q n , k ) < C ( Q n , k ) s(Q_{n,k}) < C(Q_{n,k}) s ( Q n , k ) < C ( Q n , k )
if and only if k ≠ n / 2 k \ne n/2 k = n /2 and
m ≡ 2 ( m o d 4 ) . m \equiv2 \pmod{4}. m ≡ 2 ( mod 4 ) .
In that case,
C ( Q n , k ) − s ( Q n , k ) = d . C(Q_{n,k})-s(Q_{n,k})=d. C ( Q n , k ) − s ( Q n , k ) = d .
We further prove that
b s ( Q n , k ) = C ( Q n , k ) bs(Q_{n,k})=C(Q_{n,k}) b s ( Q n , k ) = C ( Q n , k )
for every quadratic MRS function. Thus the same congruence condition m ≡ 2 ( m o d 4 ) m \equiv2 \pmod{4} m ≡ 2 ( mod 4 ) characterizes precisely when
s ( Q n , k ) < b s ( Q n , k ) = C ( Q n , k ) . s(Q_{n,k}) < bs(Q_{n,k}) = C(Q_{n,k}). s ( Q n , k ) < b s ( Q n , k ) = C ( Q n , k ) .
Preliminaries
Throughout, coordinates are indexed by
Z n = { 0 , 1 , … , n − 1 } , \mathbb{Z}_n=\{0,1,\ldots,n-1\}, Z n = { 0 , 1 , … , n − 1 } ,
with all subscripts interpreted modulo n n n . A cyclic interval of length ℓ \ell ℓ is a set of the form { a , a + 1 , … , a + ℓ − 1 } ⊆ Z n \{a,a+1,\ldots,a+\ell-1\}\subseteq\mathbb{Z}_n { a , a + 1 , … , a + ℓ − 1 } ⊆ Z n , understood modulo n n n . For t ∈ Z n t\in\mathbb{Z}_n t ∈ Z n and x ∈ { 0 , 1 } n x\in\{0,1\}^n x ∈ { 0 , 1 } n , define the cyclic rotation R t R_t R t by ( R t x ) i = x i − t (R_t x)_i=x_{i-t} ( R t x ) i = x i − t , with subscripts modulo n n n . A Boolean function f f f is rotation symmetric if f ( R t x ) = f ( x ) f(R_t x)=f(x) f ( R t x ) = f ( x ) for every x x x and t t t . A binary necklace [ x ] = { R t x : t ∈ Z n } [x]=\{R_t x:t\in\mathbb{Z}_n\} [ x ] = { R t x : t ∈ Z n } is the orbit of a binary word x x x under cyclic rotation; a statement about a necklace input means the corresponding rotation-invariant statement for any representative. A maximal one-run (respectively, zero-gap ) is a maximal cyclic string of consecutive ones (respectively, zeros). Unless a constant word is explicitly considered, the cyclic run decomposition alternates nonempty one-runs and zero-gaps. We write ( u ) + = max { u , 0 } (u)_+=\max\{u,0\} ( u ) + = max { u , 0 } . For binary words, 1 a 1^a 1 a and 0 b 0^b 0 b denote runs of a a a ones and b b b zeros, respectively; juxtaposition denotes concatenation, and w q w^q w q denotes q q q concatenated copies of the word w w w (not exponentiation in a field). The symbol 1 n 1^n 1 n denotes the all-one word. For i , j ∈ Z n i,j\in\mathbb{Z}_n i , j ∈ Z n , their cyclic distance is dist n ( i , j ) = min { ∣ i − j ∣ , n − ∣ i − j ∣ } \operatorname{dist}_n(i,j)=\min\{|i-j|,n-|i-j|\} dist n ( i , j ) = min { ∣ i − j ∣ , n − ∣ i − j ∣ } , where i , j i,j i , j are represented by integers in { 0 , … , n − 1 } \{0,\ldots,n-1\} { 0 , … , n − 1 } . All polynomial formulas for Boolean functions are evaluated in F 2 \mathbb{F}_2 F 2 ; ⊕ \oplus ⊕ denotes addition modulo two (XOR), while juxtaposition of bits denotes their product.
For x ∈ { 0 , 1 } n x\in\{0,1\}^n x ∈ { 0 , 1 } n and S ⊆ Z n S\subseteq\mathbb{Z}_n S ⊆ Z n , write x S x^S x S for the input obtained from x x x by flipping all coordinates in S S S . When S = { i } S=\{i\} S = { i } , write x ( i ) x^{(i)} x ( i ) . Let e i ∈ { 0 , 1 } n e_i\in\{0,1\}^n e i ∈ { 0 , 1 } n be the vector having a one only in coordinate i i i , and let 1 U \mathbf{1}_U 1 U be the indicator vector of a set U ⊆ Z n U\subseteq\mathbb{Z}_n U ⊆ Z n . Thus x U = x ⊕ 1 U x^U=x\oplus\mathbf{1}_U x U = x ⊕ 1 U . For a Boolean function f f f , its first and mixed second Boolean derivatives are
D i f ( x ) = f ( x ( i ) ) ⊕ f ( x ) , D i D j f ( x ) = ⨁ U ⊆ { i , j } f ( x U ) ( i ≠ j ) . D_i f(x)=f(x^{(i)})\oplus f(x),\qquad D_iD_jf(x)=\bigoplus_{U\subseteq\{i,j\}}f(x^U)\quad(i\ne j). D i f ( x ) = f ( x ( i ) ) ⊕ f ( x ) , D i D j f ( x ) = U ⊆ { i , j } ⨁ f ( x U ) ( i = j ) .
In particular, coordinate i i i is sensitive at x x x precisely when D i f ( x ) = 1 D_i f(x)=1 D i f ( x ) = 1 .
The sensitivity of f f f at x x x is
s ( f , x ) = ∣ { i ∈ Z n : f ( x ) ≠ f ( x ( i ) ) } ∣ , s ( f ) = max x s ( f , x ) . s(f,x)=\left|\{i\in\mathbb{Z}_n:f(x)\ne f(x^{(i)})\}\right|,\qquad s(f)=\max_x s(f,x). s ( f , x ) = { i ∈ Z n : f ( x ) = f ( x ( i ) )} , s ( f ) = x max s ( f , x ) .
A certificate for f f f at x x x is a set S ⊆ Z n S\subseteq\mathbb{Z}_n S ⊆ Z n such that every y ∈ { 0 , 1 } n y\in\{0,1\}^n y ∈ { 0 , 1 } n satisfying y i = x i y_i=x_i y i = x i for all i ∈ S i\in S i ∈ S also satisfies f ( y ) = f ( x ) f(y)=f(x) f ( y ) = f ( x ) . The certificate complexity at x x x is
C ( f , x ) = min { ∣ S ∣ : S is a certificate for f at x } , C(f,x)=\min\{|S|:S\text{ is a certificate for }f\text{ at }x\}, C ( f , x ) = min { ∣ S ∣ : S is a certificate for f at x } ,
and
C ( f ) = max x C ( f , x ) . C(f)=\max_x C(f,x). C ( f ) = x max C ( f , x ) .
For a nonempty set B ⊆ Z n B\subseteq\mathbb{Z}_n B ⊆ Z n , write x B x^B x B for the input obtained by flipping all coordinates in B B B . A block B B B is sensitive for f f f at x x x if
f ( x ) ≠ f ( x B ) . f(x)\ne f(x^B). f ( x ) = f ( x B ) .
The block sensitivity b s ( f , x ) bs(f,x) b s ( f , x ) is the maximum number of pairwise disjoint sensitive blocks at x x x , and
b s ( f ) = max x b s ( f , x ) . bs(f)=\max_x bs(f,x). b s ( f ) = x max b s ( f , x ) .
For a necklace X = [ x ] X=[x] X = [ x ] and a rotation symmetric function f f f , set s ( f , X ) = s ( f , x ) s(f,X)=s(f,x) s ( f , X ) = s ( f , x ) , b s ( f , X ) = b s ( f , x ) bs(f,X)=bs(f,x) b s ( f , X ) = b s ( f , x ) , and C ( f , X ) = C ( f , x ) C(f,X)=C(f,x) C ( f , X ) = C ( f , x ) . These definitions do not depend on the representative x x x , since cyclic rotations permute the coordinates, sensitive blocks, and certificates bijectively.
It is standard that
s ( f , x ) ≤ b s ( f , x ) ≤ C ( f , x ) s(f,x) \le bs(f,x) \le C(f,x) s ( f , x ) ≤ b s ( f , x ) ≤ C ( f , x )
for every input x x x , and consequently
s ( f ) ≤ b s ( f ) ≤ C ( f ) ≤ n . s(f) \le bs(f) \le C(f) \le n. s ( f ) ≤ b s ( f ) ≤ C ( f ) ≤ n .
For completeness, we regard a hypergraph on Z n \mathbb{Z}_n Z n as a family of subsets of Z n \mathbb{Z}_n Z n (its hyperedges). A transversal or hitting set intersects every hyperedge, and a matching is a subfamily of pairwise disjoint hyperedges. The minimum transversal size and maximum matching size are denoted by τ \tau τ and ν \nu ν , respectively. Both values are zero for the empty hyperedge family. In the sensitive-block hypergraphs below, every hyperedge is nonempty.
The following standard hitting-set interpretation of certificate complexity will also be useful. For x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , let
B f ( x ) = { B ⊆ Z n : f ( x B ) ≠ f ( x ) } . \mathcal{B}_f(x) = \{B \subseteq\mathbb{Z}_n : f(x^B) \ne f(x)\}. B f ( x ) = { B ⊆ Z n : f ( x B ) = f ( x )} .
Thus B f ( x ) \mathcal{B}_f(x) B f ( x ) is the family of sensitive blocks at x x x .
Lemma 2.1 (Standard certificate–transversal characterization). For every Boolean function f f f and every input x x x ,
C ( f , x ) = τ ( B f ( x ) ) , C(f,x) = \tau(\mathcal{B}_f(x)), C ( f , x ) = τ ( B f ( x )) , where τ \tau τ denotes the minimum size of a set meeting every member of B f ( x ) \mathcal{B}_f(x) B f ( x ) . Equivalently, it is enough to hit the inclusion-minimal members of B f ( x ) \mathcal{B}_f(x) B f ( x ) .
Reference. This standard identity follows directly from the definitions of certificates and sensitive blocks; for general background on certificate complexity, see [12 , 1 ] . Neither paper is asserted here to be the original source of this exact formulation.
Proof. If S S S is a certificate at x x x , then S S S must meet every B ∈ B f ( x ) B \in\mathcal{B}_f(x) B ∈ B f ( x ) ; otherwise x B x^B x B agrees with x x x on all coordinates of S S S but satisfies f ( x B ) ≠ f ( x ) f(x^B) \ne f(x) f ( x B ) = f ( x ) .
Conversely, suppose S S S meets every member of B f ( x ) \mathcal{B}_f(x) B f ( x ) . If S S S were not a certificate, there would be an input y y y agreeing with x x x on S S S but satisfying f ( y ) ≠ f ( x ) f(y) \ne f(x) f ( y ) = f ( x ) . Let
B = { i ∈ Z n : x i ≠ y i } . B = \{i \in\mathbb{Z}_n : x_i \ne y_i\}. B = { i ∈ Z n : x i = y i } .
Then y = x B y = x^B y = x B , so B ∈ B f ( x ) B \in\mathcal{B}_f(x) B ∈ B f ( x ) , while B ∩ S = ∅ B \cap S = \varnothing B ∩ S = ∅ , a contradiction. Hence S S S is a certificate. Finally, every sensitive block contains an inclusion-minimal sensitive block, so the transversal number is unchanged if only the inclusion-minimal members are retained. □
We use this known general viewpoint below as background for rotation-symmetric refinements; the hitting-set characterization itself is not claimed as new.
For rotation symmetric functions, the same hypergraph admits a natural decomposition by necklaces. Let N n \mathcal{N}_n N n denote the set of binary necklaces of length n n n . If X = [ x ] X = [x] X = [ x ] and Y = [ y ] Y = [y] Y = [ y ] are necklaces, define
Δ k ( x , y ) = { i ∈ Z n : x i ≠ ( R k y ) i } , k ∈ Z n , \Delta_k(x,y) = \{i \in\mathbb{Z}_n : x_i \ne(R_k y)_i\}, \qquad k \in\mathbb{Z}_n, Δ k ( x , y ) = { i ∈ Z n : x i = ( R k y ) i } , k ∈ Z n ,
and let
D ( X , Y ) = { Δ k ( x , y ) : k ∈ Z n } . \mathcal{D}(X,Y) = \{\Delta_k(x,y) : k \in\mathbb{Z}_n\}. D ( X , Y ) = { Δ k ( x , y ) : k ∈ Z n } .
Changing the representative y y y only reindexes k k k . Changing the representative of X X X rotates every member of the family by a common cyclic translation. Thus D ( X , Y ) \mathcal{D}(X,Y) D ( X , Y ) is well defined up to cyclic translation, and in particular its transversal and matching numbers are independent of the chosen representatives.
For a rotation symmetric Boolean function f f f , write f ‾ ( X ) = f ( x ) \overline{f}(X)=f(x) f ( X ) = f ( x ) , and define the opposite-necklace difference hypergraph
H f ( X ) = ⋃ Y ∈ N n f ‾ ( Y ) ≠ f ‾ ( X ) D ( X , Y ) . \mathcal{H}_f(X)=\bigcup_{\substack{Y\in\mathcal{N}_n\\ \overline{f}(Y)\ne\overline{f}(X)}}\mathcal{D}(X,Y). H f ( X ) = Y ∈ N n f ( Y ) = f ( X ) ⋃ D ( X , Y ) .
The matching number ν ( H ) \nu(\mathcal{H}) ν ( H ) of a hypergraph H \mathcal{H} H is the maximum cardinality of a family of pairwise disjoint hyperedges of H \mathcal{H} H . By the standard definition of block sensitivity [11 ] , b s ( f , x ) = ν ( B f ( x ) ) bs(f,x)=\nu(\mathcal{B}_f(x)) b s ( f , x ) = ν ( B f ( x )) . Thus the next statement is a convenient necklace reformulation of standard sensitive-block and certificate identities, not a new general complexity characterization.
Theorem 2.2 (Necklace reformulation of the sensitive-block hypergraph). Let f f f be a rotation symmetric Boolean function and X = [ x ] X=[x] X = [ x ] . Then
H f ( [ x ] ) = B f ( x ) for the chosen representative x . \mathcal{H}_f([x])=\mathcal{B}_f(x)\quad\text{for the chosen representative }x. H f ([ x ]) = B f ( x ) for the chosen representative x . Consequently,
C ( f , X ) = τ ( H f ( X ) ) C(f,X)=\tau(\mathcal{H}_f(X)) C ( f , X ) = τ ( H f ( X )) and
b s ( f , X ) = ν ( H f ( X ) ) , bs(f,X)=\nu(\mathcal{H}_f(X)), b s ( f , X ) = ν ( H f ( X )) , where ν \nu ν denotes the matching number defined above. In particular,
C ( f ) = max X ∈ N n τ ( H f ( X ) ) , b s ( f ) = max X ∈ N n ν ( H f ( X ) ) . C(f)=\max_{X\in\mathcal{N}_n}\tau(\mathcal{H}_f(X)),\qquad bs(f)=\max_{X\in\mathcal{N}_n}\nu(\mathcal{H}_f(X)). C ( f ) = X ∈ N n max τ ( H f ( X )) , b s ( f ) = X ∈ N n max ν ( H f ( X )) .
References and scope. The matching interpretation of block sensitivity is immediate from Nisan’s definition [11 ] ; the transversal interpretation of certificates is the standard fact in Lemma 2.1. Their necklace-indexed restatement is included here for use in subsequent arguments.
Proof. Fix X = [ x ] X=[x] X = [ x ] . If
B = Δ k ( x , y ) ∈ D ( X , Y ) B=\Delta_k(x,y)\in\mathcal{D}(X,Y) B = Δ k ( x , y ) ∈ D ( X , Y )
for a necklace Y = [ y ] Y=[y] Y = [ y ] with f ‾ ( Y ) ≠ f ‾ ( X ) \overline{f}(Y)\ne\overline{f}(X) f ( Y ) = f ( X ) , then
x B = R k y . x^B=R_k y. x B = R k y .
Rotation symmetry gives
f ( x B ) = f ( R k y ) = f ( y ) = f ‾ ( Y ) ≠ f ‾ ( X ) = f ( x ) . f(x^B)=f(R_k y)=f(y)=\overline{f}(Y)\ne\overline{f}(X)=f(x). f ( x B ) = f ( R k y ) = f ( y ) = f ( Y ) = f ( X ) = f ( x ) .
Hence B ∈ B f ( x ) B\in\mathcal{B}_f(x) B ∈ B f ( x ) , and therefore
H f ( X ) ⊆ B f ( x ) . \mathcal{H}_f(X)\subseteq\mathcal{B}_f(x). H f ( X ) ⊆ B f ( x ) .
Conversely, let B ∈ B f ( x ) B\in\mathcal{B}_f(x) B ∈ B f ( x ) and put y = x B y=x^B y = x B . Then f ( y ) ≠ f ( x ) f(y)\ne f(x) f ( y ) = f ( x ) . If Y = [ y ] Y=[y] Y = [ y ] , rotation symmetry implies
f ‾ ( Y ) ≠ f ‾ ( X ) , \overline{f}(Y)\ne\overline{f}(X), f ( Y ) = f ( X ) ,
and
B = { i : x i ≠ y i } = Δ 0 ( x , y ) . B=\{i:x_i\ne y_i\}=\Delta_0(x,y). B = { i : x i = y i } = Δ 0 ( x , y ) .
Thus B ∈ D ( X , Y ) ⊆ H f ( X ) B \in\mathcal{D}(X,Y) \subseteq\mathcal{H}_f(X) B ∈ D ( X , Y ) ⊆ H f ( X ) . Hence
B f ( x ) ⊂ H f ( X ) , \mathcal{B}_f(x) \subset\mathcal{H}_f(X), B f ( x ) ⊂ H f ( X ) ,
proving equality.
The certificate formula follows from the preceding transversal characterization. The block-sensitivity formula follows because a family of pairwise disjoint sensitive blocks is exactly a matching in B f ( x ) = H f ( X ) \mathcal{B}_f(x)=\mathcal{H}_f(X) B f ( x ) = H f ( X ) . Finally, both quantities are invariant under rotation of x x x , so maximizing over inputs is equivalent to maximizing over necklaces.
Remark 2.3. The transversal/matching interpretation of sensitive blocks is standard for general Boolean functions [11 , 1 ] . The theorem above records the additional rotation-symmetric structure by decomposing the sensitive-block hypergraph into cyclic difference families indexed by opposite-value necklaces.
We next describe the internal orbit structure of a single difference family. For a word z ∈ { 0 , 1 } n z \in\{0,1\}^{n} z ∈ { 0 , 1 } n , write
H z = { a ∈ Z n : R a z = z } H_z=\{a\in\mathbb{Z}_n:R_a z=z\} H z = { a ∈ Z n : R a z = z }
for its rotational stabilizer, and put h z = ∣ H z ∣ h_z=|H_z| h z = ∣ H z ∣ .
Theorem 2.4 (Difference-orbit structure). Let X = [ x ] X=[x] X = [ x ] and Y = [ y ] Y=[y] Y = [ y ] be binary necklaces of length n n n . Then
Δ k ( x , y ) = Δ ℓ ( x , y ) ⟺ ℓ − k ∈ H y . \Delta_k(x,y)=\Delta_\ell(x,y)\quad\Longleftrightarrow\quad\ell-k\in H_y. Δ k ( x , y ) = Δ ℓ ( x , y ) ⟺ ℓ − k ∈ H y . Consequently,
∣ D ( X , Y ) ∣ = n h y = ∣ Y ∣ . |\mathcal{D}(X,Y)|=\frac{n}{h_y}=|Y|. ∣ D ( X , Y ) ∣ = h y n = ∣ Y ∣. Moreover, H x H_x H x acts on D ( X , Y ) \mathcal{D}(X,Y) D ( X , Y ) by cyclic translation of blocks. Every H x H_x H x -orbit has size
h x ∣ H x ∩ H y ∣ , \frac{h_x}{|H_x\cap H_y|}, ∣ H x ∩ H y ∣ h x , and the number of such orbits is
n ∣ H x ∩ H y ∣ h x h y = n ∣ H x + H y ∣ . \frac{n|H_x\cap H_y|}{h_xh_y}=\frac{n}{|H_x+H_y|}. h x h y n ∣ H x ∩ H y ∣ = ∣ H x + H y ∣ n . Since Z n \mathbb{Z}_n Z n is cyclic,
∣ H x ∩ H y ∣ = gcd ( h x , h y ) , ∣ H x + H y ∣ = lcm ( h x , h y ) , |H_x\cap H_y|=\gcd(h_x,h_y),\qquad|H_x+H_y|=\operatorname{lcm}(h_x,h_y), ∣ H x ∩ H y ∣ = g cd( h x , h y ) , ∣ H x + H y ∣ = lcm ( h x , h y ) , so equivalently
orbit size = h x gcd ( h x , h y ) , number of orbits = n lcm ( h x , h y ) . \textit{orbit size}=\frac{h_x}{\gcd(h_x,h_y)},\qquad\textit{number of orbits}=\frac{n}{\operatorname{lcm}(h_x,h_y)}. orbit size = g cd( h x , h y ) h x , number of orbits = lcm ( h x , h y ) n .
Proof. By definition,
Δ k ( x , y ) = { i : x i ≠ ( R k y ) i } . \Delta_k(x,y)=\{i:x_i\ne(R_k y)_i\}. Δ k ( x , y ) = { i : x i = ( R k y ) i } .
Thus
Δ k ( x , y ) = Δ ℓ ( x , y ) \Delta_k(x,y)=\Delta_\ell(x,y) Δ k ( x , y ) = Δ ℓ ( x , y )
if and only if
x ⊕ R k y = x ⊕ R ℓ y , x \oplus R_k y = x \oplus R_\ell y, x ⊕ R k y = x ⊕ R ℓ y ,
which is equivalent to
R k y = R ℓ y . R_k y = R_\ell y. R k y = R ℓ y .
Hence
R ℓ − k y = y , R_{\ell-k}y = y, R ℓ − k y = y ,
or equivalently ℓ − k ∈ H y \ell-k \in H_y ℓ − k ∈ H y . Therefore the distinct members of D ( X , Y ) \mathcal{D}(X,Y) D ( X , Y ) are naturally indexed by the cosets of H y H_y H y in Z n \mathbb{Z}_n Z n , giving
∣ D ( X , Y ) ∣ = n h y . |\mathcal{D}(X,Y)| = \frac{n}{h_y}. ∣ D ( X , Y ) ∣ = h y n .
Now let a ∈ H x a \in H_x a ∈ H x . Since R a x = x R_a x = x R a x = x , rotation of a difference block by a a a gives
Δ k ( x , y ) + a = Δ k + a ( x , y ) \Delta_k(x,y) + a = \Delta_{k+a}(x,y) Δ k ( x , y ) + a = Δ k + a ( x , y )
with the chosen rotation convention. Thus H x H_x H x acts on D ( X , Y ) \mathcal{D}(X,Y) D ( X , Y ) . The stabilizer in H x H_x H x of the block Δ k ( x , y ) \Delta_k(x,y) Δ k ( x , y ) consists of those a ∈ H x a \in H_x a ∈ H x for which
Δ k + a ( x , y ) = Δ k ( x , y ) . \Delta_{k+a}(x,y) = \Delta_k(x,y). Δ k + a ( x , y ) = Δ k ( x , y ) .
By the first part, this is exactly H x ∩ H y H_x \cap H_y H x ∩ H y . The orbit-stabilizer theorem therefore gives orbit size
h x ∣ H x ∩ H y ∣ . \frac{h_x}{|H_x \cap H_y|}. ∣ H x ∩ H y ∣ h x .
Dividing the total number n / h y n/h_y n / h y of distinct blocks by this orbit size gives
n ∣ H x ∩ H y ∣ h x h y . \frac{n|H_x \cap H_y|}{h_xh_y}. h x h y n ∣ H x ∩ H y ∣ .
For finite subgroups,
∣ H x + H y ∣ = ∣ H x ∣ ∣ H y ∣ ∣ H x ∩ H y ∣ , |H_x + H_y| = \frac{|H_x||H_y|}{|H_x \cap H_y|}, ∣ H x + H y ∣ = ∣ H x ∩ H y ∣ ∣ H x ∣∣ H y ∣ ,
which yields the second displayed form. Finally, subgroups of the cyclic group Z n \mathbb{Z}_n Z n are uniquely determined by their orders, so their intersection and generated subgroup have orders gcd ( h x , h y ) \gcd(h_x,h_y) g cd( h x , h y ) and lcm ( h x , h y ) \operatorname{lcm}(h_x,h_y) lcm ( h x , h y ) , respectively. □
Remark 2.5. Thus the opposite-necklace formula may be organized orbit by orbit. For a fixed pair X , Y X,Y X , Y , the family D ( X , Y ) \mathcal{D}(X,Y) D ( X , Y ) has exactly n / h y n/h_y n / h y distinct blocks, arranged into
n lcm ( h x , h y ) \frac{n}{\operatorname{lcm}(h_x,h_y)} lcm ( h x , h y ) n
orbits under the stabilizer of X X X . This gives a structural compression of the sensitive-block hypergraph whenever X X X has nontrivial rotational symmetry.
The inequalities s ≤ b s ≤ C s \le bs \le C s ≤ b s ≤ C allow the certificate framework above to determine block sensitivity in many cases without a separate optimization.
Corollary 2.6 (Sandwich criterion). Let f f f be rotation symmetric and X = [ x ] X=[x] X = [ x ] . If
s ( f , X ) = C ( f , X ) , s(f,X)=C(f,X), s ( f , X ) = C ( f , X ) , then
s ( f , X ) = b s ( f , X ) = C ( f , X ) . \boxed{s(f,X)=bs(f,X)=C(f,X).} s ( f , X ) = b s ( f , X ) = C ( f , X ) . At the global level, if
s ( f ) = C ( f ) , s(f)=C(f), s ( f ) = C ( f ) , then
s ( f ) = b s ( f ) = C ( f ) . \boxed{s(f)=bs(f)=C(f).} s ( f ) = b s ( f ) = C ( f ) .
Reference. This is an immediate consequence of the standard inequalities s ( f , x ) ≤ b s ( f , x ) ≤ C ( f , x ) s(f,x)\le bs(f,x)\le C(f,x) s ( f , x ) ≤ b s ( f , x ) ≤ C ( f , x ) and their global versions; see [11 , 12 ] for background.
Proof. Both statements follow immediately from
s ( f , X ) ≤ b s ( f , X ) ≤ C ( f , X ) s(f,X)\le bs(f,X)\le C(f,X) s ( f , X ) ≤ b s ( f , X ) ≤ C ( f , X )
and
s ( f ) ≤ b s ( f ) ≤ C ( f ) , s(f)\le bs(f)\le C(f), s ( f ) ≤ b s ( f ) ≤ C ( f ) ,
respectively.
For a fixed input x x x , let
S f ( x ) = { i ∈ Z n : f ( x ( i ) ) ≠ f ( x ) } S_f(x)=\{i\in\mathbb{Z}_n:f(x^{(i)})\ne f(x)\} S f ( x ) = { i ∈ Z n : f ( x ( i ) ) = f ( x )}
be the sensitive-coordinate set, and put
N f ( x ) = Z n ∖ S f ( x ) . N_f(x)=\mathbb{Z}_n\setminus S_f(x). N f ( x ) = Z n ∖ S f ( x ) .
Theorem 2.7 (Nonsensitive-block criterion). Let f f f be a rotation symmetric Boolean function and X = [ x ] X=[x] X = [ x ] . Put
r = C ( f , X ) − s ( f , X ) . r=C(f,X)-s(f,X). r = C ( f , X ) − s ( f , X ) . Suppose there exist r r r pairwise disjoint sensitive blocks
B 1 , … , B r ⊆ N f ( x ) . B_1,\ldots,B_r\subseteq N_f(x). B 1 , … , B r ⊆ N f ( x ) . Then
b s ( f , X ) = C ( f , X ) . \boxed{bs(f,X)=C(f,X).} b s ( f , X ) = C ( f , X ) . Equivalently, it is enough to find r r r pairwise disjoint difference blocks
B j = Δ k j ( x , y j ) B_j=\Delta_{k_j}(x,y_j) B j = Δ k j ( x , y j ) with
f ˉ ( [ y j ] ) ≠ f ˉ ( X ) and B j ⊆ N f ( x ) . \bar{f}([y_j])\ne\bar{f}(X)
\qquad\text{and}\qquad
B_j\subseteq N_f(x). f ˉ ([ y j ]) = f ˉ ( X ) and B j ⊆ N f ( x ) .
Proof. The s ( f , X ) s(f, X) s ( f , X ) sensitive coordinates give s ( f , X ) s(f, X) s ( f , X ) pairwise disjoint sensitive singleton blocks
{ i } , i ∈ S f ( x ) . \{i\}, \qquad i \in S_f(x). { i } , i ∈ S f ( x ) .
By assumption, the blocks B 1 , … , B r B_1,\ldots,B_r B 1 , … , B r are pairwise disjoint and lie entirely in N f ( x ) N_f(x) N f ( x ) , so they are also disjoint from all of these sensitive singleton blocks. Hence
b s ( f , X ) ≥ s ( f , X ) + r = C ( f , X ) . bs(f, X) \ge s(f, X) + r = C(f, X). b s ( f , X ) ≥ s ( f , X ) + r = C ( f , X ) .
Since always b s ( f , X ) ≤ C ( f , X ) bs(f, X) \le C(f, X) b s ( f , X ) ≤ C ( f , X ) , equality follows. The equivalent necklace formulation follows from the necklace reformulation theorem, which identifies the sensitive blocks at x x x with the members of H f ( X ) \mathcal{H}_f(X) H f ( X ) .
Corollary 2.8. If
C ( f , X ) = s ( f , X ) + 1 C(f, X) = s(f, X) + 1 C ( f , X ) = s ( f , X ) + 1 and the nonsensitive-coordinate set N f ( x ) N_f(x) N f ( x ) contains a sensitive block, then
b s ( f , X ) = C ( f , X ) = s ( f , X ) + 1. bs(f, X) = C(f, X) = s(f, X) + 1. b s ( f , X ) = C ( f , X ) = s ( f , X ) + 1.
Remark 2.9. The criterion explains the mechanism in several exact families below. When s < C s < C s < C , the sensitive singleton blocks already account for s s s disjoint blocks; the remaining task is to pack enough additional sensitive blocks entirely inside the nonsensitive coordinates. In the quadratic and consecutive quartic families, this is precisely how the strict cases s < b s = C s < bs = C s < b s = C arise.
Two examples
The following small examples illustrate the two roles of the general framework.
Example 2.10 (An opposite-necklace difference family). Consider
Q 6 , 1 ( x ) = ⨁ i ∈ Z 6 x i x i + 1 . Q_{6,1}(x) = \bigoplus_{i\in\mathbb{Z}_6} x_i x_{i+1}. Q 6 , 1 ( x ) = i ∈ Z 6 ⨁ x i x i + 1 . and let
X = [ 000000 ] , Y = [ 000011 ] . X = [000000], \qquad Y = [000011]. X = [ 000000 ] , Y = [ 000011 ] . We have
Q 6 , 1 ( 000000 ) = 0 , Q 6 , 1 ( 000011 ) = 1 , Q_{6,1}(000000) = 0, \qquad Q_{6,1}(000011) = 1, Q 6 , 1 ( 000000 ) = 0 , Q 6 , 1 ( 000011 ) = 1 , so Y Y Y is an opposite-value necklace for X X X . Taking x = 000000 x = 000000 x = 000000 and y = 000011 y = 000011 y = 000011 , the six difference blocks are
D ( X , Y ) = { { 4 , 5 } , { 3 , 4 } , { 2 , 3 } , { 1 , 2 } , { 0 , 1 } , { 0 , 5 } } . \mathcal{D}(X,Y) = \{\{4,5\},\{3,4\},\{2,3\},\{1,2\},\{0,1\},\{0,5\}\}. D ( X , Y ) = {{ 4 , 5 } , { 3 , 4 } , { 2 , 3 } , { 1 , 2 } , { 0 , 1 } , { 0 , 5 }} . Thus this single opposite necklace contributes the six edges of the cycle C 6 C_6 C 6 to the sensitive-block hypergraph at X X X . Here H x = Z 6 H_x = \mathbb{Z}_6 H x = Z 6 , while y y y has trivial stabilizer. The difference-orbit theorem therefore predicts six distinct blocks forming one H x H_x H x -orbit of size six, exactly as displayed above. This example also shows concretely how an opposite necklace contributes an entire cyclic family of sensitive blocks rather than a single block.
Example 2.11 (The nonsensitive-block criterion for Q 6 , 1 Q_{6,1} Q 6 , 1 ). Again consider Q 6 , 1 Q_{6,1} Q 6 , 1 , now at
x = 000011. x = 000011. x = 000011. The Boolean derivative is
D j Q 6 , 1 ( x ) = x j − 1 ⊕ x j + 1 . D_jQ_{6,1}(x) = x_{j-1} \oplus x_{j+1}. D j Q 6 , 1 ( x ) = x j − 1 ⊕ x j + 1 . At this input the sensitive coordinates are
S f ( x ) = { 0 , 3 , 4 , 5 } , S_f(x) = \{0,3,4,5\}, S f ( x ) = { 0 , 3 , 4 , 5 } , while
N f ( x ) = { 1 , 2 } . N_f(x) = \{1,2\}. N f ( x ) = { 1 , 2 } . Thus
s ( Q 6 , 1 , x ) = 4. s(Q_{6,1},x) = 4. s ( Q 6 , 1 , x ) = 4. The four sensitive coordinates give four pairwise disjoint sensitive singleton blocks. Although coordinates 1 and 2 are individually nonsensitive, flipping them simultaneously changes the value:
Q 6 , 1 ( 000011 ) = 1 , Q 6 , 1 ( 011011 ) = 0. Q_{6,1}(000011) = 1,\qquad Q_{6,1}(011011) = 0. Q 6 , 1 ( 000011 ) = 1 , Q 6 , 1 ( 011011 ) = 0. Hence
B = { 1 , 2 } ⊆ N f ( x ) B = \{1,2\} \subseteq N_f(x) B = { 1 , 2 } ⊆ N f ( x ) is an additional sensitive block, disjoint from all four sensitive singletons. Therefore
b s ( Q 6 , 1 , x ) ≥ 5. bs(Q_{6,1},x) \ge5. b s ( Q 6 , 1 , x ) ≥ 5. The quadratic certificate theorem below gives
C ( Q 6 , 1 ) = 5 , C(Q_{6,1}) = 5, C ( Q 6 , 1 ) = 5 , so
s ( Q 6 , 1 ) = 4 < b s ( Q 6 , 1 ) = C ( Q 6 , 1 ) = 5. \boxed{s(Q_{6,1}) = 4 < bs(Q_{6,1}) = C(Q_{6,1}) = 5.} s ( Q 6 , 1 ) = 4 < b s ( Q 6 , 1 ) = C ( Q 6 , 1 ) = 5. This is the smallest quadratic illustration of the nonsensitive-block criterion.
For A ⊆ Z n A \subseteq\mathbb{Z}_n A ⊆ Z n , let
O ( A ) = { A + t : t ∈ Z n } O(A) = \{A+t:t\in\mathbb{Z}_n\} O ( A ) = { A + t : t ∈ Z n }
denote its orbit under cyclic translation. The monomial rotation symmetric Boolean function generated by A A A is
M A ( x ) = ⨁ B ∈ O ( A ) ∏ j ∈ B x j , M_A(x) = \bigoplus_{B\in O(A)} \prod_{j\in B} x_j, M A ( x ) = B ∈ O ( A ) ⨁ j ∈ B ∏ x j ,
where each distinct translated monomial is included exactly once.
Odd-Degree Monomial Rotation Symmetric Functions
Theorem 3.1 (Odd-degree MRS functions). Let M A M_A M A be a monomial rotation symmetric Boolean function on n n n variables. If ∣ A ∣ |A| ∣ A ∣ is odd, then
s ( M A ) = b s ( M A ) = C ( M A ) = n . s(M_A) = bs(M_A) = C(M_A) = n. s ( M A ) = b s ( M A ) = C ( M A ) = n . Proof. Our earlier sensitivity result [10 ] gives s ( M A ) = n s(M_A) = n s ( M A ) = n for every odd-degree monomial rotation symmetric function. The standard inequalities
s ( M A ) ≤ b s ( M A ) ≤ C ( M A ) ≤ n s(M_A) \le bs(M_A) \le C(M_A) \le n s ( M A ) ≤ b s ( M A ) ≤ C ( M A ) ≤ n then force equality throughout.
Thus all three measures are completely determined in odd degree; the nontrivial behavior begins in even degree.
Quadratic Monomial Rotation Symmetric Functions
For
1 ≤ k ≤ ⌊ n 2 ⌋ , 1 \le k \le\left\lfloor\frac{n}{2} \right\rfloor, 1 ≤ k ≤ ⌊ 2 n ⌋ ,
let Q n , k Q_{n,k} Q n , k denote the quadratic rotation symmetric Boolean function generated by x 0 x k x_0x_k x 0 x k . Except when n n n is even and k = n / 2 k = n/2 k = n /2 ,
Q n , k ( x ) = ⨁ i ∈ Z n x i x i + k . Q_{n,k}(x) = \bigoplus_{i\in\mathbb{Z}_n} x_i x_{i+k}. Q n , k ( x ) = i ∈ Z n ⨁ x i x i + k .
Define the undirected graph G n , k = ( Z n , E n , k ) G_{n,k} = (\mathbb{Z}_n,E_{n,k}) G n , k = ( Z n , E n , k ) with vertex set Z n \mathbb{Z}_n Z n and edge set
E n , k = { { i , i + k } : i ∈ Z n } . E_{n,k} = \{\{i, i+k\}: i \in\mathbb{Z}_n\}. E n , k = {{ i , i + k } : i ∈ Z n } .
If k ≠ n / 2 k \ne n/2 k = n /2 , then G n , k G_{n,k} G n , k is the disjoint union of d = gcd ( n , k ) d = \gcd(n,k) d = g cd( n , k ) cycles, each of length m = n / d m = n/d m = n / d . Indeed, starting at a vertex r r r , successive additions of k k k modulo n n n visit exactly the vertices r , r + k , r + 2 k , … r, r+k, r+2k, \ldots r , r + k , r + 2 k , … modulo n n n in its connected component. The first return to r r r occurs after n / d n/d n / d steps; there are d d d such components, with no edges between them. For any graph G = ( V , E ) G = (V,E) G = ( V , E ) and subset U ⊆ V U \subseteq V U ⊆ V , we write G [ U ] G[U] G [ U ] for the subgraph of G G G induced by U U U , with vertex set U U U and all edges of G G G having both endpoints in U U U .
For x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n , define
Z ( x ) = { j ∈ Z n : x j − k = x j + k } . Z(x) = \{j \in\mathbb{Z}_n : x_{j-k} = x_{j+k}\}. Z ( x ) = { j ∈ Z n : x j − k = x j + k } .
Lemma 4.1. Assume k ≠ n / 2 k \ne n/2 k = n /2 . For every x ∈ { 0 , 1 } n x \in\{0,1\}^n x ∈ { 0 , 1 } n ,
C ( Q n , k , x ) = n − α ( G n , k [ Z ( x ) ] ) , C(Q_{n,k},x) = n - \alpha(G_{n,k}[Z(x)]), C ( Q n , k , x ) = n − α ( G n , k [ Z ( x )]) , where α ( H ) \alpha(H) α ( H ) denotes the independence number of H H H .
Proof. Let U U U be the set of coordinates left unspecified by a certificate at x x x . If two adjacent vertices j j j and j + k j+k j + k both belong to U U U , then after all coordinates outside U U U are fixed, the algebraic normal form still contains the quadratic term x j x j + k x_jx_{j+k} x j x j + k . No other term has the same pair of free variables. Thus the restricted function cannot be constant. Therefore U U U must be independent in G n , k G_{n,k} G n , k .
If j ∈ U j \in U j ∈ U , then both j − k j-k j − k and j + k j+k j + k are fixed. The two terms involving x j x_j x j have sum
x j − k x j ⊕ x j x j + k = x j ( x j − k ⊕ x j + k ) . x_{j-k}x_j \mathbin{\oplus} x_jx_{j+k}=x_j(x_{j-k}\mathbin{\oplus}x_{j+k}). x j − k x j ⊕ x j x j + k = x j ( x j − k ⊕ x j + k ) .
Thus the restricted function is independent of x j x_j x j exactly when x j − k = x j + k x_{j-k}=x_{j+k} x j − k = x j + k , so j ∈ Z ( x ) j \in Z(x) j ∈ Z ( x ) . Conversely, if U U U is an independent subset of Z ( x ) Z(x) Z ( x ) , no quadratic term contains two free coordinates, and the coefficient of every free variable is zero. Hence the restricted function is constant. Therefore the maximum number of coordinates that may be left unspecified is α ( G n , k [ Z ( x ) ] ) \alpha(G_{n,k}[Z(x)]) α ( G n , k [ Z ( x )]) , proving the formula.
Theorem 4.2. Let 1 ≤ k ≤ ⌊ n / 2 ⌋ 1 \le k \le\lfloor n/2 \rfloor 1 ≤ k ≤ ⌊ n /2 ⌋ . If n n n is even and k = n / 2 k=n/2 k = n /2 , then
C ( Q n , k ) = n . C(Q_{n,k})=n. C ( Q n , k ) = n . Otherwise, put
d = gcd ( n , k ) , m = n d . d=\gcd(n,k), \qquad m=\frac{n}{d}. d = g cd( n , k ) , m = d n . Then
C ( Q n , k ) = { n , m ≡ 0 ( m o d 4 ) , n − d , m ≢ 0 ( m o d 4 ) . C(Q_{n,k})=
\begin{cases}
n, & m\equiv0 \pmod{4},\\
n-d, & m\not\equiv0 \pmod{4}.
\end{cases} C ( Q n , k ) = { n , n − d , m ≡ 0 ( mod 4 ) , m ≡ 0 ( mod 4 ) .
Proof. In the short-orbit case,
Q n , n / 2 ( x ) = ⨁ i = 0 n / 2 − 1 x i x i + n / 2 . Q_{n,n/2}(x)=\bigoplus_{i=0}^{n/2-1}x_i x_{i+n/2}. Q n , n /2 ( x ) = i = 0 ⨁ n /2 − 1 x i x i + n /2 .
At 1 n 1^n 1 n every coordinate is sensitive, so C ( Q n , n / 2 ) = n C(Q_{n,n/2})=n C ( Q n , n /2 ) = n . Now suppose k ≠ n / 2 k\ne n/2 k = n /2 . The graph G n , k G_{n,k} G n , k consists of d d d disjoint cycles of length m m m . On one component write the input values in cyclic order as
a 0 , a 1 , … , a m − 1 a_0,a_1,\ldots,a_{m-1} a 0 , a 1 , … , a m − 1
and define
y i = a i ⊕ a i + 1 , i ( m o d m ) . y_i=a_i\mathbin{\oplus}a_{i+1}, \qquad i \pmod{m}. y i = a i ⊕ a i + 1 , i ( mod m ) .
Since the sequence is cyclic,
⨁ i = 0 m − 1 y i = 0. (1) \bigoplus_{i=0}^{m-1}y_i=0. \tag*{(1)} i = 0 ⨁ m − 1 y i = 0. (1)
Moreover,
a i − 1 = a i + 1 ⟺ y i − 1 = y i . (2) a_{i-1}=a_{i+1}\Longleftrightarrow y_{i-1}=y_i. \tag*{(2)} a i − 1 = a i + 1 ⟺ y i − 1 = y i . (2)
Suppose first that 4 ∣ m 4\mid m 4 ∣ m . Choose
y = ( 01 ) m / 2 . y=(01)^{m/2}. y = ( 01 ) m /2 .
It has m / 2 m/2 m /2 ones, an even number, so (4.1) holds. No two cyclically consecutive entries are equal. Thus Z ( x ) Z(x) Z ( x ) is empty on this component. Making this choice on every component gives Z ( x ) = ∅ Z(x)=\varnothing Z ( x ) = ∅ , and the lemma yields C ( Q n , k , x ) = n C(Q_{n,k},x)=n C ( Q n , k , x ) = n . Hence C ( Q n , k ) = n C(Q_{n,k})=n C ( Q n , k ) = n . Now assume 4 ∤ m 4\nmid m 4 ∤ m . If a component contained no vertex of Z ( x ) Z(x) Z ( x ) , then by (4.2) its transition sequence would alternate cyclically. Hence m m m would be even. Such an alternating word has m / 2 m/2 m /2 ones, and (4.1) would force m / 2 m/2 m /2 to be even. Thus 4 ∣ m 4\mid m 4 ∣ m , a contradiction. Hence every component contains at least one vertex of Z ( x ) Z(x) Z ( x ) . Choosing one from each component gives an independent set, so
α ( G n , k [ Z ( x ) ] ) ≥ d . \alpha(G_{n,k}[Z(x)]) \ge d. α ( G n , k [ Z ( x )]) ≥ d .
Therefore
C ( Q n , k , x ) ≤ n − d (3) C(Q_{n,k},x) \le n-d \tag*{(3)} C ( Q n , k , x ) ≤ n − d (3)
for every x x x .
It remains to attain equality. If m = 4 q + 1 m=4q+1 m = 4 q + 1 , choose
y = 00 ( 10 ) 2 q − 1 1. y=00(10)^{2q-1}1. y = 00 ( 10 ) 2 q − 1 1.
It has 2 q 2q 2 q ones, and exactly one cyclic pair of consecutive entries is equal. Thus the induced subgraph on Z ( x ) Z(x) Z ( x ) has independence number 1.
If m = 4 q + 3 m=4q+3 m = 4 q + 3 , choose
y = ( 01 ) 2 q + 1 1. y=(01)^{2q+1}1. y = ( 01 ) 2 q + 1 1.
It has 2 q + 2 2q+2 2 q + 2 ones, and again exactly one cyclic pair of consecutive entries is equal. Hence the induced subgraph on Z ( x ) Z(x) Z ( x ) has independence number 1.
Finally, let m = 4 q + 2 m=4q+2 m = 4 q + 2 . The excluded short-orbit case is the only case m = 2 m=2 m = 2 , so here m ≥ 6 m\ge6 m ≥ 6 . Choose
y = 000 ( 10 ) 2 q − 1 1. y=000(10)^{2q-1}1. y = 000 ( 10 ) 2 q − 1 1.
It has 2 q 2q 2 q ones. The equal consecutive pairs arise exactly inside the initial block 000, so Z ( x ) Z(x) Z ( x ) consists of two adjacent vertices. Its independence number is therefore 1.
Using the appropriate construction independently on all d d d components gives
α ( G n , k [ Z ( x ) ] ) = d . \alpha(G_{n,k}[Z(x)])=d. α ( G n , k [ Z ( x )]) = d .
The lemma now gives C ( Q n , k , x ) = n − d C(Q_{n,k},x)=n-d C ( Q n , k , x ) = n − d . Together with (3) , this proves the result. □
Theorem 4.3 (Block sensitivity and certificate complexity of quadratic MRS functions). Outside the short-orbit case, put
d = gcd ( n , k ) , m = n d . d=\gcd(n,k),\qquad m=\frac{n}{d}. d = g cd( n , k ) , m = d n . Then
Table 4.3.
In the short-orbit case n n n even and k = n / 2 k=n/2 k = n /2 ,
s ( Q n , n / 2 ) = b s ( Q n , n / 2 ) = C ( Q n , n / 2 ) = n . s(Q_{n,n/2})=bs(Q_{n,n/2})=C(Q_{n,n/2})=n. s ( Q n , n /2 ) = b s ( Q n , n /2 ) = C ( Q n , n /2 ) = n . Consequently,
b s ( Q n , k ) = C ( Q n , k ) bs(Q_{n,k})=C(Q_{n,k}) b s ( Q n , k ) = C ( Q n , k ) for every quadratic MRS function, and outside the short-orbit case
s ( Q n , k ) < b s ( Q n , k ) = C ( Q n , k ) ⟺ n gcd ( n , k ) ≡ 2 ( m o d 4 ) . s(Q_{n,k})<bs(Q_{n,k})=C(Q_{n,k})
\Longleftrightarrow
\frac{n}{\gcd(n,k)}\equiv2\pmod{4}. s ( Q n , k ) < b s ( Q n , k ) = C ( Q n , k ) ⟺ g cd( n , k ) n ≡ 2 ( mod 4 ) .
Related work. The sensitivity formulas used here also appear in [10 ] . For prior work on quadratic rotation symmetric Boolean functions in a different direction, see [5 ] ; this citation does not claim that paper proves the block-sensitivity or certificate-complexity formulas.
Proof. The short-orbit case and the cases m ≡ 0 ( m o d 4 ) m \equiv0 \pmod{4} m ≡ 0 ( mod 4 ) and m m m odd follow immediately from the already known sensitivity formula, the preceding certificate-complexity theorem, and s ( f ) ≤ b s ( f ) ≤ C ( f ) s(f) \le bs(f) \le C(f) s ( f ) ≤ b s ( f ) ≤ C ( f ) .
It remains to consider m = 4 t + 2 m = 4t + 2 m = 4 t + 2 . The graph G n , k G_{n,k} G n , k consists of d d d disjoint m m m -cycles. On each component, in its cyclic order, take the binary word
x = 0000 ( 1100 ) t − 1 11. (4) x = 0000(1100)^{t-1}11. \tag*{(4)} x = 0000 ( 1100 ) t − 1 11. (4)
Here the vertices of each component are reindexed in consecutive k k k -steps, so that j − 1 j-1 j − 1 and j + 1 j+1 j + 1 denote the two neighbors of j j j in that component. For the quadratic cycle function the derivative at a vertex j j j is
D j Q = x j − 1 ⊕ x j + 1 . (5) D_jQ = x_{j-1} \oplus x_{j+1}. \tag*{(5)} D j Q = x j − 1 ⊕ x j + 1 . (5)
A direct check of (4) shows that exactly two coordinates on the component, the second and third positions of the initial block 0000, are nonsensitive. All other m − 2 m-2 m − 2 coordinates therefore give pairwise disjoint sensitive singleton blocks.
Let B = { 1 , 2 } B = \{1,2\} B = { 1 , 2 } be the pair consisting of those two nonsensitive coordinates. Locally the word begins with 0000. Before the flip, the three edge terms meeting B B B contribute
x 0 x 1 ⊕ x 1 x 2 ⊕ x 2 x 3 = 0. x_0x_1 \oplus x_1x_2 \oplus x_2x_3 = 0. x 0 x 1 ⊕ x 1 x 2 ⊕ x 2 x 3 = 0.
After simultaneously changing x 1 = x 2 = 0 x_1 = x_2 = 0 x 1 = x 2 = 0 to 1, their contribution is
0 ⊕ 1 ⊕ 0 = 1. 0 \oplus1 \oplus0 = 1. 0 ⊕ 1 ⊕ 0 = 1.
All other edge terms are unchanged. Thus B B B is a sensitive block. Hence one component supplies
( m − 2 ) + 1 = m − 1 (m-2)+1 = m-1 ( m − 2 ) + 1 = m − 1
pairwise disjoint sensitive blocks.
Use the same construction independently on all d d d components. Since different components are disjoint and the total quadratic function is the XOR of the component functions, these blocks remain sensitive for the full function. Thus
b s ( Q n , k ) ≥ d ( m − 1 ) = n − d . bs(Q_{n,k}) \ge d(m-1) = n-d. b s ( Q n , k ) ≥ d ( m − 1 ) = n − d .
The preceding certificate theorem gives
C ( Q n , k ) = n − d , C(Q_{n,k}) = n-d, C ( Q n , k ) = n − d ,
and therefore b s ( Q n , k ) = C ( Q n , k ) = n − d bs(Q_{n,k}) = C(Q_{n,k}) = n-d b s ( Q n , k ) = C ( Q n , k ) = n − d . Combining this with the quadratic sensitivity formula gives the displayed table.
The Consecutive Quartic Family
We next consider the consecutive quartic monomial rotation symmetric Boolean function
R n ( x ) = ⨁ i ∈ Z n x i x i + 1 x i + 2 x i + 3 . R_n(x) = \bigoplus_{i\in\mathbb{Z}_n} x_i x_{i+1} x_{i+2} x_{i+3}. R n ( x ) = i ∈ Z n ⨁ x i x i + 1 x i + 2 x i + 3 .
The sensitivity of this family has a period-six structure. In particular, if n = 6 q + 2 n=6q+2 n = 6 q + 2 , then
s ( R n ) = 6 q = n − 2. s(R_n)=6q=n-2. s ( R n ) = 6 q = n − 2.
We show that both block sensitivity and certificate complexity are exactly one larger on this infinite subfamily.
Theorem 5.1 (Quartic separation theorem). For every integer q ≥ 1 q\ge1 q ≥ 1 ,
s ( R 6 q + 2 ) = 6 q < b s ( R 6 q + 2 ) = C ( R 6 q + 2 ) = 6 q + 1. s(R_{6q+2})=6q<bs(R_{6q+2})=C(R_{6q+2})=6q+1. s ( R 6 q + 2 ) = 6 q < b s ( R 6 q + 2 ) = C ( R 6 q + 2 ) = 6 q + 1.
Related work. The sensitivity component is established in [10 ] ; the block-sensitivity and certificate-complexity components are addressed here.
Proof. Put n = 6 q + 2 n=6q+2 n = 6 q + 2 and consider
a = ( 111100 ) q 11. a=(111100)^q11. a = ( 111100 ) q 11.
We first prove
C ( R n , a ) = n − 1. C(R_n,a)=n-1. C ( R n , a ) = n − 1.
For any coordinate j j j , the Boolean derivative is
D j R n ( x ) = x j + 1 x j + 2 x j + 3 ⊕ x j − 1 x j + 1 x j + 2 ⊕ x j − 2 x j − 1 x j + 1 ⊕ x j − 3 x j − 2 x j − 1 , (6) D_jR_n(x)=x_{j+1}x_{j+2}x_{j+3}\oplus x_{j-1}x_{j+1}x_{j+2}
\oplus x_{j-2}x_{j-1}x_{j+1}\oplus x_{j-3}x_{j-2}x_{j-1}, \tag*{(6)} D j R n ( x ) = x j + 1 x j + 2 x j + 3 ⊕ x j − 1 x j + 1 x j + 2 ⊕ x j − 2 x j − 1 x j + 1 ⊕ x j − 3 x j − 2 x j − 1 , (6)
where indices are modulo n n n .
Leave coordinate 2 unspecified and fix all other coordinates according to a a a . Since
D 2 R n = x 3 x 4 x 5 ⊕ x 1 x 3 x 4 ⊕ x 0 x 1 x 3 ⊕ x n − 1 x 0 x 1 , D_2R_n=x_3x_4x_5\oplus x_1x_3x_4\oplus x_0x_1x_3\oplus x_{n-1}x_0x_1, D 2 R n = x 3 x 4 x 5 ⊕ x 1 x 3 x 4 ⊕ x 0 x 1 x 3 ⊕ x n − 1 x 0 x 1 ,
and
a 0 = a 1 = a 3 = a n − 1 = 1 , a 4 = 0 , a_0=a_1=a_3=a_{n-1}=1,\qquad a_4=0, a 0 = a 1 = a 3 = a n − 1 = 1 , a 4 = 0 ,
we obtain
D 2 R n ( a ) = 0 ⊕ 0 ⊕ 1 ⊕ 1 = 0. D_2R_n(a)=0\oplus0\oplus1\oplus1=0. D 2 R n ( a ) = 0 ⊕ 0 ⊕ 1 ⊕ 1 = 0.
The derivative does not involve x 2 x_2 x 2 , so after all other coordinates are fixed the value of R n R_n R n is independent of x 2 x_2 x 2 . Hence
C ( R n , a ) ≤ n − 1. (7) C(R_n,a)\le n-1. \tag*{(7)} C ( R n , a ) ≤ n − 1. (7)
Substitution of the six-periodic pattern 111100 into (5.1), together with the terminal symbols 11, gives
D j R n ( a ) = 0 ⟺ j ∈ { 2 , n − 1 } . (8) D_jR_n(a)=0\quad\Longleftrightarrow\quad j\in\{2,n-1\}. \tag*{(8)} D j R n ( a ) = 0 ⟺ j ∈ { 2 , n − 1 } . (8)
Away from the cyclic boundary this follows by checking the six residue classes modulo 6; the boundary positions follow directly from the final pattern ⋯ 11110011 \cdots11110011 ⋯ 11110011 . Thus precisely 2 and n − 1 n-1 n − 1 are nonsensitive at a a a , and
s ( R n , a ) = n − 2. s(R_n,a)=n-2. s ( R n , a ) = n − 2.
Every sensitive coordinate belongs to every certificate at a a a . Therefore a certificate of size at most n − 2 n-2 n − 2 would have to leave both 2 2 2 and n − 1 n-1 n − 1 unspecified. If all other coordinates are fixed according to a a a , the cyclic window
{ n − 1 , 0 , 1 , 2 } \{n-1,0,1,2\} { n − 1 , 0 , 1 , 2 }
contributes the quadratic monomial
x n − 1 x 2 . x_{n-1}x_2. x n − 1 x 2 .
No other length-four window contains both coordinates, so this term cannot cancel. The restricted function is nonconstant. Hence the two coordinates cannot both be omitted, and every certificate has size at least n − 1 n-1 n − 1 . Together with (5.2),
C ( R n , a ) = n − 1. (9) C(R_n,a)=n-1. \tag*{(9)} C ( R n , a ) = n − 1. (9)
We next determine the block sensitivity at a a a . All n − 2 n-2 n − 2 sensitive coordinates other than 2 2 2 and n − 1 n-1 n − 1 give pairwise disjoint sensitive singleton blocks. Moreover,
B = { 2 , n − 1 } B=\{2,n-1\} B = { 2 , n − 1 }
is itself a sensitive block. Indeed, with all other variables fixed as in a a a , the restricted algebraic normal form contains the variable-dependent part
x 2 ⊕ x n − 1 ⊕ x 2 x n − 1 . x_2\oplus x_{n-1}\oplus x_2x_{n-1}. x 2 ⊕ x n − 1 ⊕ x 2 x n − 1 .
Indeed, the only length-four monomial involving both free coordinates is x n − 1 x 0 x 1 x 2 x_{n-1}x_0x_1x_2 x n − 1 x 0 x 1 x 2 , which restricts to x n − 1 x 2 x_{n-1}x_2 x n − 1 x 2 ; moreover, D 2 R n ( a ) = D n − 1 R n ( a ) = 0 D_2R_n(a)=D_{n-1}R_n(a)=0 D 2 R n ( a ) = D n − 1 R n ( a ) = 0 . Writing the restriction as c ⊕ α x 2 ⊕ β x n − 1 ⊕ x 2 x n − 1 c\oplus\alpha x_2\oplus\beta x_{n-1}\oplus x_2x_{n-1} c ⊕ α x 2 ⊕ β x n − 1 ⊕ x 2 x n − 1 , these two derivative equalities at ( 1 , 1 ) (1,1) ( 1 , 1 ) give α = β = 1 \alpha=\beta=1 α = β = 1 . The variable-dependent part is thus as displayed. At the original values ( x 2 , x n − 1 ) = ( 1 , 1 ) (x_2,x_{n-1})=(1,1) ( x 2 , x n − 1 ) = ( 1 , 1 ) this expression equals 1 1 1 , whereas after flipping both coordinates it equals 0 0 0 . Thus
R n ( a B ) ≠ R n ( a ) . R_n(a^B)\ne R_n(a). R n ( a B ) = R n ( a ) .
The block B B B together with the n − 2 n-2 n − 2 sensitive singleton blocks gives n − 1 n-1 n − 1 pairwise disjoint sensitive blocks. Therefore
b s ( R n , a ) ≥ n − 1. bs(R_n,a)\ge n-1. b s ( R n , a ) ≥ n − 1.
By the general inequality b s ( f , x ) ≤ C ( f , x ) bs(f,x)\le C(f,x) b s ( f , x ) ≤ C ( f , x ) and (5.4),
b s ( R n , a ) = C ( R n , a ) = n − 1. (10) bs(R_n,a)=C(R_n,a)=n-1. \tag*{(10)} b s ( R n , a ) = C ( R n , a ) = n − 1. (10)
Hence globally
b s ( R n ) ≥ n − 1 , C ( R n ) ≥ n − 1. bs(R_n)\ge n-1,\qquad C(R_n)\ge n-1. b s ( R n ) ≥ n − 1 , C ( R n ) ≥ n − 1.
It remains to prove the matching global upper bound. Since the known sensitivity formula gives
s ( R n ) = n − 2 < n , s(R_n)=n-2<n, s ( R n ) = n − 2 < n ,
every input x x x has at least one nonsensitive coordinate j j j . Fixing all coordinates except j j j is then a certificate: with the other n − 1 n-1 n − 1 coordinates fixed, the restricted Boolean function has only the variable x j x_j x j , and nonsensitivity at x x x says that its two possible values agree. Consequently
C ( R n , x ) ≤ n − 1 C(R_n,x)\le n-1 C ( R n , x ) ≤ n − 1
for every x x x , and hence
C ( R n ) ≤ n − 1. C(R_n) \le n - 1. C ( R n ) ≤ n − 1.
Together with (9) , this gives
C ( R n ) = n − 1. C(R_n) = n - 1. C ( R n ) = n − 1.
Finally,
n − 1 ≤ b s ( R n ) ≤ C ( R n ) = n − 1 , n - 1 \le bs(R_n) \le C(R_n) = n - 1, n − 1 ≤ b s ( R n ) ≤ C ( R n ) = n − 1 ,
so
b s ( R n ) = C ( R n ) = n − 1 = 6 q + 1. bs(R_n) = C(R_n) = n - 1 = 6q + 1. b s ( R n ) = C ( R n ) = n − 1 = 6 q + 1.
Combining this with s ( R n ) = 6 q s(R_n) = 6q s ( R n ) = 6 q completes the proof.
Corollary 5.2. The consecutive quartic family contains infinitely many rotation symmetric Boolean functions satisfying
s ( f ) < b s ( f ) = C ( f ) . s(f) < bs(f) = C(f). s ( f ) < b s ( f ) = C ( f ) .
Proof. For every integer q ≥ 1 q \ge1 q ≥ 1 , the preceding theorem supplies the example f = R 6 q + 2 f = R_{6q+2} f = R 6 q + 2 with s ( f ) = 6 q s(f) = 6q s ( f ) = 6 q and b s ( f ) = C ( f ) = 6 q + 1 bs(f) = C(f) = 6q + 1 b s ( f ) = C ( f ) = 6 q + 1 . The lengths 6 q + 2 6q + 2 6 q + 2 are distinct, so this gives infinitely many examples.
Other residue classes modulo six
The global sensitivity formula for R n R_n R n , established in the companion work and also obtained in the independent even-degree argument below, settles three further residue classes. We record these consequences first.
Theorem 5.3. For every integer q ≥ 1 q \ge1 q ≥ 1 ,
s ( R 6 q ) = b s ( R 6 q ) = C ( R 6 q ) = 6 q , s(R_{6q}) = bs(R_{6q}) = C(R_{6q}) = 6q, s ( R 6 q ) = b s ( R 6 q ) = C ( R 6 q ) = 6 q , s ( R 6 q + 1 ) = b s ( R 6 q + 1 ) = C ( R 6 q + 1 ) = 6 q , s(R_{6q+1}) = bs(R_{6q+1}) = C(R_{6q+1}) = 6q, s ( R 6 q + 1 ) = b s ( R 6 q + 1 ) = C ( R 6 q + 1 ) = 6 q , and
s ( R 6 q + 5 ) = b s ( R 6 q + 5 ) = C ( R 6 q + 5 ) = 6 q + 4. s(R_{6q+5}) = bs(R_{6q+5}) = C(R_{6q+5}) = 6q + 4. s ( R 6 q + 5 ) = b s ( R 6 q + 5 ) = C ( R 6 q + 5 ) = 6 q + 4. The last formula also holds for q = 0 q = 0 q = 0 (that is, n = 5 n = 5 n = 5 ).
Related work. The sensitivity equalities in this statement are also treated in [10 ] ; the block-sensitivity and certificate-complexity equalities are proved here.
Proof. For n = 6 q n = 6q n = 6 q , the sensitivity formula gives s ( R n ) = n s(R_n) = n s ( R n ) = n , so the inequalities s ≤ b s ≤ C ≤ n s \le bs \le C \le n s ≤ b s ≤ C ≤ n force equality throughout.
For n = 6 q + 1 n = 6q + 1 n = 6 q + 1 and n = 6 q + 5 n = 6q + 5 n = 6 q + 5 (including q = 0 q = 0 q = 0 in the latter case), the known sensitivity formula gives s ( R n ) = n − 1 s(R_n) = n - 1 s ( R n ) = n − 1 . Since s ( R n ) < n s(R_n) < n s ( R n ) < n , every input has a nonsensitive coordinate. Fixing all other n − 1 n - 1 n − 1 coordinates gives a certificate, and hence C ( R n ) ≤ n − 1 C(R_n) \le n - 1 C ( R n ) ≤ n − 1 . Thus s ( R n ) ≤ b s ( R n ) ≤ C ( R n ) ≤ n − 1 = s ( R n ) s(R_n) \le bs(R_n) \le C(R_n) \le n - 1 = s(R_n) s ( R n ) ≤ b s ( R n ) ≤ C ( R n ) ≤ n − 1 = s ( R n ) .
We next treat the residue class n ≡ 3 ( m o d 6 ) n \equiv3 \pmod{6} n ≡ 3 ( mod 6 ) . We use the following local observation. For two coordinates i , j i, j i , j , write D i D j R n ( x ) D_iD_jR_n(x) D i D j R n ( x ) for the mixed Boolean derivative.
Lemma 5.4 (Three-nonsensitive-coordinate lemma). Let n ≥ 10 n \ge10 n ≥ 10 , and suppose that R n R_n R n has at least three nonsensitive coordinates at an input x x x . Then there are two nonsensitive coordinates i , j i,j i , j such that
D i D j R n ( x ) = 0. D_iD_jR_n(x)=0. D i D j R n ( x ) = 0. Consequently, after all coordinates except i , j i,j i , j are fixed according to x x x , the resulting two-variable restriction is constant.
Proof. If two nonsensitive coordinates have cyclic distance at least 4, no length-four monomial contains both, so their mixed derivative vanishes. Otherwise every pair among all nonsensitive coordinates has cyclic distance at most 3. For n ≥ 10 n \ge10 n ≥ 10 , three such positions must lie in four consecutive positions: if their three cyclic gaps were all at most 3, their sum would be n ≤ 9 n \le9 n ≤ 9 ; if a gap is larger, the other two place the three points in an arc of length at most 3. Up to rotation and reflection, the triple is therefore either { 0 , 1 , 2 } \{0,1,2\} { 0 , 1 , 2 } or { 0 , 1 , 3 } \{0,1,3\} { 0 , 1 , 3 } .
It remains to exclude the possibility that all three mixed derivatives are 1 while all three first derivatives vanish. This is a finite local calculation involving only x − 3 , x − 2 , … , x 6 x_{-3},x_{-2},\ldots,x_6 x − 3 , x − 2 , … , x 6 . Exhaustively evaluating the 2 10 2^{10} 2 10 assignments to the ten-variable window gives
Table 1.
For { 0 , 1 , 2 } \{0,1,2\} { 0 , 1 , 2 } , only nine of these ten variables occur in the three first derivatives; hence the count 568 is twice the corresponding nine-variable count 284. The tenth variable is retained to use a common enumeration for both triples. The calculation uses only the defining polynomial for R n R_n R n and Boolean differences D i f ( x ) = f ( x ) ⊕ f ( x { i } ) D_i f(x)=f(x)\mathbin{\oplus}f(x^{\{i\}}) D i f ( x ) = f ( x ) ⊕ f ( x { i } ) . Its complete executable verification is reproduced in Appendix § 14 , and is also supplied as a standalone Python file. In particular, the local calculation is independent of n ≥ 10 n \ge10 n ≥ 10 , because the relevant ten positions are distinct. Thus some pair i , j i,j i , j of the nonsensitive coordinates has D i D j R n ( x ) = 0 D_iD_jR_n(x)=0 D i D j R n ( x ) = 0 .
Fixing every coordinate except i , j i,j i , j leaves a polynomial g ( u , v ) = c ⊕ a u ⊕ b v ⊕ d u v g(u,v)=c\mathbin{\oplus}au\mathbin{\oplus}bv\mathbin{\oplus}duv g ( u , v ) = c ⊕ a u ⊕ b v ⊕ d uv . The mixed derivative condition yields d = 0 d=0 d = 0 ; nonsensitivity of i , j i,j i , j then yields a = b = 0 a=b=0 a = b = 0 . Hence g g g is constant. □
Theorem 5.5 (The class n ≡ 3 ( m o d 6 ) n \equiv3 \pmod{6} n ≡ 3 ( mod 6 ) ). For every integer q ≥ 1 q \ge1 q ≥ 1 ,
s ( R 6 q + 3 ) = 6 q < b s ( R 6 q + 3 ) = C ( R 6 q + 3 ) = 6 q + 1. s(R_{6q+3})=6q<bs(R_{6q+3})=C(R_{6q+3})=6q+1. s ( R 6 q + 3 ) = 6 q < b s ( R 6 q + 3 ) = C ( R 6 q + 3 ) = 6 q + 1.
Related work. The sensitivity formula is also given in [10 ] ; the additional complexity equalities are treated here.
Proof. Let n = 6 q + 3 n=6q+3 n = 6 q + 3 . For q = 1 q=1 q = 1 (n = 9 n=9 n = 9 ), exhaustive evaluation of the 2 9 = 512 2^9=512 2 9 = 512 inputs gives
s ( R 9 ) = 6 , b s ( R 9 ) = C ( R 9 ) = 7. s(R_9)=6,\qquad bs(R_9)=C(R_9)=7. s ( R 9 ) = 6 , b s ( R 9 ) = C ( R 9 ) = 7.
To make this finite check reproducible, for each input x x x form the family B x = { B ⊆ [ 9 ] : B ≠ ∅ , R 9 ( x B ) ≠ R 9 ( x ) } \mathcal{B}_x=\{B\subseteq[9]:B\ne\varnothing,R_9(x^B)\ne R_9(x)\} B x = { B ⊆ [ 9 ] : B = ∅ , R 9 ( x B ) = R 9 ( x )} . Its maximum matching size equals b s ( R 9 , x ) bs(R_9,x) b s ( R 9 , x ) , while its minimum transversal size equals C ( R 9 , x ) C(R_9,x) C ( R 9 , x ) . The exhaustive program in Appendix § 14 evaluates all 512 inputs and all 511 nonempty masks B B B for each input. In particular, the upper bounds s ( R 9 ) ≤ 6 s(R_9)\le6 s ( R 9 ) ≤ 6 and b s ( R 9 ) , C ( R 9 ) ≤ 7 bs(R_9),C(R_9)\le7 b s ( R 9 ) , C ( R 9 ) ≤ 7 are established by this finite computer-assisted enumeration, not by a separate handwritten proof. Thus the displayed equalities do not invoke the n ≥ 10 n\ge10 n ≥ 10 lemma. In particular, the maxima for b s bs b s and C C C are attained at the binary input with set-bit mask 63 (bits 0, … \ldots … , 5 equal to 1). Now assume q ≥ 2 q \ge2 q ≥ 2 , so n ≥ 15 n \ge15 n ≥ 15 . The sensitivity formula gives s ( R n ) = n − 3 s(R_n)=n-3 s ( R n ) = n − 3 , so every input has at least three nonsensitive coordinates. By the preceding lemma, two of them can be left unspecified simultaneously. Hence
C ( R n , x ) ≤ n − 2 C(R_n,x) \le n-2 C ( R n , x ) ≤ n − 2
for every x x x , and therefore C ( R n ) ≤ n − 2 C(R_n) \le n-2 C ( R n ) ≤ n − 2 .
Consider
a q = ( 111100 ) q − 1 1111100011. a_q=(111100)^{q-1}1111100011. a q = ( 111100 ) q − 1 1111100011.
Its three nonsensitive coordinates are
2 , n − 4 , n − 1 , 2,\qquad n-4,\qquad n-1, 2 , n − 4 , n − 1 ,
while all other coordinates are sensitive. Fix all sensitive coordinates according to a q a_q a q , and write
u = x 2 , v = x n − 4 , w = x n − 1 . u=x_2,\qquad v=x_{n-4},\qquad w=x_{n-1}. u = x 2 , v = x n − 4 , w = x n − 1 .
Every quartic monomial containing v v v is killed by one of the fixed zero coordinates adjacent to v v v . After cancellation over F 2 \mathbb{F}_2 F 2 , the remaining dependence on the three free variables is
c ⊕ u ⊕ w ⊕ u w (11) c \oplus u \oplus w \oplus uw \tag*{(11)} c ⊕ u ⊕ w ⊕ u w (11)
for a constant c ∈ { 0 , 1 } c \in\{0,1\} c ∈ { 0 , 1 } depending only on q q q . In particular the restriction is independent of v v v , so v v v together with either u u u or w w w may be left unspecified; hence C ( R n , a q ) ≤ n − 2 C(R_n,a_q) \le n-2 C ( R n , a q ) ≤ n − 2 . On the other hand, (11) is nonconstant, so all three nonsensitive coordinates cannot be left unspecified. Since every sensitive coordinate belongs to every certificate, we obtain
C ( R n , a q ) = n − 2. C(R_n,a_q)=n-2. C ( R n , a q ) = n − 2.
At a q a_q a q we have u = w = 1 u=w=1 u = w = 1 . The variable part of (11) is then
u ⊕ w ⊕ u w = 1 , u \oplus w \oplus uw=1, u ⊕ w ⊕ u w = 1 ,
whereas after flipping the pair { 2 , n − 1 } \{2,n-1\} { 2 , n − 1 } we have u = w = 0 u=w=0 u = w = 0 , for which the variable part is 0 0 0 . Thus { 2 , n − 1 } \{2,n-1\} { 2 , n − 1 } is a sensitive block. Together with the n − 3 n-3 n − 3 sensitive singleton blocks this gives n − 2 n-2 n − 2 pairwise disjoint sensitive blocks. Hence
b s ( R n , a q ) = C ( R n , a q ) = n − 2. bs(R_n,a_q)=C(R_n,a_q)=n-2. b s ( R n , a q ) = C ( R n , a q ) = n − 2.
Consequently
b s ( R n ) ≥ n − 2 , C ( R n ) ≥ n − 2. bs(R_n) \ge n-2,\qquad C(R_n) \ge n-2. b s ( R n ) ≥ n − 2 , C ( R n ) ≥ n − 2.
Combining these inequalities with the global upper bound gives
b s ( R n ) = C ( R n ) = n − 2 = 6 q + 1. bs(R_n)=C(R_n)=n-2=6q+1. b s ( R n ) = C ( R n ) = n − 2 = 6 q + 1.
The residue class n ≡ 4 ( m o d 6 ) n \equiv4 \pmod{6} n ≡ 4 ( mod 6 )
We now complete the final residue class.
The following argument uses the three-nonsensitive-coordinate lemma proved above; in particular, it supplies a certificate of size at most n − 2 n - 2 n − 2 whenever an input has at least three nonsensitive coordinates.
Lemma 5.6 (Finite-state separation certificate). Let n = 6 q + 4 n = 6q + 4 n = 6 q + 4 with q ≥ 1 q \ge1 q ≥ 1 . If x ∈ { 0 , 1 } n x \in\{0,1\}^{n} x ∈ { 0 , 1 } n has exactly two nonsensitive coordinates for R n R_n R n , then their cyclic distance is at least 4.
Proof. The derivative at coordinate j j j is the seven-bit local rule
D j R n ( x ) = x j + 1 x j + 2 x j + 3 ⊕ x j − 1 x j + 1 x j + 2 ⊕ x j − 2 x j − 1 x j + 1 ⊕ x j − 3 x j − 2 x j − 1 . D_jR_n(x)=x_{j+1}x_{j+2}x_{j+3}\mathbin{\oplus}x_{j-1}x_{j+1}x_{j+2}\mathbin{\oplus}x_{j-2}x_{j-1}x_{j+1}\mathbin{\oplus}x_{j-3}x_{j-2}x_{j-1}. D j R n ( x ) = x j + 1 x j + 2 x j + 3 ⊕ x j − 1 x j + 1 x j + 2 ⊕ x j − 2 x j − 1 x j + 1 ⊕ x j − 3 x j − 2 x j − 1 .
Construct two 64 × 64 64 \times64 64 × 64 Boolean matrices A , B A,B A , B , indexed by the six-bit words u = ( u 0 , … , u 5 ) u=(u_0,\ldots,u_5) u = ( u 0 , … , u 5 ) ; for each t ∈ { 0 , 1 } t \in\{0,1\} t ∈ { 0 , 1 } set v = ( u 1 , … , u 5 , t ) v=(u_1,\ldots,u_5,t) v = ( u 1 , … , u 5 , t ) and
δ ( u , t ) = u 4 u 5 t ⊕ u 2 u 4 u 5 ⊕ u 1 u 2 u 4 ⊕ u 0 u 1 u 2 . \delta(u,t)=u_4u_5t\mathbin{\oplus}u_2u_4u_5\mathbin{\oplus}u_1u_2u_4\mathbin{\oplus}u_0u_1u_2. δ ( u , t ) = u 4 u 5 t ⊕ u 2 u 4 u 5 ⊕ u 1 u 2 u 4 ⊕ u 0 u 1 u 2 .
Put an edge u → v u \to v u → v in A A A if δ ( u , t ) = 1 \delta(u,t)=1 δ ( u , t ) = 1 and in B B B otherwise. All matrix multiplication, powers, equality and trace below are over the Boolean semiring: addition is logical OR (1 + 1 = 1 1+1=1 1 + 1 = 1 ) and multiplication is logical AND (1 ⋅ 1 = 1 1\cdot1=1 1 ⋅ 1 = 1 , and all other products of bits vanish). This is different from the field F 2 \mathbb{F}_2 F 2 used for the Boolean polynomial expressions. With the given edge convention, the cyclic input x x x determines a closed walk of length n n n , and its edges in B B B occur precisely at the nonsensitive coordinates.
Direct exact calculation on these explicitly defined matrices gives
A 9 = A 3 , tr ( B A d − 1 B A 9 − d ) = 0 ( d = 1 , 2 , 3 ) . A^9=A^3,\qquad\operatorname{tr}(BA^{d-1}BA^{9-d})=0\quad(d=1,2,3). A 9 = A 3 , tr ( B A d − 1 B A 9 − d ) = 0 ( d = 1 , 2 , 3 ) .
A self-contained verifier for these four finite identities is printed in Appendix A; it uses only integer bit operations, without external packages. Equality A 9 = A 3 A^9=A^3 A 9 = A 3 implies A k + 6 = A k A^{k+6}=A^k A k + 6 = A k for every k ≥ 3 k \ge3 k ≥ 3 , by multiplication on the right.
If the only two nonsensitive positions were at clockwise distance d ∈ { 1 , 2 , 3 } d \in\{1,2,3\} d ∈ { 1 , 2 , 3 } , the closed walk would contribute a diagonal entry to B A d − 1 B A n − d − 1 BA^{d-1}BA^{n-d-1} B A d − 1 B A n − d − 1 , giving a nonzero Boolean trace. Since n = 10 + 6 ( q − 1 ) n=10+6(q-1) n = 10 + 6 ( q − 1 ) and n − d − 1 ≥ 6 n-d-1 \ge6 n − d − 1 ≥ 6 , the periodicity identity reduces this trace to tr ( B A d − 1 B A 9 − d ) = 0 \operatorname{tr}(BA^{d-1}BA^{9-d})=0 tr ( B A d − 1 B A 9 − d ) = 0 , a contradiction. If their cyclic distance is at most three, orient the pair so that d ∈ { 1 , 2 , 3 } d \in\{1,2,3\} d ∈ { 1 , 2 , 3 } . This proves the lemma.
Theorem 5.7 (The class n ≡ 4 ( m o d 6 ) n \equiv4 \pmod{6} n ≡ 4 ( mod 6 ) ). For every integer $q \ge 1,
s ( R 6 q + 4 ) = b s ( R 6 q + 4 ) = C ( R 6 q + 4 ) = 6 q + 2. \boxed{s(R_{6q+4})=bs(R_{6q+4})=C(R_{6q+4})=6q+2.} s ( R 6 q + 4 ) = b s ( R 6 q + 4 ) = C ( R 6 q + 4 ) = 6 q + 2.
Related work. The sensitivity formula is also given in [10 ] ; the additional complexity equalities are treated here.
Proof. The sensitivity formula s ( R n ) = n − 2 s(R_n)=n-2 s ( R n ) = n − 2 follows from [10 ] . Every input has at least two nonsensitive coordinates. If it has at least three, the three-nonsensitive-coordinate lemma proved above shows that two coordinates can simultaneously be omitted from a certificate. If it has exactly two, the finite-state separation lemma gives nonsensitive coordinates i , j i,j i , j at cyclic distance at least four. No consecutive quartic monomial contains both positions, and hence D i D j R n ( x ) = 0 D_iD_jR_n(x)=0 D i D j R n ( x ) = 0 . Since D i R n ( x ) = D j R n ( x ) = 0 D_iR_n(x)=D_jR_n(x)=0 D i R n ( x ) = D j R n ( x ) = 0 as well, the restriction obtained by freeing i i i and j j j is constant. Thus C ( R n , x ) ≤ n − 2 C(R_n,x) \le n-2 C ( R n , x ) ≤ n − 2 for every input. The standard inequalities s ( R n ) ≤ b s ( R n ) ≤ C ( R n ) s(R_n) \le bs(R_n) \le C(R_n) s ( R n ) ≤ b s ( R n ) ≤ C ( R n ) , together with s ( R n ) = n − 2 s(R_n)=n-2 s ( R n ) = n − 2 , complete the proof.
Complete quartic classification
Theorem 5.8 (Consecutive quartic classification). For every n = 6 q + r ≥ 5 n = 6q + r \ge5 n = 6 q + r ≥ 5 , 0 ≤ r ≤ 5 0 \le r \le5 0 ≤ r ≤ 5 , the three measures are
Table 2.
In particular, bs ( R n ) = C ( R n ) \operatorname{bs}(R_n) = C(R_n) bs ( R n ) = C ( R n ) for every n ≥ 5 n \ge5 n ≥ 5 , and s ( R n ) < bs ( R n ) s(R_n) < \operatorname{bs}(R_n) s ( R n ) < bs ( R n ) precisely in the residue classes 2, 3 (mod 6) within this range.
Related work. The sensitivity column is also established in [10 ] . The block-sensitivity and certificate-complexity columns are the focus of the present classification.
Proof. The rows r = 0 , 1 , 5 r = 0, 1, 5 r = 0 , 1 , 5 follow from the theorem for those three residue classes above (the r = 5 r = 5 r = 5 row includes n = 5 n = 5 n = 5 ). The rows r = 2 r = 2 r = 2 , r = 3 r = 3 r = 3 , and r = 4 r = 4 r = 4 are, respectively, the conclusions of the previously proved theorems for R 6 q + 2 R_{6q+2} R 6 q + 2 , R 6 q + 3 R_{6q+3} R 6 q + 3 , and R 6 q + 4 R_{6q+4} R 6 q + 4 . These six residue classes exhaust every integer n ≥ 5 n \ge5 n ≥ 5 . Reading the columns in the resulting table gives bs ( R n ) = C ( R n ) \operatorname{bs}(R_n) = C(R_n) bs ( R n ) = C ( R n ) throughout and strict inequality s ( R n ) < bs ( R n ) s(R_n) < \operatorname{bs}(R_n) s ( R n ) < bs ( R n ) exactly for r ∈ { 2 , 3 } r \in\{2,3\} r ∈ { 2 , 3 } .
Counting lemmas used in the even-degree classification
The following two lemmas are placed before the classification results so that their proofs do not depend on those results or on the companion sensitivity manuscript.
Lemma 5.9 (Unconditional run–cluster length identity). Let x x x be a nonconstant cyclic binary word with r ≥ 1 r \ge1 r ≥ 1 maximal one-runs of length at least d d d . Partition the portions between successive long runs into plain zero-gaps of lengths g g g , and short-run clusters of lengths T T T (each containing at least one one-run of length less than d d d ). Set
A = ∑ long runs ( L − d ) , B = ∑ plain gaps ( g − 2 ) , E = ∑ clusters ( T − 2 ) . A = \sum_{\text{long runs}} (L-d), \qquad B = \sum_{\text{plain gaps}} (g-2), \qquad E = \sum_{\text{clusters}} (T-2). A = long runs ∑ ( L − d ) , B = plain gaps ∑ ( g − 2 ) , E = clusters ∑ ( T − 2 ) . Then
n = r ( d + 2 ) + A + B + E , A ≥ 0 , E ≥ 0. n = r(d+2) + A + B + E, \qquad A \ge0, \qquad E \ge0. n = r ( d + 2 ) + A + B + E , A ≥ 0 , E ≥ 0. Every cluster has length at least three; in particular, E E E is at least the number of clusters. No assumption about sensitivity is needed.
Proof. The r r r long runs and r r r intervening portions partition the cyclic word (also when r = 1 r = 1 r = 1 ). Subtract d d d from each long-run length and 2 from each intervening portion, obtaining the displayed identity. A cluster contains a nonempty short one-run and a nonempty zero-gap on each side, so T ≥ 3 T \ge3 T ≥ 3 .
Lemma 5.10 (Small-deficit run–cluster charging). Let d ≥ 4 d \ge4 d ≥ 4 be even, n ≥ 2 d − 1 n \ge2d - 1 n ≥ 2 d − 1 , and K = n − s ( F d , n , x ) ≤ d − 2 K = n - s(F_{d,n}, x) \le d - 2 K = n − s ( F d , n , x ) ≤ d − 2 . Then x x x has at least one maximal one-run of length at least d d d . Let r r r be the number of these long runs, and partition the coordinates outside them into r r r intervening units,
each either a plain zero-gap of length g ≥ 1 g \ge1 g ≥ 1 , or a short-run cluster of total length T T T containing one or more maximal one-runs of length less than d d d and their intervening zero-gaps. Put
m = d + 2 , A = ∑ long runs ( L − d ) , m = d + 2,\qquad A = \sum_{\text{long runs}} (L-d), m = d + 2 , A = long runs ∑ ( L − d ) ,
B = ∑ plain gaps ( g − 2 ) , E = ∑ clusters ( T − 2 ) . B = \sum_{\text{plain gaps}} (g-2),\qquad E = \sum_{\text{clusters}} (T-2). B = plain gaps ∑ ( g − 2 ) , E = clusters ∑ ( T − 2 ) .
Then A , E ≥ 0 A,E \ge0 A , E ≥ 0 , each cluster has T ≥ 3 T \ge3 T ≥ 3 , and
n = r m + A + B + E , K ≥ A + ∑ plain gaps ∣ g − 2 ∣ + E . (12) n = rm + A + B + E,\qquad K \ge A + \sum_{\text{plain gaps}} |g-2| + E. \tag*{(12)} n = r m + A + B + E , K ≥ A + plain gaps ∑ ∣ g − 2∣ + E . (12)
In particular, K ≥ ∣ n − r m ∣ K \ge|n-rm| K ≥ ∣ n − r m ∣ .
Proof. The constant words have K = n > d − 2 K=n>d-2 K = n > d − 2 . Suppose first that the nonconstant word x x x has no one-run of length at least d d d . Every one-coordinate is then insensitive, because no all-one length-d d d monomial contains it. If a zero-coordinate is sensitive, its flip must complete at least one all-one length-d d d window. The one-runs immediately on either side of that zero must therefore have lengths a , b a,b a , b with a + b ≥ d − 1 a+b \ge d-1 a + b ≥ d − 1 . All these a + b a+b a + b ones are insensitive, forcing K ≥ d − 1 K \ge d-1 K ≥ d − 1 , a contradiction. If no zero is sensitive either, then K = n > d − 2 K=n>d-2 K = n > d − 2 . Thus at least one long run exists.
Any short one-run consists entirely of insensitive coordinates. In particular, a short run of length d − 1 d-1 d − 1 would force K ≥ d − 1 K \ge d-1 K ≥ d − 1 , so every short run has length at most d − 2 d-2 d − 2 . We now count insensitive coordinates in disjoint portions of the cyclic word.
Long one-runs. For a run of length L ≥ d L \ge d L ≥ d , index its coordinates by j = 0 , … , L − 1 j=0,\ldots,L-1 j = 0 , … , L − 1 . The number of all-one length-d d d windows containing j j j is
a ( j ) = min { j + 1 , L − j , L − d + 1 , d } . a(j)=\min\{j+1,L-j,L-d+1,d\}. a ( j ) = min { j + 1 , L − j , L − d + 1 , d } .
A coordinate is sensitive exactly when this count is odd. Set v = L − d + 1 v=L-d+1 v = L − d + 1 and a ∗ = min { v , d } a_*=\min\{v,d\} a ∗ = min { v , d } . The incidence profile increases through 1 , … , a ∗ − 1 1,\ldots,a_*-1 1 , … , a ∗ − 1 , has a plateau of height a ∗ a_* a ∗ , and decreases symmetrically. If v ≥ d v \ge d v ≥ d , the plateau has the even height d d d , and there are exactly d d d sensitive coordinates. If v < d v<d v < d is even, there are v v v sensitive coordinates. If v < d v<d v < d is odd, the plateau contributes the remaining odd positions, and there are d d d sensitive coordinates. In each case there are at most d d d sensitive coordinates, so the run contributes at least L − d L-d L − d insensitive ones. Summed over all long runs, these contributions total at least A A A .
Plain zero-gaps. A gap of one zero between two long runs has an insensitive zero: flipping it completes exactly d d d length-d d d windows, an even number. In a gap of length g ≥ 2 g \ge2 g ≥ 2 , flipping either boundary zero completes exactly one such window, while flipping an interior zero completes none. Thus precisely ∣ g − 2 ∣ |g-2| ∣ g − 2∣ zeros are insensitive in each plain gap.
Short-run clusters. Consider a unit containing one or more short one-runs, with total length T T T . Every one-coordinate inside it is insensitive. We claim that every zero not adjacent to a long run is also insensitive. A zero with another zero immediately on one side cannot complete a length-d d d all-one window unless its other side contains at least d − 1 d-1 d − 1 consecutive ones; this is impossible when that side is a short run of length at most d − 2 d-2 d − 2 (and is immediate if that side is zero). A single zero separating short runs of lengths a , b a,b a , b could be sensitive only if a + b ≥ d − 1 a+b \ge d-1 a + b ≥ d − 1 ; those ones would themselves give at least d − 1 d-1 d − 1 insensitive coordinates, contrary to K ≤ d − 2 K \le d-2 K ≤ d − 2 . These cases cover every zero not adjacent to a long run. Hence at most the two outermost zeros of the cluster, adjacent to long runs, may be sensitive. The cluster therefore contributes at least T − 2 T-2 T − 2 insensitive coordinates. It contains at least one short one-run and the nonempty zero-gaps on its two sides, so T ≥ 3 T \ge3 T ≥ 3 and E ≥ 0 E \ge0 E ≥ 0 .
The long runs and intervening units partition all n n n coordinates. There are exactly r r r units, including when r = 1 r=1 r = 1 , when the one unit connects the unique long run back to itself cyclically. Their disjoint insensitive-coordinate charges give
K ≥ A + ∑ plain gaps ∣ g − 2 ∣ + E . K \ge A + \sum_{\text{plain gaps}} |g-2| + E. K ≥ A + plain gaps ∑ ∣ g − 2∣ + E .
Comparing each long run with a reference run of length d d d , and each intervening unit with a reference gap of length two, gives the exact length identity
n = r ( d + 2 ) + A + B + E = r m + A + B + E . n = r(d+2) + A + B + E = rm + A + B + E. n = r ( d + 2 ) + A + B + E = r m + A + B + E .
Finally, because A , E ≥ 0 A,E \ge0 A , E ≥ 0 ,
K ≥ A + ∣ B ∣ + E ≥ ∣ A + B + E ∣ = ∣ n − r m ∣ . K \ge A + |B| + E \ge|A+B+E| = |n-rm|. K ≥ A + ∣ B ∣ + E ≥ ∣ A + B + E ∣ = ∣ n − r m ∣.
This proves all assertions. □ \square □
Lemma 5.11 (Intrinsic sensitivity upper bound). Let d ≥ 4 d \ge4 d ≥ 4 be even, put m = d + 2 m=d+2 m = d + 2 , and write n = q m + ρ n=qm+\rho n = q m + ρ , where q ≥ 2 q \ge2 q ≥ 2 and 0 ≤ ρ < m 0 \le\rho< m 0 ≤ ρ < m . Then
s ( F d , n ) ≤ n − min { ρ , m − ρ } . s(F_{d,n}) \le n-\min\{\rho,m-\rho\}. s ( F d , n ) ≤ n − min { ρ , m − ρ } . Proof. Put K ( x ) = n − s ( F d , n , x ) K(x)=n-s(F_{d,n},x) K ( x ) = n − s ( F d , n , x ) and h = m − ρ h=m-\rho h = m − ρ . If ρ = 0 \rho=0 ρ = 0 , the inequality s ( F d , n ) ≤ n s(F_{d,n}) \le n s ( F d , n ) ≤ n is immediate. Assume 1 ≤ ρ < m 1 \le\rho< m 1 ≤ ρ < m . Constant inputs have K ( x ) = n ≥ min { ρ , h } K(x)=n \ge\min\{\rho,h\} K ( x ) = n ≥ min { ρ , h } . For a nonconstant input, let r r r denote the number of maximal one-runs of length at least d d d .
If r ≥ q + 1 r \ge q+1 r ≥ q + 1 , split the cyclic word into its r r r long one-runs and the r r r intervening units. A unit is either a plain zero-gap of length g ≥ 1 g \ge1 g ≥ 1 , or a short-run cluster containing shorter one-runs and its surrounding zeros. Write A = ∑ ( L − d ) A=\sum(L-d) A = ∑ ( L − d ) over long runs, E = ∑ ( T − 2 ) E=\sum(T-2) E = ∑ ( T − 2 ) over short-run clusters, and P = ∑ max ( g − 2 , 0 ) P=\sum\max(g-2,0) P = ∑ max ( g − 2 , 0 ) over plain zero-gaps. Each of A , E , P A,E,P A , E , P is nonnegative. If N 1 N_1 N 1 denotes the number of plain one-zero gaps, elementary length counting gives
n = r m + A + E + P − N 1 , N 1 = r m − n + A + E + P ≥ h . n = rm + A + E + P - N_1,\qquad N_1 = rm-n+A+E+P \ge h. n = r m + A + E + P − N 1 , N 1 = r m − n + A + E + P ≥ h . Each one-zero gap is bordered by two long one-runs. Flipping its zero creates exactly d d d length-d d d all-one windows, so the zero is insensitive because d d d is even. Thus K ( x ) ≥ N 1 ≥ h K(x) \ge N_1 \ge h K ( x ) ≥ N 1 ≥ h .
If r ≤ q r \le q r ≤ q and K ( x ) ≥ d − 1 K(x) \ge d-1 K ( x ) ≥ d − 1 , then K ( x ) ≥ min { ρ , h } K(x) \ge\min\{\rho,h\} K ( x ) ≥ min { ρ , h } , since min { ρ , h } ≤ m / 2 ≤ d − 1 \min\{\rho,h\} \le m/2 \le d-1 min { ρ , h } ≤ m /2 ≤ d − 1 . Finally, if r ≤ q r \le q r ≤ q and K ( x ) ≤ d − 2 K(x) \le d-2 K ( x ) ≤ d − 2 , the preceding small-deficit charging lemma applies (as n ≥ 2 d − 1 n \ge2d-1 n ≥ 2 d − 1 ) and yields
K ( x ) ≥ ∣ n − r m ∣ ≥ n − r m ≥ ρ . K(x) \ge|n-rm| \ge n-rm \ge\rho. K ( x ) ≥ ∣ n − r m ∣ ≥ n − r m ≥ ρ . In all cases K ( x ) ≥ min { ρ , h } K(x) \ge\min\{\rho,h\} K ( x ) ≥ min { ρ , h } , proving the claim. □ \square □
An Infinite Separation in Every Even Degree
The strict separation seen in the consecutive quartic case is not confined to degree four. The following theorem gives explicit witnesses and uses the intrinsic sensitivity upper bound of Lemma 5.11. For even d ≥ 4 d \ge4 d ≥ 4 and n ≥ 2 d − 1 n \ge2d-1 n ≥ 2 d − 1 , write
F d , n ( x ) = ⨁ i ∈ Z n ∏ j = 0 d − 1 x i + j , F_{d,n}(x)=\bigoplus_{i\in\mathbb{Z}_n}\prod_{j=0}^{d-1}x_{i+j}, F d , n ( x ) = i ∈ Z n ⨁ j = 0 ∏ d − 1 x i + j ,
with subscripts interpreted modulo n n n .
The exact gap-one classification will follow below from the more general block-sensitivity hierarchy and the elementary certificate bound C ( f ) ≤ n − 1 C(f) \le n - 1 C ( f ) ≤ n − 1 whenever s ( f ) < n s(f) < n s ( f ) < n . The short case n = d + 4 n = d + 4 n = d + 4 is handled independently later in this section. The polynomial itself is defined by the displayed cyclic formula for every n ≥ d n \ge d n ≥ d ; the restriction n ≥ 2 d − 1 n \ge2d - 1 n ≥ 2 d − 1 above concerns the general length-range arguments, not the validity of the definition at shorter lengths. Any subsequent local result with a shorter admissible input length uses the same defining polynomial and its own stated hypotheses.
An arbitrary-gap hierarchy
The next theorem gives a hierarchy of exact block-sensitivity gaps, including the gap-one construction. The corresponding global certificate complexity is not yet known in general.
Theorem 6.1 (Uniform hierarchy of block-sensitivity gaps). Let d ≥ 4 d \ge4 d ≥ 4 be even, t ≥ 1 t \ge1 t ≥ 1 , 4 t ≤ d + 2 4t \le d + 2 4 t ≤ d + 2 , and q ≥ 2 q \ge2 q ≥ 2 . Set n = q ( d + 2 ) + 2 t n = q(d + 2) + 2t n = q ( d + 2 ) + 2 t . Then
s ( F d , n ) = n − 2 t , b s ( F d , n ) = n − t . s(F_{d,n}) = n - 2t,\qquad bs(F_{d,n}) = n - t. s ( F d , n ) = n − 2 t , b s ( F d , n ) = n − t . Consequently b s ( F d , n ) − s ( F d , n ) = t bs(F_{d,n}) - s(F_{d,n}) = t b s ( F d , n ) − s ( F d , n ) = t .
Proof. Since 2 t ≤ ( d + 2 ) / 2 2t \le(d + 2)/2 2 t ≤ ( d + 2 ) /2 , Lemma 5.11 gives s ( F d , n ) ≤ n − 2 t s(F_{d,n}) \le n - 2t s ( F d , n ) ≤ n − 2 t . Consider the cyclic input
x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 . x = 1^{d+2t}00(1^d00)^{q-1}. x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 . Each length-d d d one-run contributes d d d sensitive ones, and both zeros in each two-zero gap are sensitive. In the unique long one-run, the numbers of all-one length-d d d monomials containing successive positions j = 0 , … , d + 2 t − 1 j = 0, \ldots, d + 2t - 1 j = 0 , … , d + 2 t − 1 are
a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } . a(j) = \min\{j + 1, d + 2t - j, 2t + 1, d\}. a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } . Here 2 t + 1 ≤ d 2t + 1 \le d 2 t + 1 ≤ d (because d d d is even and 4 t ≤ d + 2 4t \le d + 2 4 t ≤ d + 2 ), so the count increases through 1 , 2 , … , 2 t + 1 1, 2, \ldots, 2t + 1 1 , 2 , … , 2 t + 1 , stays at the odd value 2 t + 1 2t + 1 2 t + 1 , then decreases symmetrically. Exactly the 2 t 2t 2 t positions
1 , 3 , … , 2 t − 1 and d , d + 2 , … , d + 2 t − 2 1, 3, \ldots, 2t - 1 \quad\text{and}\quad d, d + 2, \ldots, d + 2t - 2 1 , 3 , … , 2 t − 1 and d , d + 2 , … , d + 2 t − 2 have even incidence count, hence are insensitive. All other coordinates are sensitive, so s ( F d , n , x ) = n − 2 t s(F_{d,n}, x) = n - 2t s ( F d , n , x ) = n − 2 t and therefore s ( F d , n ) = n − 2 t s(F_{d,n}) = n - 2t s ( F d , n ) = n − 2 t .
For j = 0 , … , t − 1 j = 0, \ldots, t - 1 j = 0 , … , t − 1 , put
B j = { 2 j + 1 , d + 2 j } . B_j = \{2j + 1, d + 2j\}. B j = { 2 j + 1 , d + 2 j } . The pairs are disjoint; each consists of two insensitive coordinates. Their separation within the long run is d − 1 d - 1 d − 1 , so exactly one all-one length-d d d monomial contains both members: the window starting at 2 j + 1 2j + 1 2 j + 1 . Thus the mixed Boolean derivative D 2 j + 1 D d + 2 j F d , n ( x ) D_{2j+1}D_{d+2j}F_{d,n}(x) D 2 j + 1 D d + 2 j F d , n ( x ) equals 1 1 1 and flipping both coordinates changes the function. The n − 2 t n - 2t n − 2 t sensitive singletons and these t t t sensitive pairs form n − t n - t n − t disjoint sensitive blocks, giving b s ( F d , n ) ≥ n − t bs(F_{d,n}) \ge n - t b s ( F d , n ) ≥ n − t .
For an arbitrary Boolean function f f f on n n n variables, a collection of b b b disjoint sensitive blocks at one input has at least 2 b − n 2b - n 2 b − n singleton blocks: the other blocks each consume at least two coordinates. All these singletons are sensitive coordinates. Consequently 2 b − n ≤ s ( f ) 2b - n \le s(f) 2 b − n ≤ s ( f ) , and hence
b s ( f ) ≤ ⌊ n + s ( f ) 2 ⌋ . bs(f) \le\left\lfloor\frac{n + s(f)}{2}\right\rfloor. b s ( f ) ≤ ⌊ 2 n + s ( f ) ⌋ . Applying this with s ( F d , n ) = n − 2 t s(F_{d,n}) = n - 2t s ( F d , n ) = n − 2 t gives the reverse bound b s ( F d , n ) ≤ n − t bs(F_{d,n}) \le n - t b s ( F d , n ) ≤ n − t .
Corollary 6.2 (Uniform even-degree strict separation). For even d ≥ 4 d \ge4 d ≥ 4 and q ≥ 2 q \ge2 q ≥ 2 , with n = q ( d + 2 ) + 2 n = q(d+2)+2 n = q ( d + 2 ) + 2 ,
s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1. s(F_{d,n}) = n - 2 < bs(F_{d,n}) = C(F_{d,n}) = n - 1. s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1. Proof. Apply Theorem 6.1 with t = 1 t=1 t = 1 to obtain s = n − 2 s=n-2 s = n − 2 and b s = n − 1 bs=n-1 b s = n − 1 . Because s < n s<n s < n , every input has an insensitive coordinate; fixing the other n − 1 n-1 n − 1 coordinates is a certificate. Hence C ≤ n − 1 C \le n-1 C ≤ n − 1 , and C ≥ b s = n − 1 C \ge bs=n-1 C ≥ b s = n − 1 .
Proposition 6.3 (Exact local certificate complexity at the witness). Under the assumptions of Theorem 6.1 , at the specified word x x x we have
b s ( F d , n , x ) = C ( F d , n , x ) = n − t . bs(F_{d,n},x)=C(F_{d,n},x)=n-t. b s ( F d , n , x ) = C ( F d , n , x ) = n − t . Proof. We already have b s ( F d , n , x ) ≥ n − t bs(F_{d,n},x)\ge n-t b s ( F d , n , x ) ≥ n − t . Fix all coordinates except S = { 1 , 3 , … , 2 t − 1 } S=\{1,3,\ldots,2t-1\} S = { 1 , 3 , … , 2 t − 1 } in the long run. Every all-one length-d d d monomial outside the long run is constant under this restriction. For a nonempty subset T ⊆ S T\subseteq S T ⊆ S , the coefficient of the monomial ∏ i ∈ T z i \prod_{i\in T}z_i ∏ i ∈ T z i in the restricted polynomial, where z i = 1 + x i z_i=1+x_i z i = 1 + x i for i ∈ S i\in S i ∈ S , is the parity of the number of length-d d d windows containing T T T (and lying wholly in the long run). Because max T ≤ 2 t − 1 ≤ d − 1 \max T\le2t-1\le d-1 max T ≤ 2 t − 1 ≤ d − 1 and min T ≤ 2 t − 1 \min T\le2t-1 min T ≤ 2 t − 1 , the allowable starting positions are precisely 0 , 1 , … , min T 0,1,\ldots,\min T 0 , 1 , … , min T . There are min T + 1 \min T+1 min T + 1 such windows, an even number. Thus every nonconstant coefficient vanishes, the restricted function is constant, and C ( F d , n , x ) ≤ n − t C(F_{d,n},x)\le n-t C ( F d , n , x ) ≤ n − t . The reverse inequality follows from b s ( f , x ) ≤ C ( f , x ) bs(f,x)\le C(f,x) b s ( f , x ) ≤ C ( f , x ) .
Remark 6.4. Theorem 6.1 yields arbitrarily large exact gaps as d d d varies: choose any t t t and an even d ≥ 4 t − 2 d\ge4t-2 d ≥ 4 t − 2 . It does not establish unbounded gaps for a fixed d d d , nor does the local certificate result establish the global equality C ( F d , n ) = n − t C(F_{d,n})=n-t C ( F d , n ) = n − t . In general we can only conclude C ( F d , n ) ≥ n − t C(F_{d,n})\ge n-t C ( F d , n ) ≥ n − t .
Exact block sensitivity in the lower-half residue classes
The preceding even-residue hierarchy extends to every residue in the lower half of a period. The certificate complexity in these classes remains undetermined in general.
Theorem 6.5 (Lower-half residue classification for block sensitivity). Let d ≥ 4 d\ge4 d ≥ 4 be even, put m = d + 2 m=d+2 m = d + 2 , and suppose q ≥ 2 q\ge2 q ≥ 2 and 0 ≤ ρ ≤ m / 2 0\le\rho\le m/2 0 ≤ ρ ≤ m /2 . With n = q m + ρ n=qm+\rho n = q m + ρ , one has
s ( F d , n ) = n − ρ , b s ( F d , n ) = n − ⌊ ρ 2 ⌋ . s(F_{d,n})=n-\rho,\qquad bs(F_{d,n})=n-\left\lfloor\frac{\rho}{2}\right\rfloor. s ( F d , n ) = n − ρ , b s ( F d , n ) = n − ⌊ 2 ρ ⌋ . In particular, b s ( F d , n ) − s ( F d , n ) = ⌊ ρ / 2 ⌋ bs(F_{d,n})-s(F_{d,n})=\lfloor\rho/2\rfloor b s ( F d , n ) − s ( F d , n ) = ⌊ ρ /2 ⌋ .
Related work. The sensitivity component is consistent with the companion sensitivity results [10 ] ; the block-sensitivity formula is established in this paper.
Proof. Lemma 5.11 gives s ( F d , n ) ≤ n − ρ s(F_{d,n})\le n-\rho s ( F d , n ) ≤ n − ρ because ρ ≤ m / 2 \rho\le m/2 ρ ≤ m /2 . The lemma applies for every q ≥ 2 q\ge2 q ≥ 2 and is proved independently of this classification.
If ρ = 0 \rho=0 ρ = 0 , the cyclic word ( 1 d 00 ) q (1^d00)^q ( 1 d 00 ) q has every coordinate sensitive, so s = b s = n s=bs=n s = b s = n . If ρ = 2 t ≥ 2 \rho=2t\ge2 ρ = 2 t ≥ 2 , then 2 t ≤ m / 2 2t\le m/2 2 t ≤ m /2 . Consider
x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 . x=1^{d+2t}00(1^d00)^{q-1}. x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 .
This cyclic word has length q m + 2 t = n qm+2t=n q m + 2 t = n . Every position of an ordinary length-d d d one-run is sensitive, as are both zeros in each two-zero gap. In the exceptional run, indexed by j = 0 , … , d + 2 t − 1 j=0,\ldots,d+2t-1 j = 0 , … , d + 2 t − 1 , the number of all-one length-d d d windows containing position j j j is
a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } . a(j)=\min\{j+1,d+2t-j,2t+1,d\}. a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } .
@page 26/45 starts_mid=0 ends_mid=1
Corollary 6.2 (Uniform even-degree strict separation). For even d ≥ 4 d \ge4 d ≥ 4 and q ≥ 2 q \ge2 q ≥ 2 , with n = q ( d + 2 ) + 2 n = q(d+2)+2 n = q ( d + 2 ) + 2 ,
s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1. s(F_{d,n}) = n - 2 < bs(F_{d,n}) = C(F_{d,n}) = n - 1. s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1. Proof. Apply Theorem 6.1 with t = 1 t=1 t = 1 to obtain s = n − 2 s=n-2 s = n − 2 and b s = n − 1 bs=n-1 b s = n − 1 . Because s < n s<n s < n , every input has an insensitive coordinate; fixing the other n − 1 n-1 n − 1 coordinates is a certificate. Hence C ≤ n − 1 C\le n-1 C ≤ n − 1 , and C ≥ b s = n − 1 C\ge bs=n-1 C ≥ b s = n − 1 .
Proposition 6.3 (Exact local certificate complexity at the witness). Under the assumptions of Theorem 6.1 , at the specified word x x x we have
b s ( F d , n , x ) = C ( F d , n , x ) = n − t . bs(F_{d,n},x)=C(F_{d,n},x)=n-t. b s ( F d , n , x ) = C ( F d , n , x ) = n − t . Proof. We already have b s ( F d , n , x ) ≥ n − t bs(F_{d,n},x)\ge n-t b s ( F d , n , x ) ≥ n − t . Fix all coordinates except S = { 1 , 3 , … , 2 t − 1 } S=\{1,3,\ldots,2t-1\} S = { 1 , 3 , … , 2 t − 1 } in the long run. Every all-one length-d d d monomial outside the long run is constant under this restriction. For a nonempty subset T ⊆ S T\subseteq S T ⊆ S , the coefficient of the monomial ∏ i ∈ T z i \prod_{i\in T}z_i ∏ i ∈ T z i in the restricted polynomial, where z i = 1 + x i z_i=1+x_i z i = 1 + x i for i ∈ S i\in S i ∈ S , is the parity of the number of length-d d d windows containing T T T (and lying wholly in the long run). Because max T ≤ 2 t − 1 ≤ d − 1 \max T\le2t-1\le d-1 max T ≤ 2 t − 1 ≤ d − 1 and min T ≤ 2 t − 1 \min T\le2t-1 min T ≤ 2 t − 1 , the allowable starting positions are precisely 0 , 1 , … , min T 0,1,\ldots,\min T 0 , 1 , … , min T . There are min T + 1 \min T+1 min T + 1 such windows, an even number. Thus every nonconstant coefficient vanishes, the restricted function is constant, and C ( F d , n , x ) ≤ n − t C(F_{d,n},x)\le n-t C ( F d , n , x ) ≤ n − t . The reverse inequality follows from b s ( f , x ) ≤ C ( f , x ) bs(f,x)\le C(f,x) b s ( f , x ) ≤ C ( f , x ) .
Remark 6.4. Theorem 6.1 yields arbitrarily large exact gaps as d d d varies: choose any t t t and an even d ≥ 4 t − 2 d\ge4t-2 d ≥ 4 t − 2 . It does not establish unbounded gaps for a fixed d d d , nor does the local certificate result establish the global equality C ( F d , n ) = n − t C(F_{d,n})=n-t C ( F d , n ) = n − t . In general we can only conclude C ( F d , n ) ≥ n − t C(F_{d,n})\ge n-t C ( F d , n ) ≥ n − t .
Exact block sensitivity in the lower-half residue classes
The preceding even-residue hierarchy extends to every residue in the lower half of a period. The certificate complexity in these classes remains undetermined in general.
Theorem 6.5 (Lower-half residue classification for block sensitivity). Let d ≥ 4 d\ge4 d ≥ 4 be even, put m = d + 2 m=d+2 m = d + 2 , and suppose q ≥ 2 q\ge2 q ≥ 2 and 0 ≤ ρ ≤ m / 2 0\le\rho\le m/2 0 ≤ ρ ≤ m /2 . With n = q m + ρ n=qm+\rho n = q m + ρ , one has
s ( F d , n ) = n − ρ , b s ( F d , n ) = n − ⌊ ρ 2 ⌋ . s(F_{d,n})=n-\rho,\qquad bs(F_{d,n})=n-\left\lfloor\frac{\rho}{2}\right\rfloor. s ( F d , n ) = n − ρ , b s ( F d , n ) = n − ⌊ 2 ρ ⌋ . In particular, b s ( F d , n ) − s ( F d , n ) = ⌊ ρ / 2 ⌋ bs(F_{d,n})-s(F_{d,n})=\lfloor\rho/2\rfloor b s ( F d , n ) − s ( F d , n ) = ⌊ ρ /2 ⌋ .
Related work. The sensitivity component is consistent with the companion sensitivity results [10 ] ; the block-sensitivity formula is established in this paper.
Proof. Lemma 5.11 gives s ( F d , n ) ≤ n − ρ s(F_{d,n})\le n-\rho s ( F d , n ) ≤ n − ρ because ρ ≤ m / 2 \rho\le m/2 ρ ≤ m /2 . The lemma applies for every q ≥ 2 q\ge2 q ≥ 2 and is proved independently of this classification.
If ρ = 0 \rho=0 ρ = 0 , the cyclic word ( 1 d 00 ) q (1^d00)^q ( 1 d 00 ) q has every coordinate sensitive, so s = b s = n s=bs=n s = b s = n . If ρ = 2 t ≥ 2 \rho=2t\ge2 ρ = 2 t ≥ 2 , then 2 t ≤ m / 2 2t\le m/2 2 t ≤ m /2 . Consider
x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 . x=1^{d+2t}00(1^d00)^{q-1}. x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 .
This cyclic word has length q m + 2 t = n qm+2t=n q m + 2 t = n . Every position of an ordinary length-d d d one-run is sensitive, as are both zeros in each two-zero gap. In the exceptional run, indexed by j = 0 , … , d + 2 t − 1 j=0,\ldots,d+2t-1 j = 0 , … , d + 2 t − 1 , the number of all-one length-d d d windows containing position j j j is
a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } . a(j)=\min\{j+1,d+2t-j,2t+1,d\}. a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } .
@page 26/45 starts_mid=0 ends_mid=1
Corollary 6.2 (Uniform even-degree strict separation). For even d ≥ 4 d \ge4 d ≥ 4 and q ≥ 2 q \ge2 q ≥ 2 , with n = q ( d + 2 ) + 2 n = q(d+2)+2 n = q ( d + 2 ) + 2 ,
s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1. s(F_{d,n}) = n - 2 < bs(F_{d,n}) = C(F_{d,n}) = n - 1. s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1. Proof. Apply Theorem 6.1 with t = 1 t=1 t = 1 to obtain s = n − 2 s=n-2 s = n − 2 and b s = n − 1 bs=n-1 b s = n − 1 . Because s < n s<n s < n , every input has an insensitive coordinate; fixing the other n − 1 n-1 n − 1 coordinates is a certificate. Hence C ≤ n − 1 C\le n-1 C ≤ n − 1 , and C ≥ b s = n − 1 C\ge bs=n-1 C ≥ b s = n − 1 .
Proposition 6.3 (Exact local certificate complexity at the witness). Under the assumptions of Theorem 6.1 , at the specified word x x x we have
b s ( F d , n , x ) = C ( F d , n , x ) = n − t . bs(F_{d,n},x)=C(F_{d,n},x)=n-t. b s ( F d , n , x ) = C ( F d , n , x ) = n − t . Proof. We already have b s ( F d , n , x ) ≥ n − t bs(F_{d,n},x)\ge n-t b s ( F d , n , x ) ≥ n − t . Fix all coordinates except S = { 1 , 3 , … , 2 t − 1 } S=\{1,3,\ldots,2t-1\} S = { 1 , 3 , … , 2 t − 1 } in the long run. Every all-one length-d d d monomial outside the long run is constant under this restriction. For a nonempty subset T ⊆ S T\subseteq S T ⊆ S , the coefficient of the monomial ∏ i ∈ T z i \prod_{i\in T}z_i ∏ i ∈ T z i in the restricted polynomial, where z i = 1 + x i z_i=1+x_i z i = 1 + x i for i ∈ S i\in S i ∈ S , is the parity of the number of length-d d d windows containing T T T (and lying wholly in the long run). Because max T ≤ 2 t − 1 ≤ d − 1 \max T\le2t-1\le d-1 max T ≤ 2 t − 1 ≤ d − 1 and min T ≤ 2 t − 1 \min T\le2t-1 min T ≤ 2 t − 1 , the allowable starting positions are precisely 0 , 1 , … , min T 0,1,\ldots,\min T 0 , 1 , … , min T . There are min T + 1 \min T+1 min T + 1 such windows, an even number. Thus every nonconstant coefficient vanishes, the restricted function is constant, and C ( F d , n , x ) ≤ n − t C(F_{d,n},x)\le n-t C ( F d , n , x ) ≤ n − t . The reverse inequality follows from b s ( f , x ) ≤ C ( f , x ) bs(f,x)\le C(f,x) b s ( f , x ) ≤ C ( f , x ) .
Remark 6.4. Theorem 6.1 yields arbitrarily large exact gaps as d d d varies: choose any t t t and an even d ≥ 4 t − 2 d\ge4t-2 d ≥ 4 t − 2 . It does not establish unbounded gaps for a fixed d d d , nor does the local certificate result establish the global equality C ( F d , n ) = n − t C(F_{d,n})=n-t C ( F d , n ) = n − t . In general we can only conclude C ( F d , n ) ≥ n − t C(F_{d,n})\ge n-t C ( F d , n ) ≥ n − t .
Exact block sensitivity in the lower-half residue classes
The preceding even-residue hierarchy extends to every residue in the lower half of a period. The certificate complexity in these classes remains undetermined in general.
Theorem 6.5 (Lower-half residue classification for block sensitivity). Let d ≥ 4 d\ge4 d ≥ 4 be even, put m = d + 2 m=d+2 m = d + 2 , and suppose q ≥ 2 q\ge2 q ≥ 2 and 0 ≤ ρ ≤ m / 2 0\le\rho\le m/2 0 ≤ ρ ≤ m /2 . With n = q m + ρ n=qm+\rho n = q m + ρ , one has
s ( F d , n ) = n − ρ , b s ( F d , n ) = n − ⌊ ρ 2 ⌋ . s(F_{d,n})=n-\rho,\qquad bs(F_{d,n})=n-\left\lfloor\frac{\rho}{2}\right\rfloor. s ( F d , n ) = n − ρ , b s ( F d , n ) = n − ⌊ 2 ρ ⌋ . In particular, b s ( F d , n ) − s ( F d , n ) = ⌊ ρ / 2 ⌋ bs(F_{d,n})-s(F_{d,n})=\lfloor\rho/2\rfloor b s ( F d , n ) − s ( F d , n ) = ⌊ ρ /2 ⌋ .
Related work. The sensitivity component is consistent with the companion sensitivity results [10 ] ; the block-sensitivity formula is established in this paper.
Proof. Lemma 5.11 gives s ( F d , n ) ≤ n − ρ s(F_{d,n})\le n-\rho s ( F d , n ) ≤ n − ρ because ρ ≤ m / 2 \rho\le m/2 ρ ≤ m /2 . The lemma applies for every q ≥ 2 q\ge2 q ≥ 2 and is proved independently of this classification.
If ρ = 0 \rho=0 ρ = 0 , the cyclic word ( 1 d 00 ) q (1^d00)^q ( 1 d 00 ) q has every coordinate sensitive, so s = b s = n s=bs=n s = b s = n . If ρ = 2 t ≥ 2 \rho=2t\ge2 ρ = 2 t ≥ 2 , then 2 t ≤ m / 2 2t\le m/2 2 t ≤ m /2 . Consider
x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 . x=1^{d+2t}00(1^d00)^{q-1}. x = 1 d + 2 t 00 ( 1 d 00 ) q − 1 .
This cyclic word has length q m + 2 t = n qm+2t=n q m + 2 t = n . Every position of an ordinary length-d d d one-run is sensitive, as are both zeros in each two-zero gap. In the exceptional run, indexed by j = 0 , … , d + 2 t − 1 j=0,\ldots,d+2t-1 j = 0 , … , d + 2 t − 1 , the number of all-one length-d d d windows containing position j j j is
a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } . a(j)=\min\{j+1,d+2t-j,2t+1,d\}. a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } .
Since 2 t + 1 ≤ d 2t+1\le d 2 t + 1 ≤ d , exactly the 2 t 2t 2 t positions
1 , 3 , … , 2 t − 1 and d , d + 2 , … , d + 2 t − 2 1,3,\ldots,2t-1\quad\text{and}\quad d,d+2,\ldots,d+2t-2 1 , 3 , … , 2 t − 1 and d , d + 2 , … , d + 2 t − 2
have even incidence and are insensitive. Thus s ( F d , n , x ) = n − 2 t s(F_{d,n},x)=n-2t s ( F d , n , x ) = n − 2 t , which attains the intrinsic sensitivity upper bound. For each 0 ≤ j < t 0\le j<t 0 ≤ j < t the two insensitive positions in B j = { 2 j + 1 , d + 2 j } B_j=\{2j+1,d+2j\} B j = { 2 j + 1 , d + 2 j } lie in a unique common length-d d d all-one window (starting at 2 j + 1 2j+1 2 j + 1 ). Consequently
D 2 j + 1 D d + 2 j F d , n ( x ) = 1 , D_{2j+1}D_{d+2j}F_{d,n}(x)=1, D 2 j + 1 D d + 2 j F d , n ( x ) = 1 ,
so B j B_j B j is sensitive. These t t t pairs are mutually disjoint and disjoint from the n − 2 t n-2t n − 2 t sensitive singleton coordinates. Hence b s ( F d , n ) ≥ n − 2 t + t = n − t bs(F_{d,n})\ge n-2t+t=n-t b s ( F d , n ) ≥ n − 2 t + t = n − t . The elementary inequality b s ( f , x ) ≤ ⌊ ( n + s ( f , x ) ) / 2 ⌋ bs(f,x)\le\left\lfloor(n+s(f,x))/2\right\rfloor b s ( f , x ) ≤ ⌊ ( n + s ( f , x )) /2 ⌋ , obtained by counting singleton blocks and blocks of size at least two, yields the reverse bound b s ( F d , n ) ≤ n − t bs(F_{d,n})\le n-t b s ( F d , n ) ≤ n − t . This establishes both equalities for even ρ \rho ρ .
It remains to treat ρ = 2 t + 1 \rho=2t+1 ρ = 2 t + 1 with t ≥ 0 t\ge0 t ≥ 0 and 2 t + 1 ≤ m / 2 2t+1\le m/2 2 t + 1 ≤ m /2 . Consider the cyclic word
x = 1 d + 2 t 000 ( 1 d 00 ) q − 1 . x=1^{d+2t}000(1^d00)^{q-1}. x = 1 d + 2 t 000 ( 1 d 00 ) q − 1 .
Its length is q m + 2 t + 1 = n qm+2t+1=n q m + 2 t + 1 = n . The two boundary zeros of the three-zero gap are sensitive, whereas its middle zero is insensitive: flipping a boundary zero creates exactly one length-d d d all-one monomial, and flipping the middle zero creates none. Both zeros in each two-zero gap are sensitive, and each position of an ordinary length-d d d one-run is sensitive.
For positions j = 0 , … , d + 2 t − 1 j=0,\ldots,d+2t-1 j = 0 , … , d + 2 t − 1 in the long one-run, the number of all-one length-d d d monomials containing j j j equals
a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } . a(j)=\min\{j+1,d+2t-j,2t+1,d\}. a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } .
The hypothesis 2 t + 1 ≤ ( d + 2 ) / 2 2t+1\le(d+2)/2 2 t + 1 ≤ ( d + 2 ) /2 implies 2 t + 1 ≤ d 2t+1\le d 2 t + 1 ≤ d . The parity of a ( j ) a(j) a ( j ) is even precisely at
1 , 3 , … , 2 t − 1 and d , d + 2 , … , d + 2 t − 2 , 1,3,\ldots,2t-1\quad\text{and}\quad d,d+2,\ldots,d+2t-2, 1 , 3 , … , 2 t − 1 and d , d + 2 , … , d + 2 t − 2 ,
where these lists are empty for t = 0 t=0 t = 0 . Thus there are exactly 2 t + 1 2t+1 2 t + 1 insensitive coordinates overall, and s ( F d , n , x ) = n − 2 t − 1 s(F_{d,n},x)=n-2t-1 s ( F d , n , x ) = n − 2 t − 1 . This matches the universal upper bound.
For 0 ≤ j < t 0\le j<t 0 ≤ j < t , take the disjoint pairs B j = { 2 j + 1 , d + 2 j } B_j=\{2j+1,d+2j\} B j = { 2 j + 1 , d + 2 j } inside the long one-run. Both members are insensitive, but exactly one all-one length-d d d monomial contains both: its window starts at 2 j + 1 2j+1 2 j + 1 . The mixed Boolean derivative in the two coordinates is therefore 1 1 1 , so each B j B_j B j is a sensitive block. Together with the n − 2 t − 1 n-2t-1 n − 2 t − 1 sensitive singleton blocks, these pairs give n − t − 1 n-t-1 n − t − 1 disjoint sensitive blocks. Hence b s ( F d , n ) ≥ n − t − 1 bs(F_{d,n})\ge n-t-1 b s ( F d , n ) ≥ n − t − 1 . On the other hand, the general bound
b s ( f ) ≤ ⌊ n + s ( f ) 2 ⌋ bs(f)\le\left\lfloor\frac{n+s(f)}{2}\right\rfloor b s ( f ) ≤ ⌊ 2 n + s ( f ) ⌋
which follows by counting sensitive singleton blocks and disjoint blocks of size at least two, gives b s ( F d , n ) ≤ n − t − 1 bs(F_{d,n})\le n-t-1 b s ( F d , n ) ≤ n − t − 1 . Thus b s = n − t − 1 = n − ⌈ ρ / 2 ⌉ bs=n-t-1=n-\lceil\rho/2\rceil b s = n − t − 1 = n − ⌈ ρ /2 ⌉ , as desired.
Remark 6.6. Theorem 6.5 determines the global block sensitivity, not the global certificate complexity. The usual bounds give
n − ⌊ ρ / 2 ⌋ = b s ( F d , n ) ≤ C ( F d , n ) ≤ n . n-\lfloor\rho/2\rfloor=bs(F_{d,n})\le C(F_{d,n})\le n. n − ⌊ ρ /2 ⌋ = b s ( F d , n ) ≤ C ( F d , n ) ≤ n .
An exact certificate-complexity formula for these classes remains an open question.
A uniform short-length classification
The general sensitivity formula invoked above is proved under the hypotheses of Theorem 6.17 . The following short-length family is therefore worth treating directly; it includes lengths not covered by that hypothesis.
Theorem 6.7 (The family n = d + 4 n=d+4 n = d + 4 ). Let d ≥ 4 d \ge4 d ≥ 4 be even and set n = d + 4 n=d+4 n = d + 4 . Then
s ( F d , n ) = n − 2 , b s ( F d , n ) = C ( F d , n ) = n − 1. s(F_{d,n})=n-2,\qquad bs(F_{d,n})=C(F_{d,n})=n-1. s ( F d , n ) = n − 2 , b s ( F d , n ) = C ( F d , n ) = n − 1. Proof. For an input x x x , denote its set of zero coordinates by Z Z Z . Since n − d = 4 n-d=4 n − d = 4 , a degree-d d d cyclic interval is the complement of a four-position cyclic interval. Consequently,
F d , n ( x ) = ⨁ a ∈ Z n 1 { Z ⊆ { a , a + 1 , a + 2 , a + 3 } } . (13) F_{d,n}(x)=\bigoplus_{a\in\mathbb{Z}_n}1\{Z\subseteq\{a,a+1,a+2,a+3\}\}. \tag*{(13)} F d , n ( x ) = a ∈ Z n ⨁ 1 { Z ⊆ { a , a + 1 , a + 2 , a + 3 }} . (13) We first show that every input has at least two insensitive coordinates. The required elementary case analysis is by z = ∣ Z ∣ z=|Z| z = ∣ Z ∣ ; throughout n ≥ 8 n\ge8 n ≥ 8 is even.
If z ≥ 6 z\ge6 z ≥ 6 , the function is zero and every singleton flip leaves at least five zeros, so all coordinates are insensitive. If z = 5 z=5 z = 5 , the function is zero and all n − 5 ≥ 3 n-5\ge3 n − 5 ≥ 3 one-coordinates are insensitive, since flipping one to zero leaves at least five zeros. If z = 4 z=4 z = 4 and Z Z Z is not itself a four-position interval, then the function is zero, and every one-coordinate flip is insensitive. If Z Z Z is a four-position interval, deleting either interior zero leaves three zeros that still have a unique containing four-position interval. Thus the number of such intervals remains one and both flips are insensitive. By contrast, deleting an endpoint leaves three consecutive zeros, which lie in two four-position intervals and changes the function value.
For z = 3 z=3 z = 3 , formula (2) distinguishes three possibilities. If Z Z Z lies in no four-position interval, the output is zero and all one-coordinate flips remain insensitive. If Z Z Z is three consecutive positions, exactly two four-position intervals contain it, and the output is zero; at least two one-coordinate flips do not complete a four-position zero interval. Otherwise, when Z Z Z is contained in a four-position interval, it is contained in exactly one; adding its missing zero preserves the output, as does removing a zero lying between the other two along that interval.
For z = 2 z=2 z = 2 , classify the zero pair by its shorter cyclic distance. At distance two, its containing four-position intervals number two, so the output is zero. Rotate the pair to Z = { 0 , 2 } Z=\{0,2\} Z = { 0 , 2 } . Flipping coordinate 1 produces three consecutive zeros, which belong to exactly two four-position intervals; the parity therefore remains zero. Flipping coordinate 4 produces Z ′ = { 0 , 2 , 4 } Z'=\{0,2,4\} Z ′ = { 0 , 2 , 4 } , which is contained in no four-position cyclic interval for n ≥ 8 n\ge8 n ≥ 8 ; again the parity stays zero. These are two distinct insensitive one-coordinates. Notice that merely failing to create four zeros would not suffice: formula (2) counts four-position intervals containing the entire zero set. At distances one or three, that number is respectively three or one, so the output is one; in each case there are at least two one-positions whose flips preserve the parity in (2). At distances at least four, the output is zero, and inserting any third zero cannot create a four-position interval containing all three. (For n = 8 n=8 n = 8 , a pair at distance four is antipodal and also has this property.)
Finally, for z = 1 z=1 z = 1 , the number of containing four-position intervals is four and hence even; adding a zero at either cyclic distance two preserves parity. For z = 0 z=0 z = 0 , the function is zero because n n n is even; all singleton flips are insensitive. Thus in every case at least two coordinates are insensitive, proving s ( F d , n ) ≥ n − 2 s(F_{d,n})\ge n-2 s ( F d , n ) ≥ n − 2 .
For the reverse inequality, take
x = 1 d + 2 00. x=1^{d+2}00. x = 1 d + 2 00.
The two zeros and all but two ones are sensitive; within the long one-run, the two insensitive positions are 1 1 1 and d d d (numbered from zero). These two positions together form a sensitive block: they occur together in exactly one nonzero degree-d d d monomial. Therefore s ( F d , n , x ) = n − 2 s(F_{d,n},x)=n-2 s ( F d , n , x ) = n − 2 and b s ( F d , n , x ) ≥ n − 1 bs(F_{d,n},x)\ge n-1 b s ( F d , n , x ) ≥ n − 1 .
Finally, for every Boolean function, C ( f ) = n C(f)=n C ( f ) = n implies s ( f ) = n s(f)=n s ( f ) = n : a certificate requiring every coordinate can exist only at an input where every singleton flip changes the output. As s ( F d , n ) = n − 2 s(F_{d,n})=n-2 s ( F d , n ) = n − 2 , we obtain C ( F d , n ) ≤ n − 1 C(F_{d,n})\le n-1 C ( F d , n ) ≤ n − 1 . The inequalities s ≤ b s ≤ C s\le bs\le C s ≤ b s ≤ C complete the proof.
Remark 6.8. The family n = d + 4 n=d+4 n = d + 4 is an exact short-length counterpart of the separation hierarchy, and does not rely on the general cluster inequality (whose length hypothesis can fail here). For d = 4 d=4 d = 4 it agrees with the full quartic classification.
Corollary 6.9 (Gap-one separation including the short lengths). For every even d ≥ 4 d\ge4 d ≥ 4 and every integer q ≥ 1 q\ge1 q ≥ 1 , with n = q ( d + 2 ) + 2 n=q(d+2)+2 n = q ( d + 2 ) + 2 , one has
s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1. s(F_{d,n})=n-2<bs(F_{d,n})=C(F_{d,n})=n-1. s ( F d , n ) = n − 2 < b s ( F d , n ) = C ( F d , n ) = n − 1.
Proof. For q ≥ 2 q\ge2 q ≥ 2 this is Corollary 6.2; for q = 1 q=1 q = 1 it is Theorem 6.7.
Exact local complexity for regular one-runs and arbitrary zero-gaps
The following result complements the small-deficit rigidity arguments: when every maximal one-run has length exactly d d d , the local complexity measures can be computed even if the intervening zero-gaps are arbitrarily long. It also isolates the first source of additional sensitive blocks within such gaps.
Theorem 6.10 (Zero-gap decomposition and exact local complexities). Let d ≥ 4 d\ge4 d ≥ 4 be even and suppose a nonconstant binary word x x x has the cyclic run decomposition
x = 1 d 0 g 1 1 d 0 g 2 ⋯ 1 d 0 g r , r ≥ 1 , g i ≥ 1. x=1^d0^{g_1}1^d0^{g_2}\cdots1^d0^{g_r},\qquad r\ge1,\quad g_i\ge1. x = 1 d 0 g 1 1 d 0 g 2 ⋯ 1 d 0 g r , r ≥ 1 , g i ≥ 1. Let n = r d + ∑ i = 1 r g i n=rd+\sum_{i=1}^{r}g_i n = r d + ∑ i = 1 r g i and L i = ( g i − 2 ) + L_i=(g_i-2)_+ L i = ( g i − 2 ) + , where u + = max { u , 0 } u_+=\max\{u,0\} u + = max { u , 0 } . Then
s ( F d , n , x ) = n − ∑ i = 1 r ∣ g i − 2 ∣ s(F_{d,n},x)=n-\sum_{i=1}^{r}|g_i-2| s ( F d , n , x ) = n − i = 1 ∑ r ∣ g i − 2∣ and
b s ( F d , n , x ) = C ( F d , n , x ) = s ( F d , n , x ) + ∑ i = 1 r ⌊ L i d ⌋ . bs(F_{d,n},x)=C(F_{d,n},x)=s(F_{d,n},x)+\sum_{i=1}^{r}\left\lfloor\frac{L_i}{d}\right\rfloor. b s ( F d , n , x ) = C ( F d , n , x ) = s ( F d , n , x ) + i = 1 ∑ r ⌊ d L i ⌋ . In particular, s ( F d , n , x ) = b s ( F d , n , x ) = C ( F d , n , x ) s(F_{d,n},x)=bs(F_{d,n},x)=C(F_{d,n},x) s ( F d , n , x ) = b s ( F d , n , x ) = C ( F d , n , x ) if and only if every g i ≤ d + 1 g_i\le d+1 g i ≤ d + 1 .
Proof. All coordinate indices are cyclic. Each one-coordinate lies in exactly one all-one interval of length d d d , namely its entire maximal one-run. It is therefore sensitive. In a one-zero gap, flipping the unique zero creates exactly d d d all-one intervals, so the zero is insensitive because d d d is even. In a two-zero gap each boundary zero is sensitive. In a gap of length g ≥ 3 g\ge3 g ≥ 3 , exactly the first and last zeros are sensitive: flipping either creates a unique all-one interval using the adjacent run of d d d ones, while flipping an interior zero leaves zeros on both sides and creates none. Hence the number of insensitive coordinates is
K ( x ) = n − s ( F d , n , x ) = ∑ i ∣ g i − 2 ∣ . K(x)=n-s(F_{d,n},x)=\sum_i |g_i-2|. K ( x ) = n − s ( F d , n , x ) = i ∑ ∣ g i − 2∣.
Fix all sensitive coordinates at their values in x x x and let the insensitive coordinates vary. A free coordinate in a one-zero gap is separated from every other free coordinate in a different gap by a full one-run of length d d d : no degree-d d d interval contains both. A degree-d d d interval containing this free zero otherwise consists of fixed ones, and there are exactly d d d such intervals. Thus all its linear contributions cancel in F 2 \mathbb{F}_2 F 2 .
For a gap of length g ≥ 3 g \ge3 g ≥ 3 , the first and last zeros remain fixed to zero. Every interval meeting a free interior coordinate and extending outside that interior encounters one of these fixed zeros and vanishes. Therefore the only nonconstant terms on the L = g − 2 L=g-2 L = g − 2 interior variables are the length-d d d consecutive products entirely inside the interior. Distinct interiors do not interact. The restricted polynomial is thus
c ⊕ ⨁ i : g i ≥ 3 P L i , d ( z ( i ) ) , P L , d ( z ) = ⨁ j = 1 L − d + 1 ∏ a = j j + d − 1 z a . c \oplus\bigoplus_{i:g_i\ge3} P_{L_i,d}(z^{(i)}), \qquad P_{L,d}(z)=\bigoplus_{j=1}^{L-d+1}\prod_{a=j}^{j+d-1}z_a. c ⊕ i : g i ≥ 3 ⨁ P L i , d ( z ( i ) ) , P L , d ( z ) = j = 1 ⨁ L − d + 1 a = j ∏ j + d − 1 z a .
where an empty sum means P L , d = 0 P_{L,d}=0 P L , d = 0 if L < d L<d L < d .
At 0 L 0^L 0 L , a block is sensitive for P L , d P_{L,d} P L , d precisely when the coordinates changed to one contain an odd number of all-one length-d d d intervals. In particular, a sensitive block must contain all the coordinates of at least one such interval, and so has size at least d d d . This gives bs ( P L , d , 0 L ) ≤ ⌊ L / d ⌋ \operatorname{bs}(P_{L,d},0^L)\le\lfloor L/d\rfloor bs ( P L , d , 0 L ) ≤ ⌊ L / d ⌋ . Conversely, ⌊ L / d ⌋ \lfloor L/d\rfloor ⌊ L / d ⌋ disjoint intervals of length exactly d d d are sensitive blocks, because changing precisely one such interval from zeros to ones makes exactly one summand nonzero. Hence
bs ( P L , d , 0 L ) = ⌊ L / d ⌋ . \operatorname{bs}(P_{L,d},0^L)=\lfloor L/d\rfloor. bs ( P L , d , 0 L ) = ⌊ L / d ⌋ .
A zero-certificate for P L , d P_{L,d} P L , d at 0 L 0^L 0 L must fix at least one zero in every consecutive length-d d d interval: otherwise setting exactly one unhit interval to ones makes the function equal to one. Conversely, a set meeting all these intervals forces every monomial to vanish. The minimum size of such a hitting set is ⌊ L / d ⌋ \lfloor L/d\rfloor ⌊ L / d ⌋ : disjoint length-d d d intervals give the lower bound, and fixing the positions d , 2 d , … , ⌊ L / d ⌋ d d,2d,\ldots,\lfloor L/d\rfloor d d , 2 d , … , ⌊ L / d ⌋ d meets every such interval. Thus C ( P L , d , 0 L ) = ⌊ L / d ⌋ C(P_{L,d},0^L)=\lfloor L/d\rfloor C ( P L , d , 0 L ) = ⌊ L / d ⌋ .
For completeness, if a restriction splits into a sum of functions on disjoint sets of variables, each summand having value zero at the base input, both local block sensitivity and local certificate complexity add. For block sensitivity, a sensitive block must be sensitive in at least one component, so its disjoint packing can be charged to a distinct component; combining componentwise optimum packings gives equality. For certificates, any unfixed variables on which a component can change its value would prevent the whole sum from being constant (hold all other components at their base inputs). Thus each component requires its own certificate, and componentwise certificates suffice. The originally sensitive coordinates must each be fixed in a certificate and provide s ( F d , n , x ) s(F_{d,n},x) s ( F d , n , x ) disjoint singleton sensitive blocks. Applying these observations to the restricted polynomial proves the asserted formulas.
Finally, ⌊ ( g i − 2 ) + / d ⌋ = 0 \lfloor(g_i-2)_+/d\rfloor=0 ⌊( g i − 2 ) + / d ⌋ = 0 exactly when g i ≤ d + 1 g_i\le d+1 g i ≤ d + 1 , proving the equivalence. □
Remark 6.11. The theorem concerns local complexities at the specified input; it does not by itself yield the corresponding global certificate complexity. For small-deficit extremizers having only one-zero and two-zero gaps, it recovers their joint-freeness conclusion without a separate restriction argument.
Theorem 6.12 (One exceptional long run with unrestricted zero-gaps). Let d ≥ 4 d\ge4 d ≥ 4 be even, let 1 ≤ t ≤ ( d − 2 ) / 2 1\le t\le(d-2)/2 1 ≤ t ≤ ( d − 2 ) /2 , and suppose a nonconstant cyclic word has the run decomposition
x = 1 d + 2 t 0 g 1 1 d 0 g 2 ⋯ 1 d 0 g r , r ≥ 1 , g i ≥ 1. x=1^{d+2t}0^{g_1}1^{d}0^{g_2}\cdots1^{d}0^{g_r}, \qquad r\ge1,\quad g_i\ge1. x = 1 d + 2 t 0 g 1 1 d 0 g 2 ⋯ 1 d 0 g r , r ≥ 1 , g i ≥ 1.
For r = 1 r=1 r = 1 the expression denotes one cyclic one-run followed by one cyclic zero-gap. Put
L i = ( g i − 2 ) + , K = 2 t + ∑ i = 1 r ∣ g i − 2 ∣ , H = ∑ i = 1 r ⌊ L i d ⌋ . L_i=(g_i-2)_+,\qquad K=2t+\sum_{i=1}^{r}|g_i-2|,\qquad H=\sum_{i=1}^{r}\left\lfloor\frac{L_i}{d}\right\rfloor. L i = ( g i − 2 ) + , K = 2 t + i = 1 ∑ r ∣ g i − 2∣ , H = i = 1 ∑ r ⌊ d L i ⌋ .
Then
s ( F d , n , x ) = n − K , s(F_{d,n},x)=n-K, s ( F d , n , x ) = n − K ,
b s ( F d , n , x ) = C ( F d , n , x ) = n − K + t + H . bs(F_{d,n},x)=C(F_{d,n},x)=n-K+t+H. b s ( F d , n , x ) = C ( F d , n , x ) = n − K + t + H .
In particular, if 1 ≤ g i ≤ d + 1 1\le g_i\le d+1 1 ≤ g i ≤ d + 1 for every i i i , then b s ( F d , n , x ) = C ( F d , n , x ) = s ( F d , n , x ) + t bs(F_{d,n},x)=C(F_{d,n},x)=s(F_{d,n},x)+t b s ( F d , n , x ) = C ( F d , n , x ) = s ( F d , n , x ) + t .
Proof. Number the exceptional one-run from 0 through d + 2 t − 1 d+2t-1 d + 2 t − 1 . The number of all-one length-d d d monomials containing position j j j inside this run is
a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } . a(j)=\min\{j+1,d+2t-j,2t+1,d\}. a ( j ) = min { j + 1 , d + 2 t − j , 2 t + 1 , d } .
Since 2 t + 1 < d 2t+1<d 2 t + 1 < d , its insensitive one-coordinates are precisely
U = { 1 , 3 , … , 2 t − 1 } ∪ { d , d + 2 , … , d + 2 t − 2 } . U=\{1,3,\ldots,2t-1\}\cup\{d,d+2,\ldots,d+2t-2\}. U = { 1 , 3 , … , 2 t − 1 } ∪ { d , d + 2 , … , d + 2 t − 2 } .
Every one in a regular length-d d d run is sensitive. A zero-gap of length one has an insensitive zero (flipping it creates d d d new all-one monomials); a gap of length two has no insensitive zeros; a gap of length g ≥ 3 g\ge3 g ≥ 3 has exactly g − 2 g-2 g − 2 insensitive interior zeros. The claimed sensitivity follows.
We first prove a lower bound for block sensitivity. The t t t disjoint pairs { 2 j + 1 , d + 2 j } \{2j+1,d+2j\} { 2 j + 1 , d + 2 j } (0 ≤ j < t 0\le j<t 0 ≤ j < t ) lie in U U U and are sensitive: exactly one all-one length-d d d monomial contains both their coordinates, while each coordinate is individually insensitive. For each gap with L i ≥ d L_i\ge d L i ≥ d , select ⌊ L i / d ⌋ \lfloor L_i/d\rfloor ⌊ L i / d ⌋ disjoint length-d d d intervals in its insensitive interior. Flipping the coordinates of each interval creates exactly one all-one monomial. These blocks are disjoint from one another and from the exceptional-run pairs. Adding all sensitive singletons, we obtain
b s ( F d , n , x ) ≥ s ( F d , n , x ) + t + H . bs(F_{d,n},x)\ge s(F_{d,n},x)+t+H. b s ( F d , n , x ) ≥ s ( F d , n , x ) + t + H .
For the reverse certificate bound, fix all sensitive coordinates at their values in x x x . Among the 2 t 2t 2 t insensitive positions in the exceptional run, fix the second half { d , d + 2 , … , d + 2 t − 2 } \{d,d+2,\ldots,d+2t-2\} { d , d + 2 , … , d + 2 t − 2 } , and leave free
S = { 1 , 3 , … , 2 t − 1 } . S=\{1,3,\ldots,2t-1\}. S = { 1 , 3 , … , 2 t − 1 } .
Leave the zero of every one-zero gap free. In each gap of length g ≥ 3 g\ge3 g ≥ 3 , its two boundary zeros are already fixed to zero; in its L = g − 2 L=g-2 L = g − 2 interior, fix a minimum set of ⌊ L / d ⌋ \lfloor L/d\rfloor ⌊ L / d ⌋ zeros meeting every length-d d d interval. Leave the other interior zeros free. We show that the resulting restriction of F d , n F_{d,n} F d , n is constant.
No degree-d d d monomial can involve free variables in two distinct gap interiors or simultaneously involve a gap-interior free variable and one from a one-run: it would pass through one of the fixed boundary zeros. No monomial consisting solely of interior coordinates survives nontrivially, by the chosen hitting sets. Two different one-zero gap variables never appear in one degree-d d d monomial, since a full length-d d d one-run separates them. Likewise, a one-zero gap variable cannot share a degree-d d d interval with a free gap-interior variable.
It remains to check monomials involving S S S and one-zero gap variables. A one-zero gap not immediately preceding the exceptional run is separated from S S S by at least d d d fixed one-coordinates (or a fixed boundary zero), and so cannot share a length-d d d interval with an element of S S S . The same statement holds for a one-zero gap immediately following the exceptional run, unless it is also the preceding gap in the cyclic case r = 1 r=1 r = 1 ; that cyclic case is included in the following count. Write v v v for the free zero immediately preceding the exceptional run, if that gap has length one. For a nonempty set T ⊆ S T \subseteq S T ⊆ S , the coefficient of the centered monomial z v ∏ j ∈ T z j z_v \prod_{j\in T} z_j z v ∏ j ∈ T z j is the parity of the number of length-d d d windows containing v v v and all of T T T with their remaining coordinates initially one. These windows start at the d − 1 − max T d-1-\max T d − 1 − max T consecutive allowable positions immediately before v v v (read cyclically). Thus their number is
d − 1 − max T ≡ 0 ( m o d 2 ) , d-1-\max T \equiv0 \pmod{2}, d − 1 − max T ≡ 0 ( mod 2 ) ,
where max T \max T max T is odd and max T ≤ 2 t − 1 ≤ d − 3 \max T \leq2t-1 \leq d-3 max T ≤ 2 t − 1 ≤ d − 3 . The coefficient of z v z_v z v alone is zero as well: its original coordinate is insensitive. Hence all mixed terms involving v v v and S S S vanish.
Finally, without any one-zero gap variable, the coefficient of a nonempty centered monomial z T z_T z T (T ⊆ S T \subseteq S T ⊆ S ) equals the parity of the number of all-one length-d d d windows of the exceptional one-run containing T T T . Their starts are precisely 0 , 1 , … , min T 0,1,\ldots,\min T 0 , 1 , … , min T ; this is valid because max T ≤ 2 t − 1 ≤ d − 3 \max T \leq2t-1 \leq d-3 max T ≤ 2 t − 1 ≤ d − 3 . Their number min T + 1 \min T+1 min T + 1 is even. Thus all nonconstant coefficients in the entire restricted polynomial vanish, so the chosen free coordinates define a certificate at x x x .
Among insensitive coordinates, the certificate fixes exactly t t t exceptional-run positions and H H H gap-interior positions. Hence C ( F d , n , x ) ≤ s ( F d , n , x ) + t + H C(F_{d,n},x) \leq s(F_{d,n},x)+t+H C ( F d , n , x ) ≤ s ( F d , n , x ) + t + H . Combining this with b s ≤ C bs \leq C b s ≤ C and the sensitive-block lower bound proves the formulas.
Remark 6.13. The theorem determines the three local complexities at the specified word; it does not determine their global maxima. Unlike the preceding zero-gap theorem, its proof permits one-zero gaps adjacent to the exceptional long run. The certificate argument handles their possible mixed coefficients by parity, rather than asserting an independent-polynomial decomposition.
Lemma 6.14 (Guarded interval components). Let P T , d ( z ) = ⨁ j = 0 T − d ∏ a = j j + d − 1 z a P_{T,d}(z)=\bigoplus_{j=0}^{T-d}\prod_{a=j}^{j+d-1}z_a P T , d ( z ) = ⨁ j = 0 T − d ∏ a = j j + d − 1 z a , with P T , d = 0 P_{T,d}=0 P T , d = 0 for T < d T<d T < d . Suppose 2 ≤ T ≤ d + 1 2\leq T\leq d+1 2 ≤ T ≤ d + 1 and w = 0 u 0 w=0u0 w = 0 u 0 is a word of length T T T . If T = d + 1 T=d+1 T = d + 1 , assume that u u u contains a zero. Then
b s ( P T , d , w ) = C ( P T , d , w ) = { 0 , T < d , 1 , d ≤ T ≤ d + 1. bs(P_{T,d},w)=C(P_{T,d},w)=
\begin{cases}
0, & T<d,\\
1, & d\leq T\leq d+1.
\end{cases} b s ( P T , d , w ) = C ( P T , d , w ) = { 0 , 1 , T < d , d ≤ T ≤ d + 1. Proof. If T < d T<d T < d the polynomial is identically zero. If T = d T=d T = d , it is one product; its value at 0 u 0 0u0 0 u 0 is zero, it is nonconstant, and fixing an endpoint zero kills it. If T = d + 1 T=d+1 T = d + 1 , it consists of the two length-d d d products supported on [ 0 , d − 1 ] [0,d-1] [ 0 , d − 1 ] and [ 1 , d ] [1,d] [ 1 , d ] . They share the positions 1 , … , d − 1 1,\ldots,d-1 1 , … , d − 1 , which include a zero of u u u by hypothesis. Fixing that zero kills both products, so C ≤ 1 C\leq1 C ≤ 1 . In either nontrivial case the polynomial is nonconstant: the word supported on exactly the first length-d d d interval makes precisely that interval product nonzero. Since the base value is zero, a sensitive block exists. Therefore $1\leq bs\leq C\leq 1.
Theorem 6.15 (Mixed exceptional long runs and guarded short clusters). Let d ≥ 4 d\geq4 d ≥ 4 be even, r ≥ 1 r\geq1 r ≥ 1 , and consider the cyclic word
x = ∏ i = 1 r ( 1 d + 2 t i 00 u i 00 ) , 0 ≤ t i ≤ d − 2 2 . x=\prod_{i=1}^{r}(1^{d+2t_i}00\,u_i\,00), \qquad0\leq t_i\leq\frac{d-2}{2}. x = i = 1 ∏ r ( 1 d + 2 t i 00 u i 00 ) , 0 ≤ t i ≤ 2 d − 2 . Put T i = ∣ u i ∣ + 2 T_i=|u_i|+2 T i = ∣ u i ∣ + 2 and assume 2 ≤ T i ≤ d + 1 2\leq T_i\leq d+1 2 ≤ T i ≤ d + 1 ; if T i = d + 1 T_i=d+1 T i = d + 1 , assume u i u_i u i contains a zero. Set
a = ∑ i t i , B = ∑ i T i , M = # { i : T i ∈ { d , d + 1 } } . a=\sum_i t_i,\qquad B=\sum_i T_i,\qquad M=\#\{i:T_i\in\{d,d+1\}\}. a = i ∑ t i , B = i ∑ T i , M = # { i : T i ∈ { d , d + 1 }} .
Then the exact local complexities are
s ( F d , n , x ) = n − 2 a − B , s(F_{d,n},x)=n-2a-B, s ( F d , n , x ) = n − 2 a − B ,
b s ( F d , n , x ) = C ( F d , n , x ) = n − a − B + M . bs(F_{d,n},x)=C(F_{d,n},x)=n-a-B+M. b s ( F d , n , x ) = C ( F d , n , x ) = n − a − B + M .
The statement includes r = 1 r=1 r = 1 and empty words u i u_i u i .
Proof. The two zeros of each displayed 00 00 00 bordering a long run and a cluster have different roles. The zero adjacent to the long run is sensitive: flipping it creates exactly one all-one length-d d d window using the adjacent run. The other zero belongs to the segment 0 u i 0 0u_i0 0 u i 0 and is insensitive. All positions of that segment are insensitive: its length is at most d + 1 d+1 d + 1 and its two endpoints are zero, so flipping a single position cannot create an all-one length-d d d interval (for T i = d + 1 T_i=d+1 T i = d + 1 the additional internal zero ensures this also for an interior-zero flip).
In the long run 1 d + 2 t i 1^{d+2t_i} 1 d + 2 t i , the standard interval-incidence parity count gives precisely 2 t i 2t_i 2 t i insensitive one-coordinates; there are no other insensitive coordinates. Therefore the sensitivity deficit is 2 a + B 2a+B 2 a + B .
After fixing all sensitive coordinates, each segment 0 u i 0 0u_i0 0 u i 0 is bounded by two sensitive zeros fixed to zero. Every interval crossing such a boundary vanishes. Consequently the restricted polynomial decomposes, up to a constant, as a sum on disjoint variable sets: one exceptional-run component for each t i t_i t i and one guarded interval component P T i , d P_{T_i,d} P T i , d for each i i i . The exceptional-run calculation in the proof of Theorem 6.12 gives local block sensitivity and certificate complexity t i t_i t i for its centered insensitive variables. Lemma 6.14 gives contributions 0 or 1 for each short cluster, with their sum equal to M M M . Both complexities add over disjoint independent components at their prescribed base inputs: disjoint sensitive blocks can be assigned to the component in which their flip changes the value, and a certificate must independently make every component constant. Adding the n − 2 a − B n-2a-B n − 2 a − B sensitive singletons proves the two formulas.
Corollary 6.16 (Arbitrary isolated short-run clusters). Let d ≥ 4 d\ge4 d ≥ 4 be even and r ≥ 1 r\ge1 r ≥ 1 . For the cyclic word x = ∏ i = 1 r ( 1 d 00 u i 00 ) x=\prod_{i=1}^{r}(1^{d}00\,u_i00) x = ∏ i = 1 r ( 1 d 00 u i 00 ) , put T i = ∣ u i ∣ + 2 T_i=|u_i|+2 T i = ∣ u i ∣ + 2 and assume 2 ≤ T i ≤ d + 1 2\le T_i\le d+1 2 ≤ T i ≤ d + 1 for every i i i ; when T i = d + 1 T_i=d+1 T i = d + 1 , assume u i u_i u i contains a zero. Then
s ( F d , n , x ) = n − ∑ i T i , s(F_{d,n},x)=n-\sum_i T_i, s ( F d , n , x ) = n − i ∑ T i ,
b s ( F d , n , x ) = C ( F d , n , x ) = n − ∑ i T i + # { i : T i ∈ { d , d + 1 } } . bs(F_{d,n},x)=C(F_{d,n},x)=n-\sum_i T_i+\#\{i:T_i\in\{d,d+1\}\}. b s ( F d , n , x ) = C ( F d , n , x ) = n − i ∑ T i + # { i : T i ∈ { d , d + 1 }} .
Proof. Apply Theorem 6.15 with every exceptional long-run extension parameter equal to zero. Its long-run contribution to the insensitive-coordinate count then vanishes. The remaining components are the r r r guarded short-run intervals of lengths T i T_i T i ; by Lemma 6.14, each contributes one additional disjoint sensitive block (and one additional required certificate coordinate) precisely if T i = d T_i=d T i = d or d + 1 d+1 d + 1 . All n − ∑ i T i n-\sum_iT_i n − ∑ i T i coordinates outside the guarded intervals are sensitive singleton positions. The asserted formulas follow by adding the disjoint component contributions as in the preceding theorem.
Complete block-sensitivity classification in every even degree
The small-deficit charging lemma was established before the even-degree classification, so the following theorem uses no result proved later.
Theorem 6.17 (Global block sensitivity of consecutive even-degree monomials). Let d = 2 k ≥ 4 d=2k\ge4 d = 2 k ≥ 4 , put m = d + 2 m=d+2 m = d + 2 , and write n = q m + ρ n=qm+\rho n = q m + ρ with 0 ≤ ρ < m 0\le\rho<m 0 ≤ ρ < m . Suppose
q ≥ max { 2 , k − 1 } . q\ge\max\{2,k-1\}. q ≥ max { 2 , k − 1 } .
Then
bs ( F d , n ) = n − min { ⌈ ρ 2 ⌉ , m − ρ } . (14) \operatorname{bs}(F_{d,n})=n-\min\left\{\left\lceil\frac{\rho}{2}\right\rceil,m-\rho\right\}. \tag*{(14)} bs ( F d , n ) = n − min { ⌈ 2 ρ ⌉ , m − ρ } . (14)
The corresponding global sensitivity is s ( F d , n ) = n − min { ρ , m − ρ } \operatorname{s}(F_{d,n})=n-\min\{\rho,m-\rho\} s ( F d , n ) = n − min { ρ , m − ρ } ; its upper bound is Lemma 5.11 , and matching witness counts are recorded in Corollary 6.18 .
Proof. Set μ = min { ⌈ ρ / 2 ⌉ , m − ρ } \mu=\min\{\lceil\rho/2\rceil,m-\rho\} μ = min {⌈ ρ /2 ⌉ , m − ρ } . For ρ = 0 \rho=0 ρ = 0 , the regular cyclic word ( 1 d 00 ) q (1^{d}00)^{q} ( 1 d 00 ) q has all n n n coordinates sensitive, proving the assertion. Assume 1 ≤ ρ < m 1\leq\rho<m 1 ≤ ρ < m , and put h = m − ρ h=m-\rho h = m − ρ .
We first prove bs ( F d , n , x ) ≤ n − μ \operatorname{bs}(F_{d,n},x)\leq n-\mu bs ( F d , n , x ) ≤ n − μ for an arbitrary input x x x . The constant words have zero sensitivity and at most n / 2 n/2 n /2 disjoint sensitive blocks: every singleton is insensitive. Since μ ≤ k \mu\leq k μ ≤ k and n ≥ 2 d − 1 n\geq2d-1 n ≥ 2 d − 1 , this gives the required bound. For a nonconstant word, let r r r be the number of maximal one-runs of length at least d d d , and set K = n − s ( F d , n , x ) K=n-\operatorname{s}(F_{d,n},x) K = n − s ( F d , n , x ) .
Case 1: r ≥ q + 1 r\geq q+1 r ≥ q + 1 . Between consecutive long runs the cyclic word has exactly r r r units, each a plain zero-gap or a cluster containing short one-runs. Define the nonnegative quantities
A = ∑ long runs ( L − d ) , E = ∑ clusters ( T − 2 ) , P = ∑ plain gaps max ( g − 2 , 0 ) . A=\sum_{\text{long runs}}(L-d),\qquad E=\sum_{\text{clusters}}(T-2),\qquad P=\sum_{\text{plain gaps}}\max(g-2,0). A = long runs ∑ ( L − d ) , E = clusters ∑ ( T − 2 ) , P = plain gaps ∑ max ( g − 2 , 0 ) .
Let N 1 N_1 N 1 denote the number of plain zero-gaps of length one. Counting lengths gives the exact identity
n = r ( d + 2 ) + A + E + P − N 1 , hence N 1 = r ( d + 2 ) − n + A + E + P ≥ m − ρ = h . n=r(d+2)+A+E+P-N_1,\qquad\text{hence}\qquad N_1=r(d+2)-n+A+E+P\geq m-\rho=h. n = r ( d + 2 ) + A + E + P − N 1 , hence N 1 = r ( d + 2 ) − n + A + E + P ≥ m − ρ = h .
For clarity, the integer N 1 N_1 N 1 counts gaps, not the total number of zero coordinates. Each counted gap has exactly one zero; its neighboring long runs prevent any degree-d d d monomial from involving two of these selected coordinates. Thus the restriction of F d , n F_{d,n} F d , n to the corresponding N 1 N_1 N 1 -dimensional subcube has degree at most one. Each of these N 1 N_1 N 1 zero coordinates is individually insensitive: flipping it creates exactly d d d all-one degree-d d d windows, whose parity is zero. Any two distinct such zeros are separated in both cyclic directions by a long one-run of length at least d d d . Thus no degree-d d d window contains two of them. After fixing all remaining coordinates at x x x , the polynomial restricted to these N 1 N_1 N 1 zeros is affine. All its linear coefficients vanish by individual insensitivity, so the restricted function is constant. We have a certificate fixing at most n − N 1 n-N_1 n − N 1 coordinates, and hence
bs ( F d , n , x ) ≤ C ( F d , n , x ) ≤ n − N 1 ≤ n − h ≤ n − μ . \operatorname{bs}(F_{d,n},x)\leq C(F_{d,n},x)\leq n-N_1\leq n-h\leq n-\mu. bs ( F d , n , x ) ≤ C ( F d , n , x ) ≤ n − N 1 ≤ n − h ≤ n − μ .
Case 2: r ≤ q r\leq q r ≤ q . If r = 0 r=0 r = 0 , no all-one cyclic interval of length d d d occurs at x x x . Every coordinate carrying a one is then insensitive, since changing that one to zero cannot destroy an existing all-one degree-d d d monomial and cannot create one. If at least one zero coordinate is sensitive, changing that zero to one must create an odd (hence nonzero) number of degree-d d d monomials. One such monomial contains the flipped zero together with d − 1 d-1 d − 1 positions that were already one. Those d − 1 d-1 d − 1 positions are insensitive by the preceding observation, so K ≥ d − 1 K\geq d-1 K ≥ d − 1 . If no zero is sensitive, all coordinates are insensitive and K = n ≥ d − 1 K=n\geq d-1 K = n ≥ d − 1 . This also covers the all-zero word, already considered separately. If K ≥ d − 1 = 2 k − 1 K\geq d-1=2k-1 K ≥ d − 1 = 2 k − 1 , the general inequality
bs ( f , x ) ≤ ⌊ n + s ( f , x ) 2 ⌋ = n − ⌈ K 2 ⌉ \operatorname{bs}(f,x)\leq\left\lfloor\frac{n+s(f,x)}{2}\right\rfloor=n-\left\lceil\frac{K}{2}\right\rceil bs ( f , x ) ≤ ⌊ 2 n + s ( f , x ) ⌋ = n − ⌈ 2 K ⌉
gives bs ( F d , n , x ) ≤ n − k ≤ n − μ \operatorname{bs}(F_{d,n},x)\leq n-k\leq n-\mu bs ( F d , n , x ) ≤ n − k ≤ n − μ , since μ ≤ k \mu\leq k μ ≤ k . Otherwise K ≤ d − 2 K\leq d-2 K ≤ d − 2 , and Lemma 5.10 gives
K ≥ ∣ n − r m ∣ ≥ n − r m ≥ n − q m = ρ . K\geq|n-rm|\geq n-rm\geq n-qm=\rho. K ≥ ∣ n − r m ∣ ≥ n − r m ≥ n − q m = ρ .
The same general inequality yields b s ( F d , n , x ) ≤ n − ⌈ ρ / 2 ⌉ ≤ n − μ bs(F_{d,n},x) \le n-\lceil\rho/2\rceil\le n-\mu b s ( F d , n , x ) ≤ n − ⌈ ρ /2 ⌉ ≤ n − μ . This completes the upper bound.
For the matching lower bound, first consider ρ ≤ m / 2 \rho\le m/2 ρ ≤ m /2 . The regular-run and exceptional-long-run constructions in Theorem 6.5 attain b s = n − ⌈ ρ / 2 ⌉ bs=n-\lceil\rho/2\rceil b s = n − ⌈ ρ /2 ⌉ . For ρ > m / 2 \rho>m/2 ρ > m /2 , use h = m − ρ h=m-\rho h = m − ρ . One construction starts with q + 1 q+1 q + 1 one-runs of length d d d , separated by exactly h h h one-zero gaps and the remaining ( q + 1 − h ) (q+1-h) ( q + 1 − h ) gaps of length two. This exists because q + 1 ≥ k ≥ h q+1\ge k\ge h q + 1 ≥ k ≥ h and has n − h n-h n − h sensitive singletons. A second construction applies when ⌈ ρ / 2 ⌉ < h \lceil\rho/2\rceil<h ⌈ ρ /2 ⌉ < h . Then ρ ≤ 2 h − 2 ≤ d − 2 \rho\le2h-2\le d-2 ρ ≤ 2 h − 2 ≤ d − 2 . For ρ = 2 t \rho=2t ρ = 2 t , take
1 d + 2 t 00 ( 1 d 00 ) q − 1 1^{d+2t}00(1^d00)^{q-1} 1 d + 2 t 00 ( 1 d 00 ) q − 1
and for ρ = 2 t + 1 \rho=2t+1 ρ = 2 t + 1 , take
1 d + 2 t 000 ( 1 d 00 ) q − 1 . 1^{d+2t}000(1^d00)^{q-1}. 1 d + 2 t 000 ( 1 d 00 ) q − 1 .
In either case the long run contains precisely 2 t 2t 2 t insensitive coordinates and t t t disjoint sensitive pairs { 2 j + 1 , d + 2 j } \{2j+1,d+2j\} { 2 j + 1 , d + 2 j } , 0 ≤ j < t 0\le j<t 0 ≤ j < t ; in the odd-residue case the middle zero of the three-zero gap is also insensitive. The remaining sensitive singletons give b s ≥ n − ⌈ ρ / 2 ⌉ bs\ge n-\lceil\rho/2\rceil b s ≥ n − ⌈ ρ /2 ⌉ . The first construction attains the required lower bound when h ≤ ⌈ ρ / 2 ⌉ h\le\lceil\rho/2\rceil h ≤ ⌈ ρ /2 ⌉ , and the second when the reverse strict inequality holds. Thus the stated equality follows.
Corollary 6.18 (Self-contained global sensitivity formula). Under the hypotheses of Theorem 6.17 ,
s ( F d , n ) = n − min { ρ , d + 2 − ρ } . s(F_{d,n})=n-\min\{\rho,d+2-\rho\}. s ( F d , n ) = n − min { ρ , d + 2 − ρ } .
Related work. A corresponding even-degree sensitivity formula is also treated in [10 ] ; the present paper includes an independent proof for the range stated here.
Proof. Put m = d + 2 m=d+2 m = d + 2 and h = m − ρ h=m-\rho h = m − ρ . The upper bound s ( F d , n ) ≤ n − min { ρ , h } s(F_{d,n})\le n-\min\{\rho,h\} s ( F d , n ) ≤ n − min { ρ , h } follows from Lemma 5.11 , which was proved independently before the lower-half classification. If ρ = 0 \rho=0 ρ = 0 , the regular word ( 1 d 00 ) q (1^d00)^q ( 1 d 00 ) q attains sensitivity n n n . Assume 1 ≤ ρ < m 1\le\rho<m 1 ≤ ρ < m . For the reverse bound when ρ ≤ h \rho\le h ρ ≤ h , first consider ρ = 2 t \rho=2t ρ = 2 t . The word
1 d + 2 t 00 ( 1 d 00 ) q − 1 1^{d+2t}00(1^d00)^{q-1} 1 d + 2 t 00 ( 1 d 00 ) q − 1
has exactly 2 t 2t 2 t insensitive one-coordinates in the exceptional run; all remaining coordinates are sensitive. Indeed, the exceptional-run incidence sequence has even entries exactly at offsets 1 , 3 , … , 2 t − 1 1,3,\ldots,2t-1 1 , 3 , … , 2 t − 1 and d , d + 2 , … , d + 2 t − 2 d,d+2,\ldots,d+2t-2 d , d + 2 , … , d + 2 t − 2 . For ρ = 2 t + 1 ≤ h \rho=2t+1\le h ρ = 2 t + 1 ≤ h , the word
1 d + 2 t 000 ( 1 d 00 ) q − 1 1^{d+2t}000(1^d00)^{q-1} 1 d + 2 t 000 ( 1 d 00 ) q − 1
has those same 2 t 2t 2 t insensitive one-coordinates and precisely one additional insensitive zero, namely the middle zero of the three-zero gap. In each case all length-d d d ordinary one-run positions and the remaining gap boundary zeros are sensitive. The direct counts give s ( F d , n ) = n − ρ s(F_{d,n})=n-\rho s ( F d , n ) = n − ρ at these witnesses, without using the conclusions of the preceding hierarchy or lower-half classification. If h < ρ h<\rho h < ρ , the q + 1 q+1 q + 1 long-run word with h h h one-zero gaps used in the lower-bound proof of Theorem 6.17 has exactly h h h insensitive coordinates: every position of its length-d d d one-runs is sensitive, the zeros of its length-two gaps are sensitive, and its plain one-zero gap zeros are insensitive because d d d is even. Thus it has sensitivity n − h n-h n − h . The asserted equality follows.
Corollary 6.20 (Upper-half residue consequences). Let d = 2 k ≥ 4 d = 2k \ge4 d = 2 k ≥ 4 , 1 ≤ h ≤ k 1 \le h \le k 1 ≤ h ≤ k , and n = ( q + 1 ) ( d + 2 ) − h n = (q + 1)(d + 2) - h n = ( q + 1 ) ( d + 2 ) − h , under the length hypothesis of Theorem 6.17 . Then
bs ( F d , n ) = n − min { h , ⌊ d + 2 − h 2 ⌋ } . \operatorname{bs}(F_{d,n}) = n - \min\left\{h,\left\lfloor\frac{d+2-h}{2}\right\rfloor\right\}. bs ( F d , n ) = n − min { h , ⌊ 2 d + 2 − h ⌋ } .
In particular the previously established deficit-two through deficit-six and diagonal block-sensitivity formulas are instances of one closed formula; their individual structural rigidity statements are separate refinements, not needed for this proof.
Proof. Write m = d + 2 m = d + 2 m = d + 2 . Since n = ( q + 1 ) m − h = q m + ( m − h ) n = (q + 1)m - h = qm + (m - h) n = ( q + 1 ) m − h = q m + ( m − h ) , the residue in Theorem 6.17 is ρ = m − h \rho= m - h ρ = m − h . Substitution into that theorem gives
bs ( F d , n ) = n − min { ⌊ m − h 2 ⌋ , m − ( m − h ) } . \operatorname{bs}(F_{d,n}) = n - \min\left\{\left\lfloor\frac{m-h}{2}\right\rfloor,m-(m-h)\right\}. bs ( F d , n ) = n − min { ⌊ 2 m − h ⌋ , m − ( m − h ) } .
which is the displayed formula. The references to particular deficit cases are specializations of this identity, not additional assertions requiring new hypotheses. □ \square □
A general two-free-coordinate certificate theorem
This section gives a degree-independent certificate upper bound for consecutive even-degree monomials. Recall the Boolean derivatives D i f D_i f D i f and D i D j f D_iD_j f D i D j f defined in the preliminaries. Two individually insensitive coordinates i , j i,j i , j can be left free simultaneously, fixing all other coordinates at x x x , precisely when D i D j f ( x ) = 0 D_iD_jf(x)=0 D i D j f ( x ) = 0 .
Lemma 7.1 (Triangle-free local mixed derivatives). Let d ≥ 4 d \ge4 d ≥ 4 be even and n ≥ 3 d n \ge3d n ≥ 3 d . If distinct coordinates i , j , k i,j,k i , j , k lie in a common cyclic interval of length d d d and D i F d , n ( x ) = D j F d , n ( x ) = D k F d , n ( x ) = 0 D_iF_{d,n}(x)=D_jF_{d,n}(x)=D_kF_{d,n}(x)=0 D i F d , n ( x ) = D j F d , n ( x ) = D k F d , n ( x ) = 0 , then at least one of D i D j F d , n ( x ) D_iD_jF_{d,n}(x) D i D j F d , n ( x ) , D i D k F d , n ( x ) D_iD_kF_{d,n}(x) D i D k F d , n ( x ) , and D j D k F d , n ( x ) D_jD_kF_{d,n}(x) D j D k F d , n ( x ) vanishes.
Proof. Rotate the coordinates and use integer positions 0 < p < δ < d 0 < p < \delta< d 0 < p < δ < d for the triple. The assumption n ≥ 3 d n \ge3d n ≥ 3 d ensures that all relevant length-d d d windows can be treated as ordinary intervals in this local integer indexing. Suppose for a contradiction that all three mixed derivatives equal one. Since D 0 D δ F ( x ) = 1 D_0D_\delta F(x)=1 D 0 D δ F ( x ) = 1 , some length-d d d window containing 0 0 0 and δ \delta δ has all its other coordinates equal to one. Thus x 1 = ⋯ = x δ − 1 = 1 x_1=\cdots=x_{\delta-1}=1 x 1 = ⋯ = x δ − 1 = 1 .
First, if x 0 = x δ = 1 x_0=x_\delta=1 x 0 = x δ = 1 , the three coordinates lie in one maximal one-run, except when x = 1 n x=1^n x = 1 n . In that exceptional case, every coordinate is insensitive because d d d is even. Directly counting the length-d d d windows containing each pair gives
D 0 D p F ( 1 n ) ≡ d − p ≡ p , D p D δ F ( 1 n ) ≡ d − ( δ − p ) ≡ δ − p , D_0D_pF(1^n)\equiv d-p\equiv p,\qquad D_pD_\delta F(1^n)\equiv d-(\delta-p)\equiv\delta-p, D 0 D p F ( 1 n ) ≡ d − p ≡ p , D p D δ F ( 1 n ) ≡ d − ( δ − p ) ≡ δ − p ,
and
D 0 D δ F ( 1 n ) ≡ d − δ ≡ δ ( m o d 2 ) . D_0D_\delta F(1^n)\equiv d-\delta\equiv\delta\pmod2. D 0 D δ F ( 1 n ) ≡ d − δ ≡ δ ( mod 2 ) .
These three parities cannot all be one, since p + ( δ − p ) = δ p+(\delta-p)=\delta p + ( δ − p ) = δ . We may therefore assume that the maximal one-run containing the three coordinates is bounded by zeros. We record the necessary parity fact. For a run of length L ≥ d L\ge d L ≥ d , its all-one windows have starting positions s = 0 , … , L − d s=0,\ldots,L-d s = 0 , … , L − d . Set
P ( a ) = # { s : 0 ≤ s ≤ L − d , s ≤ a } ( m o d 2 ) , P ( a ) = 0 ( a < 0 ) . P(a)=\#\{s:0\le s\le L-d,\ s\le a\}\pmod2,\qquad P(a)=0\quad(a<0). P ( a ) = # { s : 0 ≤ s ≤ L − d , s ≤ a } ( mod 2 ) , P ( a ) = 0 ( a < 0 ) .
For a position u u u in that run, D u F = P ( u ) ⊕ P ( u − d ) D_uF=P(u)\oplus P(u-d) D u F = P ( u ) ⊕ P ( u − d ) . For positions u < v u<v u < v in the run at distance less than d d d , D u D v F = P ( u ) ⊕ P ( v − d ) D_uD_vF=P(u)\oplus P(v-d) D u D v F = P ( u ) ⊕ P ( v − d ) . When u , v u,v u , v are insensitive, this equals P ( u ) ⊕ P ( v ) P(u)\oplus P(v) P ( u ) ⊕ P ( v ) ; for pairs separated by at least d d d , the mixed derivative is zero. Hence the mixed-derivative graph on insensitive one-coordinates inside a single run is bipartite according to the value of P P P . It cannot contain a triangle.
Next, suppose precisely one endpoint is zero. Reflecting if necessary, take x 0 = 0 x_0=0 x 0 = 0 , x δ = 1 x_\delta=1 x δ = 1 . Then p p p and δ \delta δ belong to the one-run starting at position 1. Every all-one length-d d d window containing p p p also contains δ \delta δ : its start is at least 1 and at most p p p , and its right end is at least d ≥ δ d \ge\delta d ≥ δ . Thus D p D δ F = D p F = 0 D_pD_\delta F=D_pF=0 D p D δ F = D p F = 0 , a contradiction.
Finally, suppose x 0 = x δ = 0 x_0=x_\delta=0 x 0 = x δ = 0 . Let a a a and b b b denote the lengths of the consecutive one-runs immediately to the left of 0 and to the right of δ \delta δ , truncated at d − 1 d-1 d − 1 . The middle coordinates 1 , … , δ − 1 1,\ldots,\delta-1 1 , … , δ − 1 are all one. The numbers of contributing windows to the first derivatives at 0 and δ \delta δ are
N 0 = max { 0 , a + δ − d + 1 } , N δ = max { 0 , b + δ − d + 1 } . N_0=\max\{0,a+\delta-d+1\},\qquad N_\delta=\max\{0,b+\delta-d+1\}. N 0 = max { 0 , a + δ − d + 1 } , N δ = max { 0 , b + δ − d + 1 } .
Both numbers are even. Counting starts for windows containing both 0 and p p p gives
N 0 p = max { 0 , δ − d − max ( − a , p − d + 1 ) + 1 } . N_{0p}=\max\{0,\delta-d-\max(-a,p-d+1)+1\}. N 0 p = max { 0 , δ − d − max ( − a , p − d + 1 ) + 1 } .
This number is odd. If the inner maximum were − a -a − a , then N 0 p = N 0 N_{0p}=N_0 N 0 p = N 0 , a contradiction. Hence p − d + 1 > − a p-d+1>-a p − d + 1 > − a , so a ≥ d − p a\ge d-p a ≥ d − p , and
N 0 p = δ − p ≡ 1 ( m o d 2 ) . N_{0p}=\delta-p\equiv1\pmod{2}. N 0 p = δ − p ≡ 1 ( mod 2 ) .
Likewise, put v = δ + b − d + 1 v=\delta+b-d+1 v = δ + b − d + 1 . Windows containing δ \delta δ have starts from 1 through v v v when v > 0 v>0 v > 0 , while those containing both p p p and δ \delta δ have starts from 1 through min ( p , v ) \min(p,v) min ( p , v ) . Their counts are max ( 0 , v ) \max(0,v) max ( 0 , v ) (even) and max ( 0 , min ( p , v ) ) \max(0,\min(p,v)) max ( 0 , min ( p , v )) (odd). Therefore v > p v>p v > p , and hence
p ≡ 1 ( m o d 2 ) , b ≥ d − δ + p . p\equiv1\pmod{2},\qquad b\ge d-\delta+p. p ≡ 1 ( mod 2 ) , b ≥ d − δ + p .
It follows that δ \delta δ is even.
Every length-d d d window containing both 0 and δ \delta δ starts at one of δ − d + 1 , … , 0 \delta-d+1,\ldots,0 δ − d + 1 , … , 0 . The exterior-run bounds a ≥ d − p a\ge d-p a ≥ d − p and b ≥ d − δ + p b\ge d-\delta+p b ≥ d − δ + p ensure that all other positions in each such window are one. The mixed derivative therefore counts exactly d − δ d-\delta d − δ windows, which is even because d d d and δ \delta δ are even. This contradicts D 0 D δ F ( x ) = 1 D_0D_\delta F(x)=1 D 0 D δ F ( x ) = 1 and completes the proof.
Lemma 7.2 (Cyclic localization). Suppose n ≥ 3 d n\ge3d n ≥ 3 d and S ⊆ Z n S\subseteq\mathbb{Z}_n S ⊆ Z n has cyclic pairwise distance less than d d d . Then S S S is contained in a cyclic interval of d d d consecutive positions.
Proof. If S = ∅ S=\varnothing S = ∅ , the assertion is immediate. Otherwise, fix v ∈ S v\in S v ∈ S and rotate so that v = 0 v=0 v = 0 . Every other member lies either at a positive distance a ∈ { 1 , … , d − 1 } a\in\{1,\ldots,d-1\} a ∈ { 1 , … , d − 1 } or at a negative distance − b -b − b , b ∈ { 1 , … , d − 1 } b\in\{1,\ldots,d-1\} b ∈ { 1 , … , d − 1 } . If members occur on both sides, choose the largest such positive and negative distances a , b a,b a , b . Their cyclic distance is min ( a + b , n − a − b ) \min(a+b,n-a-b) min ( a + b , n − a − b ) . As a + b ≤ 2 d − 2 a+b\le2d-2 a + b ≤ 2 d − 2 and n ≥ 3 d n\ge3d n ≥ 3 d , n − a − b ≥ d + 2 n-a-b\ge d+2 n − a − b ≥ d + 2 . The pairwise-distance hypothesis therefore forces a + b ≤ d − 1 a+b\le d-1 a + b ≤ d − 1 . The arc from − b -b − b to a a a contains all members of S S S and has at most d d d positions. The one-sided case is immediate. □
Theorem 7.3 (Two-free-coordinate certificate bound). Let d ≥ 4 d\ge4 d ≥ 4 be even and n ≥ 3 d n\ge3d n ≥ 3 d . If F ( F d , n ) ≤ n − 3 F(F_{d,n})\le n-3 F ( F d , n ) ≤ n − 3 , then
C ( F d , n ) ≤ n − 2. C(F_{d,n})\le n-2. C ( F d , n ) ≤ n − 2.
Proof. Every input x x x has at least three insensitive coordinates. If two have cyclic distance at least d d d , no length-d d d monomial contains both; since both first derivatives vanish, fixing the other n − 2 n-2 n − 2 coordinates gives a certificate. Otherwise the insensitive coordinates all have pairwise cyclic distance less than d d d . Lemma 7.2 places them within one cyclic interval of length d d d . Choose any three. Lemma 7.1 supplies a pair with vanishing mixed derivative; their individual derivatives already vanish. They can therefore remain jointly free in a certificate. □
Corollary 7.4 (Exact certificate complexity in residue d d d ). Let d ≥ 4 d \ge4 d ≥ 4 be even and n = q ( d + 2 ) + d n = q(d+2)+d n = q ( d + 2 ) + d , with q ≥ max { 2 , d / 2 − 1 } q \ge\max\{2,d/2-1\} q ≥ max { 2 , d /2 − 1 } . Then
s ( F d , n ) = b s ( F d , n ) = C ( F d , n ) = n − 2. s(F_{d,n})=bs(F_{d,n})=C(F_{d,n})=n-2. s ( F d , n ) = b s ( F d , n ) = C ( F d , n ) = n − 2. Proof. Theorem 6.17 and Corollary 6.18 give b s = s = n − 2 bs=s=n-2 b s = s = n − 2 . The length hypothesis implies n ≥ 3 d n \ge3d n ≥ 3 d . Fix any input x x x , and put K = n − s ( F d , n , x ) K=n-s(F_{d,n},x) K = n − s ( F d , n , x ) . If K ≥ 3 K \ge3 K ≥ 3 , the pointwise construction in the proof of Theorem 7.3 supplies two jointly free coordinates. If K = 2 K=2 K = 2 , the small-deficit charging lemma applies. In its notation n = ( q + 1 ) ( d + 2 ) − 2 n=(q+1)(d+2)-2 n = ( q + 1 ) ( d + 2 ) − 2 and K ≥ ∣ n − r ( d + 2 ) ∣ K \ge\lvert n-r(d+2)\rvert K ≥ ∣ n − r ( d + 2 )∣ force r = q + 1 r=q+1 r = q + 1 (as d + 2 > 2 d+2>2 d + 2 > 2 ). The length identity n = r ( d + 2 ) + A + B + E n=r(d+2)+A+B+E n = r ( d + 2 ) + A + B + E and the charge K ≥ A + ∑ ∣ g − 2 ∣ + E K \ge A+\sum\lvert g-2\rvert+E K ≥ A + ∑ ∣ g − 2 ∣ + E then force A = E = 0 A=E=0 A = E = 0 and exactly two plain one-zero gaps, all other plain gaps having length two. Indeed, A + E + B = − 2 A+E+B=-2 A + E + B = − 2 and A + E + ∑ ∣ g − 2 ∣ ≤ 2 A+E+\sum\lvert g-2\rvert\le2 A + E + ∑ ∣ g − 2 ∣ ≤ 2 , while B ≥ − ∑ ∣ g − 2 ∣ B\ge-\sum\lvert g-2\rvert B ≥ − ∑ ∣ g − 2 ∣ ; thus equality requires A = E = 0 A=E=0 A = E = 0 and precisely two negative unit deviations. Their zeros are jointly free by Case 1 of Theorem 6.17 . Finally K = 0 , 1 K=0,1 K = 0 , 1 cannot occur, since global sensitivity is n − 2 n-2 n − 2 . Hence C ( F d , n , x ) ≤ n − 2 C(F_{d,n},x)\le n-2 C ( F d , n , x ) ≤ n − 2 for every input, and b s ≤ C bs\le C b s ≤ C gives equality.
Corollary 7.5 (Exact global certificate complexity in residue three). Let d ≥ 4 d \ge4 d ≥ 4 be even and n = q ( d + 2 ) + 3 n=q(d+2)+3 n = q ( d + 2 ) + 3 , with q ≥ max { 2 , d / 2 − 1 } q\ge\max\{2,d/2-1\} q ≥ max { 2 , d /2 − 1 } and n ≥ 3 d n\ge3d n ≥ 3 d . Then
b s ( F d , n ) = C ( F d , n ) = n − 2. bs(F_{d,n})=C(F_{d,n})=n-2. b s ( F d , n ) = C ( F d , n ) = n − 2. Proof. The complete block-sensitivity formula, Theorem 6.17 , gives b s ( F d , n ) = n − 2 bs(F_{d,n})=n-2 b s ( F d , n ) = n − 2 . Corollary 6.18 gives s ( F d , n ) = n − 3 s(F_{d,n})=n-3 s ( F d , n ) = n − 3 under these hypotheses. Applying Theorem 7.3 and b s ≤ C bs\le C b s ≤ C finishes the proof.
Remark 7.6. The preceding argument determines global certificate complexity in this residue class but does not assert C ( F d , n ) = b s ( F d , n ) C(F_{d,n})=bs(F_{d,n}) C ( F d , n ) = b s ( F d , n ) for every residue. More than two jointly free coordinates require control of higher-order Boolean derivatives.
Exact Local Complexity at the All-One Input in Odd Length
The global block-sensitivity hierarchy of the preceding section also motivates the study of differences between complexity measures at a fixed input . These local differences need not equal the differences between global maxima.
Theorem 8.1 (An exact odd-length local certificate gap). Let d ≥ 4 d\ge4 d ≥ 4 be even and let n ≥ 2 d − 1 n\ge2d-1 n ≥ 2 d − 1 be odd. Then
s ( F d , n , 1 n ) = 0 , b s ( F d , n , 1 n ) = n − 1 2 , C ( F d , n , 1 n ) = n + d − 1 2 . s(F_{d,n},1^n)=0,\qquad bs(F_{d,n},1^n)=\frac{n-1}{2},\qquad C(F_{d,n},1^n)=\frac{n+d-1}{2}. s ( F d , n , 1 n ) = 0 , b s ( F d , n , 1 n ) = 2 n − 1 , C ( F d , n , 1 n ) = 2 n + d − 1 . Consequently,
C ( F d , n , 1 n ) − b s ( F d , n , 1 n ) = d 2 . C(F_{d,n},1^n)-bs(F_{d,n},1^n)=\frac{d}{2}. C ( F d , n , 1 n ) − b s ( F d , n , 1 n ) = 2 d . Proof. Every coordinate belongs to exactly d d d distinct cyclic length-d d d monomials, so its first Boolean derivative at 1 n 1^n 1 n is zero. Thus s ( F d , n , 1 n ) = 0 s(F_{d,n},1^n)=0 s ( F d , n , 1 n ) = 0 , and every sensitive block has at least two elements. It follows that b s ( F d , n , 1 n ) ≤ ( n − 1 ) / 2 bs(F_{d,n},1^n)\le(n-1)/2 b s ( F d , n , 1 n ) ≤ ( n − 1 ) /2 . An adjacent pair { i , i + 1 } \{i,i+1\} { i , i + 1 } belongs jointly to exactly d − 1 d-1 d − 1 length-d d d intervals (the other cyclic separation is at least d d d ). Because d − 1 d-1 d − 1 is odd and both first derivatives vanish, flipping the pair changes the function. Choosing ( n − 1 ) / 2 (n-1)/2 ( n − 1 ) /2 disjoint adjacent pairs establishes the block-sensitivity formula.
Suppose a set S S S of coordinates can all be left free in a certificate at 1 n 1^n 1 n , with every coordinate outside S S S fixed to one. For distinct i , j ∈ S i,j\in S i , j ∈ S , the mixed derivative D i D j F d , n ( 1 n ) D_iD_jF_{d,n}(1^n) D i D j F d , n ( 1 n ) must vanish. If their clockwise separation is an odd integer h h h with 1 ≤ h < d 1\le h<d 1 ≤ h < d , their other separation is n − h ≥ d n-h\ge d n − h ≥ d ; exactly d − h d-h d − h length-d d d cyclic intervals contain both positions. As d − h d-h d − h is odd, their mixed derivative is one, a contradiction. The same restriction applies in the opposite clockwise direction. Hence every odd cyclic gap between consecutive members of S S S is at least d + 1 d+1 d + 1 .
If k = ∣ S ∣ ≥ 2 k=|S|\ge2 k = ∣ S ∣ ≥ 2 , its k k k positive cyclic gaps sum to the odd integer n n n , so at least one gap is odd and therefore at least d + 1 d+1 d + 1 . Every other gap is at least two, since a gap of one is forbidden. Consequently
n ≥ ( d + 1 ) + 2 ( k − 1 ) , k ≤ n − d + 1 2 . n\ge(d+1)+2(k-1),\qquad k\le\frac{n-d+1}{2}. n ≥ ( d + 1 ) + 2 ( k − 1 ) , k ≤ 2 n − d + 1 .
For k ≤ 1 k\le1 k ≤ 1 the bound follows from n ≥ 2 d − 1 n\ge2d-1 n ≥ 2 d − 1 . Thus every certificate fixes at least ( n + d − 1 ) / 2 (n+d-1)/2 ( n + d − 1 ) /2 coordinates.
Conversely, put k = ( n − d + 1 ) / 2 k=(n-d+1)/2 k = ( n − d + 1 ) /2 and leave free the set
S = { 0 , 2 , 4 , … , 2 ( k − 1 ) } = { 0 , 2 , … , n − d − 1 } . S=\{0,2,4,\ldots,2(k-1)\}=\{0,2,\ldots,n-d-1\}. S = { 0 , 2 , 4 , … , 2 ( k − 1 )} = { 0 , 2 , … , n − d − 1 } .
All coordinates outside S S S are fixed to one. The cyclic gaps between consecutive members of S S S are two, apart from a closing gap of length d + 1 d+1 d + 1 . We prove that the restriction is constant, including all higher-order interactions among free coordinates.
Write z i = 1 + x i z_i=1+x_i z i = 1 + x i for i ∈ S i\in S i ∈ S , taking coefficients over F 2 \mathbb{F}_2 F 2 . In the expansion
∏ j ∈ I x j = ∏ j ∈ I ∩ S ( 1 + z j ) = ∑ T ⊆ I ∩ S ∏ j ∈ T z j \prod_{j\in I}x_j=\prod_{j\in I\cap S}(1+z_j)=\sum_{T\subseteq I\cap S}\prod_{j\in T}z_j j ∈ I ∏ x j = j ∈ I ∩ S ∏ ( 1 + z j ) = T ⊆ I ∩ S ∑ j ∈ T ∏ z j
the coefficient of a nonempty squarefree monomial ∏ j ∈ T z j \prod_{j\in T}z_j ∏ j ∈ T z j in the restricted function equals the parity of the number of cyclic length-d d d intervals I I I containing T T T . For ∣ T ∣ = 1 |T|=1 ∣ T ∣ = 1 , that count is d d d , which is even. For ∣ T ∣ ≥ 2 |T|\ge2 ∣ T ∣ ≥ 2 , no length-d d d interval containing two points of S S S can cross the closing gap of length d + 1 d+1 d + 1 . Set a = min T a=\min T a = min T and b = max T b=\max T b = max T in the displayed linear ordering. The number of such intervals is
max { 0 , d − ( b − a ) } . \max\{0,d-(b-a)\}. max { 0 , d − ( b − a )} .
Indeed, if b − a < d b-a<d b − a < d , their starting positions are exactly b − d + 1 , … , a b-d+1,\ldots,a b − d + 1 , … , a ; otherwise there are none. As a , b a,b a , b are even and d d d is even, this number is even. All nonconstant coefficients in the z z z variables therefore vanish. The restricted function is constant, showing C ( F d , n , 1 n ) ≤ n − k = ( n + d − 1 ) / 2 C(F_{d,n},1^n)\le n-k=(n+d-1)/2 C ( F d , n , 1 n ) ≤ n − k = ( n + d − 1 ) /2 and proving equality. □
Remark 8.2. The difference d / 2 d/2 d /2 is unbounded when the even degree varies, but the theorem concerns local values at 1 n 1^n 1 n ; it makes no assertion that C ( F d , n ) − b s ( F d , n ) = d / 2 C(F_{d,n})-bs(F_{d,n})=d/2 C ( F d , n ) − b s ( F d , n ) = d /2 . The use of centered variables z i = 1 + x i z_i=1+x_i z i = 1 + x i in the proof is essential: coefficients in the original free variables x i x_i x i count intervals whose intersection with S S S is exactly a specified set, rather than merely containing that set.
A sextic global certificate family
This section establishes an exact global certificate value for the sextic residue class n ≡ 5 ( m o d 8 ) n\equiv5\pmod8 n ≡ 5 ( mod 8 ) . We give the run-and-gap certificate construction needed for the argument, rather than assuming a local certificate identity for arbitrary mixed configurations.
Lemma 9.1 (Run-and-gap free-coordinate bound). Suppose x x x is nonconstant and has r ≥ 1 r \ge1 r ≥ 1 maximal one-runs of length at least six. Write w w w for the total number of ones in the shorter one-runs, g g g for the lengths of all maximal zero-gaps, and u ( R ) u(R) u ( R ) for the number of insensitive one-coordinates in a long run R R R . Set
a = ∑ R : ∣ R ∣ ≥ 6 ⌈ u ( R ) 2 ⌉ , b ( g ) = ( g − 2 ) + − ⌊ ( g − 2 ) + 6 ⌋ , B = ∑ g b ( g ) , S = a + w + B . a=\sum_{R:\lvert R\rvert\ge6}\left\lceil\frac{u(R)}{2}\right\rceil,\qquad b(g)=(g-2)_{+}-\left\lfloor\frac{(g-2)_{+}}{6}\right\rfloor,\qquad B=\sum_g b(g),\qquad S=a+w+B. a = R : ∣ R ∣ ≥ 6 ∑ ⌈ 2 u ( R ) ⌉ , b ( g ) = ( g − 2 ) + − ⌊ 6 ( g − 2 ) + ⌋ , B = g ∑ b ( g ) , S = a + w + B . Then
C ( F 6 , n , x ) ≤ n − S , n − 8 r ≤ 2 a + 3 w + 2 B . C(F_{6,n},x)\le n-S,\qquad n-8r\le2a+3w+2B. C ( F 6 , n , x ) ≤ n − S , n − 8 r ≤ 2 a + 3 w + 2 B .
Proof. For the certificate bound, fix every zero except selected interior zeros of gaps of length at least three. In a gap of length g ≥ 3 g\ge3 g ≥ 3 , keep its first and last zeros fixed and fix every sixth of its g − 2 g-2 g − 2 interior positions, numbering these positions from one. Every length-six interval contained in the interior meets a fixed zero; any interval crossing its boundary meets the fixed outer zero. Consequently b ( g ) b(g) b ( g ) of its interior coordinates may be left free. Every one-coordinate in a short one-run may be left free. For a long one-run, with all zeros fixed, the prefix-parity formula for interval monomials partitions its insensitive coordinates into two jointly free classes, as follows. Number the positions in a run of length L L L by 0 , … , L − 1 0,\ldots,L-1 0 , … , L − 1 , and put
P ( a ) = # { s : 0 ≤ s ≤ L − 6 , s ≤ a } ( m o d 2 ) , P ( a ) = 0 ( a < 0 ) . P(a)=\#\{s:0\le s\le L-6,\ s\le a\}\pmod2,\qquad P(a)=0\quad(a<0). P ( a ) = # { s : 0 ≤ s ≤ L − 6 , s ≤ a } ( mod 2 ) , P ( a ) = 0 ( a < 0 ) .
Write the run polynomial in centered variables z i = 1 + x i z_i=1+x_i z i = 1 + x i . The coefficient of a nonempty product supported on a set T T T of free run coordinates is the parity of the length-six intervals containing T T T . If max T − min T < 6 \max T-\min T<6 max T − min T < 6 , this coefficient is P ( min T ) + P ( max T − 6 ) P(\min T)+P(\max T-6) P ( min T ) + P ( max T − 6 ) in F 2 \mathbb{F}_2 F 2 ; if the span is at least six, the coefficient is zero. For a singleton T = { v } T=\{v\} T = { v } , insensitivity says P ( v ) = P ( v − 6 ) P(v)=P(v-6) P ( v ) = P ( v − 6 ) . Thus partition insensitive positions according to P ( v ) ∈ { 0 , 1 } P(v)\in\{0,1\} P ( v ) ∈ { 0 , 1 } . For any nonempty set T T T within either class and of span less than six, its coefficient is P ( min T ) + P ( max T ) = 0 P(\min T)+P(\max T)=0 P ( min T ) + P ( max T ) = 0 ; for larger span it is already zero. Every nonconstant coefficient of the restricted polynomial therefore vanishes, proving joint freeness, not merely pairwise insensitivity. Choosing the larger class leaves at least ⌈ u ( R ) / 2 ⌉ \lceil u(R)/2\rceil ⌈ u ( R ) /2 ⌉ coordinates free. Fixed gap-boundary zeros prevent cross-component monomials, proving the first assertion.
For the charge, a long run of length L ≥ 6 L\ge6 L ≥ 6 has at least L − 6 L-6 L − 6 insensitive ones, and hence L − 6 ≤ 2 ⌈ u ( R ) / 2 ⌉ L-6\le2\lceil u(R)/2\rceil L − 6 ≤ 2 ⌈ u ( R ) /2 ⌉ . Each gap length satisfies g ≤ 2 + 2 b ( g ) g\le2+2b(g) g ≤ 2 + 2 b ( g ) , and also g − 2 ≤ 2 b ( g ) g-2\le2b(g) g − 2 ≤ 2 b ( g ) . Partition the shorter one-runs into maximal clusters between long runs. A cluster with j j j short one-runs, v v v ones in total, and j + 1 j+1 j + 1 zero-gaps has excess length, relative to one baseline length-two gap, equal to
E = v + ∑ ℓ = 0 j g ℓ − 2 ≤ v + 2 j + 2 ∑ ℓ = 0 j b ( g ℓ ) ≤ 3 v + 2 ∑ ℓ = 0 j b ( g ℓ ) . E=v+\sum_{\ell=0}^{j}g_\ell-2\le v+2j+2\sum_{\ell=0}^{j}b(g_\ell)\le3v+2\sum_{\ell=0}^{j}b(g_\ell). E = v + ℓ = 0 ∑ j g ℓ − 2 ≤ v + 2 j + 2 ℓ = 0 ∑ j b ( g ℓ ) ≤ 3 v + 2 ℓ = 0 ∑ j b ( g ℓ ) .
A direct gap between long runs contributes excess g − 2 ≤ 2 b ( g ) g-2\le2b(g) g − 2 ≤ 2 b ( g ) . Summing the disjoint contributions gives n − 8 r ≤ 2 a + 3 w + 2 B n-8r\le2a+3w+2B n − 8 r ≤ 2 a + 3 w + 2 B .
Theorem 9.2 (Exact sextic certificate complexity in residue five). For every integer q ≥ 2 q\ge2 q ≥ 2 , putting n = 8 q + 5 n=8q+5 n = 8 q + 5 , one has
s ( F 6 , n ) = b s ( F 6 , n ) = C ( F 6 , n ) = n − 3. s(F_{6,n})=bs(F_{6,n})=C(F_{6,n})=n-3. s ( F 6 , n ) = b s ( F 6 , n ) = C ( F 6 , n ) = n − 3.
Proof. We first show s ( F 6 , n ) = n − 3 s(F_{6,n})=n-3 s ( F 6 , n ) = n − 3 independently of the global block-sensitivity classification. Write K ( x ) = n − s ( F 6 , n , x ) K(x)=n-s(F_{6,n},x) K ( x ) = n − s ( F 6 , n , x ) . If K ( x ) ≤ 2 K(x)\le2 K ( x ) ≤ 2 , Lemma 5.10 (with d = 6 d=6 d = 6 ) would give K ( x ) ≥ ∣ n − 8 r ∣ ≥ 3 K(x)\ge\lvert n-8r\rvert\ge3 K ( x ) ≥ ∣ n − 8 r ∣ ≥ 3 , since n ≡ 5 ( m o d 8 ) n \equiv5 \pmod{8} n ≡ 5 ( mod 8 ) ; this is impossible. Thus s ( F 6 , n ) ≤ n − 3 s(F_{6,n}) \le n - 3 s ( F 6 , n ) ≤ n − 3 . For the reverse inequality, take the cyclic word
x = ( 1 6 0 ) 3 ( 1 6 00 ) q − 2 . x=(1^{6}0)^3(1^{6}00)^{q-2}. x = ( 1 6 0 ) 3 ( 1 6 00 ) q − 2 .
Its three gaps of length one contribute exactly three insensitive zeros, while all six ones in each length-six run and both boundary zeros in each length-two gap are sensitive. Hence K ( x ) = 3 K(x)=3 K ( x ) = 3 and s ( F 6 , n ) = n − 3 s(F_{6,n})=n-3 s ( F 6 , n ) = n − 3 . We now seek three coordinates that can remain jointly free at each input.
The all-zero and all-one inputs admit three pairwise cyclically six-separated insensitive coordinates: for 0 n 0^n 0 n this is immediate since any one-coordinate flip cannot create an all-one sextic interval, and for 1 n 1^n 1 n each flip changes six monomials, an even number. For an input with no length-six one-run, leave every one free if there are at least three; otherwise it has at most two ones, so at least n − 2 ≥ 19 n-2\ge19 n − 2 ≥ 19 individually insensitive zeros, from which three cyclically six-separated positions may be chosen. In either case a constant three-dimensional subcube results, for two different reasons. When there are at least three ones, free any three of them: setting any subset of those ones to zero cannot create an all-one sextic interval. When at most two ones occur, choose three mutually six-separated zeros. No sextic monomial contains two of these free coordinates, so the restriction to the three-dimensional subcube is affine; its linear coefficients vanish because each chosen zero is individually insensitive. Equivalently, no joint reassignment can create an all-one sextic interval.
Now assume that there are r ≥ 1 r\ge1 r ≥ 1 long one-runs. When r ≥ q + 1 r\ge q+1 r ≥ q + 1 , the unconditional length identity in Lemma 5.9 forces at least 8 r − n ≥ 3 8r-n\ge3 8 r − n ≥ 3 direct gaps of length one between long runs. Each such zero is insensitive (the six created monomials cancel), and no length-six monomial contains two such zeros. Hence they are jointly free.
When 1 ≤ r ≤ q 1\le r\le q 1 ≤ r ≤ q , use Lemma 9.1 . If S ≥ 3 S\ge3 S ≥ 3 , the assertion follows. Otherwise
5 + 8 ( q − r ) = n − 8 r ≤ 2 S + w ≤ 3 S ≤ 6. 5+8(q-r)=n-8r\le2S+w\le3S\le6. 5 + 8 ( q − r ) = n − 8 r ≤ 2 S + w ≤ 3 S ≤ 6.
It follows that r = q r=q r = q , S = 2 S=2 S = 2 , and w ∈ { 1 , 2 } w\in\{1,2\} w ∈ { 1 , 2 } . We examine these two cases, keeping track of the slack in the charging inequalities.
If w = 1 w=1 w = 1 , then a + B = 1 a+B=1 a + B = 1 and 5 = n − 8 q ≤ 2 ( a + B ) + 3 w = 5 5=n-8q\le2(a+B)+3w=5 5 = n − 8 q ≤ 2 ( a + B ) + 3 w = 5 . Thus every charge is tight. The single short run is an isolated one, both adjoining gaps have length two, all direct gaps have length two, and B = 0 B=0 B = 0 . The total excess of long-run lengths is two. It cannot consist of two length-seven runs, because a length-seven run has five insensitive one-coordinates and would contribute three to a a a . It consists of one length-eight run and q − 1 q-1 q − 1 length-six runs. Here is an explicit calculation of its insensitive positions. Number the eight positions of the exceptional run 0 , 1 , … , 7 0,1,\ldots,7 0 , 1 , … , 7 . The only all-one sextic intervals contained in this run are [ 0 , 5 ] [0,5] [ 0 , 5 ] , [ 1 , 6 ] [1,6] [ 1 , 6 ] , and [ 2 , 7 ] [2,7] [ 2 , 7 ] . Their incidence counts at the eight positions are
( 1 , 2 , 3 , 3 , 3 , 3 , 2 , 1 ) . (1,2,3,3,3,3,2,1). ( 1 , 2 , 3 , 3 , 3 , 3 , 2 , 1 ) .
Since every other sextic interval contains an original zero, the insensitive one-positions are exactly 1 1 1 and 6 6 6 . Leave position 1 1 1 of this run free.
For the isolated short one, choose either of its adjacent length-two gaps and write the resulting local word as
⋯ 1 L 0 f i x e d 0 f r e e 1 f r e e 0 f i x e d ⏟ chosen gap 0 f i x e d ⏟ other gap 1 L ′ ⋯ , L , L ′ ≥ 6. \cdots1^{L}\underbrace{0_{\mathrm{fixed}}0_{\mathrm{free}}1_{\mathrm{free}}0_{\mathrm{fixed}}}_{\text{chosen gap}}\underbrace{0_{\mathrm{fixed}}}_{\text{other gap}}1^{L'}\cdots,\qquad L,L'\ge6. ⋯ 1 L chosen gap 0 fixed 0 free 1 free 0 fixed other gap 0 fixed 1 L ′ ⋯ , L , L ′ ≥ 6.
All zeros except the displayed free zero are fixed. Any sextic interval involving either of the two free variables near the isolated one contains one of the displayed fixed zeros: within the central segment, at most two consecutive positions can become one, and a sextic interval leaving it crosses a fixed zero. Moreover, the free coordinate in the exceptional length-eight run is separated from this segment by fixed zeros, even if that run is one of the neighboring 1 L 1^L 1 L or 1 L ′ 1^{L'} 1 L ′ runs. Its derivative is zero by the incidence calculation, and no sextic interval can contain variables from both components. Thus the three free coordinates form a constant subcube.
If w = 2 w=2 w = 2 , then a = B = 0 a=B=0 a = B = 0 , so every long run has length six and every gap has length one or two. A single short run of length two would contribute at most four to n − 8 q n-8q n − 8 q , which is impossible since this excess is five. Thus there are precisely two isolated one-runs. Their two cluster excess contributions sum to at most six; to obtain exactly five, exactly one of the gaps has length one, and all other gaps have length two. Leave both isolated one-coordinates free, and distinguish the location of the unique length-one gap.
If it joins two long runs, also free its zero. Its individual derivative vanishes, since setting that zero to one creates exactly six sextic monomials. Every interval meeting one of the isolated ones is blocked by a fixed zero, and no interval can contain both the selected gap zero and an isolated one.
If it joins the two isolated short runs, free that intervening zero. The three free positions form the local segment 1 f r e e 0 f r e e 1 f r e e 1_{\mathrm{free}}0_{\mathrm{free}}1_{\mathrm{free}} 1 free 0 free 1 free , bordered on either side by a gap of length two whose zeros remain fixed. Hence any surviving run on this subcube has length at most three, so every sextic monomial involving these three variables vanishes.
If it joins a long run to an isolated short run, consider the other gap adjacent to that isolated one, which must have length two. If the order is 1 6 0 f i x e d 1 f r e e 00 R 1^{6}0_{\mathrm{fixed}}1_{\mathrm{free}}00R 1 6 0 fixed 1 free 00 R , free the first zero of 00 00 00 and fix the second; in the reversed order, free the zero nearest the isolated one and fix the zero nearest R R R . Here R R R is the next one-run, long or short. The unique length-one gap stays fixed. Consequently the isolated one and the selected zero cannot occur together in an all-one sextic interval, and the fixed second zero blocks interactions with R R R . The other isolated one is separated from this local segment by fixed zero(s) or by an intervening length-six one-run bordered by fixed zeros. All three free variables are therefore compatible.
In every case the subcube is constant, giving three jointly free coordinates.
All inputs are covered, so C ( F 6 , n ) ≤ n − 3 C(F_{6,n}) \le n-3 C ( F 6 , n ) ≤ n − 3 . The standard inequalities s ≤ b s ≤ C s \le bs \le C s ≤ b s ≤ C , combined with the already established equality s ( F 6 , n ) = n − 3 s(F_{6,n})=n-3 s ( F 6 , n ) = n − 3 , yield b s ( F 6 , n ) = C ( F 6 , n ) = n − 3 bs(F_{6,n})=C(F_{6,n})=n-3 b s ( F 6 , n ) = C ( F 6 , n ) = n − 3 .
Further Questions
Theorem 6.17 determines block sensitivity for all sufficiently large consecutive even-degree monomial rotation symmetric Boolean functions, and Corollary 6.18 proves their sensitivity independently of the companion work. The present paper also determines local certificate complexity for several structured run families and gives full quadratic and quartic global classifications. The principal remaining question is whether the global certificate complexity satisfies
C ( F d , n ) = ? b s ( F d , n ) C(F_{d,n}) \mathrel{\stackrel{?}{=}} bs(F_{d,n}) C ( F d , n ) = ? b s ( F d , n )
for all sufficiently large lengths in every fixed even degree. Other questions include short-length exceptions, nonconsecutive monomial supports, and the matching–transversal gap of the opposite-necklace difference hypergraphs.
Declaration on the Use of Artificial Intelligence
Generative artificial intelligence tools were used for language editing and for assistance with exploratory and computational checks during the preparation of this manuscript. The authors independently verified the mathematical statements, proofs, and computations presented in the paper and take full responsibility for the content.
Exact finite-state certificate for the quartic residue-four case
The following standalone Python 3 script certifies the finite-state identities in (FS). Boolean matrices are represented by lists of 64 integer bitmasks; all loops are finite and all operations exact. This is a computer-assisted finite identity verification, not an appeal to the companion paper’s superseded finite-state classification. The mathematical reduction to these identities is proved in the preceding section; the reproduced exact code is an essential part of the verification of the finite identities, whereas Theorem 6.2 uses explicit witnesses and the intrinsic sensitivity upper bound of Lemma 5.11 . The subsequent global sensitivity corollary is not an input to that earlier proof.
N=64
A=[0]*N; B=[0]*N
for s in range(N):
for t in (0,1):
z=[(s>>i)&1 for i in range(6)]+[t]
d=(z[4]&z[5]&z[6])^(z[2]&z[4]&z[5])^(z[1]&z[2]&z[4])^(z[0]&z[1]&z[2])
nxt=(s>>1)|(t<<5)
(A if d else B)[s] |= 1<<nxt
I=[1<<i for i in range(N)]
def matmul(X,Y):
out=[]
for mask in X:
bits=0
while mask:
bit=mask&-mask; bits|=Y[bit.bit_length()-1];mask-=bit
out.append(bits)
return out
def power(X,k):
out=I
for _ in range(k):out=matmul(out,X)
return out
def tr(X):return sum(bool(mask&(1<<i)) for i,mask in enumerate(X))
assert power(A,9)==power(A,3)
for d in (1,2,3):
M=matmul(matmul(matmul(B,power(A,d-1)),B),power(A,9-d))
assert tr(M)==0,(d,tr(M))
print('verified: A^9 = A^3 and all three forbidden traces vanish')
Exact verification code for the local lemma and small cases
This complete program requires Python 3.10 or later (because it uses int.bit_count()). It verifies the local lemma and computes the global maxima of sensitivity, block sensitivity, and certificate complexity for n = 5 , 9 n = 5, 9 n = 5 , 9 by examining every input. It uses no external packages. In the local test, the mixed-derivative condition is evaluated only when all three first derivatives vanish. The n = 9 n = 9 n = 9 check is computationally heavier: it examines 512 inputs and up to 511 masks per input, with additional subset searches for certificates and recursive matching for block sensitivity; runtime depends on the machine and Python implementation. The source package also includes an identical standalone copy.
"""Independent exact checks for local three-nonsensitive lemma and n=5,9.
Requires Python 3.10+. No external packages.
Run: python verify_rsbf_small_cases.py
"""
from functools import lru_cache
def quartic(x, n):
out = 0
for i in range(n):
out ^= int(all((x >> ((i+j) % n)) & 1 for j in range(4)))
return out
def derivative(x, i, n):
return quartic(x,n) ^ quartic(x ^ (1<<i),n)
def mixed(x, i, j, n):
return derivative(x,i,n) ^ derivative(x ^ (1<<j),i,n)
# For n>=10, each derivative at 0,1,2,3 depends only on
# x_{-3},...,x_6. We embed this window in a 13-cycle.
for triple in [(0,1,2), (0,1,3)]:
nonsensitive = all_mixed_one = 0
for mask in range(1<<10):
x = sum(1 << (j%13) for t,j in enumerate(range(-3,7)) if (mask>>t)&1)
if all(derivative(x,i,13)==0 for i in triple):
nonsensitive += 1
if all(mixed(x,triple[a],triple[b],13)==1
for a,b in [(0,1),(0,2),(1,2)]):
all_mixed_one += 1
print('local',triple, 'nonsensitive_assignments=',nonsensitive,
'all_three_mixed_one=',all_mixed_one)
assert all_mixed_one == 0
for n, expected in [(5,(4,4,4)), (9,(6,7,7))]:
N=1<<n
values=[quartic(x,n) for x in range(N)]
maxima=[0,0,0]
for x in range(N):
opposite=[mask for mask in range(1,N) if values[x^mask] != values[x]]
sens=sum(values[x^(1<<i)]!=values[x] for i in range(n))
# Certificate: complement of a maximal free subset containing no opposite mask
C=min((fixed.bit_count() for fixed in range(N)
if all(mask&fixed for mask in opposite)),default=0)
@lru_cache(None)
def match(available):
return max((1+match(available^mask) for mask in opposite
if mask&available==mask),default=0)
bs=match(N-1)
maxima=[max(maxima[i],v) for i,v in enumerate((sens,bs,C))]
print('global',n, tuple(maxima))
assert tuple(maxima)==expected