Manuscript Offprint
arXiv:2610.17100Block Sensitivity and Certificate Complexity of Rotation Symmetric Boolean Functions
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
We study block sensitivity and certificate complexity of rotation symmetric Boolean functions, with particular emphasis on monomial rotation symmetric Boolean functions. We first show that every odd-degree monomial rotation symmetric Boolean function on variables satisfies . We then determine sensitivity, block sensitivity, and certificate complexity for every quadratic monomial rotation symmetric Boolean function. For the quadratic function generated by , we prove, outside the short-orbit case, that
Moreover, for every quadratic MRS function, and outside the short-orbit case, strict separation occurs exactly when
Finally, for the consecutive quartic family
we determine all three measures in every residue class modulo 6, using the sensitivity formulas and, in one residue class, finite-state results established in our companion preprint [7]. In particular, for and we obtain strict separation,
Thus this family gives an infinite collection of rotation symmetric Boolean functions for which sensitivity is strictly smaller than block sensitivity, while block sensitivity and certificate complexity coincide.
1 Introduction
A Boolean function on variables is a map
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 [8]; the relations among these measures have since played a central role in Boolean-function complexity, including the sensitivity conjecture of Nisan and Szegedy [9], proved by Huang [6]. For every Boolean function ,
Exact formulas for these measures are nevertheless known only for special classes. For example, sensitivity and block sensitivity of elementary symmetric Boolean functions were studied in [13], and certificate complexity in [11, 12]. General quantitative relations between sensitivity and certificate complexity were developed by He et al. [16].
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 [10]; subsequent work on monomial rotation symmetric functions includes affine-equivalence and weight questions for quartic functions [5], and detailed work on quadratic MRS functions [14]. Higher-order derivative structure, linear structures, and fast points of RSBFs have also been studied by Sun and Shi [15]. 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 [3]. Recent work of Chakraborty and Gál also studies the number and structure of minimal sensitive blocks [4]. 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.
In our recent work on the sensitivity of rotation symmetric Boolean functions [7], general sensitivity results were obtained for monomial rotation symmetric functions, including a complete determination for quadratic functions and for the consecutive quartic family. 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 classification therefore uses the sensitivity results of [7], and its case additionally invokes the finite-state excursion classification and bounds proved there. 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, exact block-sensitivity and certificate-complexity formulas for the MRS families considered below have not previously been given.
The strict separation in this paper also distinguishes cyclic symmetry from full permutation symmetry. In the fully symmetric setting, it is known that no nonconstant Boolean function satisfies [1]. 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. Since
its certificate complexity is necessarily n.
The quadratic case is considerably more interesting. Let denote the rotation symmetric Boolean function generated by . We obtain an exact pointwise description of us-ing an associated graph consisting of disjoint cycles. This reduces the certificate problem to an independence-number problem on certain induced subgraphs of cycles.
If
then, apart from the short-orbit case ,
In the short-orbit case, .
Comparison with the corresponding sensitivity formula gives
if and only if and
In that case,
We further prove that
for every quadratic MRS function. Thus the same congruence condition characterizes precisely when
with all subscripts interpreted modulo n.
For and , write for the input obtained from by flipping all coordinates in . When , write .
The sensitivity of f at x is
A certificate for at is a set such that every satisfying for all also satisfies . The certificate complexity at is
and
For a nonempty set , write for the input obtained by flipping all coordinates in . A block is sensitive for at if
The block sensitivity is the maximum number of pairwise disjoint sensitive blocks at x, and
It is standard that
for every input x, and consequently
The following standard hitting-set interpretation of certificate complexity will also be useful; see, for example, Ben-David, Hatami, and Tal [17]. For , let
Thus is the family of sensitive blocks at x.
Theorem 2.1 (Certificate complexity as a transversal number). For every Boolean function f and every input x,
where denotes the minimum size of a set meeting every member of . Equivalently, it is enough to hit the inclusion-minimal members of .
Proof. If is a certificate at , then must meet every ; otherwise agrees with on all coordinates of but satisfies .
Conversely, suppose meets every member of . If were not a certificate, there would be an input agreeing with on but satisfying . Let
Then , so , while , a contradiction. Hence 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 denote the set of binary necklaces of length . If and are necklaces, define
and let
Changing the representative y only reindexes k. Changing the representative of X rotates every member of the family by a common cyclic translation. Thus 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 , write , and define the opposite-necklace difference hypergraph
Theorem 2.2 (Opposite-necklace difference formula). Let be a rotation symmetric Boolean function and . Then
Consequently,
and
where denotes matching number. In particular,
Proof. Fix . If
for a necklace with , then
Rotation symmetry gives
Hence , and therefore
Conversely, let and put . Then . If , rotation symmetry implies
and
Thus . Hence
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 . Finally, both quantities are invariant under rotation of , 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. 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 , write
for its rotational stabilizer, and put .
Theorem 2.4 (Difference-orbit structure). Let and be binary necklaces of length . Then
Consequently,
Moreover, acts on by cyclic translation of blocks. Every -orbit has size
and the number of such orbits is
Since is cyclic,
so equivalently
Proof. By definition,
Thus
if and only if
which is equivalent to
Hence
or equivalently . Therefore the distinct members of are naturally indexed by the cosets of in , giving
Now let . Since , rotation of a difference block by gives
with the chosen rotation convention. Thus acts on .
The stabilizer in of the block consists of those for which
By the first part, this is exactly . The orbit-stabilizer theorem therefore gives orbit size
Dividing the total number of distinct blocks by this orbit size gives
For finite subgroups,
which yields the second displayed form. Finally, subgroups of the cyclic group are uniquely determined by their orders, so their intersection and generated subgroup have orders and , respectively.
Remark 2.5. Thus the opposite-necklace formula may be organized orbit by orbit. For a fixed pair X, Y, the family has exactly distinct blocks, arranged into
orbits under the stabilizer of X. This gives a structural compression of the sensitive-block hypergraph whenever X has nontrivial rotational symmetry.
The inequalities allow the certificate framework above to determine block sensitivity in many cases without a separate optimization.
Corollary 2.6 (Sandwich criterion). Let f be rotation symmetric and . If
then
At the global level, if
then
Proof. Both statements follow immediately from
and
respectively.
For a fixed input x, let
be the sensitive-coordinate set, and put
Theorem 2.7 (Nonsensitive-block criterion). Let be a rotation symmetric Boolean function and . Put
Suppose there exist r pairwise disjoint sensitive blocks
Then
Equivalently, it is enough to find r pairwise disjoint difference blocks
with
Proof. The sensitive coordinates give pairwise disjoint sensitive singleton blocks
By assumption, the blocks are pairwise disjoint and lie entirely in , so they are also disjoint from all of these sensitive singleton blocks. Hence
Since always , equality follows.
The equivalent necklace formulation follows from the opposite-necklace difference theorem, which identifies the sensitive blocks at with the members of .
Corollary 2.8. If
and the nonsensitive-coordinate set contains a sensitive block, then
Remark 2.9. The criterion explains the mechanism in several exact families below. When , the sensitive singleton blocks already account for 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 arise.
Two examples
The following small examples illustrate the two roles of the general framework.
Example 2.10 (An opposite-necklace difference family). Consider
and let
We have
so Y is an opposite-value necklace for X. Taking and , the six difference blocks are
Thus this single opposite necklace contributes the six edges of the cycle to the sensitive-block hypergraph at X.
Here , while has trivial stabilizer. The difference-orbit theorem therefore predicts six distinct blocks forming one -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 ). Again consider , now at
The Boolean derivative is
At this input the sensitive coordinates are
while
Thus
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:
Hence
is an additional sensitive block, disjoint from all four sensitive singletons. Therefore
The quadratic certificate theorem below gives
so
This is the smallest quadratic illustration of the nonsensitive-block criterion.
For , let
denote its orbit under cyclic translation. The monomial rotation symmetric Boolean function generated by A is
where each distinct translated monomial is included exactly once.
3 Odd-Degree Monomial Rotation Symmetric Functions
Theorem 3.1 (Odd-degree MRS functions). Let be a monomial rotation symmetric Boolean function on variables. If is odd, then
Proof. Let be the size of the translation stabilizer of . A fixed coordinate lies in exactly members of : there are choices of a member of that can be translated to , and each orbit member is counted times. Since divides , the number is odd when is odd. At the all-one input, equals that number modulo two, and therefore equals 1 for every . Hence . The standard inequalities
force equality throughout.
Thus all three measures are completely determined in odd degree; the nontrivial behavior begins in even degree.
4 Quadratic Monomial Rotation Symmetric Functions
For
let denote the quadratic rotation symmetric Boolean function generated by . Except when is even and ,
Define
If , then is the disjoint union of cycles, each of length .
For , define
Lemma 4.1. Assume . For every ,
where denotes the independence number of H.
Proof. Let be the set of coordinates left unspecified by a certificate at . If two adjacent vertices and both belong to , then after all coordinates outside are fixed, the algebraic normal form still contains the quadratic term . No other term has the same pair of free variables. Thus the restricted function cannot be constant. Therefore must be independent in .
If , then both and are fixed. The two terms involving have sum
Thus the restricted function is independent of exactly when , so .
Conversely, if is an independent subset of , 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 , proving the formula.
Theorem 4.2. Let . If is even and , then
Otherwise, put
Then
Proof. In the short-orbit case,
At every coordinate is sensitive, so .
Now suppose . The graph consists of disjoint cycles of length . On one component write the input values in cyclic order as
and define
Since the sequence is cyclic,
Moreover,
Suppose first that . Choose
It has ones, an even number, so (4.1) holds. No two cyclically consecutive entries are equal. Thus is empty on this component. Making this choice on every component gives , and the lemma yields . Hence .
Now assume . If a component contained no vertex of , then by (4.2) its transition sequence would alternate cyclically. Hence m would be even. Such an alternating word has ones, and (4.1) would force to be even. Thus , a contradiction. Hence every component contains at least one vertex of . Choosing one from each component gives an independent set, so
Therefore
(4.3) for every .
It remains to attain equality. If , choose
It has ones, and exactly one cyclic pair of consecutive entries is equal. Thus the induced subgraph on has independence number 1.
If , choose
It has ones, and again exactly one cyclic pair of consecutive entries is equal. Hence the induced subgraph on has independence number 1.
Finally, let . The excluded short-orbit case is the only case , so here . Choose
It has ones. The equal consecutive pairs arise exactly inside the initial block 000, so consists of two adjacent vertices. Its independence number is therefore 1.
Using the appropriate construction independently on all components gives
The lemma now gives . Together with (4.3), this proves the result.
Theorem 4.3 (Block sensitivity and certificate complexity of quadratic MRS functions). Outside the short-orbit case, put
Then
In the short-orbit case even and ,
Consequently,
for every quadratic MRS function, and outside the short-orbit case
Proof. The short-orbit case and the cases and odd follow immediately from the already known sensitivity formula, the preceding certificate-complexity theorem, and
It remains to consider . The graph consists of disjoint -cycles. On each component, in its cyclic order, take the binary word
Here the vertices of each component are reindexed in consecutive k-steps, so that and denote the two neighbors of j in that component. For the quadratic cycle function the derivative at a vertex j is
A direct check of (4.4) shows that exactly two coordinates on the component, the second and third positions of the initial block 0000, are nonsensitive. All other coordinates therefore give pairwise disjoint sensitive singleton blocks.
Let be the pair consisting of those two nonsensitive coordinates. Locally the word begins with 0000. Before the flip, the three edge terms meeting B contribute
After simultaneously changing to 1, their contribution is
All other edge terms are unchanged. Thus B is a sensitive block. Hence one component supplies
pairwise disjoint sensitive blocks.
Use the same construction independently on all 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
The preceding certificate theorem gives
and therefore . Combining this with the quadratic sensitivity formula gives the displayed table.
5 The Consecutive Quartic Family
We next consider the consecutive quartic monomial rotation symmetric Boolean function
The sensitivity of this family has a period-six structure. In particular, if , then
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 ,
Proof. Put and consider
We first prove
For any coordinate j, the Boolean derivative is
(5.1)
where indices are modulo n.
Leave coordinate 2 unspecified and fix all other coordinates according to a. Since
and
we obtain
The derivative does not involve , so after all other coordinates are fixed the value of is independent of . Hence
Substitution of the six-periodic pattern 111100 into (5.1), together with the terminal symbols 11, gives
Away from the cyclic boundary this follows by checking the six residue classes modulo 6; the boundary positions follow directly from the final pattern . Thus precisely 2 and are nonsensitive at a, and
Every sensitive coordinate belongs to every certificate at a. Therefore a certificate of size at most n - 2 would have to leave both 2 and n - 1 unspecified. If all other coordinates are fixed according to a, the cyclic window
contributes the quadratic monomial
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. Together with (5.2),
We next determine the block sensitivity at a. All n - 2 sensitive coordinates other than 2 and n - 1 give pairwise disjoint sensitive singleton blocks. Moreover,
is itself a sensitive block. Indeed, with all other variables fixed as in a, the restricted algebraic normal form contains the variable-dependent part
At the original values this expression equals 1, whereas after flipping both coordinates it equals 0. Thus
The block B together with the n-2 sensitive singleton blocks gives n-1 pairwise disjoint sensitive blocks. Therefore
By the general inequality and (5.4),
Hence globally
It remains to prove the matching global upper bound. Since the known sensitivity formula gives
every input x has at least one nonsensitive coordinate j. Fixing all coordinates except j is then a certificate: with the other n - 1 coordinates fixed, the restricted Boolean function has only the variable , and nonsensitivity at x says that its two possible values agree. Consequently
for every x, and hence
Together with (5.4), this gives
Finally,
so
Combining this with completes the proof.
Corollary 5.2. The consecutive quartic family contains infinitely many rotation symmetric Boolean functions satisfying
5.1 Other residue classes modulo six
The sensitivity formula for immediately settles three further residue classes. We record these consequences first.
Theorem 5.3. For every integer ,
and
The last formula also holds for (that is, ).
Proof. For , the sensitivity formula gives , so the inequalities force equality throughout.
For and (including in the latter case), the known sensitivity formula gives . Since , every input has a nonsensitive coordinate. Fixing all other coordinates gives a certificate, and hence . Thus .
We next treat the residue class . We use the following local observation. For two coordinates , write for the mixed Boolean derivative.
Lemma 5.4 (Three-nonsensitive-coordinate lemma). Let , and suppose that has at least three nonsensitive coordinates at an input . Then there are two nonsensitive coordinates such that
Consequently, after all coordinates except are fixed according to , 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 any three nonsensitive coordinates has cyclic distance at most 3. For , three such positions must lie in four consecutive positions: if their three cyclic gaps were all at most 3, their sum would be ; 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 or .
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 . Exhaustively evaluating the assignments to the ten-variable window gives
| triple | three first derivatives zero | first derivatives zero, three mixed derivatives one |
|---|---|---|
| {0,1,2} | 568 | 0 |
| {0,1,3} | 554 | 0 |
For , 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 and Boolean differences . Its complete executable verification is reproduced in
Appendix A, and is also supplied as a standalone Python file. In particular, the local calculation is independent of , because the relevant ten positions are distinct. Thus some pair of the nonsensitive coordinates has .
Fixing every coordinate except leaves a polynomial . The mixed derivative condition yields ; nonsensitivity of then yields . Hence is constant.
Theorem 5.5 (The class ). For every integer ,
Proof. Let . For ( ), exhaustive evaluation of the inputs gives
To make this finite check reproducible, for each input form the family . Its maximum matching size equals , while its minimum transversal size equals . The exhaustive program in Appendix A evaluates all 512 inputs and all 511 nonempty masks for each input. In particular, the upper bounds and are established by this finite computer-assisted enumeration, not by a separate handwritten proof. Thus the displayed equalities do not invoke the lemma. In particular, the maxima for and are attained at the binary input with set-bit mask 63 (bits equal to 1).
Now assume , so . The sensitivity formula gives , so every input has at least three nonsensitive coordinates. By the preceding lemma, two of them can be left unspecified simultaneously. Hence
for every , and therefore .
Consider
Its three nonsensitive coordinates are
while all other coordinates are sensitive. Fix all sensitive coordinates according to , and write
Every quartic monomial containing v is killed by one of the fixed zero coordinates adjacent to v. After cancellation over , the remaining dependence on the three free variables is
for a constant depending only on . In particular the restriction is independent of , so together with either or may be left unspecified; hence . On the other hand, (5.11) is nonconstant, so all three nonsensitive coordinates cannot be left unspecified. Since every sensitive coordinate belongs to every certificate, we obtain
At we have . The variable part of (5.11) is then
whereas after flipping the pair we have , for which the variable part is 0. Thus is a sensitive block. Together with the sensitive singleton blocks this gives pairwise disjoint sensitive blocks. Hence
Consequently
Combining these inequalities with the global upper bound gives
5.2 The residue class
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 whenever an input has at least three nonsensitive coordinates.
Theorem 5.6 (The class ). For every ,
Proof. Put . The sensitivity theorem gives .
If x has at least three nonsensitive coordinates, the preceding lemma gives .
It remains to consider an input with , so that exactly two coordinates are nonsensitive. We use the finite-state framework developed in our companion work on the sensitivity of rotation symmetric Boolean functions [7]. We use the finite-state excursion classification, uniqueness claims, and avoidance bound established in that companion paper as an external lemma; we reproduce the particular certificate and explain how it yields the certificate- and block-sensitivity conclusion here. Thus the proof below is conditional on the cited finite-state results, rather than an independent proof of those results. The weight-one state graph has the unique recurrent six-cycle
The extremal closed walk under consideration has exactly two weight-zero transitions, corresponding to its two nonsensitive coordinates; the six-cycle itself consists entirely of weight-one transitions. A closed walk avoiding this six-cycle satisfies the avoidance bound
so an extremal walk must visit the cycle.
Decompose the walk into primitive excursions between successive visits to the cycle. If is the number of weight-zero transitions and
the finite excursion certificate from the sensitivity proof shows that, among positive-cost primitive excursions of cost at most two, the possible pairs are
Since the complete walk has length , its total phase defect is 2 (mod 6). With total defect cost two, the only possible decomposition is
By the excursion uniqueness result in [7], the primitive excursion of type is
with transition weights
Thus each excursion contributes one nonsensitive coordinate, and even when the two excursions are consecutive their zero-weight transitions are separated by five positions. If are the two nonsensitive coordinates, then . No length-four monomial contains both, so . As in the lemma, fixing every coordinate except makes the restricted function constant. Hence
We have proved for every input , and therefore . Finally,
which proves the result.

