Files
Vijay Janapa Reddi 7e55ce787e feat(binder): strict notation check, ratchet, rendering proof, and applier
Every symbol in math must be a registered mlsysim macro. The check reads
math the way Pandoc does (body math matches Pandoc's AST on all 151 files)
plus figure/table captions, quiz JSON and fmt_math strings, and reports
raw letters, Greek letters, font/accent forms, decorated macros, retired
aliases, unknown commands, and macros a chapter has not declared.

- check notation --scope strict: ratchet on fingerprints (symbol + span),
  so a commit can remove raw symbols but never add one; baseline
  44,527 sites in 145 files
- check notation --scope conventions: registry naming and field rules
- binder notation report|find|verify|apply: work packages grouped by
  section with candidate macros and meanings; registry search by meaning;
  KaTeX MathML comparison proving an edit renders exactly as before
  (including registry LaTeX changes); a deterministic applier that edits
  only the exact tokens it is given and refuses anything that moved
- Exemptions by role, not glyph (exempt.yaml): index letters only in
  subscripts, d as a differential, e as a base, T as a transpose
- 23 unit tests plus the Pandoc cross-check
2026-10-08 08:27:02 +02:00

204 lines
2.0 KiB
JSON

{
"_comment": "LaTeX commands KaTeX defines, as used in the book (generated by binder/tools/notation/build_builtins.py; regenerate when KaTeX is upgraded).",
"katex_version": "0.16.22",
"commands": [
"Big",
"Bigl",
"Bigr",
"Delta",
"Gamma",
"Lambda",
"Longleftrightarrow",
"Longrightarrow",
"Omega",
"Phi",
"Pi",
"Pr",
"Psi",
"Rightarrow",
"Sigma",
"Theta",
"Vert",
"Xi",
"alpha",
"angle",
"approx",
"arccos",
"arcsin",
"arctan",
"arg",
"ast",
"bar",
"begin",
"beta",
"big",
"bigcap",
"bigcup",
"bigl",
"bigr",
"bigsqcup",
"bigwedge",
"binom",
"blacksquare",
"bmod",
"boldsymbol",
"bot",
"bowtie",
"boxed",
"cap",
"cdot",
"cdots",
"chi",
"circ",
"cos",
"cup",
"dagger",
"dddot",
"ddot",
"delta",
"det",
"dfrac",
"displaystyle",
"div",
"dot",
"dots",
"downarrow",
"ell",
"emptyset",
"end",
"epsilon",
"equiv",
"eta",
"exists",
"exp",
"forall",
"frac",
"gamma",
"ge",
"geq",
"gets",
"gg",
"gtrsim",
"hat",
"iff",
"implies",
"in",
"inf",
"infty",
"int",
"iota",
"kappa",
"ker",
"lVert",
"lambda",
"land",
"langle",
"lceil",
"ldots",
"le",
"left",
"leftarrow",
"leftrightarrow",
"leq",
"lfloor",
"lim",
"liminf",
"ll",
"ln",
"log",
"longrightarrow",
"lor",
"lozenge",
"lvert",
"mathbb",
"mathbf",
"mathcal",
"mathfrak",
"mathrm",
"mathsf",
"max",
"mid",
"middle",
"min",
"models",
"mp",
"mu",
"nabla",
"ne",
"neg",
"neq",
"notin",
"nu",
"odot",
"omega",
"operatorname",
"oplus",
"otimes",
"overline",
"parallel",
"partial",
"perp",
"phi",
"pi",
"pm",
"pmod",
"prec",
"prod",
"propto",
"psi",
"qquad",
"quad",
"rVert",
"rangle",
"rceil",
"rfloor",
"rho",
"right",
"rightarrow",
"rightsquigarrow",
"rtimes",
"rvert",
"setminus",
"sigma",
"sim",
"sin",
"sqcap",
"sqcup",
"sqrt",
"sqsubset",
"sqsubseteq",
"square",
"star",
"subset",
"subseteq",
"substack",
"succ",
"succeq",
"sum",
"sup",
"tag",
"tan",
"tanh",
"tau",
"text",
"textstyle",
"texttt",
"tfrac",
"theta",
"tilde",
"times",
"to",
"top",
"triangle",
"triangleq",
"underbrace",
"uparrow",
"varphi",
"vdots",
"wedge",
"widehat",
"xi",
"xrightarrow",
"zeta"
]
}