Papers
Topics
Authors
Recent
Search
2000 character limit reached

Bent Squares in Boolean Function Analysis

Updated 9 July 2026
  • Bent squares are matrix representations of bent Boolean functions, organizing each row and column as the Walsh spectrum of a function in n/2 variables.
  • The approach uses sparse type 1 and type 2 Walsh spectra to reformulate global nonlinear conditions into a structured matrix design problem.
  • A combinatorial block construction employing signature matching enables a counting argument that yields a lower bound of log₂(bₙ) ≥ n·2^(n/2)(1 + O(1/n)).

Bent squares are matrix representations of bent Boolean functions. For even nn, a bent square is a 2n/2×2n/22^{n/2}\times 2^{n/2} matrix such that each row and each column is the Walsh spectrum of a Boolean function in n/2n/2 variables. In this formulation, the flat-spectrum condition that defines bentness is recast as a local row-and-column spectral constraint on a square array. This representation is central in "A lower bound on the number of bent squares" (Haugland, 20 Aug 2025), where it is used to construct and count a large family of bent functions, leading to the bound

bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}

and, for every even integer n4n\ge 4,

log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).

1. Spectral setting and bentness

A Boolean function in nn variables is a map

f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.

Its Walsh transform is

Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},

where x,y\langle x,y\rangle is the standard inner product over 2n/2×2n/22^{n/2}\times 2^{n/2}0. A function 2n/2×2n/22^{n/2}\times 2^{n/2}1 is called bent if 2n/2×2n/22^{n/2}\times 2^{n/2}2 is even and

2n/2×2n/22^{n/2}\times 2^{n/2}3

Equivalently, every Walsh coefficient has the same absolute value 2n/2×2n/22^{n/2}\times 2^{n/2}4, so bent functions are maximally nonlinear (Haugland, 20 Aug 2025).

The same condition can be expressed with Hadamard matrices. Let 2n/2×2n/22^{n/2}\times 2^{n/2}5 and define recursively

2n/2×2n/22^{n/2}\times 2^{n/2}6

Then 2n/2×2n/22^{n/2}\times 2^{n/2}7. If one writes the sign vector of 2n/2×2n/22^{n/2}\times 2^{n/2}8 as 2n/2×2n/22^{n/2}\times 2^{n/2}9, ordered lexicographically by n/2n/20, then the Walsh spectrum is

n/2n/21

Thus n/2n/22 is bent exactly when every entry of this vector is n/2n/23.

This spectral formulation is the background for bent squares. It isolates the Walsh spectrum as the primary invariant and makes it natural to reorganize the truth table of a bent function into a square matrix.

2. Matrix representation and the bent-square correspondence

Suppose now that n/2n/24 is even. Given a bent function n/2n/25, let n/2n/26 be the n/2n/27 matrix whose rows are consecutive blocks of length n/2n/28 from the vector n/2n/29. The associated bent square is then defined by

bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}0

Two structural facts explain why this matrix is special. Since bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}1,

bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}2

so every row of bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}3 is the Walsh spectrum of some Boolean function in bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}4 variables. Also,

bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}5

contains the entries of

bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}6

and because bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}7 is bent, these are all bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}8. Hence every column of bn32mn4sn4b_n \ge 32\,\frac{m_n^4}{s_n^4}9 is also the Walsh spectrum of some Boolean function in n4n\ge 40 variables (Haugland, 20 Aug 2025).

The resulting definition is exact:

A bent square is a n4n\ge 41 matrix such that each row and each column is the Walsh spectrum of a Boolean function in n4n\ge 42 variables.

The representation is not merely one-way. Any matrix with this property is a bent square corresponding to some bent function in n4n\ge 43 variables. Bent squares therefore give a genuine correspondence between bent functions in n4n\ge 44 variables and these square matrices.

In small dimension, the first nontrivial type-2 case is n4n\ge 45. Then rows and columns of a bent square correspond to Boolean functions in n4n\ge 46 variables, and a type 2 Walsh spectrum has four nonzero entries of size

n4n\ge 47

supported on a n4n\ge 48-dimensional affine subspace of n4n\ge 49. Since log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).0 itself is a log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).1-dimensional affine space, all four positions are nonzero, with an odd number of positive signs.

