Ending the Float Wars: Four Numeric Rules for Speed, Consensus, and Exact Energy
Where Anti-Float and Pro-Float Dogmas Fail: A Four-Regime Numeric Discipline, Systolic Tile Exactness, and Kulisch 4,352-Bit Energy Ledgers
Correcting our own mainframe emulator floating-point diagnosis, isolating the four compiler-and-reduction sources of cross-vendor drift, benchmarking the physical cache-residency crossover between sub-bit lookup tables and hardware floating-point units, and uniting nine exact algebraic rings with 4,352-bit Kulisch superaccumulators.
David Charlot, Open Interface Engineering
Ending the Float Wars: Four Numeric Rules for Speed, Consensus, and Exact Energy
Banning floating-point math everywhere wastes fast hardware on small matrices, while trusting floats blindly breaks cross-chip hashes and silently drops microjoules from large energy totals.
Think of a carpenter who uses a quick laser tape for framing walls, interlocking steel dowels where cabinet joints must match to zero play, and an exact penny-by-penny ledger at the bank so a cent never vanishes inside a billion-dollar balance.
Hardware teams argue endlessly between running everything in floating-point versus converting every neural weight into integer lookup tables.
When we audited our own mainframe float discrepancy, the culprit was compiler FMA contraction rather than IEEE 754 silicon; meanwhile, small matrices fit in cache where hardware FPUs win, whereas standard float sums silently erase `1 µJ` added to `10²⁰ µJ`.
We reconcile both camps into four explicit numeric regimes: hardware floats for tolerant perceptual paths, packed 2-bit ternary LUTs past the L1D/L2 cache wall (`2.75×` faster at `4,096 × 4,096`), 9 exact integer/rational rings across 14 fabrics for `0`-bit consensus, and `4,352`-bit Kulisch superaccumulators so energy ledgers never lose a single microjoule.
`0`-bit cross-ISA IEEE 754 parity once FMA/NaN rules are canonicalized, `2.75×` packed-ternary LUT speedup over bandwidth-bound FP32 at `4,096 × 4,096`, `14/14` exact `Q16.16` rational attention fabrics, and exact `10²⁰ + 1 − 10²⁰ = 1` in `4,352`-bit Kulisch ledgers (`reported_j`; `board_metered: false`).
- Neither integer-only nor float-only dogma holds everywhere: sub-bit lookup tables win 1.18 times on Jetson Thor shunt energy when weights spill cache, while pinned floating-point units win 1.66 to 4.75 times when cache-hot or batched.
- Auditing our own earlier mainframe test showed a 2020 emulator bug—not IEEE-754 decimals—caused drift, and vertical pairwise trees keep native floating-point bit-identical across ten architectures.
- Bounding systolic tiles to 512 taps stays exact inside 24-bit float mantissas, while a 4,352-bit Kulisch superaccumulator sums energy across 616 orders of magnitude without negative-joule cancellation.
Depth 2 · Visual & Hands-On
Interactive Simulator, How to Prove Us Wrong & Late-2026 Literature
Step Deeper ▾
Adjust parameters live in your browser (zero cloud wait) or step through a guided 4-step Predict → Break → Repair → Verify lab.
Produce an IEEE 754 float64 accumulator that preserves `10²⁰ + 1 − 10²⁰ = 1` without precision loss, or exhibit `>= 1` bit of divergence across the 14 `Attention-R8` exact rational fabrics.
Highlights how cache-residency transitions govern whether compute-bound FPUs or bandwidth-saving compressed formats win.
Depth 3 · Builder & Evidence
Signed [G0–G12] Source Sheet, Hardware Telemetry, Code & Citation
Inspect Receipts ▾
Cite this
Genre: Research paper: computer arithmetic, reproducible IEEE-754 reductions, Kulisch superaccumulators, and algebraic accelerator rings
David Charlot, Open Interface Engineering. Where Anti-Float and Pro-Float Dogmas Fail: A Four-Regime Numeric Discipline, Systolic Tile Exactness, and Kulisch 4,352-Bit Energy Ledgers. Open Interface Engineering. Web: https://research.openie.dev/papers/numeric-regime-reconciliation/. PDF: https://research.openie.dev/pdfs/numeric-regime-reconciliation.pdf. Markdown: https://research.openie.dev/papers/numeric-regime-reconciliation.md.
You already have the plain-words guide above. Expand the formal manuscript whenever you want every equation, table, and proof.
Where Anti-Float and Pro-Float Dogmas Fail: A Four-Regime Numeric Discipline, Systolic Tile Exactness, and Kulisch 4,352-Bit Energy Ledgers
Revision e1f71e37, 1 December 2026. Interactive bridge: /hardware-constellation/. Data and code: research.openie.dev/data/ · Instruction-Set-Agnostic Computing.
Abstract
Systems and machine-learning engineering frequently split into two opposing numerical dogmas. Pro-float dogma treats unpinned 16-bit and 32-bit floating-point libraries as universal defaults even when memory-bandwidth-bound single-stream inference stalls on dynamic random-access memory (DRAM) transfers or when non-associative parallel reductions silently diverge across vendors and corrupt multi-scale energy ledgers. Conversely, anti-float dogma extrapolates from cross-vendor reduction drift to the false claim that Institute of Electrical and Electronics Engineers Standard 754 (IEEE-754) binary32 (f32) and binary64 (f64) arithmetic is intrinsically non-deterministic or obsolete relative to fixed-point integers and radix-3 ternary lookup tables.
This paper refutes both extremes from silicon gate physics, constructive formal proof, and multi-platform hardware power measurements. We begin with a candid self-correction: an apparent f32 collapse (3.76 × 10^-6) observed on big-endian s390x during our eleven-target waiOS-H32 gauntlet traced not to IEEE-754, but to a 2020 qemu-s390x 5.1.0 vector-register aliasing defect—while all 10 / 10 compliant physical and emulated architectures produced the identical 16-digit f32 value 0.9999399566476458 at 0 units in the last place (ULP). Next, we demonstrate why fixed-point Q24 (i64) alone fails across 616 decades of dynamic range (flushing 256 / 256 small AdamW second-moment updates to zero and requiring 4,096 Wallace multiplier bit-gates vs. 576 in f32), and map the exact hardware crossover between 0.461 bits-per-weight (BPW) Block64 6-bit lookup-table (LUT6, 15.1 kilobytes) kernels and pinned f32 single-instruction-multiple-data (SIMD) floating-point unit (FPU, 1.05 megabytes) execution: on 1-megabyte Level-2-cache NVIDIA (Blackwell architecture) Jetson Thor at Batch = 1, LUT6 wins by 1.22× in speed and 1.18× in Texas Instruments (TI) rail-shunt (INA238) measured_j, whereas whenever weights fit in cache or Batch = 64 amortizes memory fetches, vertically vectorized [f32; 8] SIMD FPU execution beats LUT6 by 1.66×–4.75× in speed and 1.64×–4.65× in joules at 0 ULP cross-architecture drift (BLAKE3 = 1407af321ff786af...). Finally, we establish the choice-free Lean 4.36.0 systolic tile exactness bound (), 106-bit fused-multiply-accumulate (FMA)-free Dot2 transformations, Ulf Kulisch’s 4,352-bit ([u64; 68]) exact binary64 superaccumulator preventing -1.0 J catastrophic-cancellation hallucinations, and a nine-ring algebraic atlas (R0 to R8) beyond radix-3 ternary.
In plain words
- Blaming standard
floatanddoublenumbers for different chips giving slightly different answers confuses compiler shortcuts and parallel addition order with the number format itself: when addition order is pinned, ten completely different processor families produce the exact same 16-digitf32answer bit-for-bit (0.9999399566476458), and the single outlier we saw earlier was an old emulator bug, which we openly correct here. - Neither sub-bit lookup tables nor floating-point hardware wins everywhere: compact
LUT6tables win when a chip’s fast local cache is too small to holdf32weights atBatch = 1(1.22×faster and1.18×lower board-shunt energy onJetson Thor), whereas dedicatedf32floating-point hardware wins by1.66×to4.75×whenever weights fit in cache or64inputs are processed together, and keeps tiny10^-15training gradients alive where fixed-pointQ24flushes100%of them to zero. - By bounding matrix-engine tiles to
512steps (8,258,048 < 16,777,216, keeping every32-bit floating-point (FP32) Tensor-Core sum an exact integer), vectorizingf32vertically across batches (0ULPdrift), summing energy receipts in a4,352-bit exact Kulisch register (544bytes, immune to-1.0 Jcancellation errors across10^-21 Jto10^+120 J), and matching nine algebraic rings (R0toR8) to native silicon units, no accelerator hardware is left dark.
Terms and evidence labels
- IEEE, ALU, FPU, CPU, GPU, TPU, LPU, NPU, DPU, QPU, MCU, FPGA, CGRA, ASIC, PIM: Institute of Electrical and Electronics Engineers (`IEEE-754`), arithmetic logic unit, floating-point unit, central processing unit, graphics processing unit, tensor processing unit, language processing unit, neural processing unit, data processing unit, quantum processing unit, microcontroller unit, field-programmable gate array, coarse-grained reconfigurable array, application-specific integrated circuit, and processing-in-memory
- ULP, RNE, FMA, FTZ, DAZ, NaN, DFP, BFP, OCP, MXFP, MXINT4, MXINT8, FP32, FP16, FP8, BF16, INT8, INT4, Q24: unit in the last place, round-to-nearest-even, fused multiply-accumulate, flush-to-zero, denormals-are-zero, not-a-number, decimal floating-point, block floating-point, Open Compute Project, Microscaling Floating-Point, 4-bit and 8-bit microscaling integers, 32-bit, 16-bit, and 8-bit binary floating-point, Brain Floating Point 16, 8-bit and 4-bit signed integers, and signed 40.24 fixed-point ring
- ISA, SIMD, AVX, SSE, NEON, SVE, SME, AMX, RVV, LSX, VSX, HVX, WMMA, MXU, DSP, DSP48E2, TCG: instruction set architecture, single instruction multiple data, Advanced Vector Extensions (`AVX2`, `AVX-512`), Streaming SIMD Extensions, Arm Advanced SIMD, Scalable Vector Extension, Scalable Matrix Extension, Advanced Matrix Extensions, RISC-V Vector extension, Loongson SIMD Extension, Vector Scalar Extension, Hexagon Vector Extensions, Wave Matrix Multiply-Accumulate, Matrix Multiply Unit (`TPU`), digital signal processor, Xilinx UltraScale+ $27 \times 18$-bit slice (`DSP48E2`), and Tiny Code Generator (`QEMU`)
- SRAM, DRAM, HBM, LLC, SLC, WRAM, MRAM, PCIe, WDM, TFLN, MZI, MEA: static random-access memory, dynamic random-access memory, High Bandwidth Memory (`HBM3e`), last-level cache, system-level cache, working RAM (`UPMEM`), magnetoresistive RAM, Peripheral Component Interconnect Express, wavelength-division multiplexing, thin-film lithium niobate, Mach–Zehnder interferometer, and multi-electrode array
- GEMM, BLAS, FFT, FWHT, NTT, RNS, RRNS, VQ, MSE, PoT, APoT, CSD, LNS, PGA, TTFS, XNOR, QUBO, ZKP, FHE, TFHE, EBM, SSM, RoPE, PDE, CAD, FEA, SQL: general matrix multiplication, Basic Linear Algebra Subprograms, fast Fourier transform, fast Walsh–Hadamard transform, Number-Theoretic Transform, residue number system, redundant residue number system, vector quantization, mean squared error, power-of-two, additive power-of-two, canonical signed digit, logarithmic number system, projective geometric algebra, time-to-first-spike, exclusive-NOR, quadratic unconstrained binary optimization, zero-knowledge proof, fully homomorphic encryption, torus FHE, energy-based model, state-space model, rotary position embedding, partial differential equation, computer-aided design, finite-element analysis, and Structured Query Language
- LUT, LUT4, LUT6, QAT, BPW, MAC, TOPS, HV, R0, R1, R2, R3, R4, R5, R6, R7, R8: lookup table (`SIMD-LUT4`, `JouleBit-LUT6`, `BenesLUT6`), quantization-aware training (`Block64-QAT`), bits per weight, multiply-accumulate, tera-operations per second, hypervector (`BinaryHV`), and the nine canonical `waiOS` algebraic/physical rings (`R0` through `R8`)
- WAIOS, JSYN, BLAKE3, SHA, XNU, AMU, RAPL, TI, INA238, DC, LE, BE, TF32, VPU, RDU, IMMA, BRAM, DPA, TCAM, DIMM, GPI2, CZ, LIF, TEE, CC, ZK, STARK, POPCNT, XOR, MMA, NUM: Hardware-Invariant Operating Substrate (`waiOS`), `JouleDB` Weight Synapse format (`JSYN-v1`), `BLAKE3` 256-bit cryptographic hash, Secure Hash Algorithm (`SHA-256`), macOS hybrid kernel (`XNU`), Apple Activity Monitor Unit energy counters, Running Average Power Limit on-chip energy counters, Texas Instruments (`INA238` current/power monitor), direct current, little-endian, big-endian, TensorFloat-32 (`19`-bit reduced mantissa), Vector/Verifiable Processing Unit, Reconfigurable Dataflow Unit, Integer Matrix Multiply-Accumulate, block RAM, Data-Path Accelerator, ternary content-addressable memory, dual in-line memory module, trapped-ion two-qubit/single-qubit gate primitives (`GPI2`, `CZ`), leaky integrate-and-fire (`CuBa-LIF`), trusted execution environment, Confidential Computing, zero-knowledge Scalable Transparent Argument of Knowledge (`ZK-STARK`), population count, exclusive-OR, Matrix-Multiply Assist, and Numeric Reconciliation falsifier prefix (`NUM-F1` to `NUM-F6`)
- AMD, NVIDIA, AGX, AWS, IBM, SK, IQM, RV64, RVA23, SVE2, VLIW, SIMT, CDNA, CDNA3, RDNA, XDNA, HMX, ANE, WSE, MN, RNGD, VU47P, XC7, OCTEON, CN101, CL1, ANT: Advanced Micro Devices, NVIDIA accelerated computing, Jetson `AGX` module family, Amazon Web Services (`Trainium`, `Nitro`), International Business Machines (`IBM Z`, `IBM Heron`), `SK Hynix`, `IQM` superconducting quantum processors, 64-bit RISC-V (`RVA23` profile), Scalable Vector Extension 2, very long instruction word, single instruction multiple threads, AMD compute/graphics architectures (`CDNA`, `CDNA3`, `RDNA`, `XDNA`), Hexagon Matrix Extensions, Apple Neural Engine, Cerebras Wafer-Scale Engine (`WSE-3`), Preferred Networks `MN-Core 2`, FuriosaAI `RNGD`, Xilinx `Virtex VU47P` and `Artix-7` (`XC7`), Marvell `OCTEON 10`, Normal Computing `CN101`, Cortical Labs `CL1`, and `Q.ANT` photonic processors
- KB, MB, GB, TB, DDR4, GDDR6, UMA, CMOS, CUDA, WGSL, SPIR, INT32, PTQ1, LUT16, GMAC, SNN, TDX, SEV, SNP, CORE, MATH: kilobyte, megabyte, gigabyte, terabyte, Double Data Rate 4 DRAM, Graphics Double Data Rate 6 (`GDDR6-AiM`), unified memory architecture, complementary metal-oxide-semiconductor, Compute Unified Device Architecture, WebGPU Shading Language, Standard Portable Intermediate Representation (`SPIR-V`), 32-bit signed integer, 1-bit post-training quantization (`PTQ1_0`), 16-entry palettized lookup table, giga-multiply-accumulates per second, spiking neural network, Intel Trust Domain Extensions, AMD Secure Encrypted Virtualization-Secure Nested Paging (`SEV-SNP`), and the correctly rounded `CORE-MATH` library
Every quantitative figure in this paper carries an explicit source-epistemology label, and every energy figure carries one of four orthogonal telemetry classes (measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered) that are never summed across class boundaries:
| Label | Epistemic scope |
|---|---|
| Projection | A forward-looking scenario or analytical scaling bound conditioned on stated hardware assumptions |
| Company-reported | A silicon specification, die capacity, or throughput figure stated by a vendor without independent external audit |
| Filed | An audited disclosure in a public regulatory or statutory filing |
| Literature / Reported | A peer-reviewed numerical-analysis, computer-arithmetic, or systems finding reported by external authors |
| Measured | A deterministic numerical output, cycle/wall timing, or hardware power reading from reproducible Open Interface Engineering artifacts (crates/waios-rings, proofs/WaiosProofs/KulischExactFloat.lean; Signed Provenance · Self-Checked), strictly separating measured_j (TI INA238 external physical DC rail shunt on NVIDIA Jetson AGX Thor), reported_j (XNU AMU on Apple M3 Ultra and Linux RAPL on AMD Zen 5), est_j (analytical gate/bit models), and unmetered (bit-exactness, ULP audits, and Lean 4.36.0 proofs with board_metered: false) |
1. Candid Self-Correction and the True Sources of IEEE-754 Drift
1.1 Correcting Our Own waiOS-H32 s390x f32 Diagnosis
During our eleven-architecture waiOS-H32 cross-compilation study (/papers/isa-agnostic-computing/), evaluating a deterministic sequential f32 cosine-similarity kernel produced 0.9999399566476458 across 10 architectures (Apple M3 Ultra, AMD Zen 5, NVIDIA Jetson Thor, RISC-V RV64, LoongArch64, OpenPOWER LE, OpenPOWER BE, OpenSPARC V9 BE, x86 i686, and ARMv7), whereas s390x-unknown-linux-gnu returned 3.76 × 10^-6 (Measured [1]). Initially attributing that single-target discrepancy to “IEEE-754 floating-point non-determinism” was factually wrong, and we record the exact root-cause correction here:
- Emulator vector-aliasing defect, not
IEEE-754silicon. Auditing theghcr.io/cross-rs/s390x-unknown-linux-gnucontainer isolatedqemu-s390x version 5.1.0(2020) paired withgcc 5.4.0(2016), whose legacy Tiny Code Generator (TCG)s390xz/Vectorregister translation aliased upper and lower vector-float lanes. Physical IBM Z (z15/z16/z17) mainframes implement strictIEEE-754binary32/binary64alongside hardware decimal floating-point (DFP) [2]. - Exact
0-ULPagreement across10 / 10compliant ISAs. Across all ten compliant physical and emulated targets—spanning32-bit and64-bit pointers, little-endian and big-endian byte orders, and six distinctISAfamilies—sequential Rustf32andf64arithmetic produced the exact same 16-digit result0.9999399566476458(0ULPdrift).
1.2 The Four Actual Degrees of Freedom Above the Scalar ALU
Under IEEE-754 (1985, 2008, and 2019 revisions [2]), scalar +, -, *, /, sqrt, and fma are completely deterministic mathematical functions: under default round-to-nearest-even (RNE), every compliant processor on Earth must return the unique representable floating-point value nearest the infinitely precise real result (<= 0.5 ULP). Cross-vendor floating-point divergence arises exclusively from four unpinned software and scheduling choices above the scalar ALU:
- Non-associative parallel and
SIMDreduction trees. Because , horizontalSIMDreductions tie parenthesization to register width (4lanes onNEON/SSE,8onAVX2,16onAVX-512), while dynamic multi-thread atomics permute summation order across runs. - Implicit
FMAcontraction (-ffp-contract=fast).fma(a, b, c)rounds once from an exact intermediate product, whereasa * b + crounds twice (multhenadd), diverging by up to1 ULPnear half-way boundaries when compilers opportunistically contract expressions. - Unstandardized transcendental
libmapproximations. Unlike+and*, elementary functions (exp,log,sin,cos,tanh,pow) historically varied by0.5–3.0 ULPacrossglibc,musl,libSystem, anducrtprior to correctly rounded0.5 ULPlibraries such asCORE-MATH[3]. - Subnormal
FTZ/DAZcontrol bits and non-canonicalNaNpayloads. Hardware fast-math modes flushing subnormals ( inf32) to zero and differingx86vs.Armvs.RISC-Vquiet-NaNsign/payload propagation cause bitwise hash divergence unless canonicalized.
1.3 Four Testable Hypotheses (H1 to H4)
We test four quantitative hypotheses in ascending order:
H1(Dynamic-Range & Silicon Multiplier Physics Hypothesis): Fixed-pointQ24(i64) suffers100%small-gradient underflow on realisticAdamWsecond moments () while expending7.11×more partial-product multiplier gates thanf32( vs. ), establishing why scale-separated floating-point representations remain physically indispensable.H2(Cache-Residency & Batch Crossover Hypothesis): Neither0.461 BPWLUT6norf32SIMDFPUdominates universally:LUT6wins on latency andmeasured_jwhenf32weights spill per-core Level-2 cache atBatch = 1, whereas vertically vectorized[f32; 8]SIMDFPUwins by1.66×–4.75×when weights reside in cache orBatch >= 64amortizes memory fetches—while achieving0ULPcross-ISA drift.H3(SystolicFP32Exact-Integer Tile Hypothesis): BoundingINT8 × INT8systolic/Tensor-Core accumulation tiles to depth keeps every intermediate sum strictly belowIEEE-754binary32’s24-bit exact integer ceiling (), eliminating systolic reduction-order drift across GPUs and TPUs.H4(Kulisch4,352-Bit Ledger & Beyond-Ternary Ring Hypothesis): Accumulatingf64energy receipts inside a4,352-bit ([u64; 68]) Kulisch superaccumulator eliminates catastrophic cancellation across to with strict associativity, while expanding beyond radix-3 ternary across nine algebraic rings (R0toR8) unlocks100%of hardenedDSP, Tensor-Core,PIM, and physical sampler silicon.
2. Why Fixed-Point Alone Fails — Dynamic Range, Multiplier Gate Physics, and the Cache Crossover
2.1 Constant Relative Error Across 616 Decades vs. Fixed-Point Q24 Collapse (H1)
Signed 40.24 fixed-point (Q24 over i64) has constant absolute spacing and maximum magnitude . Whenever a physical or optimization signal shrinks by , Q24 forfeits decimal digits of relative accuracy until flushes identically to 0. Conversely, IEEE-754 f64 (1 sign + 11 exponent + 52 explicit significand bits) maintains constant relative precision across 616 orders of magnitude ( normal to , extending to subnormal):
| Physical or machine-learning quantity | True magnitude | Fixed-point Q24 (i64) result | IEEE-754 f32 (binary32) | IEEE-754 f64 (binary64) |
|---|---|---|---|---|
| Room-temperature Landauer bit erasure () | 0 (100% underflow) | 2.8709266e-21 (24b exact) | 2.8709267e-21 (53b exact) | |
AdamW second-moment update , | 0 (256 / 256 coords dead) | 1.0000000e-15 (256 / 256 live) | 1.000000000000000e-15 | |
| Planetary / multi-year fleet energy ledger | Overflows i64::MAX (5.5e11) | 1.0e20 (24b exact) | 1.0e20 (53b exact) |
In h33_float_double_reconciliation_bench.rs (Measured), evaluating 256 realistic small transformer gradients under AdamW () flushed 256 / 256 (100.0%) of Q24 updates to zero, stalling adaptive preconditioning, whereas f32 and f64 preserved 256 / 256 (100.0%).
At the transistor level, combinational Wallace/Dadda array multipliers scale quadratically as in significand width [4]:
Floating-point separates scale (an inexpensive 8-bit or 11-bit integer exponent adder) from precision ( partial-product gates in f32, 7.11× smaller than fixed-point). Indeed, even narrow-integer neural formats (OCP MXINT4/MXFP [5], PTQ1_0, and waiOS Block64-QAT) are block floating-point (BFP) representations under the hood: shared group exponents absorb heavy-tailed weight outliers (kurtosis > 35) while inner dot products stay narrow.
2.2 Empirical Cache-Residency and Batch Crossover (LUT6 vs. f32 SIMD FPU, H2)
Compressing a 256 × 1024 projection into 0.461 BPW Block64-QAT JouleBit-LUT6 shrinks weight footprint 69.41× (1,048,576 B f32 15,108 B LUT6), trading arithmetic FMA operations for table precomputation plus 6-bit index extraction and Level-1-cache load-port gathers. Benchmarking both kernels with hardware power telemetry across three physical hosts isolates the exact physical boundary (Measured, Signed Provenance · Self-Checked):
| Silicon host, cache hierarchy & meter | Workload regime | Block64 LUT6 (15.1 KB) | Pinned [f32; 8] SIMD FPU (1.05 MB) | Empirical winner & physical mechanism |
|---|---|---|---|---|
NVIDIA Jetson Thor (1 MB L2-cache/core, TI INA238 measured_j) | Batch = 1 | 53.67 µs · 1,677.4 µJ | 65.69 µs · 1,978.4 µJ | LUT6 wins (1.22× speed, 1.18× lower measured_j) — 1.05 MB f32 spills 1 MB L2-cache |
NVIDIA Jetson Thor (TI INA238 measured_j) | Batch = 64 | 53.13 µs/tok · 1,430.7 µJ | 32.00 µs/tok · 874.5 µJ | f32 FPU wins (1.66× speed, 1.64× lower measured_j) — weights amortized 64× |
Apple M3 Ultra (32 MB P-core L2-cache + 192 MB SLC, XNU AMU reported_j) | Batch = 1 (L2-hot) | 46.62 µs · 206.1 µJ | 30.10 µs · 189.5 µJ | f32 FPU wins (1.55× speed, 1.09× lower reported_j) — 1.05 MB fits inside 32 MB L2-cache |
Apple M3 Ultra (XNU AMU reported_j) | Batch = 64 | 45.79 µs/tok · 168.7 µJ | 17.79 µs/tok · 100.9 µJ | f32 FPU wins (2.57× speed, 1.67× lower reported_j) — vertical NEON FPU saturation |
AMD Zen 5 (1 MB L2-cache + 32 MB L3-cache, Linux RAPL reported_j) | Batch = 1 (L3-hot) | 85.42 µs · 9,049.4 µJ | 45.19 µs · 4,501.1 µJ | f32 FPU wins (1.89× speed, 2.01× lower reported_j) — 512b FPU vs. scalar gather |
AMD Zen 5 (Linux RAPL reported_j) | Batch = 64 | 85.09 µs/tok · 8,490.5 µJ | 17.91 µs/tok · 1,825.9 µJ | f32 FPU wins (4.75× speed, 4.65× lower reported_j) — compute-bound FPU dominance |

