Certified Search for Good Mersenne Moduli in 3-Query Locally Decodable Codes

A locally decodable code stores a message so that any single message bit can be recovered by reading only a few positions of the stored word, here three, even after a constant fraction of those positions has been corrupted. The shortest known three-query codes come from number theory. They use integers of the form $2^t - 1$, called Mersenne numbers, that are "good": a certain sparse polynomial over a field with $2^t$ elements must vanish at a prescribed handful of roots of unity without vanishing at 1. Whether a given modulus is good has so far been settled in only two ways. One is hand analysis of group rings and cyclotomic cosets, the sets of exponents closed under doubling modulo $m$. The other is an unguided computer search, which Query-Efficient Locally Decodable Codes of Subexponential Length used to find 50 new good composites of the form $2^t-1=pq$. No one has asked whether the constraint-solving and certificate-producing tools of the logic and verification community can push this search into territory brute force cannot reach. That territory includes larger $t$ and moduli with three or more prime factors.

We propose to recast each "is $m$ good?" question as a structured algebraic satisfiability problem. The plan has three parts. First, shrink the problem by its symmetries, which come from the Frobenius map (squaring in characteristic 2) and from units of $\mathbb{Z}_m$ that preserve the prescribed root set. Second, solve the reduced problem with a meet-in-the-middle algebraic solver. Third, emit a machine-checkable certificate for every verdict: an explicit decoding polynomial when $m$ is good, and an infeasibility proof when it is not. The interdisciplinary-silo direction serves here as the method rather than the subject. The concrete test is whether moving verification-style tooling into a number-theoretic search produces new codes that improved hardware alone does not.

Core Claim

Goodness of a composite Mersenne modulus is a finite, highly symmetric algebraic condition. Our first claim is that symmetry reduction plus algebraic solving decides it for moduli well beyond the practical reach of exhaustive exponent enumeration. Our second claim is that the resulting catalogue, especially good moduli with three prime factors, which Feng et al. did not characterize, gives better query-versus-length trade-offs once fed into the Itoh–Suzuki recursive composition.

A secondary analytic claim is falsifiable. If the vanishing condition behaved like a single random equation over the field with $2^t$ elements, the expected number of solutions for a modulus $m$ would be roughly

$$E(m) \approx \frac{C(m)}{|G(m)|}\, 2^{-t},$$

where $C(m)$ is the number of candidate exponent tuples and $G(m)$ is the symmetry group acting on them. The factor $2^{-t}$ is the probability that a random field element is zero. Bad moduli such as $15$ (proved bad in Corollary 3.26 of Feng et al.) should then be explained entirely by structured coset coincidences, not by chance. A large-scale certified catalogue is exactly the data needed to test this.

Positioning

The constructions this work builds on are the following. Locally Decodable Codes from Nice Subsets of Finite Fields and Prime Factors of Mersenne Numbers showed that Mersenne primes are unnecessary and that a large prime factor of $2^t-1$ suffices. It also proved a partial converse, linking short three-query codes to prime factors larger than current number theory can certify. Its route is analytic. We do not attempt the unconditional prime-factor statement. Instead we produce explicit, verified instances. Feng et al. supply the precise goodness criterion we encode, along with the 50-modulus catalogue and the composed query bounds we aim to improve. Our method departs from theirs in three ways: it replaces enumeration with symmetry-reduced solving, it outputs certificates, and it extends to $m=pqr$.

Two lines of work set limits on what any outcome can mean. Improved Lower Bounds for 3-Query Matching Vector Codes bounds matching-vector families over $\mathbb{Z}_m$ by $K \le m^{(n+2\log(n+1)+2m^2)/(2q)}$, where $q$ is the second-smallest prime factor of $m$. It concludes that codes of this type need length $N > \Omega(K^{6-\delta_K(1)})$. Our codes are matching-vector codes, so they cannot become polynomial in length. Their bound depends on the second prime, however, so for each modulus we discover we can measure how far the realized family sits from the ceiling. In a separate line, Spanoids - an abstraction of spanning structures, and a barrier for LCCs shows that purely combinatorial reasoning about local recovery cannot beat the Katz–Trevisan bound, so any progress must use specific algebraic structure. Our search works entirely inside that algebraic structure, in the spirit their barrier calls for. Combinatorial lower bounds for 3-query LDCs fixes the lower end of the gap at about $k^2/\log k$. Nothing here moves that end.

The tool-transfer motivation comes from Logic and Learning (Dagstuhl Seminar 19361), which documents verification-guided search giving large speedups in other domains, and from the call in Preface to Special Issue: Theory and Applications of Models of Computation (TAMC 2008-2009) to unify number-theoretic structure with computational models. We deliberately do not use generative research agents such as ResearchTown: Simulator of Human Research Community. The research file notes that such agents tend to produce surface-level analogies rather than sound structure, and every verdict in this project must be checkable.

