\documentclass{amsart} % packages \usepackage{amsmath,amssymb,amsthm} \usepackage[colorlinks,allcolors=blue,bookmarksdepth=2]{hyperref} \hypersetup{ pdftitle={A counterexample to Tokareva's conjecture on sums of two bent functions}, pdfauthor={Yansong Feng, Hao Jiang, Guancheng Li, Tianyi Li, Lili Tang} } \usepackage[capitalise,noabbrev]{cleveref} % theorem environments (shared counter with equations) \numberwithin{equation}{section} \theoremstyle{plain} \newtheorem{theorem}[equation]{Theorem} \newtheorem{lemma}[equation]{Lemma} \newtheorem{proposition}[equation]{Proposition} \newtheorem{corollary}[equation]{Corollary} \newtheorem{conjecture}[equation]{Conjecture} \crefname{conjecture}{conjecture}{conjectures} \Crefname{conjecture}{Conjecture}{Conjectures} \theoremstyle{definition} \newtheorem{definition}[equation]{Definition} \theoremstyle{remark} \newtheorem{remark}[equation]{Remark} \AddToHook{env/theorem/begin}{\crefalias{equation}{theorem}} \AddToHook{env/lemma/begin}{\crefalias{equation}{lemma}} \AddToHook{env/proposition/begin}{\crefalias{equation}{proposition}} \AddToHook{env/corollary/begin}{\crefalias{equation}{corollary}} \AddToHook{env/conjecture/begin}{\crefalias{equation}{conjecture}} \AddToHook{env/definition/begin}{\crefalias{equation}{definition}} \AddToHook{env/remark/begin}{\crefalias{equation}{remark}} % math operators \DeclareMathOperator{\wt}{wt} \DeclareMathOperator{\supp}{supp} % notation of this paper \newcommand{\F}{\mathbb{F}_2} \newcommand{\B}{\mathcal{B}} \newcommand{\ip}[2]{\langle #1,#2\rangle} \title[A counterexample to Tokareva's conjecture]{A counterexample to Tokareva's conjecture on sums of two bent functions} \author{Yansong Feng} \address{MiniMax} \email{ivan@minimax.io} \author{Hao Jiang} \address{MiniMax} \email{dee@minimax.io} \author{Guancheng Li} \address{MiniMax} \email{atum@minimax.io} \author{Tianyi Li} \address{MiniMax} \email{n0b0dy@minimax.io} \author{Lili Tang} \address{MiniMax} \email{tanglee@minimax.io} \subjclass[2020]{Primary 06E30, 94D10; Secondary 94A60} \keywords{Boolean function, bent function, Walsh transform, bent-sum decomposition} \begin{document} \begin{abstract} It is well known that the sum of two bent functions on $\F^n$ has algebraic degree at most $n/2$ for even $n\ge 4$. Tokareva conjectured that the converse holds: every Boolean function with degree at most $n/2$ can be written as a sum of two bent functions. The conjecture has been verified for even $n\leq 6$ and for several special classes of Boolean functions. We disprove this conjecture by showing that $x_1x_2(x_3x_4+x_5x_6+x_7x_8)$ is not a sum of two bent functions on $\F^8$. We extend this construction to obtain counterexamples in every even dimension $n\ge 8$. Using Shaporenko's reduction, we also obtain explicit counterexamples to Tokareva's derivative conjecture in every even dimension $n\ge 10$. \end{abstract} \maketitle \section{Introduction}\label{sec:introduction} Bent functions were introduced by Rothaus~\cite{rothaus1976}, who also proved that for even $n\ge 4$, every bent function on $\F^n$ has algebraic degree at most $n/2$, and hence so does any sum of two bent functions. Tokareva~\cite{tokareva2011} asked whether the converse holds, which is stated as follows: \begin{conjecture}[Tokareva~\cite{tokareva2014}] \label{conj:sum} Let $n$ be even. Every Boolean function on $\F^n$ of algebraic degree at most $n/2$ is a sum of two bent functions on $\F^n$. \end{conjecture} This question was subsequently recorded as an important open problem by Carlet~\cite[Open Problem~2]{carlet2014open} and revisited by Tokareva in~\cite{tokareva2014,tokareva2015book}. 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 $n/2$. 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~\cite{tokareva2015book}. Tokareva~\cite{tokareva2011} initially verified \Cref{conj:sum} for $n \le 6$ via computer search. Subsequently, Qu, Fu, Dai, and Li~\cite{qu2016} provided a theoretical proof of the conjecture for all $n \le 6$ as well as for all quadratic functions. For $n = 8$, Tokareva~\cite{tokareva2014} proved that every cubic function can be expressed as the sum of at most four bent functions, while Shaporenko~\cite{shaporenko2022} 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 $n\geq 8$ 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 degree $4$ on $\F^8$, \[ f_8(x_1,\ldots,x_8) =x_1x_2(x_3x_4+x_5x_6+x_7x_8), \] and show that it does not satisfy this condition. Thus, $f_8$ is a counterexample to this conjecture. We also extend this construction to all even $n\geq 8$. Furthermore, there is another conjecture on bent functions proposed by Tokareva~\cite{tokareva2016}, which will be introduced as \Cref{conj:derivative} later. It was related to the above bent-sum decompositions by Shaporenko in~\cite{shaporenko2023}. This conjecture was disproved by Potapov for all sufficiently large $n$ by a counting argument~\cite{potapov2023}. Instead, we construct an explicit counterexample for $n\geq 10$. The remainder of this paper is organized as follows. \Cref{sec:pre} introduces the basic notation and definitions for bent functions. In \Cref{sec:congruence}, we prove a necessary condition on the weight of sums of two bent functions. \Cref{subsec:bent-sums} presents a counterexample to \Cref{conj:sum} in every even dimension $n\ge 8$. Finally, \Cref{subsec:derivatives} adapts this construction to provide an explicit counterexample to \Cref{conj:derivative} for all even $n\ge 10$. \section{Preliminaries} \label{sec:pre} Throughout this paper, all vector spaces and polynomials are defined over the binary field $\F$. Let $e_1,\ldots,e_n$ denote the standard basis of $\F^n$, where $e_i$ has $1$ in the $i$-th coordinate and $0$ elsewhere. Every Boolean function $f$ on $\F^n$ has a unique \emph{algebraic normal form} (ANF), which is represented as a multivariate polynomial \[ f(x)=\sum_{I\subseteq\{1,\ldots,n\}}a_I\prod_{i\in I}x_i, \qquad a_I\in\F. \] The \emph{algebraic degree} of $f$, denoted by $\deg(f)$, is the maximum cardinality $|I|$ for which $a_I\ne 0$. We set $\deg(0)=-\infty$. Furthermore, the \emph{support} of $f$ and its \emph{Hamming weight} are defined, respectively, by \[ \supp(f)=\{x\in\F^n:f(x)=1\} \qquad \text{and} \qquad \wt(f)=|\supp(f)|. \] The function $f$ is called \emph{balanced} if $\wt(f)=2^{n-1}$. An \emph{affine} subspace of $\F^n$ is a set $x_0+V$, where $V$ is a linear subspace of $\F^n$ and $x_0\in\F^n$. Its dimension is $\dim(V)$. For any two vectors $x,\omega\in\F^n$, we denote their standard inner product by $\ip{x}{\omega}=\sum_{i=1}^n x_i\omega_i$. The Fourier transform of a real-valued function $\phi$ on $\F^n$ is given by \[ \widehat\phi(\omega)=\sum_{x\in\F^n}\phi(x)(-1)^{\ip{x}{\omega}}, \qquad \omega\in\F^n. \] Accordingly, the \emph{Walsh--Hadamard transform} of a Boolean function $f$ is the Fourier transform of its sign function $(-1)^f$, i.e., $W_f=\widehat{(-1)^f}$, or explicitly, \[ W_f(\omega)=\sum_{x\in\F^n}(-1)^{f(x)+\ip{x}{\omega}}, \qquad \omega\in\F^n. \] The Fourier transform satisfies the following fundamental properties, which are known as the \emph{Fourier inversion formula} and \emph{Parseval's identity}, respectively. \begin{proposition} Let $\phi$ be a real-valued function on $\F^n$. Then for all $x\in\F^n$, \[ \phi(x)=2^{-n}\sum_{\omega\in\F^n}\widehat\phi(\omega)(-1)^{\ip{x}{\omega}}. \] Moreover, \[ \sum_{\omega\in\F^n}\widehat\phi(\omega)^2 = 2^n\sum_{x\in\F^n}\phi(x)^2. \] \end{proposition} \begin{definition} Let $n$ be even. A Boolean function $f$ on $\F^n$ is \emph{bent} if $|W_f(\omega)|=2^{n/2}$ for every $\omega\in\F^n$. \end{definition} We denote the set of all $n$-variable bent functions by $\B_n$. In~\cite{rothaus1976}, Rothaus proved that for even $n\ge 4$, every bent function on $\F^n$ has algebraic degree at most $n/2$, and hence so does any sum of two bent functions. \begin{proposition}[Rothaus~\cite{rothaus1976}] \label{prop:bent-degree-bound} Let $n\ge 4$ be even. Every bent function $f$ on $\F^n$ has algebraic degree at most $n/2$. Consequently, for any $f_1,f_2\in\B_n$, \[ \deg(f_1+f_2)\le \frac{n}{2}. \] \end{proposition} For $a\in\F^n$, the \emph{derivative} of $f$ in the direction $a$ is \[ D_a f(x)=f(x)+f(x+a). \] If $f$ is nonconstant, then $\deg(D_a f)\le\deg(f)-1$. Moreover, $D_a f(x+a)=D_a f(x)$ for all $x,a\in\F^n$. A vector $a$ is a \emph{period} of $f$ if $D_a f=0$, or equivalently, if $f(x+a)=f(x)$ for all $x\in\F^n$. The periods of $f$ form a linear subspace of $\F^n$. 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. \section{A necessary condition for bent-sum decompositions} \label{sec:congruence} We will show that if $f$ is the sum of two bent functions on $\F^n$ whose support lies in an affine subspace of dimension $n - k$ with $k