Abstract
The trifference problem is a fundamental challenge in combinatorics and information theory, concerning the maximum size $T(n)$ of a code where any three distinct codewords possess at least one coordinate containing three distinct symbols. For decades, the best-known upper bounds for $T(n)$ remained purely exponential, scaling at approximately $(3/2)^n$. This paper presents a significant breakthrough by establishing the first upper bound that improves upon this exponential limit by a polynomial factor. By mapping the problem to extremal graph theory and utilizing the Kővári–Sós–Turán (KST) theorem, the authors demonstrate that $T(n) \leq c \cdot n^{-2/5} \cdot (3/2)^n$.
Introduction
The trifference problem asks for the maximum possible size $T(n)$ of a "trifferent code" of length $n$. A code is defined as trifferent if it consists of strings (codewords) over the alphabet $\{0, 1, 2\}$ such that for any three distinct codewords, there exists at least one position where all three codewords have different symbols. For example, in a trifferent code, any selection of three strings must contain a column featuring a '0', a '1', and a '2'.
This problem is not merely a combinatorial puzzle; it is deeply intertwined with several key areas of theoretical computer science and information theory:
- Perfect Hash Codes: Trifferent codes represent the $q=3$ case of $q$-perfect hash codes.
- Information Theory: Determining the growth rate of $T(n)$ is equivalent to finding the zero-error capacity of the "(3/2)-channel," a problem originally posed by Peter Elias in 1988.
Despite its importance, progress on the upper bound of $T(n)$ has been stagnant for over thirty years. Previous bounds, such as those by Elias (1988) and Kurz (2023), were of the form $0.6937 \cdot (1.5)^n$. While these works refined the constant pre-factor, they failed to show that the size grows strictly slower than the pure exponential $(1.5)^n$.
Methodology
The authors depart from traditional iterative "pruning" techniques, instead leveraging tools from extremal combinatorics and graph theory. The proof strategy follows a three-step reduction:
1. Reduction to $r$-bounded Codes
The researchers introduce the concept of an "$r$-bounded trifferent code," where every codeword contains the symbol '2' exactly $r$ times. They prove a critical lemma: if one can bound the size of these restricted codes ($T_b(n, r)$), those bounds can be translated into a bound for the general code $T(n)$.
2. Graph Construction
To analyze the $r$-bounded case, specifically for $r=2$ and $r=3$, the authors construct a graph where the vertices represent the $n$ coordinates of the codewords. In the $r=2$ case, each codeword (containing exactly two '2's) is mapped to an edge between the two coordinates where the '2's are located. This transforms the coding problem into a question about the density of edges in a graph.
3. Forbidden Subgraphs and the KST Theorem
The core of the proof lies in identifying forbidden structures within these graphs. The authors prove that an $r=2$ trifferent code cannot contain a $K_{3,9}$ (a complete bipartite graph with 3 nodes on one side and 9 on the other) without violating the trifferent property. By applying the Kővári–Sós–Turán (KST) theorem—a classic result in extremal graph theory that limits the number of edges in a graph that avoids specific subgraphs—they derive a new constraint on the code's size.
Key Insights and Results
The primary contribution of this work is the proof that the density of trifferent codes must decay polynomially as $n$ increases. The main theorem states:
$$T(n) \leq c \cdot n^{-2/5} \cdot (3/2)^n$$
where $c$ is a constant. This is the first result to introduce the $n^{-2/5}$ term, proving that as $n$ grows large, the code size becomes significantly smaller than previous exponential estimates suggested.
Additional insights include:
- The Power of Restriction: Focusing on fixed-weight codewords (fixed number of '2's) allowed the researchers to simplify a high-dimensional problem into a 2D graph ($r=2$) or hypergraph ($r=3$) problem.
- Lower Bounds for Bounded Codes: Using point-line incidences in finite geometry, the authors also established new lower bounds for bounded codes, showing that for $r=3$, $T_b(n, 3) \geq c_1 \cdot n^{3/2}$.
Conclusion and Future Work
While this paper represents a major theoretical advancement, a substantial gap remains between this new upper bound and the best-known lower bounds, which grow at a rate of approximately $(1.15)^n$.
The authors identify several avenues for future research, most notably the behavior of the "deficit" parameter $\Delta_r$, which measures polynomial decay. A central open question is whether $\Delta_r$ grows to infinity as $r$ increases; if so, it would imply that trifferent codes are even smaller than currently proven. Further investigation into the exact deficit values for small $r$ (e.g., whether the deficit for $r=2$ is exactly $1/2$) could lead to even more refined bounds for the capacity of the (3/2)-channel.
Summary updated