The Reality Code Engine (RCE): Total State-Machine Specification, 49 mJ Single-Form Checks vs. 15.44 J Suite Scope, and Open Draft Theorems

Specifies RCE Draft 0.9 at openIE-dev/rce (f87d6af2): reconciles 49.04 mJ single-Form check vs 15.44 J 62-Form suite and 2,221/2,236 conformance clauses, and discloses 12 unproved draft-0.9 theorems alongside 97 completed Lean files.

Reality Code Engine (RCE) — 49.04 mJ/Form check & 15.44 J across 62 Forms (M5 Max reported_j) · 2,221/2,236 conformance passes · 12 draft-0.9 theorems open
RCE Draft 0.9 (`openIE-dev/rce` `f87d6af2`): reconciled single-Form vs. 62-Form `reported_j` scopes, 2,221/2,236 conformance checks, and honest Lean theorem status.

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

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. [E · Reconciled 49.04 mJ vs. 15.44 J vs. 2,221 Checks (reported_j)] Earlier summaries conflated three separate workloads from rce-facts.json: 49.04 mJ (7.32 ms, Apple M5 Max L3 reported_j) is the cost of one single-Form rce check invocation; 15.44 J (2.32 s, ~249 mJ/Form) is the cost of checking, running, and multi-target emitting all 62 valid example Forms (60 top-level + 2 package Forms, alongside 13 syntax-reject and 73 type/admissibility-reject tests); and 2,221 / 2,236 (0 failures, 15 unsupported/reserved) is the normative conformance test count across 311 spec clauses (not 2,221 × 49 mJ). Moreover, rce CLI receipts themselves currently emit deterministic integer C.6 fuel units rather than reading OS host.Energy counters natively (§1, §6.3).
  2. [T · Honest Lean 4.36.0 Proof Boundary] Across 97 completed .lean files in spec/lean/ (f87d6af2), 0 sorry, 0 opaque, and 0 ofReduceBool appear across 1,264 source theorem/lemma declarations (5,393 kernel theorem constants verified by all 6/6 independent checkers in bwrap at 22,354.77 J Linux RAPL reported_j)—alongside 12 unproved Draft-0.9 theorem statements in Appendix F.9 (T42–T56 except T48, T51, T53), plus T60 and parts of T57, T59, T61, while Appendix C concurrency theorems (T16–T31) are proved on abstract models rather than the Rust evaluator.
  3. [T/E · Scoped Totality Guarantee] Rather than claiming RCE “eliminates undefined crashes,” its totality discipline prevents stuck or non-terminating step evaluations within the modeled total Form core (requiring every event either to step or record a state-preserving kept step T8), excluding host OS failures, FFI boundaries, target-language compiler bugs, hardware faults, and open input-entry item #15.

Methods, Baselines & Artifact Scope

Reconciling Workload Scopes (49.04 mJ, 15.44 J, and 2,221 Checks)

Inspecting src/data/rce-facts.json and §1 / §6.3 of src/content/papers/rce.md separates three numbers that short video/blog summaries previously compressed together [E]:

  1. 49.04 mJ (7.32 ms on Apple M5 Max L3 ri_energy_nj, reported_j): External OS counter cost of one single-Form rce check run.

  2. 15.44 J (2.32 s on Apple M5 Max L3 reported_j): External OS counter cost of running the complete 62-Form example suite (syntax/type/totality checking plus multi-target Rust, Python, JS, and Scala trace verification across 60 standalone and 2 package Forms, ~249 mJ/Form end-to-end).

  3. 2,221 / 2,236 Conformance Checks (0 failures, 15 unsupported/reserved Draft-0.9 clauses): Normative clause assertions across 311 specification rules (104 core grammar rules / 1,028 LR states with 0 shift/reduce conflicts). Furthermore, §1 candidly discloses that openIE-dev/rce main does not yet implement rce host calibrate or native host.Energy OS-counter receipts inside the checker binary; internal receipts record deterministic integer C.6 fuel units [E].

Theorem Audit (5,393 Constants vs. 12 Unproved Draft-0.9 Statements)

Scientific precision requires reporting both proved and unproved parts of Draft 0.9 [T]:

Limitations: Identifiers, Comprehension, and Totality Boundaries

Energy & Telemetry Scope

All reported joules (49.04 mJ, 15.44 J, 22,354.77 J) are reported_j chip counters (measured_j = null, board_metered = false). Relative to generating a multi-language repair via a local 35B LLM (84.25 J reported_j per candidate in rce-jepa), running rce check (0.049 J) costs 1,718x less on-chip reported_j on workstations [E].


Canonical Provenance, Primary Artifacts & Independent Replication