On quadratic residue codes and hyperelliptic curves, revisited

I’ve recently been revisiting older mathematical papers with the help of AI, checking proofs, correcting errors, and looking for conclusions that were not apparent when the papers were written. Years ago I worked on symmetric objects in the theory of error-correcting codes and had the opportunity to teach coding theory at the Naval Academy. But I fell in love with a different topic, symmetric objects in graph theory, and stopped thinking about codes as an object of research. I’m learning to fall back in love with those old objects again.

For quadratic residue codes, the relationship with hyperelliptic curves gives a good example of how one topic can connect with a totally different one – the unity of mathematics. The connection comes from curves of the form

X_S:\quad y^2=\prod_{a\in S}(x-a),

where S is a nonempty subset of the finite field \mathbb{F}_p. Remarkably, the number of rational points on these curves is closely related to the weights of codewords in certain binary linear codes, called quasi-quadratic residue (QQR) codes. This means that a problem about constructing good codes can be translated into a problem about counting solutions to polynomial equations.

About 20 years ago I wrote a paper, “On quadratic residue codes and hyperelliptic curves” (published in Discrete Mathematics & Theoretical Computer Science 10 (2008), pdf here) to dive into that topic more. I had more questions than answers. Recall Goppa’s conjecture is that the binary asymptotic Gilbert-Varshamov bound is best possible for any family of binary codes. The asymptotic GV bound states that the rate R=dim(C)/length(C) of any binary linear block code C is greater than or equal to 1-H(\delta), where H(\delta)=\delta-\delta\log_2(\delta)-(1-\delta)\log_2(1-\delta). A refinement of the Bazzi-Mitter conjecture is given below and is still open.

Conjecture. There is a constant c < 2 such that |X_s(\mathbb{F}_p)| \leq cp for infinitely many primes p ≡ ±3 (mod 8).
(a) This is equivalent to: the quaternary quadratic residue codes of length p have minimum distance \geq \delta p for some fixed \delta > 0, for infinitely many such p.
(b) If it holds with c < 2(1 - H^{-1}(1/2)) (which is about 1.779), then Goppa’s conjecture is false.

Now, 20 years later, I’d like to know what AI thinks of the questions and conjectures in that paper. The result is the AI-aided updated and revised version (2026 pdf here), all my questions were answered by Claude but the conjectures remain open.

Conjectural permutation decoding of some AG codes, revisited

In a related paper, “Conjectural permutation decoding of some AG codes” (ACM SIGSAM Bull. 39(1) (2005)26–32, pdf here), I tried to exploit the large automorphism group of the hyperelliptic curve y^2=x^p-x over a finite field to construct good decoding methods for the associated Goppa code. The basic idea is that by permuting the coordinates of a received codeword message, with possible errors in transmission, to permute its error coordinates out of a chosen information set, making decoding simpler.

Open Question: How many errors can a given automorphism group guarantee to correct by permutation decoding, and how does the answer depend on the information set?

The original paper had two conjectures that addressed the above open question. (The conjectures are technical to state but see the original paper for details.) When I asked AI to referee this paper, ChatGPT and Claude showed both conjectures were false and provided specific counterexamples. They also corrected some sloppy writing on my part and the AI-aided revised paper is much better (pdf here). Again, it was a pleasure using one to referee the other while I was able to add or subtract material to improve readability and correctness. For more details, see the github README for that repo.

On the unitary dual of the metaplectic cover of SL(2), revisited

Over 25 years ago, I wrote a paper on the unitary dual of the n-fold metaplectic cover of SL(2,F), over a p-adic field (pdf of original), under some assumptions (such as p>2 and p does not divide n). It was mostly expository and never published, but I referenced it in other works. Although it boasted the overly pretentious title above, it does not give a full description of the unitary dual for arbitrary covering degree and wild residue characteristic.

I asked AI agents Argon-Gemini and Sol-ChatGPT to look it over and suggest corrections, each acting as referees. They found several errors, some serious, but they easily corrected them all. In addition, the paper was revised for readability, adding a literature review and glossary.

The AI-aided corrected version is available (pdf here) and here is an AI-generated summary:

This manuscript studies genuine representations of the n-fold metaplectic cover \widetilde{G} of G=\mathrm{SL}(2,F), where F is a nonarchimedean local field containing the nth roots of unity. The central complication is that the inverse image of the diagonal torus can be nonabelian. This affects its irreducible representations, orbital integrals, and principal-series characters.

Four main results

  1. Representations of the covering torus. Write \widetilde{A} for the covering torus, Z_A for its center, and d=n/\gcd(n,2). In the tame setting, each genuine character \lambda of Z_A determines a unique irreducible genuine representation \chi_\lambda of \widetilde{A}, of dimension d. Its character satisfies \rm{tr}\chi_\lambda(a)=d\lambda(a) for a\in Z_A, and \rm{tr}\chi_\lambda(a)=0 for a\notin Z_A. Thus the trace vanishes away from the center of the covering torus.
  2. Split orbital integrals. The corrected construction uses a subgroup that actually centralizes the element being integrated. For residue characteristic prime to 2n, the normalized split orbital-integral transform maps genuine compactly supported test functions onto the compactly supported, genuine, Weyl-invariant locally constant functions on Z_A.
  3. Principal-series character formula. For \Pi=\rm{Ind}_{\widetilde B}^{\widetilde G}(\chi\otimes\delta_B^{1/2}), the character on regular split elements is \Theta_\Pi(a)=\frac{\rm{tr}\chi(a)+\rm{tr}\chi^{\widetilde w}(a)}{|D(a)|^{1/2}}. The second term involves Weyl conjugation, not naive inversion. This distinction is essential for the character to transform correctly under the central roots of unity.
  4. A restricted character transfer. Suppose \gcd(p,2n)=1 and either n is odd or 4\mid n. A power map \nu(h(t))=(h(t^d),1) gives an ordinary torus character \eta_\lambda=\lambda\circ\nu. For test functions with matching normalized split orbital integrals, the corrected paper proves \rm{tr}\Pi(\chi_\lambda)(\bar f)=\rm{tr}\rm{Ind}_{B}^{G}(\eta_\lambda\delta_B^{1/2})(f). It also establishes the existence of a split-matching function f for each genuine test function \bar f on the cover.

What remains unresolved?

Despite its title, the revised paper does not claim a complete classification of the genuine unitary dual. It surveys known complementary-series and supercuspidal results, but does not establish a uniform complementary-series theorem in arbitrary degree. Nor does the transfer theorem cover n\equiv2\pmod4 (including the double cover), elliptic orbital integrals, or a full correspondence of all admissible representations.

The revision therefore identifies a precise, provable core of the original project while making clear where further work is needed.