WorksMathematics
Sensitivity of Rotation Symmetric Boolean Functions via Binary Necklaces
Abstract
Rotation symmetric Boolean functions are important structured families in the theory of Boolean functions, where cyclic invariance permits compact algebraic descriptions while retaining nontrivial local behavior. We investigate their sensitivity through binary necklaces and monomial orbit sums. In the necklace quotient of the Boolean cube, ordinary adjacency does not record the number of coordinate flips: we give a directed flip-multiplicity formula involving stabilizers and distance-two near-periods, and derive exact local sensitivity formulas when the number of variables is an odd prime. For monomial rotation symmetric functions we determine sensitivity for all odd degrees and for quadratic orbit sums. For the consecutive-monomial family of every even degree , we prove a run-cluster inequality and obtain the eventual exact formula , where , under the stated length hypothesis. The consecutive quartic case follows explicitly. We also evaluate sensitivity for cyclic run-threshold functions. Our results provide exact combinatorial and complexity-theoretic information about cyclic Boolean functions and clarify how cyclic symmetry governs local sensitivity.
Introduction
Boolean-function viewpoint and scope. Rotation symmetric Boolean functions form a central class of cyclically invariant functions studied in algebraic and combinatorial approaches to Boolean-function theory, including in cryptographic settings. This article considers an intrinsic local-complexity invariant of these functions: sensitivity. We derive exact sensitivity formulas from binary-necklace multiplicities, stabilizers, near-period structure, and cyclic run decompositions. These results contribute to the structural analysis of Boolean functions with cyclic symmetry, a topic at the intersection of discrete mathematics and Boolean-function theory.
Contributions and prior methods. The binary-necklace quotient and near-period phenomena were studied previously; our contribution is not the construction of that quotient. We give an explicit directed flip-count formula and identify the resulting local sensitivity corrections. Independently, our run-cluster argument treats a whole infinite family of even-degree consecutive monomial orbit sums.
2020 Mathematics Subject Classification. Primary 05E18; Secondary 94D10.
This separation between inherited combinatorial tools and our new exact sensitivity deductions is important for assessing the novelty of the paper.
Relation to the earlier arXiv version. This manuscript is an expanded and revised version of our preprint Sensitivity of Rotation Symmetric Boolean Functions via Binary Necklaces (arXiv:2610.17006, 2026; https://arxiv.org/abs/2610.17006). The earlier posting and the present submission are versions of the same research work, not separate papers. The present version develops the analysis further, in particular by including the uniform run-cluster treatment and the general even-degree consecutive-monomial sensitivity result, together with expanded proofs and exposition. The results already contained in the earlier version are retained as part of the present work.
Complexity-theoretic perspective. Sensitivity measures the number of one-bit queries at which an input is locally pivotal. Its exact value is generally difficult to extract even for Boolean functions with a large automorphism group: symmetry reduces the number of inequivalent inputs but does not preserve the multiplicity of coordinate flips between orbits. Rotation symmetry is a particularly tractable test case because the underlying action is transitive on coordinates without being the full symmetric group. Our objective is to compute this local complexity measure for explicit cyclically invariant families, rather than to deduce new general inequalities between complexity measures. In particular, the structural formulas below are exact, not merely asymptotic bounds.
For a Boolean function and an input , the sensitivity is the number of coordinates whose individual flip changes the value of , and
We also write
Sensitivity is one of the basic local complexity measures of Boolean functions and has been extensively studied in relation to symmetry, transitivity, block sensitivity, and decision-tree complexity.
A Boolean function is rotation symmetric if it is invariant under the cyclic permutation of its coordinates. Writing
with indices in , this means
The orbit
is a binary necklace. Thus a rotation symmetric Boolean function is equivalently a two-coloring of the set of binary necklaces of length . Rotation symmetric Boolean functions have a substantial literature, particularly in cryptography and in the study of transitive Boolean functions; see, for example, Stănică and Maitra [9]. Chakraborty [1] studied sensitivity for cyclically invariant Boolean functions and obtained asymptotic constructions and lower bounds.
The combinatorics of binary necklaces gives a natural way to record the effect of coordinate flips modulo rotation. Earlier work on necklace quotients and Gray codes studies their flip adjacency [6]; distance-two rotations have been classified by Makhynko [8]. Neither the necklace quotient nor this distance-two classification is claimed as new here. Our contribution to the previously studied necklace quotient is an explicit stabilizer/near-period formula for directed flip multiplicities and its applications to exact local sensitivity. This differs from the asymptotic sensitivity questions for cyclically invariant functions studied by Chakraborty [1].
Building on the established necklace quotient viewpoint, our first purpose is to develop an exact necklace-level description of sensitivity. The quotient of the Boolean cube by rotation is naturally a multigraph: if and are necklaces, the directed multiplicity
counts the one-coordinate flips of a representative of that land in . Such flip multiplicities in the necklace quotient are already present in the combinatorial literature; see Gregor et al. [6]. If denotes the induced Boolean function on necklaces, then the local sensitivity at is the weighted bichromatic degree
The main issue is therefore to determine the multiplicities structurally.
For , let
where denotes the subgroup of cyclic rotations that fix . Let
For a coordinate , define
Our first main formula is
It follows from an orbit–stabilizer double count and separates the multiplicity into exact rotational symmetry and distance-two near-periodicity. Rotations at Hamming distance two have recently been classified in detail by Makhynko [8]; we use that structure rather than claim it as new.
When is an odd prime, the formula simplifies substantially. Every nonconstant length- word has trivial rotational stabilizer, and the relevant distance-two necklaces are cyclic arithmetic intervals. We show that interior necklace multiplicities are 1 or 2 and obtain explicit local sensitivity formulas for every Hamming layer, including the exceptional weight-one and weight- layers. Moreover, the multiplicity correction is required only for an asymptotically negligible set of necklaces: using Makhynko’s enumeration, the exceptional proportion is
Thus for asymptotically almost every prime-length necklace, local sensitivity is simply its ordinary bichromatic degree in the unweighted necklace quotient.
We also study monomial rotation symmetric functions across degrees. If the generating monomial has support , degree , and rotational stabilizer of order , then every coordinate occurs in exactly distinct orbit monomials. This yields a parity theorem at the all-one input and, in particular, the general conclusion
Thus the genuinely nontrivial degree-by-degree problem begins with even degree. We solve degree two completely. If is generated by and we are outside the short-orbit case even, , then with
we prove
The proof reduces sensitivity to the maximum number of transitions on the cycles of the permutation . In particular, for every odd prime , all quadratic MRS functions have sensitivity .
For every even degree , we prove that the consecutive monomial family has sensitivity when and is sufficiently large. The proof uses a universal charging inequality for clusters of short one-runs, with no restriction on the number of defects. We do not attempt to classify all quartic monomial rotation symmetric functions. Instead, we completely solve the natural consecutive quartic family generated by :
For , writing , we prove
The general even-degree theorem gives a direct proof of the formula. In particular, although the all-one input has zero sensitivity in this even-degree family, maximum sensitivity is attained whenever .
A further application concerns the cyclic run-threshold function , which is 1 exactly when contains a cyclic run of at least ones. For we prove
This exact two-parameter result complements prior sensitivity bounds for transitive Boolean functions [2]; we do not claim that the general transitive-function framework is new.
Novelty and relationship with related work. There are three distinctions worth making. First, the weighted necklace viewpoint is standard, whereas the stabilizer/near-period formula and its local-sensitivity consequences are the claims advanced here. Second, we apply Makhynko’s structural classification and enumeration of distance-two rotations [8]; those structural and enumerative results are credited to that work. Third, our companion preprint on block sensitivity and certificate complexity of rotation symmetric Boolean functions [7] treats different complexity measures. That companion work restates the odd-degree and quadratic sensitivity formulas for comparison with block sensitivity and certificate complexity, and cites the consecutive quartic sensitivity theorem proved here. The present work supplies the sensitivity proofs, while the companion focuses on the other two complexity measures. We include the sensitivity arguments in the present paper to keep its main results self-contained; no novelty claim rests on reproducing the same formulas in both manuscripts. The distinguishing contributions of the present paper are the weighted-necklace multiplicity framework, the odd-prime local sensitivity analysis, the universal even-degree consecutive-monomial theorem, the consecutive quartic corollary, and the exact run-threshold formulas. Conversely, general block sensitivity and certificate-complexity formulas are not claimed here.
Contribution map and limitations. The results have two independent components. The first is a formula for the weighted edges of the cyclic quotient of the hypercube, followed by prime-length local formulas; this is useful whenever the truth values of a rotation symmetric function are specified by necklaces. The second consists of exact maximum-sensitivity calculations for explicitly defined function families, with the even-degree consecutive-monomial result depending on a uniform combinatorial charging argument. The general weighted-quotient construction itself, previously known distance-two rotation classifications, and general sensitivity inequalities are not claimed as new. These exact calculations do not by themselves imply improved universal lower bounds for all transitive Boolean functions or new separations of sensitivity from other complexity measures.
The paper is organized as follows. Section 2 develops the necklace formulation of sensitivity, Section 3 studies rotations at Hamming distance two, and Section 4 proves the general multiplicity formula. Section 5 treats the prime-length near-period structure, while Section 6 derives the odd-prime sensitivity formulas and generic-simplicity consequences. Section 7 studies monomial rotation symmetric functions, including odd-degree and quadratic cases, a general consecutive even-degree theorem, and the consecutive quartic corollary. Section 8 establishes the exact cyclic run-threshold formula. Section 9 records computational verification, Section 10 presents further questions.
Preliminaries
Throughout, coordinates are indexed by , and all additions of coordinate indices are taken modulo . Identify coordinates with . Let be rotation by . For , let and let be the set of necklaces. Let denote with coordinate flipped. Then
For rotation symmetric , write . Since rotation merely permutes the coordinate positions, for every . Hence sensitivity is constant on each necklace. For a necklace , we therefore define
which is independent of the choice of representative . For necklaces and , define
Lemma 2.1. The quantity is independent of the representative of .
Proof. If , then , and is a bijection.
Theorem 2.2 (Necklace sensitivity formula). For every necklace ,
Proof. Partition the sensitive coordinates according to the necklace reached by their flip.
Periods and near-periods
For and , define .
Theorem 3.1 (Flip-equivalence criterion). For , iff for some , either (i) and , or (ii) and .
Proof. Suppose first that . By the definition of a necklace, there is some such that
Rotation carries the flip at coordinate to a flip at coordinate ; that is,
Hence
and, after flipping coordinate on both sides,
There are now two cases.
If , the two flips on the right occur at the same coordinate and therefore cancel. Thus
so stabilizes , and . This is alternative (i).
If , then the two flips occur at distinct coordinates. Consequently differs from exactly at the two coordinates and . Therefore
so . This is alternative (ii).
Conversely, suppose that alternative (i) holds. Then and , so
Hence .
Finally, suppose that alternative (ii) holds. Since
the word is obtained from by flipping exactly those two coordinates; equivalently,
Flipping coordinate gives
and again . Thus the two stated alternatives are both necessary and sufficient. □
Call nonzero a 2-near-period if .
Theorem 3.2 (Distance-two rotation structure; Makhynko [8]). Fix , put and . The permutation has cycles of length . Then iff is constant on cycles and, on the remaining cycle, has one nonempty proper consecutive arc of ones and one of zeros; equivalently its cyclic pattern is , .
Proof. This is the prescribed-shift one-active-cycle structure appearing in [8]; we include the argument for completeness.
The permutation decomposes into disjoint cycles, each of length . Fix one such cycle and write it in cyclic order as
where all indices are taken modulo . By definition,
with interpreted modulo . Hence the number of elements of lying on is exactly the number of transitions between 0 and 1 in the cyclic binary word
With our convention , the disagreement at compares with . Along a -cycle this is a transition from the preceding entry, rather than the following one. Both conventions count the same transitions; we use the preceding-entry convention throughout.
A cyclic binary word has an even number of transitions. Indeed, whenever the value changes from 0 to 1, it must later change from 1 back to 0 before returning to the starting position. Thus a cycle contributes either 0 or at least 2 elements to . Moreover, it contributes 0 precisely when is constant on that cycle.
Suppose now that . Since the cycles are disjoint and every cycle contributes an even nonnegative number of disagreements, exactly one cycle contributes 2, while each of the remaining cycles contributes 0. Therefore is constant on those cycles. On the unique active cycle there are exactly two transitions. Starting immediately after one of them, all the 1’s occur consecutively until the second transition, and all the remaining entries are 0’s. Since both transitions occur, both symbols appear. Consequently, after a cyclic choice of starting point, the pattern on this cycle is
Equivalently, the 1’s form one nonempty proper consecutive arc of the cycle and the 0’s form the complementary arc.
Conversely, suppose that is constant on cycles and that on the remaining cycle its cyclic pattern is with . Each constant cycle contributes no element to , while the active cycle has exactly two transitions, one from 1 to 0 and one from 0 to 1. Hence that cycle contributes exactly two elements to , and therefore . □
The multiplicity formula
Let
where denotes the subgroup of cyclic rotations that fix . Define
Theorem 4.1 (Multiplicity formula). If and , then
Hence .
Proof. Set , so that , and consider
We count in two ways.
First fix . There exists a rotation with if and only if . By the definition of , there are exactly such coordinates . For each such , choose one rotation satisfying . Then
Thus the rotations carrying to form a coset of and hence there are exactly of them. Consequently,
We now count by fixing the rotation . Since rotation carries a flip at to a flip at ,
Hence a coordinate with exists precisely when
If , then this equality holds with the unique choice . Therefore every stabilizing rotation contributes exactly one pair to , for a total contribution of .
Suppose next that . The flip-equivalence criterion from Theorem 3.1 shows that the above equality can hold only when
Indeed, if , then flipping in removes one of the two disagreements with , and flipping in removes the other, giving
Conversely, if and , then and can differ only at the two coordinates and ; hence and . Thus the nonstabilizing rotations that contribute to are exactly those counted by , and each contributes exactly one pair. Therefore
Equating the two counts gives
and hence
Since is an integer, it follows immediately that .
Proposition 4.2 (Balance identity). For adjacent necklaces and ,
Proof. Let be the set of edges of the -dimensional hypercube having one endpoint in the orbit and the other endpoint in the orbit . We count in two ways.
First fix a word . By definition, is the number of coordinates for which the one-coordinate flip belongs to . This number is independent of the chosen representative of . Indeed, if , then rotation commutes with a coordinate flip in the sense that
with indices taken modulo . Since is itself a rotation orbit, if and only if . Thus every vertex of is incident with exactly edges whose other endpoint lies in .
Consequently, counting the edges of from their endpoints in gives
The same argument with the roles of and reversed shows that every vertex of is incident with exactly edges whose other endpoint lies in . Hence
Equating the two expressions for the same set of hypercube edges yields
as claimed.
Odd prime length
Throughout Sections 5 and 6, assume is an odd prime. (The case is immediate and may be checked separately.) Every nonconstant word of length is aperiodic. Makhynko’s prime-length classification shows that the distance-two necklaces are represented by cyclic arithmetic intervals [8]. We record the following elementary uniqueness lemma because it isolates the precise step property needed in the sensitivity arguments below.
Lemma 5.1 (Uniqueness of the step). Let , . If with , then .
Proof. Put
By hypothesis, , where . In the -arithmetic ordering of , translation by sends
to the next elements
The only additional point of is , which does not lie in : otherwise for some , contradicting and . Hence
Since , this gives
We now use the special form to determine . Choose the integer representative .
First suppose . Then the translate does not wrap around modulo , so
If , then , contradicting . Thus , and in this case
Therefore , and hence .
It remains to consider . Set , so and . Thus in . The intersection may have two contributions: the unwrapped portion contributes elements, and the wrapped portion contributes elements. Thus
If , the equality yields , hence . If , the equality becomes , which forces , contrary to . Therefore only is possible, giving .
Consequently , as claimed.
Corollary 5.2 (Prime arithmetic-interval uniqueness). If and has arithmetic-progression representations with nonzero steps and , then .
Proof. Write the two representations as
Since and is prime, is invertible modulo . Apply the invertible affine map
The first representation is carried to the standard interval
The second representation is carried to
Thus the same set is an arithmetic progression of length with nonzero step . By the preceding lemma, . Therefore
and multiplying by gives , as claimed.
Lemma 5.3 (Prime near-period lemma). If $2\le\operatorname{wt}(x)\le p-2$, then for every $i.
Proof. Let and put . Recall that counts the nonzero rotations for which
Suppose first that a nonzero step contributes to . By the distance-two rotation structure, the support of is a cyclic arithmetic interval with step . Thus, for a suitable ,
Under translation by , all interior points of this progression remain in ; the only membership changes occur at its two ends. Consequently
Since contributes to precisely when , we must have
Equivalently,
Now suppose that a second nonzero step also contributes to . Then is another step giving an arithmetic-progression representation of the same support . By Corollary 5.2 (prime arithmetic-interval uniqueness), . Because , the only possibility is .
To determine when can contribute, write the same progression in the reverse direction:
For the step , the two disagreement positions are therefore
The condition is equivalent to
It remains to observe that the two possible sets of indices in (5.1) and (5.2) are disjoint when . Indeed, an equality between an element of
and an element of
would, after cancelling and using in , force one of
The first and last are impossible, while the middle two give respectively and , both excluded by .
Hence no fixed coordinate can satisfy the contribution condition for both and . Since every other possible near-period step is ruled out by Corollary 5.2, at most one nonzero rotation contributes to . Therefore
as claimed.
Theorem 5.4 (Prime multiplicities). If , then
From the constant necklace to the unique adjacent weight-one (respectively weight-) necklace, the directed multiplicity is .
Proof. Assume first that . Since is prime and is nonconstant, the only rotation fixing is the identity; hence . Moreover, flipping one coordinate changes the weight by one, so . Thus is also nonconstant, and therefore .
The multiplicity formula of Theorem 4.1 consequently reduces to
By the prime near-period lemma, for every . Since is a nonnegative integer, , and hence
In particular, multiplicity two occurs exactly when , that is, when there is a nontrivial rotation with and .
It remains to consider the extreme layers. The constant word has a single necklace, while flipping any one of its coordinates produces a weight-one word. All weight-one words are rotations of one another, so all coordinate flips land in the unique weight-one necklace. Therefore the directed multiplicity from to that necklace is . The same argument, with zeros and ones interchanged, shows that the directed multiplicity from to the unique weight- necklace is also .
Sensitivity for odd prime length
For necklaces and , write if they are neighboring necklaces, meaning that there exist representatives and with Hamming distance ; equivalently, for some and some coordinate . For a necklace , let
be the number of bichromatic neighboring necklaces of $X. Recall from § 2 that for any representative ; this is well defined because sensitivity is constant on a necklace. For an interior necklace, let
Theorem 6.1 (Prime local sensitivity formula). If , then
Proof. Fix a representative . By the necklace sensitivity formula from § 2,
Only neighboring necklaces can have , so the sum is over the bichromatic neighbors of . Because , both and every necklace obtained from by one coordinate flip are nonconstant. The prime-length multiplicity result proved immediately above therefore gives
for every neighbor of .
Now separate the bichromatic neighbors according to their multiplicity. Each bichromatic neighbor contributes at least one to the sensitivity sum, and the number of such neighbors is exactly . A bichromatic neighbor with multiplicity two contributes one further unit. By definition, the number of these doubled bichromatic neighbors is . Consequently,
This proves the formula.
Suppose is a cyclic arithmetic interval
The two possible doubled neighboring necklaces are
For necklaces , put if and otherwise.
Corollary 6.2 (Explicit prime formula). Let . If is not a cyclic arithmetic interval, then
If is a cyclic arithmetic interval as above, then
In particular,
Proof. By Theorem 6.1,
so it remains only to identify the neighboring necklaces that can have multiplicity two.
Suppose first that is not a cyclic arithmetic interval. If some neighbor had , then the prime multiplicity formula would give . Thus would admit a nontrivial rotation at Hamming distance two. By the distance-two structure from § 3, its support would then have to be a cyclic arithmetic interval, a contradiction. Hence every neighboring necklace has multiplicity one, so and
Now suppose
For the rotation with step , the two endpoints of the resulting distance-two disagreement give the flip-equivalence
Similarly, using the reverse step gives
Thus and are precisely the two possible doubled neighboring necklaces. The prime arithmetic-interval uniqueness result shows that any other nontrivial distance-two rotation has step , so no third doubled neighbor can occur. Consequently the doubled bichromatic neighbors are exactly those among and for which the value of differs from . Therefore
and substitution into Theorem 6.1 yields
Since each is either 0 or 1, the final bound
follows immediately.
For , let denote a necklace of Hamming weight when the necklace is unique; in particular, , is the unique weight-one necklace, is the unique weight- necklace, and .
Proposition 6.3 (The four boundary layers). For an odd prime ,
Moreover,
and
In each of the two sums there are exactly distinct neighboring necklaces.
Proof. The constant-word formulas are immediate. For , choose the representative whose unique 1 is at coordinate 0. Flipping coordinate 0 gives , with multiplicity 1. Flipping a zero coordinate gives the weight-two support . Two such supports and are rotation-equivalent if and only if or . Since is odd, the nonzero residues therefore split into pairs , and every resulting weight-two neighboring necklace has multiplicity 2. This proves the formula for . The formula for follows either by the same argument or by complementing all bits.
Example (). Let , , and let , denote the two weight-two necklaces. The five flips from all lead to , so . From , one flip leads to , while the other four flips split into two flips to each of ; thus . For example, define the rotation symmetric Boolean function that is 1 exactly on . Its local sensitivity at is , while its local sensitivity at either is 2. This illustrates why ordinary unweighted necklace adjacency does not determine sensitivity.
Theorem 6.4 (Complete odd-prime sensitivity formula). Let be an odd prime and let be rotation symmetric on variables. The local sensitivity at every necklace is given as follows:
(i) at weights 0 and , by the first two formulas in the boundary-layer proposition;
(ii) at weights 1 and , by the two displayed boundary-layer formulas;
(iii) at weights , by Theorem 6.1 and Corollary 6.2.
Consequently, is the maximum of these explicitly determined local quantities over the necklaces of length .
Two consequences of the necklace sensitivity formula
The complete prime-length formula gives a simple characterization of when maximum sensitivity occurs.
Corollary 6.5 (A criterion for submaximal sensitivity). Let and let be rotation symmetric on variables. Then
if and only if every binary necklace of length has at least one neighboring necklace with
In particular, implies that the constant necklace and the unique weight-one necklace have the same value, and likewise at the upper end of the Hamming layers.
Proof. For every necklace ,
because the multiplicities partition the one-coordinate flips of . Hence the weighted bichromatic degree equals exactly when every neighboring necklace is bichromatic. Taking the maximum over proves the equivalence. The final assertion follows by applying the criterion to the constant necklaces.
The correction from ordinary necklace degree to weighted degree is confined to a very small exceptional family. Let denote the number of length- necklaces admitting a nontrivial rotation at Hamming distance two. The classification of the exceptional supports is due to Makhynko [8]. For completeness, the enumeration follows directly from the arithmetic-progression description: at each weight , the supporting necklaces are represented by the nonzero steps , with and describing the same necklace and with no other identifications. There are therefore necklaces at each of the interior weights. The weight-one and weight- necklaces contribute two further cases. Hence
This calculation uses the structural classification of the cited work; it is not a new classification. Notice that the two constant necklaces are not included in : every nontrivial rotation fixes a constant word, so its nontrivial rotational Hamming distance is 0, not 2. Thus subtracting the two constant necklaces in addition to does not double count.
The total number of binary necklaces of prime length is
Corollary 6.6 (Generic simplicity at prime length). Let be an odd prime. Apart from the two constant necklaces and the necklaces admitting a nontrivial rotation at Hamming distance two, every necklace satisfies
for every rotation symmetric Boolean function . Consequently at least
necklaces have this property. In particular, the proportion of necklaces for which a multiplicity correction can be required is
and therefore tends to zero as through the odd primes.
Proof. For a nonconstant necklace with no nontrivial rotation at Hamming distance two, the flip-equivalence criterion and triviality of the stabilizer imply that the one-bit flips of a representative lie in distinct necklaces. Thus every outgoing multiplicity is one and the weighted bichromatic degree equals the ordinary bichromatic necklace degree:
Removing the two constant necklaces and the distance-two necklaces gives the displayed lower bound. Finally,
Indeed, grows quadratically (not linearly), so dividing its count by gives an exceptional proportion of . ∎
Remark. The preceding corollary separates the exact and generic aspects of the theory. Multiplicity corrections are essential for a complete formula, but for prime length they are supported on an asymptotically negligible family of necklaces.
Sensitivity of monomial rotation symmetric functions
For a Boolean function and a coordinate , write
where denotes the vector obtained by flipping coordinate . This is the Boolean partial derivative (a finite difference over ), not the ordinary calculus derivative. Thus exactly when is sensitive to coordinate at . We use below to distinguish Boolean derivatives from the disagreement sets defined earlier.
Monomial rotation symmetric Boolean functions form one of the most studied subclasses of rotation symmetric functions. Let
and let
Write
for the set of distinct translates of , and put
The monomial rotation symmetric Boolean function generated by is
Thus short monomial orbits are automatically counted without duplication.
Proposition 7.1 (Incidence formula). Every coordinate of belongs to exactly
distinct monomials occurring in .
Proof. There are distinct monomials and each contains coordinates, so the total number of coordinate–monomial incidences is . Cyclic rotation acts transitively on the coordinate set and preserves the family ; hence every coordinate belongs to the same number of orbit monomials. Therefore
which proves the formula.
Let
be the rotational stabilizer of the support , and put . By orbit–stabilizer,
Moreover, acts freely on , so each -orbit has size . Since is -invariant, it is a union of such orbits; hence
Consequently the incidence number can also be written as
Theorem 7.2 (Parity theorem for MRS functions). Let be generated by a degree- monomial whose rotational stabilizer has order . Then
In particular, if is odd, then
Proof. At the all-one input every monomial in has value 1. Flipping a fixed coordinate changes precisely the orbit monomials containing . By the incidence formula, their number is
Therefore
for every coordinate . If is odd, all coordinates are sensitive at ; if is even, none is sensitive there.
Corollary 7.3 (Odd-degree MRS functions). Every monomial rotation symmetric Boolean function of odd degree satisfies
Proof. Since , oddness of implies that both and are odd. The parity theorem applies.
Thus all odd degrees have maximum possible sensitivity, including short-orbit monomial functions. The first nontrivial degree is therefore degree two, which we now determine completely. Quadratic rotation symmetric Boolean functions have also been studied from the viewpoints of Hamming weight, balancedness, affine equivalence, and weight recurrences; see, for example, [3, 4, 5].
For
let be the rotation symmetric Boolean function generated by the monomial , with each distinct rotated monomial included exactly once. Thus, except in the short-orbit case even and ,
Theorem 7.4 (Sensitivity of quadratic MRS functions). Let .
(i) If is even and , then
(ii) Otherwise, put
Then
Proof. First suppose that is even and . The orbit of the generating monomial has size , and
Each coordinate occurs in exactly one monomial. Hence
where indices are taken modulo . At every coordinate is sensitive, so .
Now assume that we are not in the short-orbit case. Each coordinate occurs in exactly two distinct rotated monomials, namely
Therefore the Boolean derivative in coordinate is
Consequently
Consider the permutation
It has
cycles, each of length
On each cycle, the contribution to the last display is exactly the number of transitions in a cyclic binary sequence of length . If is even, an alternating assignment attains transitions. If is odd, a cyclic binary sequence has an even number of transitions and therefore at most ; this value is attained by an alternating assignment with one repeated bit at the closing edge. The cycles are disjoint and may be assigned independently. Thus
as claimed.
Corollary 7.5 (Odd prime length). Let be an odd prime. For every
the quadratic monomial rotation symmetric Boolean function satisfies
Thus all quadratic MRS functions of odd prime length have the same sensitivity, independent of the spacing of the generating monomial.
Proof. Since is an odd prime and , we have and . Therefore
In the notation of the preceding theorem, . Here , so . Also is odd. The theorem therefore gives .
Consecutive monomials of arbitrary even degree
We now determine the maximum sensitivity of consecutive monomial orbit sums of every fixed even degree, apart from finitely many short lengths. The argument is combinatorial: it charges insensitive coordinates to maximal clusters of short runs. In particular, it does not require a classification by the number of insensitive coordinates. For even and , define
All indices are modulo ; the lower bound on ensures that the monomials occurring in the derivative calculation are distinct. For a residue class modulo , put .
Theorem 7.6 (Universal cluster inequality). Let be even, , and . For every binary word of length ,
Proof. Put and . We will show that for a suitable integer whenever . This is enough: , so if the asserted inequality is automatic. Hence assume throughout that .
Step 1: Divide the word into long runs and short runs. The constant words have : all derivatives vanish at , and at each derivative is the sum of the even number of monomials. We may therefore write the nonconstant word cyclically as
A one-run is long if and short otherwise. Every one in a short run is insensitive: flipping it cannot destroy an all-one monomial of length . In particular, a short run of length would give , contrary to our assumption. Thus each short run has length at most .
Step 2: Establish the three local charges. We count insensitive coordinates, whose total number is . (i) A long one-run of length contributes at least insensitive ones. Indeed, put and number its positions . The number of all-one length- monomials containing position is
Indeed, a length- block starting at position lies in this run and contains precisely when
Thus the number of possible starting positions is
which simplifies to the displayed formula. The position is sensitive exactly when is odd, since the Boolean derivative adds these monomials modulo 2. To count the odd entries, observe that the list rises by one to , has a constant plateau of height , and then decreases symmetrically. Each value occurs twice, while occurs times. If , then is even, so only the two rising and falling portions contribute: the number of odd entries is . If is even, the number is . If is odd, there are odd entries off the plateau and on it, for a total of . In every case, at most positions in the run are sensitive, so at least are insensitive.
(ii) A zero-gap of length between two long runs contributes exactly insensitive zeros. Indeed, if , flipping the unique zero joins two runs of at least ones and creates exactly new all-one length- monomials, one for each possible position of the flipped coordinate within such a monomial. Since is even, their contributions cancel modulo 2, so this zero is insensitive. If , flipping the first zero creates exactly one all-one length- monomial, using the preceding ones; similarly, flipping the last zero creates exactly one such monomial using the following ones. An interior zero creates none, since another zero remains on each side. Hence precisely the two boundary zeros are sensitive and the remaining are insensitive.
(iii) A zero-gap of length next to a short run contributes at least insensitive zeros. For the assertion is simply the trivial lower bound zero. For , an interior zero cannot be sensitive, because flipping it leaves a zero on either side. Of the two boundary zeros, the one next to the short one-run cannot be sensitive: creating a length- all-one block there would require at least ones immediately beyond the flipped zero, whereas the short run has fewer than ones. Thus at most the boundary zero next to the other run can be sensitive, leaving at least insensitive zeros.
There is a useful strengthening of (iii): a gap between two short runs consists entirely of insensitive zeros. This is clear for . For , a sensitive separating zero would require the two adjacent short-run lengths to satisfy . But every one in either short run is insensitive, so these two runs alone contribute at least insensitive coordinates, contradicting . Consequently, when , every zero in a gap between two short one-runs is insensitive.
Step 3: Compress each cluster into one unit. At least one one-run is long; otherwise Step 1 makes all ones insensitive and Step 2 makes all gaps insensitive, giving . Let count the long one-runs. Between consecutive long runs there is exactly one of two types of units:
a single zero-gap of length with no short run in it;
a cluster consisting of short one-runs of lengths , together with all intervening and boundary zero-gaps of lengths .
There are exactly such units around the cycle, even when : for , the single unit runs cyclically from the unique long run back to itself. Every zero and every short one-run belongs to exactly one unit, and no unit contains a coordinate of a long one-run. A gap unit has length and, by (ii), has insensitive coordinates. A cluster unit has length
All ones and all internal-gap zeros are insensitive; by (iii), at most one zero in each of the two boundary gaps can be sensitive. Thus the cluster has at least insensitive coordinates. Here because the cluster contains at least one one and its two nonempty boundary gaps, so . This explains the reference value 2: every unit is compared with the two-zero gap in the regular pattern . In other words, every unit has insensitive cost at least its length minus 2; for a plain gap the stronger bound holds. Because the units partition all positions outside the long runs, none of these counts overlaps with another.
Step 4: Compare actual lengths with the regular block . Define
Here . Step 2 and Step 3 show, by counting disjoint insensitive coordinates, that
To understand the last expression, start with regular blocks of total length . The long runs have extra ones in total. Each of the units replaces a two-zero gap and changes the length by (gap unit) or (cluster unit). Therefore, simply by adding the lengths of these disjoint pieces,
Substituting this identity into (*) yields
which proves the theorem.
Theorem 7.7. (Exact sensitivity under explicit construction conditions). Let be even, , , and write with . Assume
Then
Proof. The upper bound follows from Theorem 7.6. For the matching lower bound, we use the run and gap sensitivity counts established in the proof of that theorem: each one in a length- one-run is sensitive; a zero-gap of length contributes one insensitive coordinate, while a zero-gap of length contributes exactly insensitive coordinates when it lies between two length- one-runs. Consider cyclic words whose one-runs all have length exactly . If , take one-runs separated by zero-gaps of lengths . Every one is sensitive and exactly the internal zeros of the long gap are insensitive, so the deficit is . If , write , so . Take one-runs of length , with exactly of their separating gaps of length one and all others of length two. Since by the stated hypothesis, the construction exists. Exactly the zeros in the one-zero gaps are insensitive. Both constructions attain the upper bound.
Remark. The stated construction conditions sharpen the convenient uniform sufficient bound . They are not asserted to be necessary. Small lengths can behave differently: , whereas extrapolating the eventual formula to would give . The word has sensitivity . An exhaustive upper-bound check evaluates all binary inputs using the cyclic degree-six function (each coordinate occurs in exactly six of its monomials); a short independent Python verifier accompanies the source package. No computational certificate is required for the universal cluster inequality.
Remark (quadratic consistency). The numerical formula , formally specialized to , is consistent with the consecutive quadratic case of the quadratic formula earlier in this section (outside short monomial orbits). The cluster proof above is stated for because it invokes .
The consecutive quartic family
The universal theorem gives a conceptual proof of the quartic result, without a separate finite-state argument. The general quartic problem for supports is not addressed here. For , let
Corollary 7.8 (Consecutive quartic sensitivity). For , write with . Then
For the short-orbit case , we use the convention of summing each distinct rotated monomial once: this gives the product , with sensitivity . By contrast, the literal four-term XOR of cyclic shifts is the zero function when , because the same monomial occurs four times.
Proof. Theorem 7.6 with gives the upper bound for . For , the explicit constructions in the proof of Theorem 7.7 satisfy its stated conditions and attain the upper bound. The remaining lengths are handled by explicit witnesses and the universal upper bound (when ). The following cyclic words have sensitivity equal to the claimed value:
| 5 | 01111 | 4 |
| 6 | 001111 | 6 |
| 7 | 0001111 | 6 |
| 8 | 00001111 | 6 |
| 9 | 000001111 | 6 |
| 10 | 0111101111 | 8 |
| 11 | 00111101111 | 10 |
Table 1.
For the matching upper bound follows by checking the inputs; equivalently, the coordinate derivative formula gives the same finite check. For , the required upper bound is , since sensitivity never exceeds the number of variables and the formula predicts . For the universal upper bound applies. Thus the claimed equality holds for every .
Exact sensitivity of cyclic run-threshold functions
We next apply the sensitivity viewpoint to a standard cyclically invariant construction. Related sensitivity questions for transitive Boolean functions are studied by Chaubal and Gál [2]. Here we determine the sensitivity of the following cyclic run-threshold function exactly for arbitrary parameters.
For , define
This function is rotation symmetric. Write for the maximum local sensitivity over inputs on which .
Lemma 8.1 (Cyclic block optimization). Let . Among all cyclic sequences of nonnegative integers
satisfying
the minimum of is
Proof. Summing the inequalities gives
hence the displayed lower bound. It remains to attain it. If is even, alternate and . If is odd and is even, take every . Finally, if both and are odd, write and take entries equal to and entries equal to , arranged cyclically so that no two entries equal to are adjacent. Every adjacent sum is then at least , and the total is .
Theorem 8.2 (Exact run-threshold sensitivity). For ,
Consequently,
Proof. First consider a 1-input. A sensitive coordinate must be a 1 whose deletion destroys every cyclic run of length at least . Hence all sensitive coordinates lie in a single maximal run of ones. If that run has length , deleting a position is sensitive only when the remaining portions on both sides have lengths at most . The number of such positions is at most . Equality is attained by a word having exactly one run of ones and all other coordinates zero. Thus .
Now let be a 0-input and suppose that it has sensitive zero coordinates. For each such zero, let and be the lengths of the adjacent runs of ones on its two sides. Flipping that zero creates a run of length , so sensitivity implies
Summing over the sensitive zeros, and observing that every 1-coordinate can be counted at most twice, gives
Since contains at least these zero coordinates,
Therefore
and hence
For the reverse inequality, put
If , then necessarily ; the word is a 0-input whose unique zero is sensitive, so the desired lower bound holds. Assume now that . By the cyclic block optimization lemma, choose nonnegative integers with
and
The initial cyclic word
has length
The ceiling brackets in both displayed expressions are essential when is odd. Since , we have ; hence because is an integer. We enlarge the one-blocks, rather than the zero gaps, until their total length is exactly . This is possible while keeping every . Indeed, the preceding inequality gives
For the upper capacity, write
Since ,
Hence
Starting from the minimizing sequence, increase entries one unit at a time, never beyond , until their sum is . The inequalities are preserved. The resulting length- cyclic word
has no run of ones, because every , and hence is a 0-input. Flipping any displayed zero joins its two adjacent one-blocks into a run of length
so all displayed zeros are sensitive. Therefore
The upper and lower bounds agree.
Corollary 8.3. For ,
Thus the cyclic run-threshold construction gives an explicit 11-variable rotation symmetric Boolean function of sensitivity 4.
Remark. The construction is an elementary cyclically invariant function, and the contribution here is the exact two-parameter formula above. Related asymptotic sensitivity questions for transitive functions appear in Chaubal and Gál [2]. In particular, choosing near the balance point yields sensitivity of order within this run-threshold family. This is not a lowest-known-sensitivity construction: Chakraborty [1] constructed cyclically invariant Boolean functions with sensitivity .
Computational checks and reproducibility
The proofs of the principal results, including Theorem 7.6, do not rely on numerical certificates. The following finite checks are supplemental and can be reproduced independently.
For necklace multiplicities, enumerate each binary word for and select one canonical representative (e.g., the lexicographically least cyclic rotation) per necklace . For each representative and each flip position , compute . Count the coordinates for which and compare with , where stabilizers and are computed directly from all rotations. This entails necklace/position tests. No numerical table is required by the proof.
The sensitivity of a Boolean function on variables is reproduced by examining every binary word and counting the coordinates for which . This gives a complete check of the exceptional quartic case by evaluating its words. The same method may independently test the exceptional value and the quadratic and cyclic run-threshold formulas at any desired finite parameter ranges. The accompanying Python file implements the , exhaustive check and reports a maximizing word. For a run-threshold function, evaluate whether a cyclic word has any run of consecutive ones. These optional tests are not part of the logical proof of the general theorems; the original exploratory scripts are not submitted as proof certificates; the supplied exceptional-case verifier is likewise supplementary.
Further questions
The necklace quotient graph and its flip-adjacency structure were studied previously [6], and the distance-two rotational structure used above overlaps the recent classification of Makhynko [8]. Our contribution is the explicit stabilizer/near-period expression for directed flip multiplicities and its sensitivity applications, not the existence of the quotient graph. Chakraborty’s work [1] addresses asymptotic sensitivity constructions and lower bounds for cyclically invariant functions. Chaubal and Gál [2] studied sensitivity bounds for transitive functions; our run-threshold result gives an exact formula for this particular cyclic Boolean family. To the best of our knowledge, the stabilizer/near-period multiplicity identity
and the resulting complete odd-prime local sensitivity formulas have not previously been stated in this form.
The formulas suggest several further directions. In particular, the general quartic MRS problem remains open: determine the sensitivity of functions generated by
for arbitrary , including possible dependence on the arithmetic structure of the difference set of and on short rotational orbits. The general even-degree theorem treats consecutive supports of all even sizes, but not arbitrary nonconsecutive quartic supports.
Other directions include analogous closed forms for composite , structural characterizations of low-sensitivity rotation symmetric functions from weighted necklace boundaries, and comparisons with known asymptotic results for transitive and cyclically invariant Boolean functions.
Declarations
Ethics and consent to participate
Not applicable.
Consent to publish
Not applicable.
Availability of data and materials
No datasets were generated or analyzed in this study. The computational checks described in the manuscript can be reproduced from the procedures provided therein.
Competing interests
The authors declare that they have no competing interests.
Funding
Not applicable.
Authors’ contributions
Yuan Li and Jing Zhang contributed equally to the research, mathematical proofs, verification, and preparation of the manuscript. Both authors reviewed and approved the manuscript.
Acknowledgements
Not applicable.
Authors’ information (optional)
Not applicable.
Declaration of Generative AI Use
During the preparation of this manuscript, the authors used ChatGPT (OpenAI) to assist with language editing, literature exploration, computational verification, and the organization and presentation of mathematical arguments. The authors independently checked the mathematical statements, proofs, computational claims, references, and conclusions and take full responsibility for the content of the manuscript.
References
- [1]S. Chakraborty, On the sensitivity of cyclically-invariant Boolean functions, Discrete Mathematics & Theoretical Computer Science 13(4) (2011), 51–60. https://doi.org/10.46298/dmtcs.552.
- [2]A. Chaubal and A. Gál, Tight bounds on sensitivity and block sensitivity of some classes of transitive functions, Theoretical Computer Science 946 (2023), 113687. https://doi.org/10.1016/j.tcs.2022.12.037.
- [3]T. W. Cusick, Weight recursions for any rotation symmetric Boolean functions, IEEE Transactions on Information Theory 64 (2018), 2962–2968.arxiv.org/abs/1701.06648
- [4]T. W. Cusick and E. Cheon, Affine equivalence for cubic rotation symmetric Boolean functions with n = pq variables, Discrete Mathematics 327 (2014), 51–61. https://doi.org/10.1016/j.disc.2014.03.017.
- [5]T. W. Cusick and P. Stănică, Fast evaluation, weights and nonlinearity of rotation-symmetric functions, Discrete Mathematics 258 (2002), 289–301. https://doi.org/10.1016/S0012-365X(02)00354-0.
- [6]P. Gregor, S. Jäger, T. Mütze, J. Sawada, and K. Wille, Gray codes and symmetric chains, Journal of Combinatorial Theory, Series B 153 (2022), 31–60. https://doi.org/10.1016/j.jctb.2021.10.008.
- [7]Y. Li and J. Zhang, Block sensitivity and certificate complexity of rotation symmetric Boolean functions, arXiv:2610.17100 (2026). https://arxiv.org/abs/2610.17100.
- [8]M. Makhynko, Binary necklaces with minimum nontrivial rotational Hamming distance 2, arXiv:2606.08991 (2026). https://arxiv.org/abs/2606.08991.
- [9]P. Stănică and S. Maitra, Rotation symmetric Boolean functions—count and cryptographic properties, Discrete Applied Mathematics 156 (2008), 1567–1580. https://doi.org/10.1016/j.dam.2007.04.029.