2026-11-26 15:49 UTC

MoA author claims proof-first derivation of a minimal attention kernel

state: seedheat: lowuncertainty: mediumrelevance: mediumformal-verification inference-kernels llm-systemslmullin

What is this?

MoA is Lenore Mullin’s Mathematics of Arrays framework, applied here to derive an attention-kernel implementation. In a September 2026 Show HN submission, Mullin says the derivation proves certain memory and intermediate-array reductions before coding, and reports zero error versus PyTorch SDPA on an H100. A June 2026 arXiv paper by Mullin describes deriving a memory-minimal form algebraically and reports numerical verification; these are author-reported claims, not independent validation in the supplied evidence. The linked GitHub page was retrieved only as “thin,” so implementation details and reproducibility remain unclear. A later Show HN submission describes a broader MoA compiler, but the supplied record gives no details to assess its validation.

Why it matters

MoA offers a potentially useful alternative to trial-and-error kernel optimization: derive an attention implementation from array algebra, then map it to hardware. If its correctness and memory-minimality results hold and the method generalizes, it could make efficient kernel design more systematic and accessible, with implications for inference cost. The supplied evidence is mainly the author’s paper and project claims; it does not establish speedups, broad hardware portability, or independent validation.

Current assessment

Lenore Mullin’s June 5, 2026 arXiv paper, “Attention at the Theoretical Minimum,” describes using Mathematics of Arrays (MoA) to derive a normal form that eliminates intermediate arrays and claims theoretical-minimum memory traffic. The search result for the paper says the derivation was numerically checked at double precision on concrete inputs; that is not by itself evidence of a formal proof of the implementation or of faster execution. In a September Show HN comment, Mullin describes the open-source attention kernel as proven minimal before coding, says it avoids materializing Kᵀ and an n×n score matrix, and reports zero error versus PyTorch SDPA on an H100. These are author claims; the supplied GitHub retrieval is thin, and no independent benchmark or validation is provided. A later October Show HN post points to a broader MoA compiler, but the record contains no details sufficient to assess its validation. The key open questions are the precise scope and assumptions of the minimality result, reproducibility, performance versus established kernels, and whether the approach generalizes across hardware and workloads.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 1578h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

09-21 21:37 (minted)⭐ origin echo-reconstructedThe author's Show HN submission describes MoA as an attention kernel 'proven minimal before code was written.'
womenflyplanes on github (echo) · attributed from hn.story.49793313 · published time unknown
—
09-21 20:57first on hacker news · published · lag ?Show HN: MoA – Attention kernel proven minimal before code was written
lmullin
—
09-21 20:57amplified on hacker news 👑hn.story.49793313
lmullin
peak 1 · 1 comments · 51% of case engagement
10-01 19:57amplified on hacker newshn.story.49926329
lmullin
peak 2 · 0 comments · 51% of case engagement
09-21 21:20our radar first saw it · lag ?discovery anchor: hn.story.49793313—

Evidence (3) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnShow HN: MoA – Attention kernel proven minimal before code was writtenlmullin11
🟧 echo.github ⭐The author's Show HN submission describes MoA as an attention kernel 'proven minimal before code was written.'womenflyplanes——
🟧 hnShow HN: MoA as Universal IL –> 30yrs from PhD to 5-device validated compilerlmullin20

Interpretation history

Decision trace