Notes on binary quadratic forms, revisited

Back in the early 2000s, a student of mine was writing a thesis on binary quadratic forms. To force myself to learn enough about the subject to hold up my end of our thesis discussions, I wrote a set of elementary expository notes in 2004 (originally using SageMath, now updated using pure Python) mapping out the computational dictionary between indefinite integral binary quadratic forms f(x,y) = ax^2 + bxy + cy^2, ideals in real quadratic fields, and simple continued fractions.

Over twenty years later, I have returned to those notes with the help of AI. With the help of ChatGPT (mostly, but also with the help of Gemini and Claude), I’ve completed a corrected, substantially expanded rewrite: Notes on indefinite integral binary quadratic forms with Python. For more details on the AI usage, please see the Acknowledgment section at the end of the paper. The LaTeX source, PDF, and companion standard-library Python scripts are all available on GitHub at wdjoyner/alg-graph-thry/tree/main/quad-forms.

The original goal was to clarify the classical three-way correspondence for positive nonsquare discriminants D \equiv 1 \pmod 4—paying careful attention to leading-coefficient signs, orientation, and the distinction between the ordinary class group C(R) and the narrow class group C^+(R). In this new edition, all computations have been rewritten in pure standard-library Python (no external computer algebra system required), and a fourth, combinatorial viewpoint has been added: finite directed reduction graphs.

For a fixed discriminant D, the primitive reduced forms serve as the vertices of a finite directed graph G_D, with edges f \to \rho(f) given by the right-neighbor reduction step. Every component is a directed cycle corresponding to a narrow ideal class. Using D = 1353 as a running example, exact enumeration produces 64 reduced forms partitioned into four directed cycles of lengths 12, 12, 20, 20, giving C^+(R) \cong C_2 \times C_2 and C(R) \cong C_2. Assigning logarithmic edge weights \log x_{i+1} in the continued-fraction direction \rho^{-1} turns the principal cycle into a metric circle whose circumference recovers the positive-norm regulator \log \epsilon_+.

Exploring G_D through algebraic graph theory led to several new sections and results:

  • Equivariant twisted traces and genus theory: Let P_D be the permutation matrix of the reduction map \rho on G_D. While the ordinary permutation spectrum of P_D only records cycle lengths, twisting P_D by the sign-change involution \tau(a,b,c) = (-a,b,-c) and the reflection r(a,b,c) = (c,b,a) yields exact trace formulas. In particular, \rm{tr}(\Sigma_D P_D) = 2n_2 counts the 2-torsion of C^+(R), while \rm{tr}(\Theta_D \Sigma_D) = 2n_U counts classes squaring to U = [\sqrt{D}R]—which we show equals twice the number of primitive representations D = b^2 + 4a^2 with a,b > 0. For fundamental discriminants, both counts recover classical genus theory.
  • Isospectral reduction graphs: At D = 165 and D = 221, the unweighted directed reduction graphs are isomorphic—both have cycle lengths 2, 2, 4, 4 and characteristic polynomial (t^2 - 1)^2(t^4 - 1)^2—yet their narrow class groups are C_2 \times C_2 and C_4, respectively. The twisted traces immediately tell them apart.
  • Harmonic morphisms between nested orders: The “nested orders” in the title is shorthand for morphisms between the reduction graphs associated with nested orders. Specifically, an order R_m is associated with the finite directed graph G_{m^2 D_0} whose vertices are the primitive reduced quadratic forms of discriminant m^2 D_0—or equivalently, via the form–ideal dictionary, the oriented reduced invertible fractional R_m-ideals—with directed edges f \to \rho(f) given by the right-neighbor reduction step. Its connected components are finite directed cycles in bijection with the narrow class group C^+(R_m).Comparing the order of conductor 3 (D = 153, two 8-cycles) with the maximal order (D = 17, one 6-cycle) shows that ideal extension need not lift to a successor-preserving map of directed reduction graphs, since 6 \nmid 8. However, passing to the weighted metric circles and subdividing yields a degree-2 covering—and hence a harmonic morphism of graphs.
  • Further directions: The paper concludes with open questions on character-twisted dynamical zeta functions Z_D(u, \chi), entropy and moment statistics of logarithmic edge weights, and 4-rank invariants.