The significance of the correspondence is methodological. Instead of constructing a bent function directly in log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).2 variables, one constructs a square matrix whose rows and columns are valid Walsh spectra in log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).3 variables. This converts a global nonlinear spectral condition into a structured matrix design problem.

3. Sparse row and column spectra

Following Agievich, two sparse classes of Walsh spectra play a distinguished role in the bent-square approach. They are the elementary row and column types used in the counting argument (Haugland, 20 Aug 2025).

Type Nonzero entries Structural property
Type 1 exactly one value log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).4
Type 2 exactly four each equals log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).5

For type 1, if a Boolean function in log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).6 variables is affine, then its Walsh spectrum has exactly one nonzero entry, namely log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).7.

For type 2, if log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).8 and a Boolean function in log2bnn2n/2(1+O ⁣(1n)).\log_2 b_n \ge n\cdot 2^{n/2}\left(1+O\!\left(\frac1n\right)\right).9 variables is EA-equivalent to a single quadratic monomial, then its Walsh spectrum has exactly four nonzero entries, each equal to nn0. The indices of these four nonzero entries form a nn1-dimensional affine subspace of nn2, and the number of positive entries among the four is odd.

Bent squares whose rows and columns are all of type 1 are easy to count, giving

nn3

such bent squares. However, this family is asymptotically too small for the lower bound sought in (Haugland, 20 Aug 2025). The decisive gain comes from bent squares built only from type 2 rows and columns.

The type 2 condition is especially useful because it separates support geometry from sign geometry. The support must lie on an affine nn4-flat, while the sign pattern must have odd positive parity. The combinatorial construction exploits exactly these two constraints.

4. Signature combinatorics and block construction

The core construction begins with a set nn5 of binary matrices of size

nn6

such that each row and each column contains exactly two nonzero entries. Rows and columns are indexed by elements of nn7.

Two signatures are associated with a matrix in nn8. The vertical signature records, for each row, the XOR of the two column indices where the row has nonzero entries. The horizontal signature records, for each column, the XOR of the two row indices where the column has nonzero entries. These signatures encode the affine-subspace pattern required for type 2 spectra.

Two lemmas are used repeatedly. The first is a Cauchy-style collision bound: if nn9 is any map between finite sets, then there are at least

f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.0

ordered pairs f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.1 with f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.2. The second states that for each matrix in f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.3, there is at least one partition of its nonzero entries into two subsets such that every row and every column contains one entry from each subset. The proof views nonzero entries as vertices of a graph in which two vertices are joined whenever they lie in the same row or the same column; because each row and column has exactly two nonzero entries, the graph is f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.4-regular, hence a disjoint union of even cycles, so it is bipartite (Haugland, 20 Aug 2025).

From here the construction selects four matrices

f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.5

with matched signatures:

  • f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.6 and f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.7 have the same vertical signature;
  • f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.8 and f:F2nF2.f:\mathbb{F}_2^n \to \mathbb{F}_2.9 have the same vertical signature;
  • Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},0 and Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},1 have the same horizontal signature;
  • Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},2 and Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},3 have the same horizontal signature.

These are assembled into the block matrix

Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},4

The signature conditions ensure that in each row and each column, the positions of the four nonzero entries form a Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},5-dimensional affine subspace of Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},6, which is precisely the support pattern required for a type 2 Walsh spectrum. The nonzero entries are then replaced by signs Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},7 so that each row and each column has an odd number of positive entries. The paper explicitly shows that there are at least Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},8 valid sign assignments for each such block pattern.

This construction isolates the support problem in the matrices Wf(y)=xF2n(1)f(x)x,y,W_f(y)=\sum_{x\in \mathbb{F}_2^n} (-1)^{f(x)\oplus \langle x,y\rangle},9 and the sign problem in the bipartite partition from Lemma 2. That separation is what makes a systematic counting argument possible.

5. Counting bent squares and the lower bound on bent functions

Let

x,y\langle x,y\rangle0

with the same count for horizontal signatures. A result of Knuth gives

x,y\langle x,y\rangle1

and the signature count satisfies

x,y\langle x,y\rangle2

The last signature entry is determined by the previous ones because the XOR of all row-signature values must vanish (Haugland, 20 Aug 2025).

