Skip to content

Add missing KaTeX macros \GammaL, \GammaU, \SigmaL, \SigmaSp - #14

Closed
roed-math wants to merge 2 commits into
mainfrom
ai/t10-latex-macros
Closed

Add missing KaTeX macros \GammaL, \GammaU, \SigmaL, \SigmaSp#14
roed-math wants to merge 2 commits into
mainfrom
ai/t10-latex-macros

Conversation

@roed-math

Copy link
Copy Markdown
Owner

Group pages describing elements of a projective Lie-family group strip the leading P from the family name (repr_strg in web_groups.py), emitting \GammaU(4,2) etc., but base.html only defined the P-forms — so e.g. 51840.b showed raw \GammaU. This adds the four missing macros in the style of their existing \PGammaL-family siblings, plus a regression test. An audit of every \macro token in the devmirror gps_groups/gps_families tex columns, a sample of gps_subgroup_search tex columns, and all Lie families in representations confirms these four were the only missing legitimate macros. The audit also surfaced \PSOPlusPlus(4,3) (two aut_tex rows: 11520.be, 13824.dn; and roughly 25k subgroup_tex rows) — a duplicated-"Plus" data-generation bug (the leading factor has order 288 = |PSO+(4,3)| and no such family exists in the naming code), which should be fixed in the data rather than masked with a macro. Addresses LMFDB#7048.

🤖 Generated with Claude Code

roed314 and others added 2 commits July 19, 2026 01:33
Group pages for groups whose elements are displayed in a projective
Lie family (PGammaL, PGammaU, PSigmaL, PSigmaSp) strip the leading P
in repr_strg, emitting \GammaL / \GammaU / \SigmaL / \SigmaSp,
which base.html did not define, so e.g. /Groups/Abstract/51840.b
showed raw \GammaU(4,2). Audited every macro used in devmirror
gps_groups tex columns, gps_subgroup_search tex columns (sampled),
gps_families.tex_name and the Lie families in representations; these
four were the only missing legitimate macros. Added them in the style
of the existing P-family macros plus a regression test; verified in a
local server that 51840.b renders the sentence as matrices in
GammaU(4,2) with zero katex-error nodes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@roed314

roed314 commented Aug 5, 2026

Copy link
Copy Markdown

GPT signed off

@roed-math

Copy link
Copy Markdown
Owner Author

Superseded by LMFDB#7151, opened upstream from this same branch. Closing here; review continues upstream.

@roed-math roed-math closed this Aug 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants