Improved Upper Bound for the Size of a Trifferent Code
Siddharth Bhandari, Abhishek Khetan
TL;DR
The paper advances the trifference problem by improving the upper bound on the largest trifferent code size $T(n)$ from the classical $2\times (3/2)^n$ to $T(n)\le c\times n^{-2/5}\times (3/2)^n$, tying the bound to the study of $r$-bounded trifferent codes and their densities. It introduces $T_b(n,r)$ and the density $\rho_b(n,r)$, and derives new upper bounds for small $r$ using a graph-theoretic approach and the Kővári--Sós--Turán theorem, leading to $\rho_b(n,3)\le c\times n^{-2/5}\times 2^{-n}$ and, consequently, the main $T(n)$ bound. Additionally, the work provides lower-bound constructions and growth analyses for $r$-bounded codes, including exact results for $r=1$ and recursive constructions for powers of $3$, and introduces the deficit function $\Delta_r$ to understand asymptotics as $r$ grows. These contributions shed light on the zero-error capacity of the $(3/2)$-channel and lay groundwork for potential refinements for larger $q$ and tighter asymptotics.
Abstract
A subset $\mathcal{C}\subseteq\{0,1,2\}^n$ is said to be a $\textit{trifferent}$ code (of block length $n$) if for every three distinct codewords $x,y, z \in \mathcal{C}$, there is a coordinate $i\in \{1,2,\ldots,n\}$ where they all differ, that is, $\{x(i),y(i),z(i)\}$ is same as $\{0,1,2\}$. Let $T(n)$ denote the size of the largest trifferent code of block length $n$. Understanding the asymptotic behavior of $T(n)$ is closely related to determining the zero-error capacity of the $(3/2)$-channel defined by Elias'88, and is a long-standing open problem in the area. Elias had shown that $T(n)\leq 2\times (3/2)^n$ and prior to our work the best upper bound was $T(n)\leq 0.6937 \times (3/2)^n$ due to Kurz'23. We improve this bound to $T(n)\leq c \times n^{-2/5}\times (3/2)^n$ where $c$ is an absolute constant.
