Does there exist an 8-variable balanced Boolean function with nonlinearity 118? This is a famous and long-standing open problem in Boolean functions. In this paper, we give a negative answer to this open problem, and prove that the maximum nonlinearity of balanced Boolean functions in 8 variables is 116, establishing the 8-variable instance of Dobbertin's conjectured recursion for the minimum Walsh peak of balanced functions. Equivalently, the covering radius of the Reed–Muller code RM(1,8) in 0-resilient Boolean functions is 116. We deduce the result by obtaining a quadratic form of polar rank 6, and reducing the problem to the existence of a 6-variable Boolean function with nonlinearity greater than 26 whose Hamming distance to a bent function is between 4 and 6.
Introduction
Boolean functions are fundamental objects in cryptography and coding theory [2, 14]. An n-variable Boolean function is a map from the n-dimensional vector space F2n to the binary field F2. To be used in the design of symmetric ciphers, Boolean functions should be balanced and with high nonlinearity [6]. A 2n-variable bent function has the maximum nonlinearity 22n−1−2n−1. However, it is not balanced. The upper bound for the nonlinearity of 2n-variable balanced Boolean functions is 22n−1−2n−1−2, which is tight for n≤3. It is an open problem whether this bound is always tight. In particular, does there exist an 8-variable balanced Boolean function with nonlinearity 118? This is a famous and long-standing open problem in Boolean functions (see e.g., [2, 3, 7, 16, 18]).
Let NLBn be the maximum nonlinearity of n-variable balanced Boolean functions. It has been conjectured by Dobbertin [8] that
NLB2n=22n−1−2n+NLBn,
which is still unsettled for n≥4[17]. Particularly, if the conjecture is true, then the minimum Walsh peak of 8-variable balanced Boolean functions should be 24, and NLB8=116.
The r-th order Reed–Muller code of length 2m, denoted by RM(r,m), is the binary linear code formed by truth tables of all m-variable Boolean functions of algebraic degree ≤r. The covering radius of RM(1,m) is the maximum nonlinearity of m-variable Boolean functions, which is known for m even or m<9. There are 9-variable unbalanced Boolean functions with nonlinearity 242 in the generalized rotation symmetric class [12, 13], thus the covering radius of RM(1,9) is at least 242. For odd m>9, the covering radius of RM(1,m) is completely open.
To resist fast correlation attacks and linear attacks, Boolean functions used in stream ciphers should be t-resilient and with high nonlinearity. So, covering radius of Reed–Muller codes for t-resilient functions was defined [1, 10], and the covering radius of RM(1,8) in 0-resilient Boolean functions is the same as NLB8.
In this paper, we give a negative answer to that famous open problem, and prove that NLB8=116, establishing the 8-variable instance of Dobbertin’s conjectured recursion for the minimum Walsh peak of balanced functions. Equivalently, the covering radius of the Reed–Muller code RM(1,8) in 0-resilient Boolean functions is 116. It should be noted that a very recent preprint work [23] claims a computer-assisted proof of the same result, using 7-variable restrictions and Farkas certificates. Our proof is obtained independently and it is computer-free.
The rest of the paper is organized as follows. In § 2, the necessary background is established. In § 3, we deduce the result by obtaining a quadratic form of polar rank 6, and reducing the problem to the existence of a 6-variable Boolean function with nonlinearity greater than 26 whose Hamming distance to a bent function is between 4 and 6. We end in § 4 with conclusion and open problems.
Preliminaries
Let F2 denote the binary finite field, and let F2n be the n-dimensional vector space over F2. A Boolean function of n variables is a map from F2n to F2. We denote by Bn the set of all n-variable Boolean functions.
Every Boolean function has a unique algebraic normal form (ANF), which is its multivariate polynomial representation over F2:
f(x1,…,xn)=S⊆{1,2,…,n}⨁aSi∈S∏xi
The algebraic degree of f, denoted by deg(f), equals max{∣S∣:aS=0}. The function f is affine, if deg(f)≤1. We use An to denote the set of all n-variable affine functions. That is, An={g∈Bn:deg(g)≤1}.
Let f∈Bn and
supp(f)={x∈F2n:f(x)=1}.
The cardinality ∣supp(f)∣ is called the Hamming weight of f, and will be denoted by wt(f). The function f is balanced if wt(f)=2n−1.
Let f,g∈Bn. The Hamming distance between f and g is d(f,g)=wt(f⊕g). The nonlinearity of f, denoted by nl(f), is the minimum distance between f and the set of affine functions. That is, nl(f)=ming∈And(f,g).
The Reed–Muller code RM(r,m) is the set of truth-tables of all m-variable Boolean functions whose algebraic degree is at most r. The covering radius of RM(r,n) is defined as
For more information on the covering radius, we refer to [9, 21]. It is known that RM(r,m) has minimum Hamming distance 2m−r. That is, the weight of an m-variable Boolean function of degree r is at least 2m−r[11, 15].
The Walsh transform of a given function f∈Bn is the integer-valued function over F2n defined by
Wf(ω)=x∈F2n∑(−1)f(x)+ω⋅x,
where ω∈F2n, and ω⋅x=ω1x1+⋯+ωnxn is the usual inner product.
It is easy to see that a Boolean function f is balanced if and only if Wf(0)=0. If Wf(ω)=0 for any ω∈F2n satisfying 0≤wt(ω)≤t, then f is called t-resilient [20, 22].
The nonlinearity of f can be determined by
nl(f)=2n−1−21ω∈F2nmax∣Wf(ω)∣.
By the Parseval formulae, maxω∣Wf(ω)∣≥2n/2. Therefore,
nl(f)≤2n−1−22n−1.
If the upper bound is achieved, then f is a bent function. Clearly, bent function only exists for n even, and its algebraic degree is at most 2n[4, 5, 19].
For a real function f on F2n, the Fourier-Hadamard transform of f is the integer-valued function over F2n defined by
Hnf(ω)=x∈F2n∑f(x)(−1)ω⋅x.
Writing (f1,f2)=∑xf1(x)f2(x), character orthogonality gives
The maximum nonlinearity of 8-variable balanced Boolean functions is 116
We use NLB8 to denote the maximum nonlinearity of an 8-variable balanced Boolean function. Assume that NLB8=118. Then there exists a balanced f∈B8 with ∣Wf(ω)∣≤20 for any ω∈F28. If ω=0, then we have
Wf(ω)=−256+4∣x∈supp(f):ω⋅x=1∣.(1)
Let b=⨁x∈supp(f)x. Then
∣x∈supp(f):ω⋅x=1∣=x∈supp(f)∑ω⋅x≡ω⋅b(mod2).
Therefore, Wf(ω)≡4ω⋅b(mod8). If b=0, then Wf(ω) is a multiple of 8 and ∣Wf(ω)∣≤16. That is, f is a bent function, which is contradictory to the fact that f is balanced. Hence b=0. Choose an invertible matrix M with Me8=b and replace f(x) by f(Mx), where e8=(0,…,0,1). Then the support sum becomes e8 and the set of the Walsh spectrum stays the same. In the following, we take this new function as f, and we have
b=x∈supp(f)⨁x=e8.
A congruence connecting the Walsh spectrum and the quadratic form
In this subsection, we will deduce a congruence connecting the Walsh spectrum and the quadratic form.
Lemma 1. Let t∈F2n. Then
i=1⨁nti≡i=1∑nti+21≤i<j≤n∑titj(mod4).
Proof. Clearly,
i=1⨁nti=21−∏i=1n(1−2ti).
Since
i=1∏n(1−2ti)=1+∅=I⊆{1,…,n}∑(−2)∣I∣i∈I∏ti,
we have
i=1⨁nti=∅=I⊆{1,…,n}∑(−2)∣I∣−1i∈I∏ti,
and the result follows.
Proposition 1. If NLB8=118, then there exists a balanced g∈B8 of nonlinearity 118 satisfying ⨁x∈supp(g)x=e8 and
Wg(a,c)≡4c+8Q(a)(mod16),(2)
for any (a,c)∈F27×F2, where Q(a)∈B7 is a quadratic function with Q(0)=0.
Proof. For the function f defined as above, let Xi=∑x∈supp(f)xi and Xij=∑x∈supp(f)xixj. By Lemma 1, for any ω,x∈F28, we have
Since the support sum is e8, there exist integers Di such that Xi=ei8+2Di, where ei8∈F2 and it equals one only when i=8. Define the quadratic function
Since 8Q0≡8(Q0mod2)(mod16), Q0 can be viewed as a Boolean function. Write
Q0(a,c)=Q(a)⊕c(a⋅s⊕t),
where s∈F27, t∈F2 and Q∈B7. Clearly, s and t stay the same for any (a,c), and Q(0)=0. Let d=(s,t) and g(x)=f(x⊕d). Then g∈B8 preserves the set of the Walsh coefficients and the support sum b (since ∑x∈supp(g)x=∑x∈supp(f)x+128d≡b(mod2)). Clearly,
Wg(a,c)=(−1)(a,c)⋅dWf(a,c)=(−1)a⋅s+ctWf(a,c).
If c=0, then
Wg(a,c)=±Wf(a,c)=8Q(a)(mod16).
If c=1 and a⋅s+t=0, then
Wg(a,c)=Wf(a,c)=4+8Q(a)(mod16).
If c=1 and a⋅s+t=1, then
Wg(a,c)=−Wf(a,c)=−4+8(Q(a)+1)=4+8Q(a)(mod16),
and the result follows.
By Proposition 1, we have the following Table 1 on the distribution of Wg(a,c), where a∈F27 and c∈F2.
Q(a)
Wg(a,0)
Wg(a,1)
0
-16, 0, 16
-12, 4, 20
1
-8, 8
-20, -4, 12
Table 1. Distribution of Wg(a,c)
In the following, we use hi, 0≤i≤5 to denote the number of Walsh coefficients of absolute values 4i. Table 1 shows that all zero coefficients occur in Wg(a,0), all coefficients of magnitude 4 occur in Wg(a,1), and exactly wt(Q) positions have magnitude 8 in Wg(a,0). In particular, h2=wt(Q) and h0≥1.
Assume that NLB8=118. Then we obtain a quadratic form Q (here quadratic forms may include linear terms). We will investigate Q further and deduce a contradiction.
The polar rank of the quadratic form Q must be 6
For a quadratic Boolean function f with f(0)=0, its polar form is Bf(x,y)=f(x+y)+f(x)+f(y). Its radical is the set of y with Bf(x,y)=0 for all x. The polar rank means the rank of Bf, and nondegenerate means that its radical is zero. It is known that the polar rank must be even [2]. In this section, we will prove that the polar rank of Q must be 6.
Lemma 2 (Proposition 55 of [2]). Let f∈Bn be quadratic with f(0)=0 and polar rank 2r. Then ∣Wf(ω)∣ is supported on an affine subspace of size 22r, and all its nonzero values have magnitude 2n−r. Therefore,
If r=0, then 256+32h0≤256, which is contradictory to h0≥1. If r=1, by Lemma 2, wt(Q)≥32. Then by (6), we have 256+24⋅32≤512, which is a contradiction. If r=2, then by Lemma 2 and (6), we have wt(Q)≥48 and 256+24⋅48≤1024, again a contradiction. Therefore, r=3, and the result follows. □
By Proposition 2, the polar rank of Q must be 6. Then by Lemma 2, wt(Q)∈{56,64,72}. Moreover, by (6),
Since ∣supp(u)∣ is an integer and h0≥1, we have h0≥2 must be even.
wt(Q) must be 56
We now split the seven-dimensional space as F26×F2. Since the polar rank of Q is 6, its radical has dimension 1. Choose its nonzero vector r0 as the last vector of a basis. Then F27=V0⊕⟨r0⟩, where V0 is a six-dimensional complement of the radical. Clearly, for any a∈F26, we have BQ((a,0),(0,1))=0.
Here p is the restriction to V0, and p(0)=0. Its polar form is nondegenerate: a vector in V0 orthogonal to all of V0 is also orthogonal to the radical, hence to the whole space. It belongs to both V0 and the radical, so is zero.
By Lemma 2, p∈B6 is a bent function. Let ϵ=H6((−1)p)/8. Then ϵ∈{±1} and H6ϵ=8(−1)p. Moreover,
Write L={(y,λ):y∈F26} and R=F27∖L. Both halves are identified with F26 by the coordinate y. In particular, vL(y)=v(y,λ) and vR(y)=v(y,1+λ); the restrictions uL and uR are defined in the same way.
In the following, we will deduce that vL(y)=±1 and the associated 6-variable Boolean function is of nonlinearity greater than 26 whose Hamming distance to a bent function is between 4 and 6.
On L, let z count the positions with vL=0 and let w count those with vL=−ϵ. Then
Proof. By Lemma 2, wt(Q)∈{56,64,72}. If wt(Q)=72, then by (7), h0+h1≤2. Therefore, h0=2 and h1=0. Thus (9) and (10) give z+2w=0 and ∣supp(vR)∣=28+z. Therefore, z=w=0 and ∣supp(vR)∣=28, which is contradictory to (11). If wt(Q)=64, then by (9) and h0≥2, we have
z+2w=56−h0−h1−48≤6.
Then by Lemma 4, ∣supp(vR)∣≤4+25(z+2w)−z≤19−z. Furthermore, by (10),
∣supp(vR)∣=2h0+24+z≥25+z.
Therefore, 19−z≥∣supp(vR)∣≥25+z, which is a contradiction, and the result follows.
Since Q(a,j)=p(a)+λj, if λ=1, then Q(a,0) and Q(a,1) contains exactly one value equal to one, giving wt(Q)=64. Therefore, λ=0 and wt(p)=wt(Q)/2=28. In this remaining case, by (9) and (10), we have
Then by (16), z is even. If z=2, let supp(uL)={x1,x2}. Choose a such that (−1)a⋅(x1+x2)=uL(x1)uL(x2). Then uL(x1)(−1)a⋅x1=uL(x2)(−1)a⋅x2, and ∣H6uL(a)∣=2, which is contradictory to (16). If z≥8, then by (11) and (15), we have
∣supp(vR)∣≤4+25(z+2w)−z≤4+25×12−z≤26.
and ∣supp(vR)∣≥22+8=30, which is a contradiction. Let S={a∈F26:p(a)=0,H6uL(a)=±4}. If z∈{4,6}, by Lemma 5, ∣S∣≥6. If a∈S, then Q(a)=p(a)=0. Hence, by Table 1,
{A(a,0),A(a,1):a∈F26}={Wg(ω,0):ω∈F27}⊆{0,±16}.
Furthermore,
2A(a,0)+2A(a,1)=2H6uL(a)=±8.
Therefore, exactly one of A(a,0) and A(a,1) is zero. Hence, h0≥∣S∣≥6. By (15), we have
Lemma 6. Let f1,f2∈B6, where f1 is a bent function. If d(f1,f2)∈{4,5,6}, then nl(f2)≤26.
Proof. Let h=f1⊕f2. Since 0<wt(h)<8, the minimum distance of RM(3,6) gives deg(h)≥4. As deg(f1)≤3, we have deg(f2)≥4, so nl(f2)<28. If wt(h)∈{4,6}, then nl(f2) is even, and the result follows. Suppose wt(h)=5, and write supp(h)={x1,…,x5}. Let f0 be the dual bent function of f1. Define
ϕi(ω)=f0(ω)⊕f1(xi)⊕ω⋅xi,si(ω)=(−1)ϕi(ω),
and N(ω)=∣{i:ϕi(ω)=1}∣. All sums below are over ω∈F26. By duality and character orthogonality,
ω∑si=8,ω∑sisj=0(i=j).
For distinct i,j,k, the bent property of f0 also gives
ω∑sisjsk∈{±8},ω∑i=1∏5si∈{±8},
since each odd product is (−1)f0(ω) times an affine character. Expanding products of (1−si)/2, we obtain
ω∑N(ω)=140,ω∑(2N(ω))=120,
and
ω∑(3N(ω))=i<j<k∑864−24−∑ωsisjsk≥40.
If N(ω)≤3 everywhere, put nr=∣{ω:N(ω)=r}∣. Then n2+3n3=120 and n3≥40, forcing n3=40, n2=0. The first moment and ∑r=03nr=64 give n1=20, n0=4. Hence
ω∑i=1∏5si=ω∑(−1)N(ω)=4−20−40=−56,
a contradiction. Thus N(ω0)≥4 for some ω0. Taking l(x)=ω0⋅x⊕f0(ω0), duality gives d(f1,l)=28, and therefore
Since ϵ=H6((−1)p)/8, we have ∣ϵ∣=1 and H6ϵ=8(−1)p. Let ϵ=(−1)f1, where f1∈B6. Then ∣Wf1(ω)∣=8, and f1 is a bent function. We now can complete the proof.
Theorem 1.The maximum nonlinearity of 8-variable balanced Boolean functions is 116.
Proof. Assume NLB8=118. Then according to the above discussion, ∣vL∣=1 and by (9), vL is obtained from ϵ by changing
w=21(56−h0−h1−42)≤21(56−2−42)=6
signs. Furthermore, by (11) and (15), we have 22≤∣supp(vR)∣≤4+5w. Hence, w≥4. That is,
w∈{4,5,6}.
Let vL=(−1)f2, where f2∈B6. Then d(f1,f2)∈{4,5,6}. Moreover, by (12), we have ∣Wf2(a)∣≤10, for any a∈F26. Therefore, nl(f2)≥27, which is contradictory to Lemma 6, and the result follows.
Conclusion and open problems
In this paper, we proved that the maximum nonlinearity of balanced Boolean functions in 8 variables is 116. A similar analysis for ≥10 variables may deduce more interesting results. We leave this for future work. Finally, we list some related open problems that could be further considered.
Open problem 1. Does there exist a 9-variable balanced Boolean function with nonlinearity 242?
Open problem 2. Determine the covering radius of RM(1,9).
Open problem 3. Does there exist a 10-variable balanced Boolean function with nonlinearity 494?
Open problem 4. Let f∈B2n be balanced. Do we have nl(f)≤22n−1−2n−1−4 for any n≥4?
Acknowledgment
The authors would like to thank the financial support from the National Natural Science Foundation of China (Grant 62172230). We also thank Dr. William Millan for pointing out an error in our original proof of Lemma 6.
References
[1]Y. L. Borissov, A. Braeken, S. Nikova and B. Preneel, “On the covering radii of binary Reed-Muller codes in the set of resilient Boolean functions,” IEEE Transactions on Information Theory, 51:3 (2005), 1182–1189.DOI
[2]C. Carlet, “Boolean Functions for Cryptography and Coding Theory,” Cambridge University Press, 2021.DOI
[3]C. Carlet, M. Djuras̆evic, D. Jakobovic, L. Mariot and S. Picek, “Evolving constructions for balanced, highly nonlinear boolean functions,” GECCO, 2022, pp. 1147–1155.arxiv.org/abs/2202.08743
[4]C. Carlet, M. Djuras̆evic, D. Jakobovic, L. Mariot, S. Picek and A. Polujan, “On Counts and Densities of Homogeneous Bent Functions: An Evolutionary Approach,” EvoApplications, 2026, pp. 216–232.arxiv.org/abs/2511.12652
[5]C. Carlet and S. Mesnager, “Four decades of research on bent functions,” Designs, Codes and Cryptography, 78:1 (2016), 5–50.DOI
[6]T. W. Cusick and P. Stanica, “Cryptographic Boolean Functions and Applications,” Academic Press, 2017.
[7]M. Djuras̆evic, D. Jakobovic, L. Mariot and S. Picek, “A survey of metaheuristic algorithms for the design of cryptographic Boolean functions,” Cryptography and Communications, 15 (2023), 1171–1197.arxiv.org/abs/2301.08012
[8]H. Dobbertin, “Construction of bent functions and balanced Boolean functions with high nonlinearity,” Fast Software Encryption, 1995, pp. 61–74.
[9]J. Gao, H. Kan, Y. Li and Q. Wang, “The Covering Radius of the Third-Order Reed-Muller Code RM(3,7) is 20,” IEEE Transactions on Information Theory, 69:6 (2023), 3663–3671.arxiv.org/abs/2206.10881
[10]T. Iwata, T. Yoshiwara, and K. Kurosawa, “New Covering Radius of Reed-Muller Codes for t-Resilient Functions,” Selected Areas in Cryptography, 2001, pp. 75–86.
[11]T. Kasami and N. Tokura, “On the weight structure of the Reed–Muller codes,” IEEE Transactions on Information Theory, 16 (1970), 752–759.DOI
[12]S. Kavut and M. D. Yücel, “9-variable boolean functions with nonlinearity 242 in the generalized rotation symmetric class,” Information and Computation, 208:4 (2010), 341–350.
[13]S. Kavut, S. Maitra and M. D. Yücel, “Search for boolean functions with excellent profiles in the rotation symmetric class,” IEEE Transactions on Information Theory, 53:5 (2007), 1743–1751.DOI
[14]O. A. Logachev, A. A. Salnikov and V. V. Yashchenko, “Boolean Functions in Coding Theory and Cryptography,” American Mathematical Society, 2012.DOI
[15]F. J. MacWilliams and N. J. Sloane, “The theory of error-correcting codes,” North Holland, 1977.
[16]S. Maitra, B. Mandal and M. Roy, “Modifying Bent Functions to Obtain the Balanced Ones with High Nonlinearity,” Progress in Cryptology – INDOCRYPT, 2023, pp. 449–470.DOI
[17]E. Özçekiç, S. Kavut and H. Kutucu , “Genetic Approach to Improve Cryptographic Properties of Balanced Boolean Functions Using Bent Functions,” Computers, 12:8 (2023), Art. no. 129.DOI
[18]S. Pickel, R. Santana and D. Jakobovic, “Maximal nonlinearity in balanced boolean functions with even number of inputs, revisited,” 2016 IEEE Congress on Evolutionary Computation, 2016, pp. 3222–3229.
[19]O. S. Rothaus, “On bent functions,” Journal of Combinatorial Theory, Series A, 20:3 (1976), 300–305.DOI
[20]L. Sun, Z. Shi and J. Liu, “Some constructions of rotation symmetric Boolean functions with high order resiliency,” Discrete Mathematics, 349 (2026), Art. no. 115123.DOI
[21]Q. Wang, “The covering radius of the Reed–Muller code RM(2,7) is 40,” Discrete Mathematics, 342 (2019), Art. no. 111625.arxiv.org/abs/1809.04864
[22]G. Z. Xiao and J. L. Massey, “A spectral characterization of correlation-immune combining functions,” IEEE Transactions on Information Theory, 34:3 (1988), 569–571.
[23]Y. Yuan, Y. Hu, Y. Zhang and W. Wu, “Theoretical Open Problems in Symmetric Cryptography: Verifiable LLM-Guided Analysis,” IACR ePrint 2026/1687, https://eprint.iacr.org/2026/1687.pdf