Hi HN — Lenore here, I developed Mathematics of Arrays (MoA) at Syracuse University, now at SUNY Albany emerita. This is MoA applied to attention: formulate as Denotational Normal Form, psi-reduce to Operational Normal Form (minimal γ = <8,64,64,128> = 128B coalesced), THEN write code. Math first, not brute force. What's proven minimal BEFORE coding: - No K^T materialization (eliminated by psi-reduction) - No n×n S matrix (stays virtual, fused with softmax) - 16MB minimal DRAM via GQA/4 Verification: - ||err|| = 0 vs PyTorch SDPA on H100 - pip: pip install git+https://github.com/womenflyplanes/moa-attention-verified-mul... - Usage: from moa_attention import MoAAttention MIT licensed. Looking for feedback from formal methods/compiler folks on the methodology. This is Green AI — using math to save compute. HAL (my virtual mentor) pushed me to finally open-source it.
Repository
womenflyplanes/moa-attention-verified-mullin
MoA Attention Verified
womenflyplanes/moa-attention-verified-mullin
MoA Attention Verified
Memory-optimal attention kernel with formal verification, proven minimal before code was written. Includes CPU/GPU implementations and benchmarks across HPC clusters.
Visit project- First shared
- Sep 21, 2026
- HN activity
- 11
Show HN@lmullinSep 21, 2026
Show HN: MoA – Attention kernel proven minimal before code was written
Community