arXiv:2610.17006math.COOct 2026

Manuscript Offprint

arXiv:2610.17006

Sensitivity of Rotation Symmetric Boolean Functions via Binary Necklaces

Yuan Li, Jing Zhang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Rotation symmetric Boolean functions are Boolean functions invariant under cyclic permutation of their variables and can be represented by binary necklaces. We express local sensitivity as a weighted bichromatic degree in the necklace quotient and derive an exact formula for the multiplicities between neighboring necklaces. For an odd prime number of variables, we obtain explicit sensitivity formulas and show that multiplicity corrections occur only on an asymptotically negligible family of necklaces. For monomial rotation symmetric Boolean functions, we prove that every odd-degree function has maximum sensitivity, determine the sensitivity of every quadratic function, and determine the sensitivity of the consecutive quartic family. We also determine exactly the sensitivity of cyclic run-threshold functions for arbitrary length and threshold.

Keywords. rotation symmetric Boolean function; sensitivity; binary necklace; cyclic symmetry; Boolean function complexity; Hamming distance.

1 Introduction

For a Boolean function f:{0,1}n→{0,1}f: \{0,1\}^n \to \{0,1\} and an input xx, the sensitivity s(f,x)s(f,x) is the number of coordinates whose individual flip changes the value of ff, and

s(f)=max⁡x∈{0,1}ns(f,x).s(f)=\max_{x\in\{0,1\}^{n}}s(f,x).

We also write

sb(f)=max⁡{s(f,x):f(x)=b},b∈{0,1}.s_{b}(f)=\max\{s(f,x):f(x)=b\},\qquad b\in\{0,1\}.

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

Rk(x0,x1,…,xn−1)=(x−k,x1−k,…,xn−1−k),R_{k}(x_{0},x_{1},\ldots,x_{n-1})=(x_{-k},x_{1-k},\ldots,x_{n-1-k}),

with indices in Zn\mathbb{Z}_n, this means

f(Rkx)=f(x)for every x∈{0,1}n and k∈Zn.f(R_{k}x)=f(x)\qquad\mathrm{f o r~e v e r y~}x\in\{0,1\}^{n}\mathrm{~a n d~}k\in\mathbb{Z}_{n}.

∗^{*}Corresponding author.

2020 Mathematics Subject Classification. Primary 94D10; Secondary 05E18.

The orbit

[x]={Rkx:k∈Zn}[x]=\{R_{k}x:k\in\mathbb{Z}_{n}\}

is a binary necklace. Thus a rotation symmetric Boolean function is equivalently a two-coloring of the set of binary necklaces of length n. 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.

Rotation symmetric Boolean functions have also been studied extensively through their algebraic and cryptographic parameters. Cusick and Stănică investigated fast evaluation, Hamming weights, and nonlinearity of rotation symmetric functions [5]. Cusick and Cheon studied affine equivalence for cubic rotation symmetric Boolean functions [4], while Cusick later established linear weight recurrences for arbitrary rotation symmetric Boolean functions [3]. More recent work continues to investigate structural and cryptographic properties such as correlation immunity [10]. This sustained line of research illustrates a useful feature of rotation symmetry: it imposes enough structure to permit exact analysis while retaining substantially richer behavior than full permutation symmetry.

The present paper also continues the authors' recent work on exact complexity measures of structured Boolean functions. For elementary symmetric Boolean functions of arbitrary degree, Zhang and Li recently determined the certificate complexity completely [11], while Li and Zhang subsequently determined sensitivity, average sensitivity, and block sensitivity and classified the relations among sensitivity, block sensitivity, and certificate complexity [7]. Those functions are invariant under the full symmetric group on the variables. Here we move to the broader class of rotation symmetric Boolean functions, where only cyclic invariance is assumed, and seek similarly explicit sensitivity formulas by exploiting the finer orbit structure provided by binary necklaces.

From the complexity viewpoint, rotation symmetric functions are also natural examples of transitive Boolean functions, since the cyclic group acts transitively on the coordinate set. Although many algebraic and cryptographic parameters of rotation symmetric Boolean functions have been studied, exact combinatorial complexity measures have received comparatively less attention. Chakraborty's work [1] treats sensitivity of cyclically invariant Boolean functions primarily from an asymptotic viewpoint. Our approach is complementary: we exploit the binary-necklace quotient to obtain exact local formulas.

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 X=[x]X = [x] and YY are necklaces, the directed multiplicity

m(X,Y)=∣{i∈Zn:[x(i)]=Y}∣m(X,Y)=\left|\left\{i\in\mathbb{Z}_{n}:[x^{(i)}]=Y\right\}\right|

counts the one-coordinate flips of a representative of X that land in Y. Such flip multiplicities in the necklace quotient are already present in the combinatorial literature; see Gregor et al. [6]. If fˉ\bar{f} denotes the induced Boolean function on necklaces, then the local sensitivity at X is the weighted bichromatic degree

s(f,X)=∑fˉ(Y)≠fˉ(X)m(X,Y).s(f,X)=\sum_{\bar{f}(Y)\neq\bar{f}(X)}m(X,Y).

The main issue is therefore to determine the multiplicities m(X,Y)m(X,Y) structurally.

For x∈{0,1}nx \in \{0,1\}^n, let