The collision lemma is then applied twice. First, there are at least

x,y\langle x,y\rangle3

ordered pairs x,y\langle x,y\rangle4 with the same vertical signature. Second, among these, considering horizontal signatures, there are at least

x,y\langle x,y\rangle5

ordered quadruples x,y\langle x,y\rangle6 satisfying the four signature-matching conditions. Since each such support pattern has at least x,y\langle x,y\rangle7 valid signings, one obtains the explicit inequality

x,y\langle x,y\rangle8

Substituting the asymptotics for x,y\langle x,y\rangle9 and 2n/2×2n/22^{n/2}\times 2^{n/2}00 yields the main theorem: 2n/2×2n/22^{n/2}\times 2^{n/2}01 for every even integer 2n/2×2n/22^{n/2}\times 2^{n/2}02.

The result improves the leading exponential constant in the known lower bounds. Previous bounds had the form

2n/2×2n/22^{n/2}\times 2^{n/2}03

with known values 2n/2×2n/22^{n/2}\times 2^{n/2}04 from earlier work and 2n/2×2n/22^{n/2}\times 2^{n/2}05 via a construction of Baksova and Tarannikov. The bent-square method reaches 2n/2×2n/22^{n/2}\times 2^{n/2}06.

This is a lower-bound theorem, not an exact enumeration. It is obtained by constructing and counting a substantial subclass: bent functions whose associated bent squares have every row and every column of type 2.

6. Significance, limitations, and terminological scope

The bent-square viewpoint translates the global bentness condition on a function in 2n/2×2n/22^{n/2}\times 2^{n/2}07 variables into a local spectral condition on rows and columns of a matrix of dimension 2n/2×2n/22^{n/2}\times 2^{n/2}08. In the language of (Haugland, 20 Aug 2025), it creates a bridge between harmonic or spectral properties of Boolean functions and combinatorial matrix constructions. The paper exploits this bridge through sparse type 2 spectra and a counting argument on block-supported square matrices.

The scope of the result is explicit. It applies for all even integers 2n/2×2n/22^{n/2}\times 2^{n/2}09. It concerns 2n/2×2n/22^{n/2}\times 2^{n/2}10, the total number of bent functions in 2n/2×2n/22^{n/2}\times 2^{n/2}11 variables, but proves the lower bound by counting only a particular subclass arising from bent squares with type 2 rows and columns. The actual number of bent functions may therefore be much larger. The estimate

2n/2×2n/22^{n/2}\times 2^{n/2}12

is also not intended to be optimal; the paper remarks that refinements may improve constants, but are not expected to change the leading asymptotic constant 2n/2×2n/22^{n/2}\times 2^{n/2}13 in

2n/2×2n/22^{n/2}\times 2^{n/2}14

A common source of confusion is terminological. In bent-function theory, bent squares are the Walsh-spectral square matrices described above. In another literature, "bent squares" denotes regular but nonflat squares embedded in 2n/2×2n/22^{n/2}\times 2^{n/2}15, with all four side lengths equal and all four interior angles equal to a common angle 2n/2×2n/22^{n/2}\times 2^{n/2}16; those objects are used to study one-dimensional periodic tilings exhibiting bending, wrinkling, or rolling up (Friedrich et al., 2021). The two notions are unrelated except for the phrase itself.

A second nearby but distinct matrix tradition occurs in the graph-and-design study of bent functions. "Classifying bent functions by their Cayley graphs" introduces square-array objects such as the weight class matrix

2n/2×2n/22^{n/2}\times 2^{n/2}17

and the SDP design incidence matrix

2n/2×2n/22^{n/2}\times 2^{n/2}18

but that paper does not define bent squares in the sense of the row-and-column Walsh-spectrum correspondence (Leopardi, 2017).

Bent squares, in the precise sense of (Haugland, 20 Aug 2025), are therefore best understood as a matrix-theoretic language for bent Boolean functions. Their importance lies not in providing a full structural classification of all bent functions, but in furnishing a rigid and countable subclass whose combinatorics is rich enough to improve the best known asymptotic lower bound on 2n/2×2n/22^{n/2}\times 2^{n/2}19.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (3)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Bent Squares.