The generalized trifference problem
Anurag Bishnoi, Bartłomiej Kielak, Benedek Kovács, Zoltán Lóránt Nagy, Gábor Somlai, Máté Vizer, Zeyu Zheng
TL;DR
This work generalizes the classical trifference problem to the $m$-trifferent setting over a ternary alphabet, defining $T(n,m)$ as the maximum size of a code in $\{0,1,2\}^n$ with at least $m$ triffering coordinates among every triple. It proves a phase transition near $m \approx \frac{2}{9}n$ and develops tight upper and lower bounds across regimes, including a refined bound for large $m$. The paper also studies the linear version, establishing an equivalence with $m$-minimal codes and strong blocking sets in finite geometry, and provides both upper and lower bounds for $T_L(n,m)$ along with explicit constructions and computational results. It connects these combinatorial questions to the sunflower conjecture, showing structural implications via $F(C)$ and sunflower-free families, and discusses explicit constructions via expander graphs. Overall, the results advance understanding of how $m$-trifference scales with $n$, offer practical bounds and constructions, and reveal deep links to finite geometry and extremal set theory.
Abstract
We study the problem of finding the largest number $T(n, m)$ of ternary vectors of length $n$ such that for any three distinct vectors there are at least $m$ coordinates where they pairwise differ. For $m = 1$, this is the classical trifference problem which is wide open. We prove upper and lower bounds on $T(n, m)$ for various ranges of the parameter $m$ and determine the phase transition threshold on $m=m(n)$ where $T(n, m)$ jumps from constant to exponential in $n$. By relating the linear version of this problem to a problem on blocking sets in finite geometry, we give explicit constructions and probabilistic lower bounds. We also compute the exact values of this function and its linear variation for small parameters.