Hx=Stab(x)={Rk:Rkx=x},hx=∣Hx∣,H_{x}=\mathrm{Stab}(x)=\{R_{k}:R_{k}x=x\},\qquad h_{x}=|H_{x}|,

where Stab(x) denotes the subgroup of cyclic rotations that fix x. Let

Dk(x)={j:xj≠(Rkx)j}.D_{k}(x)=\{j:x_{j}\neq(R_{k}x)_{j}\}.

For a coordinate i, define

qi(x)=#{k:∣Dk(x)∣=2,  i+k∈Dk(x)}.q_{i}(x)=\#\{k:|D_{k}(x)|=2,\;i+k\in D_{k}(x)\}.

Our first main formula is

m([x],[x(i)])=hx+qi(x)hx(i).\boxed{m([x],[x^{(i)}])=\frac{h_{x}+q_{i}(x)}{h_{x^{(i)}}}.}

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 n=pn = p is an odd prime, the formula simplifies substantially. Every nonconstant length-pp 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-(p−1)(p-1) layers. Moreover, the multiplicity correction is required only for an asymptotically negligible set of necklaces: using Makhynko's enumeration, the exceptional proportion is

O(p32p).O\left(\frac{p^{3}}{2^{p}}\right).

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 A, degree d, and rotational stabilizer of order h, then every coordinate occurs in exactly d/h distinct orbit monomials. This yields a parity theorem at the all-one input and, in particular, the general conclusion

every odd−degree MRS function has s(f)=n.\boxed{\mathrm{e v e r y~o d d-d e g r e e~M R S~f u n c t i o n~h a s~}s(f)=n.}

Thus the genuinely nontrivial degree-by-degree problem begins with even degree. We solve degree two completely. If Qn,kQ_{n,k} is generated by x0xkx_0x_k and we are outside the short-orbit case nn even, k=n/2k = n/2, then with

g=gcd⁡(n,2k),L=n/g,g=\gcd(n,2k),\qquad L=n/g,

we prove

s(Qn,k)={n,Leven,n−g,Lodd.s(Q_{n,k})=\begin{cases}n,&L even,\\n-g,&L odd.\end{cases}

The proof reduces sensitivity to the maximum number of transitions on the cycles of the permutation j↦j+2kj \mapsto j + 2k. In particular, for every odd prime pp, all quadratic MRS functions have sensitivity p−1p - 1.

For degree four, we do not attempt to classify all monomial rotation symmetric functions. Instead, we completely solve the natural consecutive quartic family generated by x0x1x2x3x_{0}x_{1}x_{2}x_{3}:

Rn=⨁ixixi+1xi+2xi+3.R_{n}=\bigoplus_{i}x_{i}x_{i+1}x_{i+2}x_{i+3}.

For n≥5n \geq 5, writing n=6q+rn = 6q + r, we prove

s(Rn)=n−min⁡{r,6−r}.s(R_{n})=n-\min\{r,6-r\}.

The proof uses a finite-state description of local sensitivity and a period-six defect certificate. In particular, although the all-one input has zero sensitivity in this even-degree family, maximum sensitivity n is attained whenever 6∣n6 \mid n.

Our second purpose is to obtain an exact sensitivity formula for a standard cyclically invariant example. For 2≤r≤n2 \leq r \leq n, define the cyclic run-threshold function

Fn,r(x)=1  ⟺  x contains a cyclic run of at least r consecutive ones.F_{n,r}(x) = 1 \iff x \text{ contains a cyclic run of at least } r \text{ consecutive ones.}

Chaubal and Gál [2] used this type of consecutive-ones construction to obtain asymptotically tight sensitivity behavior for a class of transitive functions. We determine the sensitivity of Fn,rF_{n,r} exactly for arbitrary n and r:

∣s1(Fn,r)=r,s0(Fn,r)=⌊2nr+1⌋,\left|s_{1}(F_{n,r})=r,\qquad s_{0}(F_{n,r})=\left\lfloor\frac{2n}{r+1}\right\rfloor,\right.

and consequently

∣s(Fn,r)=max⁡{r,⌊2nr+1⌋}.\left|s(F_{n,r})=\max\left\{r,\left\lfloor\frac{2n}{r+1}\right\rfloor\right\}\right..

The proof of the 0-sensitivity formula reduces to a sharp cyclic block-length optimization lemma.

Main contributions. The main contributions of this paper can be summarized as follows. First, we express sensitivity in the established weighted-necklace framework and derive a stabilizer/near-period formula for neighboring-necklace multiplicities, with explicit consequences for odd prime length. Second, for monomial rotation symmetric Boolean functions, we prove that every odd-degree MRS function has maximum sensitivity and completely determine the sensitivity of all quadratic MRS functions. Third, for degree four we completely solve the natural consecutive family generated by x0x1x2x3x_{0}x_{1}x_{2}x_{3}, while making no claim of a classification for arbitrary quartic generators. Finally, we determine the sensitivity exactly for cyclic run-threshold functions for arbitrary length and threshold.

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, quadratic, and consecutive quartic cases. Section 8 establishes the exact cyclic run-threshold formula. Section 9 records computational verification, Section 10 presents further questions, and Appendix A provides the finite-state certificate used for the consecutive quartic case.

References (10)