Everything can be reproduced out of the box by cloning the repository and running python3 verify_quadratic_forms.py and python3 research_quadratic_forms.py in the quad-forms/scripts directory. Feedback, comments, and pointers to related literature are very welcome!

On the metaplectic trace formula for SL(2), revisited

With the assistance of AI, I have recently revisited two unpublished manuscripts of mine from 1995 concerning the metaplectic double cover of SL(2). In the course of the work in the 1990s, I remember talking to a number of much much smarter people about the topic and they advised me that trying to use the Langlands program to match SL(2) with \overline{SL(2)} was not going to work. Basically, I spoke with everyone I met who would talk to me about it (for example, Dan Bump helped me understand a lot of the theory). They were right, and I suspected they were, but I wanted to know why they were right and what would go wrong if I tried to make this naive correspondence SL(2)\leftrightarrow \overline{SL(2)} work. Basically, I wrote a lot about it (almost all unpublished, fortunately) but couldn’t be confident in the details so eventually gave it up. In the present, powerful enough AI have emerged that enable retired mathematicians like me to revisit the mathematical loves of their youth:-). Therefore, thanks to AI (mostly Claude, but with important refereeing work by ChatGPT and Gemini), the resulting AI-assisted papers are considerably expanded and corrected versions of the 30-year old original manuscripts.

  • A hitch-hiker’s guide to the metaplectic trace formula for SL(2): basic theory (revised). This expository monograph develops explicit versions of Arthur’s non-invariant and invariant trace formulas for the metaplectic double cover of SL(2) over a number field. Particular attention is given to weighted orbital integrals, intertwining operators, the residual spectrum, invariant distributions, and stable conjugacy. It also takes several steps toward stabilization, drawing on the general theory developed by Wen-Wei Li.
  • Direct comparison of SL(2) with its metaplectic cover. This expository paper investigates whether the trace formulas of SL(2) and its double cover can be compared directly to obtain a correspondence between their cuspidal automorphic representations.

The second paper arrives at a particularly interesting negative result. Although the direct comparison works locally on the split torus and gives an isomorphism of spherical Hecke algebras, it fails globally. The obstruction can be expressed remarkably simply in terms of unramified Satake parameters:

  • The direct correspondence matches t = ±t′.
  • The Shimura–Waldspurger correspondence, followed by restriction to SL(2), gives t = (t′)².

This discrepancy is not merely a matter of normalization. It manifests itself on both the geometric and spectral sides of the trace formula, including a striking interchange of stable and unstable orbital integrals near the central element −1.

Together, I hope these two expository works help explain why PGL(2), rather than SL(2), is the natural linear partner of the metaplectic double cover in the theory of automorphic correspondences. The original motivation was to approach multiplicity one for SL(2) through trace formula comparison. Although Ramakrishnan proved multiplicity one by a different method (Annals of Mathematics, Vol. 152, 2000), understanding precisely why the original approach fails turned out to be an interesting mathematical adventure in its own right, for me at least.

Both manuscripts, together with their LaTeX sources and accompanying computational verification scripts, are freely available in my trace-formulas GitHub repository. That repo also has revision logs that go into more detail as to exactly how AI was used on these projects.

Notes on the inflation-restriction sequence, revisited

In the 1990s I was fascinated by the Langlands program and wrote a lot about it but (fortunately) not much of it got published. One paper that was particularly important was Langlands’ 1968 Yale manuscript (Representations of abelian algebraic groups, later published in the Pac. J. Math, 1997, and is available at the Institute for Advanced Study website) . Indeed this was the first written document where admissible homomorphisms of the Weil group into the L-group up to \widehat{G}-conjugacy (the prototype of what are now called Langlands parameters) were formally defined and used to parametrize representations.

