Testing CCZ-equivalence to permutations via projections of Walsh zero spaces, with applications to APN functions
This paper introduces an exact, efficient test for determining whether APN functions are CCZ-equivalent to permutations by reconstructing complementary subspaces from Walsh transform projections, a method that significantly outperforms existing tools and resolves the CCZ-equivalence status of specific APN function families in even dimensions up to 24.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the author. For technical accuracy, refer to the original paper. Read full disclaimer
In the hidden architecture of modern digital security, there exists a class of mathematical objects known as almost perfect nonlinear functions. These are not physical devices, but rather intricate rules for transforming data that are exceptionally good at resisting a specific type of cyberattack called differential cryptanalysis. Imagine a lock where, if you try to wiggle the key just a tiny bit, the mechanism inside does not react in a predictable pattern; instead, the output changes in a way that is nearly impossible to reverse-engineer. This resistance is vital for protecting everything from bank transactions to private messages. For decades, mathematicians have known how to build these robust locks in certain sizes, but a stubborn mystery has persisted in even-sized dimensions larger than six. The question, known as the "big APN problem," asks whether it is possible to construct such a perfect, unbreakable lock that is also a perfect shuffle—a one-to-one mapping where every input has a unique output and no information is lost. While such shuffles are common in smaller or odd-sized systems, no one has ever found one in the even-sized dimensions that matter most for modern computing, leading many to suspect they might not exist at all.
The search for these elusive objects has led researchers to explore a vast landscape of mathematical functions, looking for ones that are not perfect shuffles themselves but can be transformed into one through a specific type of mathematical rearrangement. This transformation, known as CCZ-equivalence, is the key to the mystery. If a function can be reshaped into a perfect shuffle, it is considered equivalent to one, and thus a potential candidate for the perfect lock. The challenge lies in determining whether a given function can be reshaped in this way. For years, researchers relied on a set of necessary conditions—rules that any such function must satisfy. However, these rules were like a sieve with holes: they could filter out many impossible candidates, but they could not definitively prove that a function that passed the test was actually a perfect shuffle in disguise. Many functions would pass the initial screening, leaving mathematicians stuck in a state of uncertainty, unable to say whether the perfect shuffle was hiding just beneath the surface or if the function was fundamentally different.
Emanuele Bellini, a researcher at the Technology Innovation Institute, has now developed a precise method to cut through this uncertainty. Instead of relying on the incomplete sieve, Bellini created a new test that acts like a high-resolution scanner, capable of seeing the exact structure of the mathematical space where these functions live. This new approach, called the projection test, works by examining the "zeros" of a function's Walsh transform—a complex map that reveals the hidden symmetries and properties of the data. The test looks for two specific, non-overlapping geometric shapes within this map. If these shapes exist and fit together perfectly, the function can be reshaped into a perfect shuffle. If they do not, the function is definitively not a candidate. The brilliance of this method lies in its efficiency. By breaking the problem down into smaller, manageable pieces, the test can solve questions that previously took hours or days to answer in a fraction of a second. In tests on functions of a specific size, this new method was found to be dozens of times faster than the standard tools used by the community, allowing for a much deeper and more thorough exploration of the mathematical landscape.
Using this powerful new tool, Bellini turned his attention to a famous family of functions that had long been suspected of being the key to the big APN problem. These functions, which involve a specific combination of cubic and trace operations, had been proven not to be perfect shuffles in some dimensions, but their status in others remained a mystery. The new test was applied to these functions across a range of even dimensions, from six up to twenty-four. The results were decisive. In every single case examined, the test confirmed that these functions could not be reshaped into a perfect shuffle. This included a particularly difficult case in dimension eighteen, where previous methods had failed to reach a conclusion. The new test not only solved this specific case but also provided strong evidence for a broader conjecture: that this entire family of functions is incapable of becoming a perfect shuffle in any even dimension. The findings suggest that the search for the perfect lock in these dimensions must look elsewhere, as these promising candidates have been definitively ruled out.
The investigation did not stop with this single family. Bellini also compiled and tested a comprehensive collection of twenty-five distinct classes of quadratic functions in dimension ten, a size that is particularly relevant for modern cryptography. These classes represent the most well-known and studied examples of the type of functions that could potentially hide a perfect shuffle. By applying the projection test to every single instance in this collection, and even exploring the "switching closure"—a process that generates new functions by making small, controlled changes to the originals—the study found no evidence of a perfect shuffle. Every function tested, whether it was a known example or a newly generated variation, failed the test. The results indicate that in dimension ten, the landscape of quadratic functions is barren of the perfect shuffles researchers are seeking. This conclusion is not merely a negative result; it is a significant step in mapping the boundaries of what is mathem possible, narrowing the search for the big APN problem to the few remaining, unexplored territories.
Beyond the specific functions tested, the paper also revisited the behavior of the inverse function, a well-known mathematical object that is close to being a perfect shuffle but falls just short. In even dimensions, this function fails the strict requirements of a perfect shuffle in a very regular and predictable way, failing only on specific, small geometric structures. The study explored whether simply swapping two entries in the function's lookup table could fix this flaw. The answer was a definitive no. No matter which two entries were swapped, the function never became any closer to being a perfect shuffle; in fact, most swaps made it worse. This finding reinforces the idea that the gap between these near-perfect functions and the elusive perfect shuffles is not a small, easily bridged gap, but a fundamental structural divide. The research also examined several other structured families of permutations, such as those based on butterfly patterns and cyclotomic maps, finding that none of them contained a function closer to the ideal than the inverse function itself.
The implications of this work extend beyond the immediate results. The new projection test provides a reliable and efficient way to verify whether a function can be transformed into a perfect shuffle, a capability that was previously lacking for many important cases. This tool allows researchers to move past the limitations of older, incomplete methods and make definitive statements about the nature of these mathematical objects. While the big APN problem remains unsolved, this study has cleared a significant portion of the field, ruling out entire families of candidates and confirming that the search must continue in more complex and less structured directions. The work serves as a reminder that in the realm of cryptography, the absence of an object is often as important as its presence, as it helps define the limits of what can be securely constructed. By providing a clear map of where the perfect shuffles are not, the research brings the mathematical community one step closer to understanding where they might be found, or perhaps, confirming that they do not exist at all in the dimensions that matter most.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.