Manuscript Offprint
arXiv:2610.32239A counterexample to Tokareva's conjecture on sums of two bent functions
YANSONG FENG, HAO JIANG, GUANCHENG LI, TIANYI LI, AND LILI TANG
ABSTRACT. It is well known that the sum of two bent functions on has algebraic degree at most for even . Tokareva conjectured that the converse holds: every Boolean function with degree at most can be written as a sum of two bent functions. The conjecture has been verified for even and for several special classes of Boolean functions. We disprove this conjecture by showing that is not a sum of two bent functions on . We extend this construction to obtain counterexamples in every even dimension . Using Shaporenko's reduction, we also obtain explicit counterexamples to Tokareva's derivative conjecture in every even dimension .
1. INTRODUCTION
Bent functions were introduced by Rothaus [7], who also proved that for even , every bent function on has algebraic degree at most , and hence so does any sum of two bent functions. Tokareva [10] asked whether the converse holds, which is stated as follows:
Conjecture 1.1 (Tokareva [12]). Let be even. Every Boolean function on of algebraic degree at most is a sum of two bent functions on .
This question was subsequently recorded as an important open problem by Carlet [1, Open Problem 2] and revisited by Tokareva in [12, 11]. An affirmative answer would imply that the logarithm of the number of bent functions has the same asymptotic order as that of the size of the Reed–Muller code of degree at most . This would close the gap in asymptotic order between the best known lower and upper bounds on this logarithm, a gap that remains substantial despite decades of research [11].
Tokareva [10] initially verified Equation (1.1) for via computer search. Subsequently, Qu, Fu, Dai, and Li [6] provided a theoretical proof of the conjecture for all as well as for all quadratic functions. For , Tokareva [12] proved that every cubic function can be expressed as the sum of at most four bent functions, while Shaporenko [9] showed that any bent function of degree at most 3 can be decomposed into the sum of two bent functions.
In this paper, we show that this conjecture does not hold for by constructing counterexamples. We prove a necessary condition for a Boolean function can be decomposed as the sum of two bent functions. We then construct a function of
2020 Mathematics Subject Classification. Primary 06E30, 94D10; Secondary 94A60.
Key words and phrases. Boolean function, bent function, Walsh transform, bent-sum decomposition.
YANSONG FENG, HAO JIANG, GUANCHENG LI, TIANYI LI, AND LILI TANG
degree 4 on ,
and show that it does not satisfy this condition. Thus, is a counterexample to this conjecture. We also extend this construction to all even . Furthermore, there is another conjecture on bent functions proposed by Tokareva [13], which will be introduced as Equation (4.5) later. It was related to the above bent-sum decompositions by Shaporenko in [8]. This conjecture was disproved by Potapov for all sufficiently large by a counting argument [5]. Instead, we construct an explicit counterexample for .
The remainder of this paper is organized as follows. Section 2 introduces the basic notation and definitions for bent functions. In Section 3, we prove a necessary condition on the weight of sums of two bent functions. Section 4.1 presents a counterexample to Equation (1.1) in every even dimension . Finally, Section 4.2 adapts this construction to provide an explicit counterexample to Equation (4.5) for all even .
The algebraic degree of , denoted by , is the maximum cardinality for which . We set . Furthermore, the support of and its Hamming weight are defined, respectively, by
The function is called balanced if .
An affine subspace of is a set , where is a linear subspace of and . Its dimension is .
For any two vectors , we denote their standard inner product by . The Fourier transform of a real-valued function on is given by
Accordingly, the Walsh–Hadamard transform of a Boolean function is the Fourier transform of its sign function , i.e., , or explicitly,
The Fourier transform satisfies the following fundamental properties, which are known as the Fourier inversion formula and Parseval's identity, respectively.
Proposition 2.1. Let be a real-valued function on . Then for all ,
Moreover,
Definition 2.2. Let be even. A Boolean function on is bent if for every .
We denote the set of all -variable bent functions by . In [7], Rothaus proved that for even , every bent function on has algebraic degree at most , and hence so does any sum of two bent functions.
Proposition 2.3 (Rothaus [7]). Let be even. Every bent function on has algebraic degree at most . Consequently, for any ,
For , the derivative of in the direction is
If is nonconstant, then . Moreover, for all .
A vector is a period of if , or equivalently, if for all . The periods of form a linear subspace of .
For even n, a Boolean function is bent if and only if all its derivatives in nonzero directions are balanced. In particular, a bent function has no nonzero periods.
3. A NECESSARY CONDITION FOR BENT-SUM DECOMPOSITIONS
We will show that if is the sum of two bent functions on whose support lies in an affine subspace of dimension with , then is divisible by . To this end, we first specialize the signed disagreement formula of Kolomeec and Pavlov [3] to a pair of bent functions.
Lemma 3.1. Let with . Define . Then for every .
Proof. Since , we have for and for . Consequently, equals for and for , which gives
By the linearity of the Fourier transform, we have
Since , both and belong to . Their difference is therefore 0 or , and dividing by 2 yields .
Now we prove a necessary condition for a sum of two bent functions, as in the following Equation (3.2).
Theorem 3.2. Let with . If is contained in an affine subspace of dimension with , then .
YANSONG FENG, HAO JIANG, GUANCHENG LI, TIANYI LI, AND LILI TANG
Proof. Since bent functions and Hamming weight are preserved under invertible affine transformations, we may assume without loss of generality that .
Let be as in Equation (3.1), and define by . Clearly, . Since vanishes outside , we have for all , and thus by Equation (3.1).
By Parseval's identity on , we have
Dividing both sides by and noting that , we obtain
Moreover, by the Fourier inversion formula at 0, we have
Since and , the right-hand side is an even integer, and hence .
Remark 3.3. When k = 0, Equation (3.2) simply recovers the well-known fact that the sum of any two bent functions has even weight.
We conclude this section with a special case of Equation (3.2), which will be used to construct our counterexamples in the next section.
Corollary 3.4. Let be even and , and let be a Boolean function on . If the function on defined by
is a sum of two bent functions, then .
Proof. Note that
Thus is contained in an affine subspace of dimension , and . The result follows immediately from Equation (3.2).
4. COUNTEREXAMPLES
4.1. Sums of two bent functions. For , let denote the standard quadratic form on given by the direct sum of disjoint quadratic monomials,
Lemma 4.1. For every , the function is bent on , and its weight is .
Proof. For any , the Walsh transform of factors over the disjoint pairs of variables as
In particular, for all , so is bent on . Taking and using
gives the proof.
Theorem 4.2. Let be even and write . The Boolean function on defined by
(4.3)
has algebraic degree m and cannot be written as a sum of two bent functions on .
Proof. To apply Equation (3.4) with (note that and ), take the Boolean function on defined by
For each fixed assignment to , the remaining variables can be chosen arbitrarily without changing the value of . Thus each assignment for which gives assignments for which . By Equation (4.1) with , we have , and hence
Thus , and the result follows from Equation (3.4).
Thus Equation (1.1) fails for every even . Since the conjecture is known to hold for , is the smallest dimension in which it fails.
Remark 4.4. For , the polynomial is already known in the literature. In [2], Carlet, Feukoua, and Sälägean studied it as a quartic whose degree drops on the hyperplanes , , and . Up to a permutation of variables, it also appears in the classification of eight-variable quartic forms by Langevin, Leander, Rabizzoni, Véron, and Zanotti [4]. Our new contribution here is showing that cannot be written as a sum of two bent functions.
4.2. Derivatives of bent functions. Every derivative of a bent function on in a nonzero direction is balanced, has algebraic degree at most , and has a nonzero period. Tokareva [13] conjectured that these necessary conditions are sufficient.
Conjecture 4.5 (Tokareva [13]). Let be even, and let be a balanced Boolean function on of degree at most . If has a nonzero period, then is a derivative of a bent function on .
Potapov [5] disproved Equation (4.5) for all sufficiently large n by a counting argument. This argument establishes the existence of counterexamples, but does not give an explicit one.
Shaporenko [8] proposed a connection between derivatives of bent functions and sums of two bent functions. Here we use the following special case.
YANSONG FENG, HAO JIANG, GUANCHENG LI, TIANYI LI, AND LILI TANG
Write with and let .
Lemma 4.6 (Shaporenko [8]). Let be a Boolean function on , and let . Then for some bent function on if and only if .
Proof. Suppose with bent, and put . Then , so
Let . The sum over vanishes unless , so
where and the sign is . Because for every , the functions and have all Walsh coefficients of absolute value . Both are therefore bent on , and .
Conversely, let with , and put . Then . The computation above, with , gives and , since and are bent. So is bent.
Combining Equation (4.6) with Equation (4.2) gives explicit counterexamples to Equation (4.5).
Theorem 4.7. Let be even and write . The Boolean function on defined by
(4.8)
is balanced, has algebraic degree and a nonzero period, and cannot be written as a derivative of a bent function on .
Proof. For fixed , each value of gives , which implies is balanced. Expanding (4.8), we see that is the sum of the linear term and three distinct monomials of degree . Hence .
We first show that the period space of is
(4.9)
Every vector in is clearly a period, since does not depend on the corresponding coordinates. Conversely, let be a period of , with . Then
By the weight computation in the proof of Equation (4.2),
Thus is not balanced, which rules out . Hence , so is a period of . Since is nonzero and vanishes unless , we must have . Setting in then gives
By Equation (4.1), is bent and hence has no nonzero period. Thus , which proves (4.9).
Now suppose that for some bent function and some . Then , so . Choose an invertible linear map on taking to , and extend it by the identity on to an invertible linear map on . Since depends only on , we have , and hence
As is bent, Equation (4.6) implies , contradicting Equation (4.2).
Thus Equation (4.5) fails for every even .
Use of AI. The counterexamples and proofs in this paper were obtained through large-scale automated reasoning with LLM agents while solving Problem 10 in NSU-CRYPTO 2026 (MiniMax M3.1-Flash-Preview, 19 rounds of up to 100 independent agents between 12 and 18 October 2026, 1889 reports in all), paired with 8 rounds of independent audits (227 reports). In the first 10 rounds, the agents decomposed every cubic on and our first quartic counterexample candidate into two bent functions. When was later examined, an early attempt to prove that was discarded during the audit phase because it mistakenly treated the Walsh transform as additive. Another agent then established Equation (3.1) and confirmed that is indeed a counterexample, which in turn led to the divisibility condition in Equation (3.2), the general family in Equation (4.2), and the derivative counterexamples in Equation (4.7). Every statement in this paper was subsequently checked by the authors. We also provide a formal verification for Equation (4.2) and Equation (4.7) in Lean 4. The authors take full responsibility for the contents.
REFERENCES
-
Claude Carlet, Open problems on binary bent functions, Open Problems in Mathematics and Computational Science (Çetin Kaya Koç, ed.), Springer, Cham, 2014, pp. 203–241.
-
Claude Carlet, Serge Feukoua, and Ana Sälägean, The stability of the algebraic degree of Boolean functions when restricted to affine spaces, Designs, Codes and Cryptography 93 (2025), no. 11, 4799–4832.
-
Nikolay A. Kolomeec and Andrey V. Pavlov, Properties of bent functions with minimal distance, Prikladnaya Diskretnaya Matematika (2009), no. 4(6), 5–20, In Russian.
-
Philippe Langevin, Classification of Boolean quartic forms in eight variables, Companion classification catalogue, computed with G. Leander, P. Rabizzoni, P. Véron, and J.-P. Zanotti, Representative file class-rm48h-rep.txt, entry Rnk=349 (tid=6401); accessed 19 October 2026.
-
Vladimir N. Potapov, Existence of balanced functions that are not derivative of bent functions, 2023 XVIII International Symposium Problems of Redundancy in Information and Control Systems (REDUNDANCY), IEEE, 2023, pp. 51–53.
-
Longjiang Qu, Shaojing Fu, Qingping Dai, and Chao Li, New results on the Boolean functions that can be expressed as the sum of two bent functions, IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences E99-A (2016), no. 8, 1584–1590.
-
Oscar S. Rothaus, On “bent” functions, Journal of Combinatorial Theory, Series A 20 (1976), no. 3, 300–305.
-
Alexander Shaporenko, Derivatives of bent functions in connection with the bent sum decomposition problem, Designs, Codes and Cryptography 91 (2023), no. 5, 1607–1625.
-
Alexandr S. Shaporenko, On decomposition of bent functions in 8 variables into the sum of two bent functions, Prikladnaya Diskretnaya Matematika. Prilozhenie (2022), no. 15, 40–42, In Russian.
YANSONG FENG, HAO JIANG, GUANCHENG LI, TIANYI LI, AND LILI TANG
-
Natalia Tokareva, On the number of bent functions from iterative constructions: lower bounds and hypotheses, Advances in Mathematics of Communications 5 (2011), no. 4, 609–621.
-
___, Bent decomposition problem, Bent Functions: Results and Applications to Cryptography, Academic Press, 2015, pp. 123–132.
-
Natalia N. Tokareva, On decomposition of a Boolean function into sum of bent functions, Siberian Electronic Mathematical Reports 11 (2014), 745–751.
-
___, On the set of derivatives of a Boolean bent function, Prikladnaya Diskretnaya Matematika. Prilozhenie (2016), no. 9, 35, In Russian.
MINIMAX
Email address: ivan@minimax.io
MINIMAX
Email address: dee@minimax.io
MINIMAX
Email address: atum@minimax.io
MINIMAX
Email address: n0b0dy@minimax.io
MINIMAX
Email address: tanglee@minimax.io