Many papers I wrote then (and now) were simply expository, intended to help me teach myself the material. For example, my notes on the inflation-restriction sequence were of this type of paper, undated but written in the 1990s. (You need to understand group cohomology to understand Langlands’ paper.) I asked AI to look at my notes and correct it, if needed, then add details and examples to make it more readable. Blame my co-author Claude for this title (better than “Notes on …” I guess:-), as well as the surprising (to me) connection with voltage graphs exaplained in the paper.

Inflation-restriction in non-abelian cohomology: centralizer obstructions, Weil groups, and voltage graphs.

It’s still expository, but much better written. Hope it helps someone! It’s available here: pdf, 58 pages.

Supercuspidal representations of the metaplectic cover of p-adic SL(2), revisited

Around 1999, I published a paper in Archiv fur Math., “A correspondence for the supercuspidal representations of the metaplectic cover of SL(2, F), 𝐹 𝑝-adic”. I can’t find the latex source, but i did find some older notes and asked AI to look at them and fix errors it could find, make the paper more readable, but also rewrite it from a different, more geometric, perspective. The result is the AI-aided paper “Characters of supercuspidal representations of tame metaplectic covers of SL(2,𝐹): a Bruhat–Tits tree approach”.

This AI-aided paper merges, corrects, and expands two sets of notes of mine originally written in 1996 and around 2000. Thanks to this collaborative project, we can now give a unified geometric comparison between supercuspidal characters of G = \mathrm{SL}_2(F) and genuine supercuspidal characters of a tame n-fold central cover \widetilde{G} over a p-adic field F (p odd, p \nmid n).

Key results of the paper include:

  • Cocycle-Free Vertex Splittings: Every tame cover splits in a unique way over each vertex stabilizer of the Bruhat–Tits tree, expressing characters of compactly induced representations at regular elliptic elements as finite sums over fixed vertices weighted by ratios of vertex splittings.
  • A Single Governing Invariant: On regular elliptic elements, those splitting weights are controlled by a single sign \epsilon = \pm 1 comparing the canonical lifts of -I at adjacent vertex types—meaning genuine and ordinary characters agree up to a power of \epsilon that can appear only near -I.
  • Unification Across All Tame Degrees: For the n-fold Kubota cover defined via the n-th Hilbert symbol, \epsilon = -1 precisely when (q-1)/n is odd (where q is the residue cardinality), recovering earlier results for odd n (\epsilon = +1) and n = 2 (q \equiv 3 \pmod 4) while extending the theory to even degrees n \ge 4.
  • Depth-Zero Formulas & Power Relations: For generic depth-zero supercuspidals on unramified elliptic tori, the paper derives closed character formulas, signed two-type packet cancellations, and an n-th power character relation when n is odd, while showing why the kernel \{\pm I\} blocks such a reparameterization for even n.

The draft also features worked numerical tables over $\latex mathbb{Q}_7$ and \mathbb{Q}_5, a glossary bridging p-adic representation theory and tree geometry, and references to an accompanying Python verification script (tame_cover_check.py). Read the full PDF on GitHub: character_relations_tame_covers.pdf.

Kittens, MOGs, and mathematical blackjack, revisited

What do sporadic simple groups, error-correcting codes, kittens, and a mathematical variation of blackjack have in common?

I’ve recently revisited and substantially expanded some expository notes I originally wrote in 2000. The revised paper, Kittens, MOGs, and mathematical blackjack, explores the connections between the Mathieu groups, the Witt designs, Curtis’s kitten, the Miracle Octad Generator (MOG), Conway’s MINIMOG, and mathematical blackjack.

With assistance from ChatGPT and Claude (and Gemini-Carbon for the reviewing and refereeing), the revised version includes expanded mathematical background, additional illustrations, worked examples, a literature review, a glossary (including Curtis’ Kitten of the title), and standalone Python code.

Many thanks to Ann Casey for numerous helpful conversations on the topic.

Read the revised paper (PDF) (Kittens, MOGs, and mathematical blackjack, 2026)

LaTeX source and accompanying materials

