RCE Compile: A Proposed 7-Part Compiler Normal-Form Contract, Per-Machine Prelude Cuts, and De Bruijn Warm-Cache Bounds

Refutes a descriptive "Law of Compilation" in favor of a proposed 7-part contract, separating Zen 5 (20.07x) vs Core i9 (15.44x) prelude cuts and up to 448.5x best-case warm De Bruijn cache hits (Linux RAPL reported_j).

RCE Compile Normal-Form & Cache Audit — Up to 448.5x best-case warm-cache rebuild cut · 20.07x (Zen 5) & 15.44x (Core i9) prelude compile cut (Linux RAPL reported_j)
Proposed 7-part Compiler Form contract, per-machine Linux RAPL `reported_j` compile payback, and De Bruijn warm-cache vs. cold-build separation.

Temporal & Archival Scope: Era II OpenIE Study (November 21, 2026) · Canonical OpenIE Chronicle Entry: https://blog.openie.dev/posts/rce-compile/ · Primary Paper & Methods: https://research.openie.dev/papers/rce-compile/ · Canonical Digest: blake3:tv:d561a8e7e445f1878caa5144e08df2f7cbe006ff65dba485bc787c7361a7027a

Provenance & Telemetry Hygiene: Signed Provenance · Self-Checked (automated OpenIE internal gates; not externally peer-reviewed) · Energy Class: reported_j (measured_j ⊥ reported_j ⊥ est_j ⊥ unmetered — Verification, Licensing & AI-Use Disclosure · Glossary & Non-Mixing Rules).

Key Claims & Evidence Tags

  1. [M/S · Proposed Normal-Form Contract, Not a Law of Nature] The primary paper explicitly refutes the hypothesis that existing compilers obey a single “Law of Compilation,” restating it as a proposed 7-part engineering contract (R, L, C, K, U, E, G) and disclosing in Appendix A that 38 of 55 audited external claims rested on [S]/[K] snippet checks (14 partly overstated, 4 contradicted, 17 not found).
  2. [E · Per-Machine Cold Prelude & Optimization Payback (reported_j)] Across 20 integer/fixed-point kernels × 15 compiler tiers (300/300 matching checksums), factoring RCE’s emitted Rust runtime into pre-compiled librce_rt.rlib cut median per-kernel rustc -O3 core reported_j 20.07x (56.29 J -> 2.81 J core, 896.93 J -> 27.05 J pkg, 24.58x faster, lowering payback vs. Node JS from 31,080 to 1,079 runs) on AMD Ryzen AI Max+ 395 (Zen 5, pinned CPU 0, co-tenant load on other cores noted), and replicated at 15.44x PP0 core (84.40 J -> 5.47 J, 104.56 J -> 6.85 J pkg = 15.26x) on an idle dedicated Intel Core i9-13900H (4.46 W idle pkg)—while -O2 to -O3 never paid back its extra compile joules on 20%–30% of kernels.
  3. [E · Warm De Bruijn Cache Hit (up to 448.5x) vs. Cold Build] Crediting N. G. de Bruijn (1972) for nameless positional variable indexing (v0 - v1 vs. v1 - v0), E5-Scale (245 base programs, 500 verified semantic mutants, 29,890 cross-program pairs) recorded 0 / 500 false hits (whereas naive identifier-stripping collided on 150 / 150 (100%) variable-swap bugs) and cut rebuild work up to 448.5x (1.166 J -> 2.60 mJ rustc -O3 core reported_j) and 167.8x (0.682 J -> 4.07 mJ clang -O3) strictly on warm cache hits over alpha-renamed single-file kernels (66.7%–69.2% rename hit rate; 1.0x on cold unseen builds).

Methods, Baselines & Artifact Scope

From Refuted “Law” to Proposed Normal-Form Contract & Lineage

The manuscript opens by testing—and refuting—the claim that real compilers (gcc, clang, rustc, Go, GHC, XLA, CompCert) already satisfy a unified “Law of Compilation” [E, S]. Instead, it defines a proposed 7-part Compiler Form contract (Representation R, Lowering L, Cost C, Checker K, Reuse U, Energy E, Gate G). Nameless positional variable indexing in R directly applies N. G. de Bruijn (1972) lambda-calculus indices and Maziarz et al. (PLDI 2021) alpha-equivalent IR hashing, sitting alongside incremental build systems such as ccache, Bazel, Adapton (Hammer et al., PLDI 2014), and Rust’s Salsa query engine [S].

Per-Machine Compile Payback (Zen 5 vs. Core i9-13900H) & Warm-Cache Scope

Limitations, IR Debug-Path Misses & Literature Snippet Audit

Energy & Telemetry Scope

All joule measurements are Regime-B Linux powercap RAPL core/PP0 and package reported_j (measured_j = null, board_metered = false), where power × wall_time explained 99.99% of RAPL variance (R^2 = 0.9999) compared with 11.54% for static Wasm byte size [E].


Canonical Provenance, Primary Artifacts & Independent Replication