Introduction
The Erdős Discrepancy Problem (EDP) stood as one of the most intriguing puzzles in combinatorial number theory for over 80 years. While a general proof was eventually provided by Terence Tao in 2015, a 2014 study by Le Bras, Gomes, and Selman marked a critical computational milestone. By leveraging high-performance computing and innovative search heuristics, the authors pushed the boundaries of finite sequences, providing both new lower bounds and a definitive upper bound for completely multiplicative sequences.
The Erdős Discrepancy Problem
The EDP asks whether an infinite sequence of $+1$s and $-1$s can exist such that the partial sums of any homogeneous arithmetic progression (HAP)—sequences of the form $x_d, x_{2d}, x_{3d}, \dots, x_{md}$—remain bounded by a constant $C$. Paul Erdős conjectured that for any sequence and any $C$, the discrepancy will eventually exceed the bound.
Prior to this work, the conjecture was proven for $C \leq 2$. For $C=3$, the longest known sequence was roughly 17,000 elements. The authors focused on Completely Multiplicative Sequences (CMSs), where $x_{a \cdot b} = x_a \cdot x_b$. These sequences are determined entirely by their values at prime indices, offering a structured subset of the problem space.
Methodology: SAT Encoding and Streamlining
The researchers modeled the search for low-discrepancy sequences as a Boolean Satisfiability (SAT) problem. They utilized an automaton-based encoding to monitor the running sums of arithmetic progressions. If a sum exceeded the bound $C$, the solver would prune that branch of the search.
However, the search space for sequences of length $>10^5$ is astronomical. To manage this, the authors introduced "streamlining" — the addition of extra constraints based on structural regularities:
- Multiplicativity: Forcing the sequence to be multiplicative for small integers (
mult). - Walters Patterns: Implementing specific mathematical templates known to maintain low discrepancy (
walters).
As shown in Table 1, streamlining does more than just narrow the search; it significantly improves solver efficiency. While a standard encoding ($EDP_1$) without streamliners required over 770,000 seconds to process a sequence of 13,900 elements, the $EDP_2$ encoding with walters streamliners found a sequence of 127,645 elements in just 4,501 seconds.
Key Results
The study achieved several landmark results:
- Exact Bound for CMS: The authors proved that the maximum length of a CMS with discrepancy 3 is exactly 127,645. They used the solver Plingeling to find the sequence and Lingeling to produce a 335GB UNSAT proof, confirming that no such sequence of length 127,646 exists.
- Scale-up: This represents a 7.5x improvement over the previous record of 17,000.
- Discrepancy 4: By developing inductive construction rules to "stitch" sequences together, they established a new lower bound for $C=4$ at 1,148,805 elements.
Conclusion
The success of this approach highlights the synergy between formal reasoning and number-theoretic insights. While the general conjecture was later solved analytically, this work demonstrated that "streamlining" — adding constraints to a search — can paradoxically make finding solutions to complex combinatorial problems much faster by focusing the solver on highly structured regions of the solution space.
Summary updated