Research Program

The first component is an encoder. For a modulus $m=2^t-1$ with a given factorization, the encoder builds the canonical root set determined by the Chinese remainder structure. It then writes the existence of a decoding polynomial with the required number of terms as a system: a linear system for the coefficients, whose matrix has a vanishing determinant, together with a non-vanishing condition at 1. The unknown exponents range over $\mathbb{Z}_m$.

The second component is the symmetry quotient. Doubling every exponent, which is the Frobenius map, preserves solutions, and so do units of $\mathbb{Z}_m$ that stabilize the root set. We enumerate one representative per orbit, using cyclotomic-coset canonical forms as the indexing scheme.

The third component is the solver itself. A meet-in-the-middle step tabulates partial determinant expansions over one exponent and looks up matching values for the other. This replaces the nested loop with hash lookups. For moduli where the system becomes polynomial in a few field unknowns, we fall back to Gröbner and resultant computations over the extension field.

The fourth component handles certificates. Positive verdicts output the polynomial, which an independent computer-algebra check verifies in milliseconds. Negative verdicts output the orbit enumeration log together with, where available, an algebraic infeasibility witness. The first test of the whole pipeline is regenerating the hand proof that $15$ is bad.

The fifth component plugs certified good moduli into the Itoh–Suzuki composition and recomputes the query bound as a function of recursion depth $r$.

Baselines

The naive reference point is Feng et al.'s method: exhaustive enumeration of exponent tuples for each modulus, reimplemented faithfully and run on the same hardware as our solver. It is the only existing method that decides goodness at scale, so it is the competitor that matters. We give both methods identical CPU-hour budgets per modulus and identical modulus lists. Our method beats it if it fully decides strictly more moduli, or larger $t$, within budget, with matching verdicts wherever both finish.

The strongest existing result is Feng et al.'s published output. That paper reports 50 new good composite Mersenne numbers and composed bounds of $k \le (\sqrt{3})^r$ for even $r<103$, $k \le 8(\sqrt{3})^{r-3}$ for odd $r<103$, and $k<(3/4)^{51}2^r$ for $r>104$. Beating it means two things. First, recovering all 50 with certificates. Second, either finding good moduli outside their catalogue or deriving a strictly smaller composed query bound at some $r$. We found no reported search runtime on Lacuna for the Feng et al. search, so our runtime comparison is against our own reimplementation, not a quoted figure.

Two ablations isolate the key ingredient. One runs symmetry reduction with plain enumeration and no meet-in-the-middle. The other runs meet-in-the-middle without symmetry reduction. If either ablation alone matches the full system, we report that component as the source of the gain. A third reference is an off-the-shelf Gröbner solve of the unreduced system, which represents "just use a general solver."

Why not just…?

Why not just rerun brute force on modern hardware? This is the most serious threat. Hardware has improved a great deal since 2013, and brute force may already reach the moduli we target. The equal-budget comparison in Baselines settles it directly. If brute force decides the same set, we will say the solver adds nothing. The remaining contributions would then be the certificates and the extension to three-factor moduli, where the size of the exponent space grows fastest.

Why not just prove infinitude of good moduli analytically? That is the right long-term goal. Kedlaya and Yekhanin's converse shows, however, that strong enough statements here imply bounds on Mersenne prime factors beyond current analytic number theory. Explicit verified instances are what can be obtained now. The density hypothesis above turns those instances into evidence for or against a conjecture, not just a list.

Why not just hand the system to a general Gröbner or SAT solver? The exponents range up to $m \approx 2^t$, so the polynomial degrees involved are enormous. We expect a general solver to stall without the coset quotient. This expectation is tested as a baseline rather than assumed.

Proposed Experiments

The first experiment is reproduction. We decide every $pq$ modulus in Feng et al.'s range, recover all 50 good numbers and the badness of $15$, and check every certificate independently.

The second is scaling. For increasing $t$ we plot the moduli decided per CPU-hour for the full system, both ablations, and both baselines, and record the largest $t$ that each method decides completely.

The third is extension to three-factor moduli $m=pqr$, reporting each verdict and certificate.

The fourth is code impact. We recompute composed query bounds using the enlarged catalogue and compare them with Feng et al.'s bounds at each $r$. For every good modulus we also compute the gap between the realized family size and the Aggarwal et al. ceiling.

The fifth tests the density law. We compare the predicted $E(m)$ with observed solution counts, and check whether every bad modulus has an identifiable coset obstruction.

The decisive outcome is a certified good modulus, or a strictly better composed bound, that equal-budget brute force cannot produce. Failing that, we will report the clean negative result: the silo transfer bought certificates but not reach.