Exact OM-RNS-HMMA Accumulator Cutoffs, Mode-A Pre-Modulo Reduction, and Eisenstein Prime-Bank Compatibility (BF16_4P, FP32_8P, SMALL_9P_ST5) for 0-ULP BF16/FP32 FMM in Lean 4.36.0
I establish the exact hardware arithmetic constants and prime-bank compatibility laws required to execute Eisenstein-splitting OM-RNS-FMM schemes at bit-exact 0-ULP inside BF16-input, FP32-accumulate HMMA.16816 tensor cores, implemented in 100% pure seeded OM-2 (om_rns_hmma_audit.om, om_fp_flip_collider_r2.om) and kernel-checked in zero-Mathlib Lean 4.36.0 (OmegaRnsHmmaBridge.lean, 43 public theorems, 9 neg_ctrl_*, 0 sorry, 0 native_decide, standard core axioms only). Specifically: (1) every centered integer in [-256, 256] is exact in BF16 while 257 loses its LSB; (2) Mode-A pre-modulo reduction of projections U_q(A) mod p and V_q(B) mod p into [-(p-1)/2, (p-1)/2] is mandatory because unreduced Mode-B L1 sums overflow [-256, 256] even on {-1,0,1} inputs (st_4=285, ss_4=380, st_5=472, inducing 33,846-34,300 ULP errors); (3) FP32 accumulator exactness (< 2^24) holds up to exact cutoff K_max = 1,165 for BF16_4P/FP32_8P (h=120) and breaks sharply at K = 1,166, while SMALL_9P reaches K_max = 12,945 but fails on st_5=35 because p = 7 divides denom_lcm = 21, motivating SMALL_9P_ST5 = {13,19,31,37,43,61,67,73,79} (M = 287,133,203,190,223, K_max = 11,030, compat=1, 0-ULP); and (4) cross-platform MacBook == DGX Spark audits confirm 0-ULP vs 128-bit oracle across ss_2=5, st_3=10, st_4=20, ss_4=33, and st_5=35 for K in {16, 128, 1024}, sealed into a 3-node bit-exact 672-byte OMSC01 capsule.
Authors
- Drake Stapleton (ORCID: https://orcid.org/0009-0002-6890-7111)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-12-04
- DOI
- https://doi.org/10.5281/zenodo.24804633
- Primary Topic
- Numerical Methods and Algorithms
- Type
- preprint