5.3 Complete quartic classification
Combining the preceding results gives the complete answer for the consecutive quartic family.
Theorem 5.7 (Complete consecutive quartic classification). Let and write , . Then
| r | |||
|---|---|---|---|
| 0 | 6q | 6q | 6q |
| 1 | 6q | 6q | 6q |
| 2 | 6q | 6q+1 | 6q+1 |
| 3 | 6q | 6q+1 | 6q+1 |
| 4 | 6q+2 | 6q+2 | 6q+2 |
| 5 | 6q+4 | 6q+4 | 6q+4 |
The classification is stated only for , where the cyclic quartic windows are distinct. In particular,
holds precisely when .
6 Further Questions
For odd-degree monomial rotation symmetric functions, all three measures , , and are determined. The same is true for every quadratic MRS function and for the consecutive quartic family, where the latter admits a complete classification in all six residue classes modulo 6. A natural next problem is to determine analogous relations among , , and for other even-degree monomial rotation symmetric functions. It would also be interesting to determine when the opposite-necklace difference hypergraph has matching number equal to its transversal number, since this is exactly the condition at a necklace .
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.
A 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 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 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
References
[1] Y. Li and J. Zhang, Sensitivity and block sensitivity of elementary symmetric Boolean functions of arbitrary degree, preprint, arXiv:2609.23781, 2026. https://arxiv.org/abs/2609.23781
[2] S. Chakraborty, On the sensitivity of cyclically-invariant Boolean functions, Discrete Math. Theor. Comput. Sci. 13 (2011), no. 4, 91–104. https://doi.org/10.46298/dmtcs.552
[3] S. Chaubal and A. Gál, Tight bounds on sensitivity and block sensitivity of some classes of transitive functions, Theoret. Comput. Sci. 946 (2023), 113687. https://doi.org/10.1016/j.tcs.2022.12.037
[4] S. Chakraborty and A. Gál, Nearly tight bounds on the block number of Boolean functions in terms of sensitivity, 51st International Symposium on Mathematical Foundations of Computer Science (MFCS 2026), LIPIcs 386 (2026), 61:1–61:17. https://doi.org/10.4230/LIPIcs.MFCS.2026.61
[5] T. W. Cusick and Y. Cheon, Affine equivalence of quartic homogeneous rotation symmetric Boolean functions, Inform. Sci. 259 (2014), 192–211. https://doi.org/10.1016/j.ins.2013.09.001
[6] H. Huang, Induced subgraphs of hypercubes and a proof of the sensitivity conjecture, Ann. of Math. 190 (2019), no. 3, 949–955. https://doi.org/10.4007/annals.2019.190.3.6
[7] Y. Li and J. Zhang, Sensitivity of rotation symmetric Boolean functions, preprint, 2026.
[8] N. Nisan, CREW PRAMs and decision trees, SIAM J. Comput. 20 (1991), no. 6, 999–1007. https://doi.org/10.1137/0220062
[9] N. Nisan and M. Szegedy, On the degree of Boolean functions as real polynomials, Comput. Complexity 4 (1994), no. 4, 301–313. https://doi.org/10.1007/BF01263419
[10] P. Stănică and S. Maitra, Rotation symmetric Boolean functions—count and cryptographic properties, Discrete Appl. Math. 156 (2008), no. 10, 1567–1580. https://doi.org/10.1016/j.dam.2007.04.029
[11] J. Zhang and Y. Li, Certificate complexity of elementary symmetric Boolean functions, Theoret. Comput. Sci. 938 (2022), 16–23. https://doi.org/10.1016/j.tcs.2022.09.034
[12] J. Zhang and Y. Li, Certificate complexity of elementary symmetric Boolean functions of arbitrary degree, preprint, arXiv:2609.15678, 2026.
[13] J. Zhang, Y. Li, and J. O. Adeyeye, Sensitivities and block sensitivities of elementary symmetric Boolean functions, J. Math. Cryptol. 15 (2021), no. 1, 434–453. https://doi.org/10.1515/jmc-2020-0042
[14] A. Chirvasitu and T. W. Cusick, Quadratic rotation symmetric Boolean functions, Discrete Appl. Math. 343 (2024), 91–105. https://doi.org/10.1016/j.dam.2023.10.010
[15] L. Sun and Z. Shi, The linear structures and fast points of rotation symmetric Boolean functions, Appl. Algebra Eng. Commun. Comput. 35 (2024), 525–544. https://doi.org/10.1007/s00200-022-00566-3
[16] X. He, X. Sun, G. Yang, and P. Yuan, A tighter relation between sensitivity complexity and certificate complexity, Theoret. Comput. Sci. 762 (2019), 1–12. https://doi.org/10.1016/j.tcs.2018.08.025
[17] S. Ben-David, P. Hatami, and A. Tal, Low-sensitivity functions from unambiguous certificates, 8th Innovations in Theoretical Computer Science Conference (ITCS 2017), LIPIcs 67 (2017), Article 28, 28:1–28:23. https://doi.org/10.4230/LIPIcs.ITCS.2017.28