Animations help explain the ideas more visually. The 4 part series Kittens, MOGs, and Mathematical Blackjack: Four adventures in finite geometry is a story involving 4 cats told as a mathematical mystery. Episode 1 poses it: in a twelve-card game, why do two hands with totals as different as 21 and 45 both lose? Each later episode uncovers part of the answer, and Episode 4 solves it. Why use cats to explain it? One of the combinatorial objects introduced in the videos is called Curtis’ kitten (named after the comabinatorialist R. T. Curtis). Ha, ha:-)

Those were created using Python scripts (calling pam and manim) and json screenplays, thanks mostly to Claude (but some help from Gemini and ChatGPT).

The next one was started in ChatGPT Codex but had some hemp from Gemini. It more-or-less goes over the same material as in the above 4 videos, but in a different way.

Two earlier posts on this blog discuss related topics:

Comments, corrections, and suggestions are welcome!

On the adjoint lifting for PGL(3), revisited

In the 1980s I tried to understand aspects of the Langlands program for small rank groups, such as the twisted adjoint lifting map that relates automorphic representations on SL(2) with those on GL(3). With the help of AI, I’m trying to rewrite these older papers in a hopefully new and more understandable way. Over three decades ago, I wrote”On twisted orbital integral identities for PGL(3) over a p-adic field”, which appeared in the Canadian Journal of Mathematics (1990), and now wish to re-examine it from a more geometric perspective.

The original 1990 article grew out of the local theory of the symmetric-square (adjoint) lift, studying twisted orbital integrals for the outer involution of PGL_3 and comparing them against ordinary orbital integrals on its two endoscopic groups, SL(2) and PGL_2. Building on the Jacquet–Shalika norm map and unpublished notes of Robert Langlands, the 1990 paper established the unit-element comparison in the spherical Hecke algebra for the second endoscopic group.

Jointly drafted as an AI-aided working paper with ChatGPT (OpenAI), this new version (click here for pdf) retains the historical reductions while re-examining the underlying numerical identities through concrete Bruhat–Tits geometry, finite incidence structures, and generating functions.

A dedicated “To Do” section catalogs the remaining verification obligations needed for a fully self-contained proof of the signed fundamental lemma—most notably auditing the signed transfer-factor normalization against the Kottwitz–Shelstad framework, constructing a weight-preserving pairing for characteristic-leaf correction terms, and filling in boundary valuation checks in the ramified case.

Hitch-hiker’s guides to invariant distributions for SL(2) and metaplectic covers, revisited

Back in 1994, I wrote a pair of unpublished expository papers to teach myself invariant harmonic analysis and character theory in the rank-one p-adic setting: one for the linear group \mathrm{SL}_2(F) (dated November, 1994) and one for n-fold metaplectic covers of \mathrm{SL}(2,F) (dated January, 1994). My goal was to guide the reader (me) on a hike through orbital integrals, reducible principal series, and trace Paley-Wiener theorems. These were topics that fascinated me then and still do now. However, the mathematics is very very technical and even in the SL(2) case I had a hard time mastering the details. Both papers mixed concrete calculations with conjectural Fourier-image statements, and incomplete arguments I hoped to fill in later.

More than thirty years later (but who’s counting:-), AI workflows have made it practical to revisit, correct, and expand both papers. AI usage involved Gemini (Argon), ChatGPT (Sol), and Claude (Fable), asking them to cross-referee drafts, check normalizations, incorporate post-1994 literature, write concrete examples, and program then run Python verification scripts. This produced two much improved 2026 revisions:

They both have literature reviews, a detailed glossary, and have been refereed (by AI agents, and myself) several times. Hopefully, the examples and extra details do a good job (at least, far better than the originals!) communicating this interesting but technical topic to others. A few open problems are mentioned at the end of the paper for those researchers who want to pursue the topics further.

Representations and codes from toric varieties, revisited

Around the time of the 2002 preprint Notes on toric varieties (written with Helen Verrill, later published as Computing with toric varieties, published in Journal of Symbolic Computation, May 2007), I also wrote some unpublished notes on toric varieties and group representations and Toric codes over finite fields (later published in AAECC in 2004).