0.461 BPW Block64 LUT6 and vertically vectorized [f32; 8] SIMD FPU across Jetson Thor (TI INA238 measured_j), M3 Ultra (XNU AMU reported_j), and Zen 5 (Linux RAPL reported_j). Right: Resulting Four-Regime Numeric Selection Discipline. A PNG copy is provided. Open full size · PNG3. Exact Systolic FP32 Tiles (K_tile <= 512) and Ring R8 Reproducible IEEE-754
3.1 Choice-Free Proof of Systolic / Tensor-Core Exactness (KulischExactFloat.lean, H3)
Why do GPU Tensor Cores and TPU MXU systolic arrays (BF16 -> FP32) drift across vendors? Not from multiplication, but solely when an FP32 accumulator exceeds , where integer grid spacing widens from ulp = 1 to ulp >= 2. For any integer-coded weights and activations bounded by and (Ternary Pentary INT4 MXINT8), partitioning reduction depth into bounded tiles of guarantees:
In proofs/WaiosProofs/KulischExactFloat.lean (Lean 4.36.0, 0 sorry, 0 Classical.choice, 0 ofReduceBool, replayed across 6 / 6 independent proof kernels [6]), four theorems lock this bound and its exact failure boundary:
def binary32RneGrid (z : Int) : Int :=
if decide (-16777216 ≤ z ∧ z ≤ 16777216) then z else (z / 2) * 2
theorem kulisch_512_tile_step_and_significand_bound
(k : Nat) (acc p : Int) (hk : k < 512)
(hacc_lo : -16129 * (k : Int) ≤ acc) (hacc_hi : acc ≤ 16129 * (k : Int))
(hp_lo : -16129 ≤ p) (hp_hi : p ≤ 16129) :
-8258048 ≤ acc + p ∧ acc + p ≤ 8258048 ∧ binary32RneGrid (acc + p) = acc + p
theorem kulisch_binary32_significand_tightness_witness
(z : Int) (hz_lo : -16777216 ≤ z) (hz_hi : z ≤ 16777216) :
binary32RneGrid z = z ∧
binary32RneGrid 16777217 = 16777216 ∧
binary32RneGrid 16777217 ≠ 16777217
kulisch_int8_product_bound: proved via four non-negative binomial squares .kulisch_512_tile_step_and_significand_bound: At every step , , sobinary32RneGrid (acc + p) = acc + p(0rounding error at every tap).kulisch_binary32_significand_tightness_witness: Every integer projects identically ontobinary32, whereas at (ulp = 2),binary32RneGrid 16777217 = 16777216 != 16777217underRNE.kulisch_systolic_tree_vs_sequential_invariance: Inside sub-sums (), sequential left-fold accumulation, balanced binary-tree systolic accumulation, and transposed multi-worker reductions evaluate to the identicalbinary32bit pattern (0ULPdrift).
Because sits below with a 2.03× headroom margin below , even asymmetric INT8 codes (, worst-case product , ) remain 100% exact inside FP32 Tensor-Core and TPU MXU accumulators across NVIDIA Blackwell, AMD CDNA, Apple AMX/Metal, Google Cloud TPU v4–v7, AWS Trainium, and Groq LPU silicon.
3.4 Operational Decision Procedure for Runtime Ring Dispatch
At operator bind time, the waiOS runtime selects the optimal deterministic ring without human tuning by evaluating four static I16 joule.shape predicates:
3.2 Ring R8 (waios_rings::ieee754_repro) — Zero-Drift f32 GEMM, Dot2, and 4,352-Bit Kulisch Ledgers (H4)
Implemented in #![no_std] #![forbid(unsafe_code)] Rust (BLAKE3 = 1407af321ff786afd4562df441d7feed151ec516c8ac9f2984591ad739d47a93), Ring R8 provides three exact/reproducible IEEE-754 primitives:
- Vertically vectorized canonical pairwise
[f32; 8]GEMM(batched_pinned_f32_gemm). ConventionalBLASvectorizes horizontally along reduction axis , coupling parenthesization toNEON(4) vs.AVX-512(16) lane width. Instead,Ring R8fixes a canonical balanced binary -tree (PairwiseTreeAccF32,0heap bytes) and vectorizes vertically across8batch tokens ([f32; 8]). EverySIMDlane computes an independent token with zero horizontal shuffles, matching single-tokenpinned_pairwise_dot_f32to0ULPacross allISAs while hitting17.79–17.91 µs/tokonM3 UltraandZen 5. FMA-free106-bit error-free transformations (Dot2). Using Veltkamp splitting (), DekkerTwoProd, and KnuthTwoSum(Ogita, Rump, and Oishi’sDot2[7]),dot2_compensated_f64delivers~106-bit (quad-double) working precision at registerFPUspeed without depending on hardwareFMApresence, recovering exact3.5(0ULP) on where naivef64collapses to0.0.- Ulf Kulisch’s
4,352-bit ([u64; 68],544 B) exactbinary64superaccumulator (ExactF64Superaccumulator) [8]. Consider summing five physical energy ledger entries spanning cosmological/fleet reserves down to a single Landauer bit erasure:
Fixed-point Q24 clamps asymmetrically and flushes the Landauer term, returning -5.96046 × 10^-8 J (wrong sign, wrong magnitude). Naive left-to-right f64 absorbs and into , cancels , and adds , returning -1.0 J—hallucinating negative physical joules. Because every finite f64 is an exact dyadic rational (, ) and every f64 * f64 product has , Kulisch’s fixed 4,352-bit (544 B, 8.5 cache lines) two’s-complement register accumulates any number of f64 values or products in any thread/node permutation with zero intermediate rounding, rounding once (0.5 ULP RNE) at readout (+2.8709267e-21 J across 100% of permutations).
3.3 Bit-Level Derivation of the 4,352-Bit Kulisch Register and FMA-Free Dot2
To make independent implementation straightforward across #![no_std] runtimes, we record the exact bit geometry of ExactF64Superaccumulator (crates/waios-rings/src/ieee754_repro.rs) and dot2_compensated_f64:
- Exact dyadic product span (
4,196significand positions + carry guard). Every normal or subnormal finiteIEEE-754binary64value writes uniquely as where and (with representing the smallest subnormalquantum and the largest finitef64). For any exact product :
The lowest bit of sits at weight , while the highest bit of a maximal product sits at weight —a span of bit positions. Allocating 68 two’s-complement u64 words (68 × 64 = 4,352 bits = 544 B) anchors bit 0 of word 0 at and bit 63 of word 67 at (156 signed carry/borrow guard bits above , permitting over maximal f64 * f64 product accumulations without overflow). Because two’s-complement integer addition acc.merge(&peer_acc) is strictly associative and commutative:
distributed JouleDB LedgerEnergyReceipt reductions across arbitrary thread schedules or network topologies produce bit-identical 544 B superaccumulators and bit-identical final 0.5 ULP RNE readouts.
FMA-freeDot2error-free transformations (~106-bit working precision). Where544 Bper scalar is unnecessary (such as geometricPDE/CADinner loops in Regime III), Veltkamp splitting partitions any53-bitf64into exact26-bit high and27-bit low halves using :
Dekker’s TwoProd then computes satisfying exactly in pure IEEE-754 +, -, * with zero FMA instructions—eliminating x86 vs. Arm vs. wasm32 FMA-availability drift while doubling effective mantissa precision from 53 bits to 106 bits.
4. The Four-Regime Numeric Discipline and the Nine-Ring Atlas (R0 to R8)
4.1 Four-Regime Numeric Selection Discipline
| Numeric regime | Workload & physical constraint | Canonical waiOS / JouleDB substrate | Physical reason rival representations lose |
|---|---|---|---|
Regime I · Bandwidth-Bound Cold Decode & Edge SRAM | Batch = 1..4 decode exceeding L2/L3 cache (> 32 MB), or MCU/FPGA/Tensix on-tile SRAM | Block64-QAT JouleBit-LUT6 / SIMD-LUT4 (Q24 i64 ring, 0.461–1.45 BPW) | f32 moves 69.41× more DRAM bytes/token; LUT6 wins 1.22× speed / 1.18× measured_j on Thor 1 MB L2-spill |
| Regime II · Compute-Bound Prefill & Cache-Hot Layers | Batch >= 16–64 prefill, batch SQL scoring, or <= 32 MB cache-resident specialist layers | Vertically vectorized [f32; 8] PinnedPairwiseF32 (Ring R8) or systolic R3 | Dedicated / hardware FPUs and Tensor Cores beat LUT6 gather by 1.66×–4.75× speed and 1.64×–4.65× J at H_proc = 0 |
| Regime III · Multi-Scale Optimization, Physics & Geometry | AdamW moments (), RoPE/softmax, PDE/CAD/robotics kinematics () | IEEE-754 f32/f64 + FMA-free Dot2 (~106-bit) + CORE-MATH 0.5 ULP [3] | Q24 flushes 256 / 256 small AdamW coordinates to 0; Dot2 provides 106-bit compensated precision without FMA drift |
| Regime IV · Thermodynamic Ledgers & Parallel Reductions | JouleDB LedgerEnergyReceipt sums ( to ), Merkle settlement, distributed all-reduce | ExactF64Superaccumulator (4,352-bit [u64; 68] Kulisch superaccumulator) | Naive f64 hallucinates -1.0 J under cancellation and varies with thread order; Q24 overflows; Kulisch is 100% associative and 0.5 ULP exact |
4.2 Why Radix-3 Ternary Alone Leaves 80%+ of Silicon Dark — and the R0 to R8 Atlas
The classic textbook argument for ternary arithmetic minimizes radix economy at [9]. On real physical silicon, that derivation fails four independent assumptions: (i) CMOS SRAM, DRAM, and buses are physically bistable (), so bits/trit either wastes 20.8% of 2-bit states or requires 5-trit/byte (243 / 256) division unpacking; (ii) unit-magnitude has zero intra-group dynamic range for heavy-tailed channels; (iii) Cartesian hypercubes suffer high-dimensional shaping/packing loss relative to Viazovska’s optimal 8D and 24D Leech sphere packings [10, 11]; and (iv) synthesizing multiplierless ternary onto an AMD Kria KV260 (XCK26) left 1,248 / 1,248 (100%) hardened -bit DSP48E2 multipliers dark, just as scalar ternary unpacking strands 80%+ of die area on TPU MXUs and GPU Tensor Cores.
![Two-panel technical diagram. Left panel: Kulisch 4,352-bit (68 x u64 = 544 B) binary64 superaccumulator bit-span from 2^-2148 to 2^+2203 resolving [+10^120, +1.0, +2.87e-21, -10^120, -1.0] J to exact +2.8709267e-21 J where Q24 returns -5.96e-8 J and naive f64 returns -1.0 J, alongside the K_tile <= 512 exact FP32 integer ceiling (8,258,048 < 16,777,216 vs 16,777,217 RNE witness). Right panel: The nine-ring algebraic atlas R0 through R8 mapping Boolean LUT6, E8/Leech lattices, Dyadic PoT/CSD, Pentary/MXINT8 systolic tiles, Carry-Free RNS/NTT, Tropical/AdderNet, Integer Clifford PGA, Physical Propose-and-Certify R7, and Reproducible IEEE-754 R8 onto all 14 global accelerator families.](/figures/numeric-regime-reconciliation/kulisch-and-r0-r8-rings.png)
4,352-bit Kulisch binary64 superaccumulator span vs. naive f64 -1.0 J cancellation and the Tensor-Core integer exactness ceiling (8,258,048 < 2^24). Right: Nine-ring algebraic atlas (R0 to R8) eliminating stranded silicon across 14 global compute-fabric families (/hardware-constellation/). A PNG copy is provided. Open full size · PNGTo leave zero hardware stranded, waiOS maps nine algebraic and physical rings (R0 through R8) onto the exact native execution units of 14 global compute-fabric families:
| Ring ID | Algebraic structure & representation | Effective density | Where it outperforms scalar ternary | Primary native silicon targets |
|---|---|---|---|---|
R0 | Sub-bit Boolean logic / BenesLUT6 () | 0.0–0.5 BPW | 0 runtime MACs; compiles crystallized skills directly into 64-bit LUT truth tables or P4 match-action stages | FPGAs (XCK26, VU47P, XC7, iCE40), CGRAs, Pensando P4 DPUs |
R1 | Gosset & Leech lattice VQ (, QuIP#/QTip [11]) | 1.5–2.0 BPW | Optimal 8D/24D sphere packing [10]; lower quantization MSE at < 2 BPW via exact parity XOR + add | Bandwidth-bound decode on CPUs, GPUs, LPUs, UPMEM DRAM-PIM, UMA |
R2 | Dyadic PoT, APoT / CSD (), & LNS | 2.0–4.0 BPW | Multiplierless shift + add with 48–96 dB outlier dynamic range and 100% radix-2 code density (0 base-3 unpack) | Zero-DSP FPGAs, bare-metal Cortex-M/RISC-V MCUs, SSM/attention outliers |
R3 | Balanced Pentary / MXINT4 / MXINT8 () | 2.32–8.0 BPW | Lights up 100% of hardened Tensor Cores, TPU MXUs, DSP48E2s (2× INT8 SIMD), XDNA 2, and Hexagon HVX at H_proc = 0 | TPU v4–v7, Blackwell/CDNA, Trainium, Groq LPU, Cerebras WSE-3, XCK26 |
R4 | Carry-free RNS (), RRNS, & finite-field NTT () | Exact modular | 100% carry-free O(1) parallel LUT channels; 1-pass cosmic-ray healing (RRNS); exact SSM/FHE/ZKP | LUT6 FPGAs, UPMEM PIM, WDM photonic NPUs, Fabric VPUs, space silicon |
R5 | Tropical semiring & AdderNet () | Exact i8/i16 | 0 multiplications by ReLU-tropical isomorphism; solves Viterbi/routing in one comparator-tree pass | BlueField/Pensando DPUs, Hailo/Ethos-U55 edge NPUs, FPGA trees |
R6 | Integer Clifford PGA & Lipschitz quaternions | Exact rotor | Exact rigid-body equivariance with 4×–9× fewer parameters than matrices and 0 drift | Embodied robotics, MuJoCo twins, CAD/FEA, biomolecular geometry |
R7 | Physical Propose-and-Certify () | 1 spike/p-bit/qubit | Turns noisy quantum, photonic (TFLN/MZI), neuromorphic (TTFS), p-bit, or organoid (MEA) samplers into H_res = 0 engines via exact integer residual/witness gates | IonQ/IBM/QuEra/D-Wave QPUs, Q.ANT, Loihi 2/Xylo, Extropic, FinalSpark |
R8 | Reproducible & exact IEEE-754 ([f32; 8] pairwise, Dot2, 4,352b Kulisch) | 32–4,352 b | 616-decade relative precision, 1.66×–4.75× cache-hot/batched FPU win, 0 ULP drift, associative exact joule ledgers | All IEEE-754 CPU SIMD (AVX-512, NEON, SVE2, RVV, VSX, LSX) & GPU FPUs |
5. Eliminating Stranded Silicon Across All 14 Global Compute-Fabric Families
A central engineering failure of single-format runtimes—whether CUDA-only BF16 frameworks or CPU-only ternary lookup runtimes—is stranded silicon: leaving paid-for hardware multiplier columns, systolic arrays, vector engines, or in-memory bank processors idle. Table 5 maps the nine waiOS rings (R0 through R8) across all 14 global compute-fabric families catalogued in /hardware-constellation/ (Measured lab status and Company-reported / Literature / Reported architectural specifications):
| Global fabric family | Representative silicon ecosystems | Native hardware datapath | Assigned waiOS ring(s) & invariance contract |
|---|---|---|---|
1 · Hyperscaler Systolic TPUs & Tensor ASICs | Google Cloud TPU v4–v7, Coral Edge TPU, AWS Trainium/Inferentia2, Azure Maia, Huawei Ascend | 128×128 / 256×256 BF16 -> FP32 & INT8 -> INT32 systolic MXUs | R3 ( exact integer-in-FP32 MXU, H_proc = 0) + R8 (VPU reductions) |
2 · Deterministic SRAM LPUs, Wafer & Dataflow ASICs | Groq LPU (230 MB SRAM), Cerebras WSE-3 (44 GB SRAM), SambaNova RDU, Tenstorrent Tensix, MN-Core 2, Furiosa RNGD, Maverick-2 | Compiler-scheduled VLIW streams, 900k spatial wafer cores, 5-RISC-V + 1.5 MB SRAM Tensix tiles | R1 (E8 VQ in tile SRAM), R3 (INT8/MXFP exact tile), R4 (RNS per tile) |
3 · GPU SIMT & Matrix-Tile Fabrics | NVIDIA Blackwell (sm_110 Jetson Thor, B200), AMD CDNA3/4 & RDNA 3.5 (Radeon 8060S), Apple Metal 4, Intel Xe/Gaudi, Qualcomm Adreno 643 | IMMA / WMMA / simdgroup_matrix Tensor Cores + WGSL workgroup SRAM + SPIR-V OpSUDotAccSat | R3 ( Tensor Core), R0/R2 (workgroup SRAM butterfly), R8 ([f32; 8] & Dot2) |
4 · Client & Edge Spatial NPUs | AMD XDNA 2 (AIE-ML v2), Qualcomm Hexagon v68–v79 (HVX+HMX), Apple ANE, Hailo-8/10H | 2D VLIW tile meshes, 1024b HVX (103 GMAC/s Measured), palettized LUT16 graph engines | R3 (INT8 -> INT32 exact shift-round), R1 (lut16 palettized), R5 (Hailo spatial -norm) |
5 · FPGAs, CGRAs & Spatial Logic | AMD Kria XCK26 (117k LUT6 + 1,248 DSP48E2), Virtex VU47P (9,024 DSP48E2), Artix-7, Versal, Intel Agilex 7, Lattice iCE40, Efficient E1 | 6-input LUT fabric + hardened -bit DSP48E2 columns + BRAM/UltraRAM | R0 (BenesLUT6 in LUT fabric) simultaneously with R3 (2× INT8 dual-lane packing on all 1,248 DSP48E2s!) |
6 · In-Network DPUs & Enclaves | NVIDIA BlueField-3/4 (256-thread RISC-V DPA), AMD Pensando (P4 TCAM+SRAM), Marvell OCTEON 10, AWS Nitro | 400–800 Gbps line-rate packet match-action pipelines and hardware enclaves | R0 (BenesLUT6 compiled 1:1 to P4 match-action tables) + R5 (tropical line-rate routing) |
7 · Processing-in-Memory (PIM) | UPMEM DRAM-PIM (2,560 32b RISC DPUs inside DDR4 DIMMs, > 2 TB/s), SK Hynix GDDR6-AiM, Samsung HBM-PIM | Multiplier-free RISC bank processors (64 KB WRAM/bank) & bank-level MACs | R0/R1/R4 (carry-free RNS + 10,000-bit BinaryHV XOR+POPCNT inside DRAM banks) |
8 · Quantum Processing Units (QPUs) | Trapped-ion (IonQ, Quantinuum), superconducting (IBM Heron, IQM, Rigetti), neutral-atom (QuEra, Pasqal), photonic (Quandela), D-Wave | Native GPI2/CZ/Rydberg blockade/QUBO quantum sampling | R7 (quantum proposal exact integer digital witness gate , H_res = 0) |
9 · Classical Photonic Tensor & NTT Engines | Q.ANT LENA (TFLN analog photonic NPU), Lightmatter MZI, Optalysys Etile optical NTT | Nonlinear optical wave mixing, Clements MZI meshes, optical Fourier/NTT | R7 (optical proposal + digital iterative residual ) & R4 (WDM 1 modulus/wavelength) |
| 10 · Neuromorphic Event-Driven Silicon | SynSense Xylo Audio 3, Intel Loihi 2 (Hala Point), SpiNNaker2, BrainChip Akida | Synchronous integer CuBa-LIF cores (Xylo) & asynchronous graded-spike meshes | R3 (Xylo 100% deterministic integer SNN) & R7 (TTFS spike proposal + digital gate) |
11 · Thermodynamic p-bit Silicon | Extropic X-0/Z-1 (p-bit thermal noise), Normal Computing CN101 | Sub-threshold Boltzmann/Gibbs relaxation & Ornstein–Uhlenbeck diffusion | R7 (femtojoule Gibbs sample proposal gated by exact integer energy/constraint check) |
12 · Confidential TEE & ZKP/FHE VPUs | Intel TDX, AMD SEV-SNP, NVIDIA CC, Fabric VPU, Cornami TruStream, Ingonyama | Hardware memory encryption + Goldilocks/BabyBear/Mersenne31 NTT & TFHE | R4 (prime-field NTT ZK-STARK proofs) & R0 (BenesLUT6 TFHE programmable bootstrap) |
| 13 · Biocomputing / Wetware Platforms | FinalSpark Neuroplatform, Cortical Labs CL1 | Living cortical organoids / neural cultures on CMOS MEAs | R7 (biological spike-train reservoir proposal strictly quarantined behind digital C(z^*) = 1) |
14 · Global CPU Vector ISAs & MCUs | x86_64 (AMX/AVX-512), ARMv9 (SME2/SVE2), RISC-V (RVA23 RVV), s390x, OpenPOWER (MMA), LoongArch64, Cortex-M55 + Ethos-U55 | 128–1024b vector/matrix registers & deterministic SRAM/MRAM MCUs | R0–R6 + R8 (11-target bit-exact 840d67d0... & Ring R8 1407af32..., 0 ULP) |
5.1 End-to-End Multi-Regime Forward, Backward, and Ledger Execution Flow
In a real mixed-workload autonomous system—combining continuous prompt prefill, single-user autoregressive token decode, online continual weight updates, and cryptographic energy settlement—forcing a single number format across all four phases incurs severe latency, energy, or numerical-stability penalties. Under the Four-Regime Numeric Selection Discipline, a single forward-backward-settle cycle transitions cleanly across representations without ever losing cross-vendor bitwise reproducibility:
- Prefill Phase (
Batch = 64, Regime IIRing R8/R3): Incoming context blocks execute on vertically vectorized[f32; 8]SIMDFPUtrees (17.79–32.00 µs/tok,1.66×–4.75×faster thanLUT6) or systolicINT8 -> FP32Tensor Cores (8,258,048 < 2^24,0rounding error). - Decode Phase (
Batch = 1coldDRAM/1 MBL2-spill, Regime IR0/R1/Q24): Autoregressive single-token generation switches to69.41×-compressedBlock64-QATJouleBit-LUT6(15,108 Bvs.1,048,576 Bf32) orE8lattice codebooks, avoidingDRAMbandwidth stalls (1.22×faster and1.18×lowerTI INA238measured_jonJetson Thor). - Optimization & Kinematic Feedback Phase (Regime III
Ring R8f32/f64+Dot2): Backpropagated small gradients () updateAdamWmoments inIEEE-754f32/f64(256 / 256coordinates preserved vs.0 / 256inQ24), while high-condition-number geometric residuals execute viaFMA-free106-bitDot2. - Thermodynamic Ledger Settlement Phase (Regime IV
ExactF64Superaccumulator): Hardware energy readings from each phase—strictly segregated by telemetry class (measured_jvs.reported_jvs.est_j)—fold into class-specific4,352-bit[u64; 68]Kulisch superaccumulators (sum_receipt_joules_exact_kulisch), guaranteeing exact0.5 ULPMerkle root agreement across arbitrary distributed worker permutations.
5.2 Summary Comparison Against Ideological Single-Format Stacks
| Evaluation criterion | Pure FP16/BF16 Unpinned BLAS Stack | Pure Fixed-Point Q24 + Scalar Ternary Stack | waiOS Four-Regime + Nine-Ring (R0–R8) Reconciled Stack |
|---|---|---|---|
Cross-ISA f32/f64 ULP Drift | 1–10+ ULP drift across AVX-512 vs. NEON vs. thread schedules | Avoids f32 by forbidding hardware FPUs entirely | 0 ULP drift (1407af32...) across 10 / 10 compliant ISAs via [f32; 8] vertical trees & Dot2 |
Small-Gradient AdamW Survival () | 0% in unscaled FP16 (< 6e-8); 100% in FP32 master weights | 0 / 256 (100% underflow to 0 in Q24) | 256 / 256 (100% live) in Regime III f32/f64 |
Batch = 1 1 MB-Cache Spill Efficiency (Thor) | Spills 1 MB Level-2 cache (65.69 µs, 1,978.4 µJ INA238 measured_j) | 53.67 µs, 1,677.4 µJ INA238 measured_j (1.22× / 1.18× win) | Routes automatically to Regime I Block64 LUT6 (1,677.4 µJ measured_j) |
Batch = 64 / Cache-Hot Prefill (Zen 5) | Fast (~18 µs/tok), non-deterministic horizontal SIMD | Slow (85.09 µs/tok, 8,490.5 µJ RAPL reported_j) | 17.91 µs/tok, 1,825.9 µJ RAPL reported_j (4.75× / 4.65× win) at 0 ULP |
Hardened DSP48E2 / Tensor-Core Utilization | Uses Tensor Cores with non-associative FP32 drift (K > 512) | 0 / 1,248 (0%) DSP48E2s used (100% silicon stranded) | 100% DSP48E2 (2× INT8) & Tensor-Core (K_tile <= 512) at H_proc = 0 |
Multi-Scale Joule Ledger (10^-21 to 10^+120 J) | Hallucinates -1.0 J under catastrophic cancellation | Clamps/underflows (-5.96e-8 J, wrong sign & scale) | Exact +2.8709267e-21 J (0.5 ULP RNE, 100% associative 544 B Kulisch) |
6. Falsification Criteria and Open Engineering Boundaries
Every mathematical and microarchitectural claim in this study is paired with a concrete refutation test (NUM-F1 to NUM-F6) and explicit open boundaries:
| Falsifier ID | Claim under test | Concrete refutation condition | Current empirical status & open boundary |
|---|---|---|---|
NUM-F1 · Physical IBM Z s390x Ring R8 Parity | Our waiOS-H32 s390x f32 discrepancy (3.76e-6) was a qemu-s390x 5.1.0 TCG bug, and physical z15/z16/z17 silicon matches 0.9999399566476458 and Ring R8 1407af32... bit-for-bit | Running h33_float_double_reconciliation_bench on native IBM LinuxONE (z16/z17) hardware produces >= 1 ULP divergence from the 10 other ISAs | Emulator TCG bug isolated; integer digest 840d67d0... already matched on s390x; native LinuxONE hardware Ring R8 receipt is scheduled |
NUM-F2 · LUT6 vs. f32 Cache Crossover Shift | LUT6 beats f32 FPU on CPU only when f32 weights spill local cache at low batch (Batch = 1..4) | On a 7B–70B cold DRAM-streaming model (4–140 GB >> 192 MB SLC) at Batch = 1, f32 beats Block64 LUT6 on latency or joules | Crossover verified at the 1.05 MB single-projection scale (Thor 1 MB L2-spill vs. M3 Ultra 32 MB L2-hot); full 70B multi-layer INA238 crossover curves remain open |
NUM-F3 · Systolic Subnormal / BF16 Input Guard | INT8-in-BF16 -> FP32 systolic tiles remain exact (0 rounding) across all internal tree orders when $ | w | , |
NUM-F4 · Kulisch 4,352-Bit Overflow Envelope | ExactF64Superaccumulator ([u64; 68]) accumulates millions of finite f64 values or products with 0 intermediate rounding | A sum of maximal f64 terms () overflows the 57 carry guard bits above | [u64; 68] provides 4,352 - 4,291 = 61 high guard/sign bits (> 10^18 maximal 10^308 additions before carry overflow); non-finite NaN/Inf inputs are explicitly flagged and rejected |
NUM-F5 · Transcendental CORE-MATH Integration | Ring R8 bitwise cross-ISA reproducibility extends from rational/dot-product kernels (+, -, *, /, sqrt, Dot2) to Softmax/RoPE transcendentals | Calling platform std f32::exp or f32::sin directly introduces 0.5–2.0 ULP glibc vs. libSystem drift | Ring R8 rational/GEMM/Dot2/Kulisch primitives use zero platform libm calls; full #![no_std] 0.5 ULP CORE-MATH polynomial ports for exp/sincos are in integration |
NUM-F6 · R7 Physical Sampler Reject-Rate Overhead | R7 Propose-and-Certify turns noisy quantum/photonic/thermodynamic hardware into H_res = 0 engines via digital check | When physical device noise drives acceptance probability , repeated proposals expend more energy than direct digital R0–R4 solving | Bounded by Cinder microjoule caps: if R7 oracle proposals fail within budget, execution falls back deterministically to exact digital R3/R4 |
References
- Open Interface Engineering, "Where Anti-Float Dogma Fails: Reconciling waiOS and JouleDB with the IEEE-754 Float and Double Ecosystems,"
hardware-invarianceHorizonwaiOS-H33(crates/waios-rings/src/ieee754_repro.rs), 2026. /hardware-constellation/ - IEEE Computer Society, IEEE Standard for Floating-Point Arithmetic (IEEE Std 754-2019), New York, July 2019. doi:10.1109/IEEESTD.2019.8766229
- A. Sibidanov, P. Zimmermann, and S. Glondu, "The CORE-MATH project," in 29th IEEE Symposium on Computer Arithmetic (ARITH), pp. 26–34, 2022. arXiv:2202.04177.
- C. S. Wallace, "A suggestion for a fast multiplier," IEEE Transactions on Electronic Computers EC-13(1), pp. 14–17, 1964; L. Dadda, "Some schemes for parallel multipliers," Alta Frequenza 34, pp. 349–356, 1965.
- B. D. Rouhani, R. Zhao, A. More, M. Hall, A. Khodamoradi, S. Deng, D. Choudhary, M. Cornea, E. Dellinger, K. Denolf, et al., "Microscaling data formats for deep learning," Open Compute Project (OCP) specification and arXiv:2310.10537, 2023.
- Open Interface Engineering, "Closing the Specification-to-Binary Trust Gap: Zero-Axiom Rust-to-Lean Functional Extraction and Six-Kernel Proof Replay,"
proofs/WaiosProofs/KulischExactFloat.lean, 2026. /papers/rust-to-lean-six-kernel-extraction/ - T. Ogita, S. M. Rump, and S. Oishi, "Accurate sum and dot product," SIAM Journal on Scientific Computing 26(6), pp. 1955–1988, 2005. doi:10.1137/030601818
- U. W. Kulisch, Computer Arithmetic and Validity: Theory, Implementation, and Applications, 2nd ed., De Gruyter, Berlin, 2013; U. Kulisch and V. Snyder, "The exact dot product as basic tool for long interval arithmetic," Computing 91(3), pp. 307–313, 2011.
- B. Hayes, "Third base," American Scientist 89(6), pp. 490–494, 2001.
- M. S. Viazovska, "The sphere packing problem in dimension 8," Annals of Mathematics 185(3), pp. 991–1015, 2017; H. Cohn, A. Kumar, S. D. Miller, D. Radchenko, and M. Viazovska, "The sphere packing problem in dimension 24," Annals of Mathematics 185(3), pp. 1017–1033, 2017.
- A. Tseng, J. Chee, Q. Sun, V. Kuleshov, and C. De Sa, "QuIP#: Even better LLM quantization with Hadamard incoherence and lattice codebooks," in Proceedings of the 41st International Conference on Machine Learning (ICML), 2024. arXiv:2402.04396.