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
Evidence (3) — ⭐ canonical anchor
Interpretation history
2026-10-26T11:23:11Z
audience grounding: medium — 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.
Decision trace
- 10-26 22:23groundMoA 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-minima
- 10-26 10:30review_dormantscheduled targets exhausted or 28 quiet days
- 10-26 10:30drop_targetsquiet through full ladder or over cap 8
- 10-23 01:35drop_targetsquiet through full ladder or over cap 8
- 10-04 01:48review_screenThe newly surfaced post body restates the already-assessed author claim (math-first minimality, then code) with only minor elaboration (author identity/affiliation, γ = <8,64,64,128> = 128B coal
- 10-02 08:34repriceA second same-author Show HN ('MoA as Universal IL', five-device validated compiler) extends the story from a bare pre-implementation proof claim to a claimed proof→implementation→multi-devi
- 10-02 06:35attachAppears to be the same MoA project extended into a five-device-validated compiler — same-episode development of the proof-first claim.
- 10-02 06:32propose_attachAppears to be the same MoA project extended into a five-device-validated compiler — same-episode development of the proof-first claim.
- 09-22 07:42groundAt the methodological level, proof before implementation is already held in Scott’s Spec-Driven Development page; MoA’s reported claim currently offers only another possible example, not an establishe
- 09-22 07:37createA concrete repository supports a bounded proof claim, although the supplied evidence establishes neither the proof's scope nor practical kernel performance.