Using AI (mostly claude and chatgpt, tag-teaming as referees and then handing that off to the other AI agent for drafting and double checking, for several rounds), I’ve recently completed substantially revised and expanded versions of two older papers on toric geometry. Both are now much more readable, with additional background, worked examples, literature reviews, expanded glossaries, and open problems that may interest researchers in algebra, combinatorics, and graph theory.

Representations of Finite Groups on the Riemann–Roch Space of a Toric Variety (link to revised paper pdf)

Originally written in 2002 but never published, this paper studies how finite groups act on Riemann–Roch spaces of toric varieties. The corrected and revised version develops connections with graph theory, lattice-point enumeration, graphic zonotopes, and Johnson graphs.

Among the open questions is whether natural graph adjacency operators can identify the irreducible constituents of these representations, and how much information about a divisor can be recovered from its associated representations.

Toric Codes over Finite Fields (revised paper pdf)

Originally published 2004, this paper constructs error-correcting codes using lattice polygons and toric surfaces over finite fields. The revision includes corrected results, detailed decoding examples, independently verified computations, and new connections with Cayley graphs, tropical geometry, metric graphs, and harmonic morphisms. One particularly interesting example is a code with parameters [49,11,28]_8.

Open problems include finding more effective decoding algorithms, determining its full automorphism group, and investigating whether graph gonality can yield sharper bounds on code parameters.

Which S_m have a complement in S_n?, revisited

I recently went back to revise, verify, and expand two unpublished group theory expository papers from decades ago—one originally drafted in 1997 and the other in 2000—with the help of AI refereeing workflows and Python verification scripts. Although the two notes started from completely different questions, expanding them in 2026 revealed surprising similarities. Both concern how rigid subgroup intersection properties govern induced representations and each gives rise to associated graphs and harmonic morphisms between them.

The first paper, Which S\sb{m} have a complement in S\sb{n}?, began in 1997 with an email from Herbert Kociemba, the author of the well-known Rubik’s Cube solving program. Because a Rubik’s Cube has 12 edges and 8 corners, a solver has to index elements of S\sb{12} and S\sb{8} efficiently. If a group splits as an exact factorization G = HK with H \cap K = 1 (without needing either subgroup to be normal), every element g \in G can be stored as a unique pair of coordinates (h, k). Kociemba asked me whether the standard subgroup S\sb{8} has a complement in S\sb{12}.

It turns out that complements to the standard subgroup S\sb{m} \leq S\sb{n} are rare because a subgroup K \leq S\sb{n} complements S\sb{m} if and only if K acts sharply (n-m)-transitively on \{1, \dots, n\}. Feeding the classical classification of sharply multiply transitive groups into this criterion settles the problem completely:

  • Universal complements: For every n \geq 3, the cyclic group C\sb{n} complements S\sb{n-1} and the alternating group A\sb{n} complements S\sb{2}.
  • Prime-power families: For n > 12, the only other complements are \rm{AGL}\sb{1}(n) when m = n-2 (n a prime power) and \rm{PGL}\sb{2}(n-1) when m = n-3 (n-1 a prime power).
  • Low-degree exceptions: For n \leq 12, the Mathieu groups M\sb{10}, M\sb{11}, and M\sb{12} contribute sharp 3-, 4-, and 5-transitive complements.
  • A three-factor substitute for S\sb{12}: Because S\sb{8} has no complement in S\sb{12}, I constructed a bijective ordered factorization S\sb{12} = P C S\sb{8} using P \cong \rm{PGL}\sb{2}(11) and C \cong C\sb{9}.

In the new final section, I translated the complement question into algebraic graph theory via the arrangement graph T(n,k) on ordered k-tuples and the Johnson graph J(n,k) on unordered k-subsets. Because S\sb{n-k} is a vertex stabilizer in T(n,k), any complement K acts regularly on the vertices, turning T(n,k)—and every S\sb{n}-invariant coset graph on S\sb{n}/S\sb{n-k}—into a Cayley graph of K whose connection set is a union of k subgroups minus the identity. Curiously, the converse fails for six specific pairs—(9,4), (33,4), (8,5), (9,6), (32,29), and (33,30)—where T(n,k) is a Cayley graph via a subgroup of \rm{Aut}(T(n,k)) \cong S\sb{n} \times S\sb{k} even though S\sb{n-k} has no complement in S\sb{n}. Using the Cayley structure, the Fourier blocks of the adjacency matrix become sums of projections, bounding all eigenvalues below by -k and giving the exact spectrum of T(q,2) by hand. Finally, taking the quotient by the free coordinate action of S\sb{k} produces a k!-fold unramified covering T(n,k) \to J(n,k), a clean example of a harmonic morphism.

The second note, The representation theory of finite commutation transitive groups, dates back to a preliminary draft from August 2000. That project grew out of conversations with Jill McGowan, Dennis Spellman, and my friend (and then-colleague at the USNA) Tony Gaglione. It was through Tony that I got to know Ben Fine, who had coined the term “commutative transitive” (CT) in 1983 while studying Fuchsian and Kleinian groups, and who collaborated extensively with Tony and Dennis on CT groups and the commutative transitive kernel.

A group G is commutative transitive (CT) if commuting is transitive on non-identity elements—equivalently, every non-identity element has an abelian centralizer. It is commutation transitive if the same holds for all non-central elements. Non-abelian CT groups always have trivial center Z(G) = 1, whereas groups like Q\sb{8}, D\sb{8}, \rm{GL}(2,k), and \rm{SL}(2,k) are commutation transitive with non-trivial center. By classical results of Weisner, Suzuki, Brauer–Suzuki–Wall, and Wu, every finite CT group is either abelian, a Frobenius group N \rtimes H with abelian kernel N and cyclic complement H \neq 1, or \rm{PSL}(2, \mathbb{F}\sb{2^f}) for f \geq 2. Along the way, I framed several tempting guesses as “naive conjectures” and settled them: for odd q, \rm{PGL}(2, \mathbb{F}\sb{q}) is never CT, \rm{PSL}(2, \mathbb{F}\sb{q}) is CT only for q \in \{3, 5\}, and passing from \rm{GL}(2, \mathbb{F}\sb{q}) to \rm{PGL}(2, \mathbb{F}\sb{q}) shows that quotienting by the center can destroy commutation transitivity.

Because distinct conjugate centralizers meet only in the center (C \cap xCx^{-1} = Z(G)), inducing linear characters \mu \in \widehat{C} from centralizers organizes the representation theory remarkably well:

  • Short character sums: On non-central elements meeting C, the induced character \rm{Ind}\sb{C}^G \mu collapses to an orbit sum over W(C) = N\sb{G}(C)/C.
  • Irreducibility: In a non-abelian finite CT group, Mackey’s criterion implies \rm{Ind}\sb{C}^G \mu is irreducible if and only if C \trianglelefteq G and \mu \neq \mathbf{1}, so never in \rm{PSL}(2, \mathbb{F}\sb{2^f}).
  • Supports and spanning: Representative permutation characters \mathbf{1}\sb{A\sb{i}}^G are linearly independent, centralizer support vectors in \mathbb{F}\sb{2}^{G\sb{\ast}} span dimension at most 3, and \rm{Ind}\sb{C}^G \mu spans the full character ring R(G) over \mathbb{Z}.

On the graph side, the commuting graph \Gamma(G) on G \setminus Z(G) splits into disjoint complete graphs C \setminus Z(G). Because W(C) acts freely on C \setminus Z(G), sending each element to its conjugacy class gives a harmonic morphism \varphi\sb{G} \colon \Gamma(G) \to \Delta(G) onto the commuting conjugacy class graph. By contrast, on the complementary non-commuting graph \Gamma^c(G), collapsing each centralizer part to a vertex is harmonic only when all non-central centralizers have the same order—which works for Q\sb{8} and D\sb{8} (folding the octahedron K\sb{2,2,2} onto a triangle K\sb{3}), but fails for every non-abelian CT group.

Putting both revisions side by side highlights four sharp mathematical contrasts across group actions, linear groups, characters, and graphs:

  • Two kinds of trivial intersection: The symmetric group paper relies on two different subgroups meeting trivially (H \cap K = 1) to build global coordinates and Cayley graphs. The CT paper relies on a single subgroup meeting its distinct conjugates trivially modulo the center (C \cap xCx^{-1} = Z(G)) to tame Mackey double cosets.
  • Characteristic-free vs. characteristic 2: In the complement paper, \rm{AGL}\sb{1}(q) and \rm{PGL}\sb{2}(q) supply sharp transitivity across all prime powers q. In the CT paper, characteristic 2 is decisive: \rm{PSL}(2, \mathbb{F}\sb{2^f}) is CT for all f \geq 2, whereas odd characteristic q \geq 7 introduces non-abelian dihedral centralizers.
  • Diagonalizing matrices vs. spanning R(G): For arrangement graphs, inducing the trivial character \rm{Ind}\sb{H}^G \mathbf{1} and restricting to a complement K gives the regular representation \mathbb{C}[K], diagonalizing adjacency spectra. For CT groups, permutation characters \mathbf{1}\sb{C}^G cannot separate classes like 5A and 5B in A\sb{5}, making non-trivial characters \mu \in \widehat{C} essential to span R(G).
  • Unramified coverings vs. vertical collapses: Both papers showcase the octahedron—first as J(4,2) doubly covered by the cuboctahedron T(4,2) with no vertical edges, and second as \Gamma^c(Q\sb{8}) folding onto K\sb{3}. Meanwhile, the CT class map \Gamma(G) \to \Delta(G) stays harmonic even when centralizer sizes vary, precisely because conjugate commuting elements absorb the size differences into collapsed vertical edges.

On the transfer of Shalika germs for G_2, revisited

In the summer of 1994 I wrote an unpublished manuscript, “On the transfer of Shalika germs for G\sb{2},” which I hoped to polish into a publication. It used Langlands’ geometric method, based on Igusa’s asymptotic expansions, to compare the \kappa-Shalika germs of the split exceptional group G\sb{2} over a p-adic field with germs on its two cuspidal endoscopic groups, PGL(3) and (SL(2)\times SL(2))/{\pm 1}. I think I showed it to Tom Hales, Magdy Assem, maybe Diana Shelstad, but that’s about it. Unfortunately, I was unable to finish the technical details (which I didn’t understand nearly as well as Tom or Madgy or Diana), dropped it, and moved onto an easier project! Another paper to add to my mathematical orphanage.

This month (Nov 2026) I revised it with two AI systems, Claude (Anthropic) and Gemini (Google), which are listed as co-authors. Their roles are described in the paper. The revision found a real gap in the 1994 argument. Its final step used a reduction lemma of Hales. That lemma needs an endoscopic group with a nontrivial connected center, and both cuspidal endoscopic groups of G\sb{2} are semisimple of full rank. So the lemma doesn’t apply.

Here is what the corrected and revised paper does:

  • It proves that the variety underlying Langlands’ partial resolution is a normal, Cohen-Macaulay toric variety.
  • It computes the Igusa constants of every branch of the special fiber.
  • For the 2-regular class and the biquadratic tori, it replaces Hales’ lemma with a direct proof: a birational map from the fiber to (\mathbb{P}^1)^4 shows that the germ doesn’t depend on the tangent direction, with an explicit matching constant.
  • For the 3-regular class and the cyclic cubic tori, the corresponding integral is reduced to an integral over a split quadric cone. Its expected value is stated as a conjecture.

Two statements about the Igusa expansion remain unproved, so these results are conditional. However, the matching of germs itself (claimed in the original paper) is now a theorem by other means, from Waldspurger, Ngô, and Gordon-Hales. What the Igusa approach in this corrected and revised version adds is explicit geometry. Finishing up the two Igusa expansion statements is left open. Probably more AI-aided exploration will yield them, but I’m moving on. I’m not sure adding a second proof of a result already known to be true is worth what I guessed was a significant amount of work.

The 1994 sources, the revision, referee reports, and verification scripts are on github (pdf and latex).