diff --git a/.github/workflows/authorized-exact-gym.yml b/.github/workflows/authorized-exact-gym.yml
new file mode 100644
index 000000000..613b74b8d
--- /dev/null
+++ b/.github/workflows/authorized-exact-gym.yml
@@ -0,0 +1,30 @@
+name: AEG-01 exact authorized development gym
+on:
+ push:
+ paths:
+ - 'research/authorized_exact_gym/**'
+ - 'research/nor60_authorized_interpreter/optimized_execution.py'
+ - 'research/nor45_authorized_program/independent_execution_verifier.py'
+ - '.github/workflows/authorized-exact-gym.yml'
+ pull_request:
+ paths:
+ - 'research/authorized_exact_gym/**'
+ - 'research/nor60_authorized_interpreter/optimized_execution.py'
+ - 'research/nor45_authorized_program/independent_execution_verifier.py'
+ - '.github/workflows/authorized-exact-gym.yml'
+permissions:
+ contents: read
+jobs:
+ development-boundaries:
+ runs-on: ubuntu-24.04
+ timeout-minutes: 10
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: '3.12'
+ - run: python -m pip install --disable-pip-version-check cryptography==46.0.4 gmpy2==2.3.2
+ - name: Check exact answers, authentication, referee isolation and retained evidence
+ run: |
+ python -m unittest research.authorized_exact_gym.test_gym -v
+ python -O -m unittest research.authorized_exact_gym.test_gym -v
diff --git a/.github/workflows/nor60-archived-audit.yml b/.github/workflows/nor60-archived-audit.yml
new file mode 100644
index 000000000..c31adf884
--- /dev/null
+++ b/.github/workflows/nor60-archived-audit.yml
@@ -0,0 +1,41 @@
+name: NOR-60 permanent original evidence and capstone audit
+
+on:
+ push:
+ paths:
+ - 'research/nor*/**'
+ - 'research/rrc_compactification/**'
+ - 'papers/authorized-exact-computation/**'
+ - '.github/workflows/nor60-archived-audit.yml'
+ pull_request:
+ paths:
+ - 'research/nor*/**'
+ - 'research/rrc_compactification/**'
+ - 'papers/authorized-exact-computation/**'
+ - '.github/workflows/nor60-archived-audit.yml'
+ workflow_dispatch:
+
+permissions:
+ contents: read
+
+jobs:
+ original-evidence-and-capstone:
+ runs-on: ubuntu-24.04
+ timeout-minutes: 20
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ persist-credentials: false
+ - uses: actions/setup-python@v5
+ with:
+ python-version: '3.12'
+ - name: Install pinned audit dependencies
+ run: python -m pip install --disable-pip-version-check cryptography==46.0.4 gmpy2==2.3.2
+ - name: Exercise eight source-free archive integrity controls
+ run: |
+ python -m unittest research.nor60_authorized_interpreter.test_archive_audit -v
+ python -O -m unittest research.nor60_authorized_interpreter.test_archive_audit -v
+ - name: Replay the original archive without timing or evidence writes
+ run: python research/nor60_authorized_interpreter/original_archive_audit.py
+ - name: Verify the capstone evidence ledger
+ run: python research/nor_line_capstone/audit_evidence.py
diff --git a/.github/workflows/nor60-authorized-interpreter.yml b/.github/workflows/nor60-authorized-interpreter.yml
new file mode 100644
index 000000000..1ed855387
--- /dev/null
+++ b/.github/workflows/nor60-authorized-interpreter.yml
@@ -0,0 +1,102 @@
+name: NOR-60 first frozen signed exact interpreter experiment
+
+on:
+ push:
+ branches:
+ - research/nor60-capstone-20261118
+ paths:
+ - 'research/nor60_authorized_interpreter/**'
+ - 'research/nor45_authorized_program/independent_execution_verifier.py'
+ - '.github/workflows/nor60-authorized-interpreter.yml'
+ pull_request:
+ paths:
+ - 'research/nor60_authorized_interpreter/**'
+ - 'research/nor45_authorized_program/independent_execution_verifier.py'
+ - '.github/workflows/nor60-authorized-interpreter.yml'
+
+permissions:
+ contents: read
+
+concurrency:
+ group: nor60-first-${{ github.ref }}
+ cancel-in-progress: false
+
+jobs:
+ source_free_security:
+ runs-on: ubuntu-24.04
+ timeout-minutes: 20
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - uses: actions/setup-python@v5
+ with:
+ python-version: '3.12'
+ - run: python -m pip install --disable-pip-version-check cryptography==46.0.4 gmpy2==2.3.2
+ - name: Check frozen registration when first-run marker is present
+ run: |
+ if test -f research/nor60_authorized_interpreter/REGISTRATION_SHA.txt; then
+ git merge-base --is-ancestor "$(cat research/nor60_authorized_interpreter/REGISTRATION_SHA.txt)" HEAD
+ fi
+ test -s research/nor60_authorized_interpreter/REGISTRATION.md
+ - name: Source-free exact and signed regression checks
+ run: |
+ python -m unittest research.nor60_authorized_interpreter.test_optimized_execution research.nor60_authorized_interpreter.test_cohort_integrity research.nor60_authorized_interpreter.test_reporting research.nor59_authorized_merkle.test_authorized_root research.nor45_authorized_program.test_program_authority research.nor44_session_protocol.test_session_protocol research.nor58_static_merkle.test_template -v
+ python -O -m unittest research.nor60_authorized_interpreter.test_optimized_execution research.nor60_authorized_interpreter.test_cohort_integrity research.nor60_authorized_interpreter.test_reporting -v
+ python research/nor59_authorized_merkle/original_archive_audit.py
+
+ freeze_first_public_sources:
+ if: github.event_name == 'push' && contains(github.event.head_commit.message, 'NOR60-FIRST-CPU') && github.run_attempt == '1'
+ needs: source_free_security
+ runs-on: ubuntu-24.04
+ timeout-minutes: 10
+ steps:
+ - uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
+ - uses: actions/setup-python@v5
+ with:
+ python-version: '3.12'
+ - name: Verify prospective registration and freeze the first public inputs
+ run: |
+ test "$GITHUB_RUN_ATTEMPT" = 1
+ git merge-base --is-ancestor "$(cat research/nor60_authorized_interpreter/REGISTRATION_SHA.txt)" HEAD
+ test ! -e research/nor60_authorized_interpreter/results/nor60_first_original_hosted.zip
+ python -u research/nor60_authorized_interpreter/cohort.py --public-only-out /tmp/nor60_first_original_60_public_only.json
+ - uses: actions/upload-artifact@v4
+ with:
+ name: nor60_first_original_60_public_only
+ path: /tmp/nor60_first_original_60_public_only.json
+ retention-days: 90
+ if-no-files-found: error
+
+ first_four_arm_cpu:
+ needs: freeze_first_public_sources
+ runs-on: ubuntu-24.04
+ timeout-minutes: 20
+ env:
+ PYTHONHASHSEED: '0'
+ OMP_NUM_THREADS: '1'
+ OPENBLAS_NUM_THREADS: '1'
+ steps:
+ - uses: actions/checkout@v4
+ - uses: actions/setup-python@v5
+ with:
+ python-version: '3.12'
+ - run: python -m pip install --disable-pip-version-check cryptography==46.0.4 gmpy2==2.3.2
+ - uses: actions/download-artifact@v4
+ with:
+ name: nor60_first_original_60_public_only
+ path: /tmp/nor60
+ - name: Record the first five-repeat complete signed experiment
+ run: |
+ test "$GITHUB_RUN_ATTEMPT" = 1
+ python -u research/nor60_authorized_interpreter/benchmark_cpu.py --public-file /tmp/nor60/nor60_first_original_60_public_only.json --repeats 5 --out /tmp/nor60/nor60_first_original_cpu.json --journal /tmp/nor60/nor60_first_original_progress.jsonl
+ - name: Retain first result or interruption evidence
+ if: always()
+ uses: actions/upload-artifact@v4
+ with:
+ name: nor60_first_original_cpu_and_evidence
+ path: /tmp/nor60/*
+ retention-days: 90
+ if-no-files-found: error
diff --git a/README.md b/README.md
index 05f4ea02c..448440250 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
**CGC-01 protected causal compactification (November 18, 2026):** [Task-conditioned safe causal dimension, finite-radius nonlinear bounds, exact recurrent quotient and precision-bit obstructions](research/causal_gauge_compactification/README.md). [Mathematical derivations](research/causal_gauge_compactification/THEORY.md) and 18 deterministic numerical/exact-rational tests connect BPD's source-binding controls with the NOR, LSV, SMC, SCM and recurrent-circuit compactification tracks. Source-only theory; no newly trained model result.
+**NOR execution research capstone (November 18, 2026):** [Paper](papers/authorized-exact-computation/paper.md) and [audited first NOR60 result](research/nor60_authorized_interpreter/RESULTS.md). The registered 60-source signed-verifier workload passed all five gates with a combined time ratio of 0.563961. [AEG-01](research/authorized_exact_gym/README.md) provides public CPU training and development tasks with an independent exact grader.
+
**NOR-12:** [Task-supervised basin-conditioned residual readout](research/nor12_task_readout/README.md) fits four 16×14 matched residual rankers over the frozen 1,000-parameter RRC-25 GRU using only exact degree-192 public demo verification labels. The first heldout run yielded 44/72 future-correct for the basin residual vs. 42/72 original, with both gains arising from a single aliased late-source feature tensor. Four independent seed-separated 72-case confirmations yielded 167/288 vs. 160/288, matched by the random-feature control, with unadjusted case-level paired p≈0.21. An ablation of the basin feature left the first split's 44/72 result unchanged. [NOR-12B hosted independent results](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/43709095616) passed, and [NOR-12C frozen receipt audit](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/43709504979) is green. The original GRU is unchanged, and basin-specific task gains remain unestablished.
**NOR-10:** [Constructive one-bit terminal metric for two source-certified GRU attractors](research/nor01_numerical_orbit_sketch/NOR10.md) uses a single shared rational inter-center distance and one runtime basin-label bit to represent all late 24-step states of the signed and squared source streams. Exact integer-square-root quantization and source-locked nonlinear contraction yield an all-pair late-tail error <=1.096e-11 after 64 retained blocks, while a zero-bit shared code must incur >5.0209 cross-basin error. This one-dimensional terminal representation requires the two previously certified source labels and is separate from unseen-input basin classification and native task performance. [NOR-10 CI](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/43704307173) passed.
diff --git a/papers/authorized-exact-computation/README.md b/papers/authorized-exact-computation/README.md
new file mode 100644
index 000000000..68738a425
--- /dev/null
+++ b/papers/authorized-exact-computation/README.md
@@ -0,0 +1,22 @@
+# Exact Computation Under Signed Program Authority
+
+The [manuscript](paper.md) consolidates the NOR exact-computation research line. It contains the original engineering outcomes, algebraic derivations, an explicit assurance contract, and a reusable evaluation design. The [evidence ledger](../../research/nor_line_capstone/evidence_ledger.json) preserves each study's comparator and first verdict.
+
+The bibliography uses primary sources for authenticated trees, Ed25519, component-cost reasoning, and systems benchmarking. [references.bib](references.bib) supplies the verified publication metadata.
+
+A PDF can be built from this directory with Pandoc and a complete XeLaTeX installation:
+
+```bash
+pandoc paper.md --citeproc --lua-filter=table_layout.lua \
+ --include-in-header=layout.tex --pdf-engine=xelatex \
+ -V geometry:margin=0.85in -V fontsize=10pt -o paper.pdf
+```
+
+The figures and their plotted values are committed under `figures/`. With
+Matplotlib and NumPy installed, `python build_figures.py` rebuilds both figures
+directly from the byte-pinned first NOR60 archive. The builder checks the ZIP's
+SHA-256 before reading any measurements.
+
+Historical evidence remains pinned to its original source commit; final
+experiment and gym artifacts carry their own receipts. The PDF was rendered
+and inspected page by page for the capstone release.
diff --git a/papers/authorized-exact-computation/build_figures.py b/papers/authorized-exact-computation/build_figures.py
new file mode 100644
index 000000000..387eda492
--- /dev/null
+++ b/papers/authorized-exact-computation/build_figures.py
@@ -0,0 +1,89 @@
+"""Render paper figures from the byte-pinned original NOR60 artifact."""
+import csv
+import hashlib
+import json
+from pathlib import Path
+from zipfile import ZipFile
+import matplotlib
+matplotlib.use("Agg")
+import matplotlib.pyplot as plt
+import numpy as np
+
+HERE = Path(__file__).resolve().parent
+ROOT = HERE.parents[1]
+ARCHIVE = ROOT / "research/nor60_authorized_interpreter/results/nor60_first_original_hosted.zip"
+EXPECTED = "c92e2c4e3bfcfd8e1371d1504c89d6812ac263ef270fc9d62e89d335f23da53c"
+if hashlib.sha256(ARCHIVE.read_bytes()).hexdigest() != EXPECTED:
+ raise ValueError("first NOR60 archive differs from observed evidence")
+with ZipFile(ARCHIVE) as archive:
+ data = json.loads(archive.read("nor60_first_original_cpu.json"))
+
+OUT = HERE / "figures"
+OUT.mkdir(exist_ok=True)
+plt.rcParams.update({"font.family": "DejaVu Sans", "font.size": 10,
+ "axes.spines.top": False, "axes.spines.right": False,
+ "axes.titleweight": "bold", "svg.hashsalt": "NOR60-first-evidence"})
+arms = data["arms"]
+labels = ["A Original interpreter + original root",
+ "B Original interpreter + static root",
+ "C Optimized interpreter + original root",
+ "D Optimized interpreter + static root"]
+ratios = [data["overall"]["source_median_ratio_of_sums_to_original"][a] for a in arms]
+colors = ["#87929f", "#657d98", "#2e8791", "#124c60"]
+fig, ax = plt.subplots(figsize=(9, 3.9), constrained_layout=True)
+y = np.arange(4)
+ax.barh(y, ratios, color=colors, height=.52)
+for i, arm in enumerate(arms[1:], start=1):
+ low, high = data["secondary_ten_block_bootstrap"]["descriptive_intervals"][arm]["descriptive_95pct_ten_block_interval"]
+ ax.errorbar(ratios[i], i, xerr=[[ratios[i]-low], [high-ratios[i]]],
+ fmt="none", ecolor="#172331", elinewidth=1.5, capsize=4)
+for i, value in enumerate(ratios):
+ ax.text(1.12, i, f"{value:.6f}", va="center", ha="right", fontsize=10, color="#172331")
+ax.set_yticks(y, labels)
+ax.invert_yaxis()
+ax.set_xlim(0, 1.16)
+ax.axvline(1, color="#68717a", lw=1, ls=(0, (4, 3)))
+ax.set_xlabel("Sum of source median verifier times / original baseline")
+ax.set_title("NOR-60: complete signed verification on 60 sources", loc="left", pad=15)
+ax.grid(axis="x", color="#e6e9ed", lw=.7)
+ax.set_axisbelow(True)
+fig.savefig(OUT / "nor60_four_arms.png", dpi=210)
+fig.savefig(OUT / "nor60_four_arms.svg", metadata={"Date": None})
+plt.close(fig)
+
+fig, ax = plt.subplots(figsize=(8.5, 3.7), constrained_layout=True)
+rows = data["source_records"]
+for j, stride in enumerate((1, 4, 8)):
+ group = [r for r in rows if r["source_stride"] == stride]
+ values = [r["combined_over_original"] for r in group]
+ offsets = np.linspace(-.22, .22, len(group))
+ for offset, value, row in zip(offsets, values, group):
+ color = "#b56d32" if row["program_profile"] == 4 else "#1d6a7d"
+ marker = "D" if row["program_profile"] == 4 else "o"
+ ax.scatter(j + offset, value, color=color, marker=marker, s=32, alpha=.86,
+ edgecolor="white", linewidth=.35, zorder=3)
+ median = float(np.median(values))
+ ax.plot([j-.29, j+.29], [median, median], color="#172331", lw=2.1, zorder=4)
+ax.axhline(1, color="#68717a", lw=1, ls=(0, (4, 3)))
+ax.set_xticks(range(3), ["Dense (s = 1)", "Support stride 4", "Support stride 8"])
+ax.set_ylim(0, 1.2)
+ax.set_ylabel("Combined / original source median")
+ax.set_title("The improvement depends on the source and program", loc="left", pad=13)
+ax.grid(axis="y", color="#e6e9ed", lw=.7)
+ax.scatter([], [], color="#1d6a7d", s=32, label="Profiles P0–P3")
+ax.scatter([], [], color="#b56d32", marker="D", s=32, label="P4: three reciprocal uses")
+ax.plot([], [], color="#172331", lw=2.1, label="Within-stride median")
+ax.legend(loc="upper right", frameon=True, facecolor="white", framealpha=1,
+ edgecolor="none", fontsize=8.7)
+fig.savefig(OUT / "nor60_source_ratios.png", dpi=210)
+fig.savefig(OUT / "nor60_source_ratios.svg", metadata={"Date": None})
+plt.close(fig)
+
+with (OUT / "nor60_plotted_values.csv").open("w", newline="") as stream:
+ writer = csv.writer(stream)
+ writer.writerow(["source_sha256", "degree", "stride", "profile", "replicate", *arms])
+ for row in rows:
+ writer.writerow([row["source_sha256"], row["observed_degree"], row["source_stride"],
+ row["program_profile"], row["replicate"],
+ *[row["arm_medians_ms"][a] for a in arms]])
+print("Rendered two figures from the original 60-source archive.")
diff --git a/papers/authorized-exact-computation/figures/nor60_four_arms.png b/papers/authorized-exact-computation/figures/nor60_four_arms.png
new file mode 100644
index 000000000..be4b43dff
Binary files /dev/null and b/papers/authorized-exact-computation/figures/nor60_four_arms.png differ
diff --git a/papers/authorized-exact-computation/figures/nor60_four_arms.svg b/papers/authorized-exact-computation/figures/nor60_four_arms.svg
new file mode 100644
index 000000000..4632da8d6
--- /dev/null
+++ b/papers/authorized-exact-computation/figures/nor60_four_arms.svg
@@ -0,0 +1,2021 @@
+
+
+
diff --git a/papers/authorized-exact-computation/figures/nor60_plotted_values.csv b/papers/authorized-exact-computation/figures/nor60_plotted_values.csv
new file mode 100644
index 000000000..d64d6d3b3
--- /dev/null
+++ b/papers/authorized-exact-computation/figures/nor60_plotted_values.csv
@@ -0,0 +1,61 @@
+source_sha256,degree,stride,profile,replicate,original_interpreter_full_root,original_interpreter_warm_root,optimized_interpreter_full_root,optimized_interpreter_warm_root
+3728dbaf01d4ae5df2b5bc8d1a4aaba7c545293b89631b9ff2fdd748350d6ccd,512,1,0,0,29.122048,26.671273,28.767717,28.703652
+7742776de77c2b00d601a07bf343a6dc0ae5e4d6185cf4b5693c91f21659577c,512,1,0,1,20.506923,20.997442,21.263568,21.449514
+2423e1bde1b3a920d7d159e8b835c2d618ad317958f69f900d77681c2f945760,512,1,1,0,70.218646,76.160161,72.340247,74.331434
+aa4d4be46fd6f7682676b51095976815f553da100feaf4de33d5aa4051060de6,512,1,1,1,67.859004,68.804237,66.478623,64.396221
+5c7eb5710e54c7855e0484e37db5ebbd5cea09a4dd4efd162b4b0ba27440fa22,512,1,2,0,117.424416,113.458711,118.962248,125.236542
+b45b07b0e981ad113c5bf1f4a6bbe3a7403c3a066388a09a28213df427bf5f6b,512,1,2,1,125.377308,114.392466,108.941759,113.24396
+72f3ea05e0ab9ddb67645b1b9bca4610d196bfb73b24b508b38699792a5369d4,512,1,3,0,33.878719,31.994214,33.704155,36.419112
+9aaadbbea5703b3ed96c871996a63fc0b0e42429878a79d7251054bc2e3941fb,512,1,3,1,23.465815,24.135409,18.734851,25.253362
+04aa653742add2a1863b36a64ea30f15a4db6741d6db54d06759b757c3f402c6,512,1,4,0,210.455614,204.475821,82.756622,78.350536
+6aa87f8eb91dd0bda4fd6ed8fbaff21e75f0fdd1e98138501402f41ab7bb0f4f,512,1,4,1,198.531187,192.735569,79.953422,75.99043
+a9b5573f137f1f7ba94d94c29fd57dd92e645d0275c01ecc19ffd634c62d817b,512,4,0,0,12.682626,14.300427,4.036942,3.126205
+b5a22401b6ef9928091565539ee6ac300366603c568a24f2ad8c85f361c8207f,512,4,0,1,14.354277,13.695067,3.571904,3.105394
+ae592b5304fe592afb21bddddfdfce3a9073c8bc8ec542fad4c12c6589ecb8ae,512,4,1,0,19.156998,15.850854,4.866108,4.250864
+f1eb649cc099e3e2451862fa606461ad919455547be77b42c4afe03bc81eda70,512,4,1,1,15.299956,15.980513,4.558826,3.710082
+297e1011ede38ba1a5e80b4a982e57d72f745a1a597f90f3321165909913858e,512,4,2,0,18.015185,18.997435,6.139561,5.15376
+12ada1312a42343d5fd64142bca5b9bfc49f7b0b17f0f1fa41e31a2e089ae54a,512,4,2,1,21.736741,18.99468,5.681775,5.212478
+acb569e3def2deba333615781c3a5dfd0fd7bf4d6849ff508df21cc0552fb344,512,4,3,0,13.744741,14.591148,4.085129,4.542859
+b92c918cdb6d1b182990f7374e538ffa11e8908a2a3dc5453f5faa9ea19845d2,512,4,3,1,14.034128,15.248689,3.922314,3.504182
+03faf53b7b40375f58c0c3eb32aadd6007ad42e5714fd76470a56a183d7c482b,512,4,4,0,42.642241,44.892158,5.351908,3.931617
+20abc40be6179c87e57e3056b3fa86a9d351d30043946df08d1ab84c28c39688,512,4,4,1,39.95127,46.167841,6.592249,4.916362
+4ea978e04f4c646d0af3103dffbeda328f86dde40d53e3915e7c01909a614b77,512,8,0,0,13.882373,12.243488,4.097392,2.332426
+b06647d86b2c69f0947af9c85cd59ff6dc664ba84e3a4b5e8ef3dabcbf8c1805,512,8,0,1,13.665872,12.83952,2.77272,2.306548
+4458dc18315ef48f2306c089e2b5c538e1842f0efa3132cca4fd23212526b918,512,8,1,0,16.020369,12.918749,4.357437,2.578534
+a253ee975a9da8314e686c1414e07eacf66a408626b26bfc92cf8eb256743251,512,8,1,1,16.915585,12.760631,3.753774,3.414781
+cff8df9788de9c715dd2565e35214b65e6644cd379911786ff76b39ebefe8ec9,512,8,2,0,14.405939,13.190888,3.966844,2.246479
+3cacaf9ef9cee10d5f80c4fff284900f2b4ee7f0204a44c4747ddb1ce9214e03,512,8,2,1,12.939932,11.732237,3.242292,2.54268
+527aaf056e37f9954f16861acc417d3cd7cf9f046ba3df56e1d4643521aaee7d,512,8,3,0,11.903243,11.064434,3.120619,2.507668
+49ab52cb58e122dab1b59dbdb7ba5f49fb56b40753f7ba071da3deaf09b88a34,512,8,3,1,12.84246,11.252285,3.065566,1.992313
+bb1712d84c02119d50f1f5f3faa4d2e81851328f2a177d6159ce99efdc5994e9,512,8,4,0,36.216516,31.181547,3.419858,2.333767
+cc1ac73a503976017a71ade93061dff4f2a86d38597ccdce1cca522a52abe6b3,512,8,4,1,29.265028,32.872492,3.33461,2.074566
+ba9d980de62877d9def0ae89d02eb1e9e2168ff3b8fb56a9b689d81d07fd462d,1024,1,0,0,116.616923,120.281983,129.799543,119.053947
+a25af977f3fa262110b59ac627484b49856d167aa64be630582a566bd7dd5012,1024,1,0,1,133.29512,129.819991,130.291092,137.640708
+d436404b664c27c45abc394ab912feb1d34a969e5cb0962185ddb20f34ed62a9,1024,1,1,0,445.285509,437.294792,412.069025,412.226671
+7b9e29b72b7805a115a1f0baf37100eb7ebe9512771d9f6057e54bf6f2d86503,1024,1,1,1,455.297972,432.293568,416.03633,424.464006
+54a12fcafcf99b9ee95b6627db6f67f0c6551d2c87522bc3feee4d07319ac2c5,1024,1,2,0,772.384714,760.506337,796.248985,786.021289
+e95d80f75d552c2d61ce0ffa2405193dedb191bc883975af199ff77f0b8b7bff,1024,1,2,1,766.082762,740.365587,773.838191,752.366304
+98f50a4fe033dc10c1575a0f6efa466b84d56797172554b46c89cc7a1308a158,1024,1,3,0,145.668969,165.458926,135.482687,142.158159
+cd6bee36dbefb4bae1b371dcb5f32c159fae1c40bc27573b46d4dc0b1c305cd1,1024,1,3,1,121.517715,123.42215,130.544036,122.618268
+2830d7f664ebcef7daca86bc38afef34473de29f2ae48db8c18423c39b5e3056,1024,1,4,0,1213.400311,1209.118049,439.972695,438.655885
+0e399764a8791fe98d2dc6e4aa5e73956360d025e224ffaa6a3e6d94d9102b05,1024,1,4,1,1225.532374,1225.034146,441.33217,439.34857
+1bc64b654c67523ebe9c5ef3ac672be9296c2f038296c9e3047b1429a815d814,1024,4,0,0,54.560872,51.355973,10.188525,8.578987
+c36900e5c69fb28d01a3538fbbe0ee44326a83075156de5a21f739c355c1437a,1024,4,0,1,50.793689,50.753258,10.189546,7.999697
+bb52a2b2f470ded57c2284dbc33a245bec0053f7f5083b52c62917aac6112d40,1024,4,1,0,69.614224,66.992967,15.214306,13.76014
+29debf1ebcd75972c65128db31d7a6c44d46bc9734a84322b7254e0f29ef39f7,1024,4,1,1,70.038171,65.718242,15.72336,13.063564
+b472aaeb630fa6bd09ad91a5b0ec525c19eb966b767f7300cd0d024dab37f251,1024,4,2,0,83.601016,84.346706,21.453648,20.338252
+bd1ed4eea130b574a02906060675dc7662c91c1485ce4b6fb7ee4c6382f576d0,1024,4,2,1,88.508783,85.504975,22.367881,20.755554
+6fa277b2b1162c39ad3026df2c344958c4af79b38f209b9704b5829bab6650f8,1024,4,3,0,52.4766,51.567396,10.783849,8.984236
+5adb52994925bf1b7ef9d8d7f852a7de9688c3f61c5762d670888d2b4025c28b,1024,4,3,1,50.293341,49.79343,9.343827,7.785416
+eb68ff073cda445ffc9b666d51f19da6d900183087b81cd286bf8cc16567280d,1024,4,4,0,196.517008,195.935074,16.702381,16.57952
+3bde076cc02f6f5e7fe9cc0843bc84ae434aaf7ed5b4e2a38147d2288888930d,1024,4,4,1,175.533961,182.168767,16.495189,15.409298
+9f64b2f32c2da7c96ae85c349fbbbd75e953d6a9dc03f013ae2974b00a681974,1024,8,0,0,60.162016,49.34049,8.121219,5.054312
+eac67ef3fa898f4d35336ee305eb80d0afb321c3cd004536e9b8968083cefb82,1024,8,0,1,49.293229,48.294529,5.841825,4.166229
+a294e98c41837b9aafc05db0c068f92d1465ce3c839e0ebfc2bdcb37a055fe77,1024,8,1,0,58.712023,44.437615,10.015616,4.788894
+3cca64f4391aa077b23c715d4b1099a072abc61b5346043b0d7ffdfbac27ca47,1024,8,1,1,55.463709,56.257191,8.226838,5.737739
+87b2db552b2528c333701aae93dea49d82bf364918bf46b42abfb607b4b487b5,1024,8,2,0,59.969427,60.233944,9.482775,6.668197
+92e0b5e3c39d4342e89ada912af5dd828aea1de8c68b2f90767affe470dc3a46,1024,8,2,1,59.945943,58.714773,8.745949,7.813007
+a9a8d1996ad78be104a55e354446105f19f03abdb0bc9966f5a2c485702f5566,1024,8,3,0,49.350451,43.313968,7.277061,5.025369
+5c063d1cebd2163b1fbaddf2b9c1ab73c1e301d8342e6521f9a7c5ec9524264a,1024,8,3,1,43.378975,43.88115,6.00469,3.909613
+bee1ac8f062b3c71757c3368d1e106f8a606165c1e48f5c938901c903bc19cc2,1024,8,4,0,138.642342,133.058254,8.910325,7.09636
+28495e480f7291db95f562d7f66db04e8dc9e780e9695f4b7e14fa3a4c26c7c0,1024,8,4,1,137.986217,146.324328,8.878692,6.002617
diff --git a/papers/authorized-exact-computation/figures/nor60_source_ratios.png b/papers/authorized-exact-computation/figures/nor60_source_ratios.png
new file mode 100644
index 000000000..d861a5c27
Binary files /dev/null and b/papers/authorized-exact-computation/figures/nor60_source_ratios.png differ
diff --git a/papers/authorized-exact-computation/figures/nor60_source_ratios.svg b/papers/authorized-exact-computation/figures/nor60_source_ratios.svg
new file mode 100644
index 000000000..8d9dc2b5e
--- /dev/null
+++ b/papers/authorized-exact-computation/figures/nor60_source_ratios.svg
@@ -0,0 +1,2044 @@
+
+
+
diff --git a/papers/authorized-exact-computation/layout.tex b/papers/authorized-exact-computation/layout.tex
new file mode 100644
index 000000000..f8aeca473
--- /dev/null
+++ b/papers/authorized-exact-computation/layout.tex
@@ -0,0 +1,6 @@
+\clubpenalty=10000
+\widowpenalty=10000
+\displaywidowpenalty=10000
+\setlength{\emergencystretch}{2em}
+\definecolor{paperlink}{HTML}{1E536B}
+\AtBeginDocument{\hypersetup{colorlinks=true,linkcolor=paperlink,urlcolor=paperlink,citecolor=paperlink}}
diff --git a/papers/authorized-exact-computation/paper.md b/papers/authorized-exact-computation/paper.md
new file mode 100644
index 000000000..c35db8276
--- /dev/null
+++ b/papers/authorized-exact-computation/paper.md
@@ -0,0 +1,406 @@
+---
+title: "Exact Computation Under Signed Program Authority"
+subtitle: "A study of support compression, verification cost, and preserved experimental evidence"
+author: "MoralityLabAI research series"
+date: "18 November 2026"
+bibliography: references.bib
+link-citations: true
+---
+
+## Abstract
+
+The Numerical Orbit Research series began with compact representations of recurrent trajectories and reached a practical question: what can an evaluator establish when a proposed continuation, an authorized program, and an external target differ? This paper consolidates the resulting exact-computation studies. An independent verifier executes a signed integer-series program and checks its complete Merkle commitment under separately pinned authority and provider keys. The experiments retain original source records, timing samples, registered decisions, and failed runs. A transparent execution trace first cost 3.28 times direct computation on a historical panel. Later studies identified redundant reciprocal evaluation, coefficient packing, and known-zero hashing as separate costs. Exact support compression passed its registered engineering criteria, while several routing and serialization changes missed theirs. In NOR-59, caching index-specific zero and padding hashes reduced the sparse root-only median ratio to 0.309528; the complete signed workload ratio was 0.991555, with a descriptive interval spanning one. The final NOR-60 factorial experiment reduced the complete matched workload ratio to 0.563961, with all 60 outputs and roots preserved and all five registered gates passed. Its descriptive ten-block interval was [0.369656, 0.797668]. We give finite algebraic arguments for the optimizations, state the narrower scope of the existing Lean results, and derive a reusable evaluation protocol from the failures. The evidence supports computational fidelity for the declared synthetic program grammar. Semantic correctness still requires a justified program authority, and operational security depends on key custody and durable session state.
+
+## 1. Research question and lineage
+
+A compact representation preserves a chosen observable. Its usefulness for another task depends on the information that survives the representation and on the costs needed to recover the target. The NOR line made this dependency concrete through a sequence of finite experiments. Early work studied a small trained GRU under a declared zero-input intervention. Exact rational interval arguments certified distinct attracting states and source-conditioned entry into their neighborhoods. Source-family prediction remained a separate empirical question: the NOR-08 audit found that several nominally different examples shared the same model-visible input. The resulting effective sample count and a majority baseline changed the interpretation of the classification result [NOR08].
+
+Later experiments examined proposed formal-series continuations. NOR-15C enumerated 43,680 fixed four-candidate orders on a finite cohort where distinct full demonstrations shared one neural feature tensor. Its hindsight optimum was a bound for that restricted finite policy class. NOR-16 then used more public information and charged the resulting exact computations. Its four-check consensus criterion failed, and 140 of 192 late-source observations admitted distinct programs with identical public observations and different query outputs [NOR15C], [NOR16]. These constructions exposed the target information that an evaluator would need to resolve.
+
+NOR-42 supplied paired clean and hidden program worlds with identical public observations. The hidden world adds a late term whose first nonzero coefficient occurs after the observed prefix. A source-public predictor must issue the same answer in both worlds. An independently supplied target witness permits direct tests of their disagreement. The subsequent protocol studies introduced authenticated roots, verifier-owned challenge positions, signed proposal commitments, and finally a separate authority for the executable program [NOR42], [NOR43], [NOR44], [NOR45].
+
+The present paper concerns the cost and meaning of that final check. Once a program has been authorized, can exact structural properties reduce the work needed to verify its output while preserving all source and session bindings? The engineering sequence also provides a case study in retaining unfavorable evidence. A speed target can fail despite correct outputs; a reporting exception can leave a first run unscorable. Both outcomes constrain the final account.
+
+The historical evidence through NOR-59 is pinned to repository commit [`714a7f5e1203`](https://github.com/MoralityLabAI/Compactification-Theory/commit/714a7f5e1203289ef053dfa5becaa3537d1b946b). The accompanying evidence ledger identifies each report, original archive, and its first verdict. Comparisons in this paper use matched arms within the relevant experiment. Differences between machines, source panels, and timed boundaries prevent chaining the ratios into a single cumulative speedup.
+
+## 2. Exact model and assurance contract
+
+### 2.1 Finite integer-series programs
+
+Let
+
+$$
+F(x)=\sum_{i=0}^{m-1} f_i x^i\quad\text{in }\mathbb Z[x]/(x^m),\qquad f_0=1.
+$$
+
+The interpreter implements identity $I(F)=F$, sign substitution $N(F)=F(-x)$, reciprocal $R(F)=F^{-1}\bmod x^m$, and index dilation $S(F)=F(x^2)\bmod x^m$. The reciprocal coefficients satisfy
+
+$$
+r_0=1,\qquad r_n=-\sum_{k=1}^{n}f_k r_{n-k},\quad 1\leq n0$. Combining this with support compression changes the recurrence's scalar multiply-add count from order $r m^2$ to order $q^2$. Expansion and program assembly still touch the full output. Exact-integer bit lengths affect the cost of every multiplication, so this operation-count statement does not prescribe a wall-time speedup.
+
+### 3.5 Reuse of static Merkle subtrees
+
+Fix the original geometry $(m,s)$ after independently checking support. A zero leaf at an off-support position and a padding leaf are determined entirely by the indexed encoding. An internal subtree is static exactly when all its descendants are static. Cache only those hashes.
+
+For an admissible new output, every cached leaf equals the corresponding leaf in a complete fresh tree. Each supported leaf is hashed from the current value. Induction from the leaves to the root then proves equality at every internal node, since both constructions hash the same ordered child pair with the same domain tag. Any node that depends on a supported value is recomputed. This proof concerns deterministic extensional equality; binding an adversarially supplied root is a separate cryptographic property.
+
+### 3.6 What the Lean artifacts establish
+
+The existing MathCan module `NOR45AuthorizedProgram.lean`, pinned to merge commit [`17e9c92dbf48`](https://github.com/patrickdugan/MathCan/commit/17e9c92dbf48724786cdd6a2df2645b9ff7ac111), proves conditional composition statements for authorized execution, valid openings, and proposal-bound sparse rejection. It assumes the supplied execution function, authorization relation, and hash/opening properties. The NOR-46 module at [`9b2e9f5a258b`](https://github.com/patrickdugan/MathCan/commit/9b2e9f5a258b2a0bfa31489333e1e5b9b86b7566) proves uniqueness for a causal integer recurrence and composes a supplied exact-trace equality with the signed-root claims [LEAN45], [LEAN46].
+
+In particular, the concrete trace-to-execution equality is an explicit hypothesis of the composition theorem. The Python convolution packing, support expansion, and static-tree implementation need separate correspondence proofs. Sections 3.2 through 3.5 provide mathematical arguments for those mechanisms; their status here is a written derivation supported by executable tests. The archived NOR-45/46 reports record successful Lean kernel checks for their narrower statements.
+
+## 4. Experimental method
+
+### 4.1 Study sequence and timing boundaries
+
+NOR-45 introduced the signed authority control on 64 historical source pairs. NOR-46 through NOR-48 reused a preselected 16-source historical panel for implementation and timing questions. NOR-49 evaluated 48 previously untimed historical identities. NOR-50 generated a new 64-source panel; the succeeding reciprocal and support studies used prospectively frozen panels of 48 or 60 sources. NOR-59 returned to the full authorized program verifier on a new 60-source grid [NOR45--NOR59].
+
+The arithmetic studies measured exact computation and complete-root construction, with common authentication costs outside selected timed arms. Later compact-witness studies timed their signed envelope checks. NOR-59 measured complete program-authority, verifier-precommit, and provider-reference authentication on every arm before full program execution and root checking. The evidence ledger records these boundaries because the phrase "verification time" alone leaves the comparator underspecified.
+
+For the later studies, a source-only job generated and uploaded its manifest before the dependent CPU job. Registered case identifiers, program profiles, and decision rules were frozen before source-specific timing. Five repetitions per source and arm were interleaved using a deterministic source/repetition schedule. Identical signed bundles were reused across matched arms within a repetition. Reference production and fixture signing were measured or recorded separately from verifier timing. Warm geometry preparation occurred outside the warm call; cold calls charged construction anew.
+
+### 4.2 Two different aggregation questions
+
+Let $t_{a,j}$ be the median of the recorded repetitions for arm $a$ on source $j$. The median sourcewise ratio is
+
+$$
+M_{a/b}=\operatorname{median}_{j}\left(t_{a,j}/t_{b,j}\right).
+$$
+
+The matched workload ratio is
+
+$$
+W_{a/b}=\frac{\sum_j t_{a,j}}{\sum_j t_{b,j}}.
+$$
+
+The first gives each source equal position in the ratio distribution. The second weights its contribution by baseline cost. Their answers can diverge sharply when a few expensive sources dominate total time. Each threshold uses its registered endpoint. Post hoc aggregates remain descriptive and preserve the original gate decision.
+
+Reported bootstrap intervals resample the registered source blocks where available. Repetitions within one source measure timing variability; they do not create independent source draws. The NOR-59 interval uses ten degree-by-profile blocks and 4,096 bootstrap resamples. These intervals describe the finite panel under that block scheme. Hardware and runtime replication would be needed for broader platform claims. The emphasis on the level at which variability arises follows established systems-benchmarking methodology [@kalibera2013].
+
+### 4.3 Source identity, failure retention, and resource costs
+
+The later manifests reject previously archived source-record hashes. Their provenance chain makes first-record identity auditable. Different studies use different schema and domain strings, so source-record hash exclusion alone cannot establish uniqueness of the underlying query vector or uniqueness up to program equivalence. A reusable cross-study collection should retain schema-independent query and query/program fingerprints alongside its namespaced record identifiers.
+
+A run's final receipt must preserve the raw samples and exact gate values. NOR-57 demonstrated this requirement when its summarizer failed after source-level progress lines had been printed. Rounded logs omitted enough information to leave the first final gates unscorable. NOR-57B used a fresh registered cohort and retained the earlier failure. It also preserved an inherited metadata error: one descriptive field stated 348 exclusions, while the source fixture and admission check used 408. The archive documents that mismatch without editing the original bytes [NOR57], [NOR57B].
+
+Cost accounting includes whoever produces a witness and the representation used to move it. A precomputed inverse can make a verifier cheap while leaving substantial work with its producer. NOR-54 separately charged local production, JSON serialization/parsing, and verification. A subsequent NOR-55 loopback diagnostic exercised two processes; its scope remained a local transport measurement. None of these observations establishes an off-host service cost [NOR54], [NOR55].
+
+## 5. Preserved results across the sequence
+
+Table 1 lists the first decisions for the computational sequence. Ratios below one indicate less time for the numerator arm on the named endpoint. The gates were engineering targets chosen for each experiment; counting how many passed across the sequence would not form a statistical meta-analysis.
+
+| Study | Cases and principal matched endpoint | First recorded outcome |
+|:--|:--|:--|
+| NOR-45 | 64 historical program pairs; exact authorized roots | 64/64 parity; dishonest authority control remained semantically wrong |
+| NOR-46 | 16 historical pairs; full trace/direct median ratio | 3.28; speed objective failed |
+| NOR-47 | Same 16; GMP trace on 12 reciprocal cases | 0.4966 versus direct; frozen speed gates passed |
+| NOR-48 | Same 16; dispatch/direct median | 0.818287 versus target <0.75; 4/5 gates |
+| NOR-49 | 48 untimed historical sources; selector/direct median | 0.999595 versus target <0.75; 3/5 gates |
+| NOR-50 | 64 new sources; GMP/memoized on 19 repeated-R cases | 1.183263 versus target <0.90; 4/5 gates |
+| NOR-51 | 48 new series; GMP/native on 16 longest cases | 2.797903 versus target <0.75; 2/5 gates |
+| NOR-52 | 60 new series; compressed/full native on 16 longest sparse cases | 0.163421 versus target <0.50; 5/5 gates |
+| NOR-53 | 60 new series; fast/original full GMP median | 0.143451 versus target <0.70; 5/5 gates |
+| NOR-54 | 60 new series; full local pipeline/compressed native on longest sparse cases | 1.711785 versus target <1.50; 4/5 gates |
+| NOR-55 | 60 new series; signed compact/signed JSON on longest sparse cases | 0.851483 versus target <0.85; 4/5 gates |
+| NOR-56 | 60 new series; v2/v1 on longest sparse cases | 0.978214 versus target <0.92; 3/5 gates |
+| NOR-57 | 60 frozen sources; first summarizer exception | Final CPU receipt absent; registered gates unscored |
+| NOR-57B | 60 fresh series; selector/GMP workload ratio | 0.989961 versus target <0.95; 4/5 gates |
+| NOR-58 | 60 new series; warm/original signed GMP workload ratio | 0.911459 versus target <0.95; 5/5 gates |
+| NOR-59 | 60 new authorized programs; sparse warm/original full-verifier median | 0.959140 versus target <1.02; 5/5 gates |
+| NOR-60 | 60 new authorized programs; combined/original complete workload ratio | 0.563961 versus target <0.80; 5/5 gates |
+
+: Selected endpoints and preserved first verdicts. The linked study reports and machine-readable ledger supply all registered gates. Each row retains its own cohort and timed scope [NOR45--NOR59], [NOR60].
+
+### 5.1 Redundant computation and packing costs
+
+The first full trace certified exact computation, yet its 3.28 median ratio exposed the price of Python integer packing and witness handling. GMP acceleration improved the same historical reciprocal cases in NOR-47. A broader routing rule then revealed a confound: the direct program interpreter evaluated a repeated reciprocal more than once, while the trace path deduplicated transforms. NOR-50's memoized direct arm achieved a workload ratio of 0.733371 against the original interpreter. On its repeated-R stratum, GMP cost 1.183263 times the memoized direct arm, causing the registered comparative gate to fail [NOR46], [NOR47], [NOR50].
+
+NOR-51 removed repeated-program structure by comparing single inverses. At $m=3073$, GMP witness verification/native was 2.797903 and Newton production plus verification/native was 7.439232. Both missed their targets. The five-way profile breakdown exposed coefficient-width costs and supported inputs as useful variables. NOR-52 then used the exact substitution argument from Section 3.2: its compressed-native/full-native median was 0.163421 on the longest sparse subset. NOR-53 improved the packing kernel and achieved a fast/original full-GMP median of 0.143451 [NOR51], [NOR52], [NOR53].
+
+These experiments establish a dependence on workload structure and implementation. They provide measured reasons to retain a direct exact baseline after introducing an accelerated witness verifier. They also show why operation counts need the actual coefficient widths and representation costs attached.
+
+### 5.2 Producer costs and limits of routing
+
+NOR-54's fast compressed verifier passed its sparse speed gate at 0.740030 relative to compressed native computation. Including local witness production and JSON handling raised the same endpoint to 1.711785, missing the full-pipeline threshold. NOR-55 reduced the sparse signed wire/full-JSON payload median to 0.412842, while its compact/JSON verification ratio of 0.851483 narrowly missed a strict 0.85 target. NOR-56 reduced the decode phase but missed both speed thresholds; its exact-GMP phase consumed about 81% of the batch-table arm's measured phase time [NOR54], [NOR55], [NOR56].
+
+The NOR-57B routing result made a finite stopping condition available. On its original measured source medians, choosing the cheaper of the native and GMP arms with zero dispatch cost gives
+
+$$
+\frac{\sum_j\min(t_{N,j},t_{G,j})}{\sum_j t_{G,j}}=0.964067.
+$$
+
+Its registered workload goal was below 0.95. Every sourcewise selection between those two fixed measured arms has at least the sum of their sourcewise minima. Hence the goal lay outside that finite two-backend frontier before routing overhead. This is a retrospective bound on the retained panel, and its value is to identify a mechanism that routing alone cannot supply on those measurements [NOR57B].
+
+### 5.3 Static roots and the complete verifier
+
+NOR-58 changed a common kernel by reusing geometry-only Merkle hashes. Its warm signed-GMP workload ratio was 0.911459, while the cold ratio was 1.022841. NOR-59 then placed the same root idea inside the complete signed program verifier. All 60 source outputs and full indexed roots agreed exactly, and all five registered engineering gates passed [NOR58], [NOR59].
+
+| NOR-59 endpoint | Warm/original ratio | Interpretation |
+|:--|--:|:--|
+| 40 sparse programs, root-only median | 0.309528 | 69.05% less isolated root time |
+| Same sparse programs, complete-verifier median | 0.959140 | 4.09% less median sourcewise verifier time |
+| All 60 programs, sum of source medians | 0.991555 | 0.84% less time over this matched workload |
+| 20 dense programs, cold/original median | 1.004549 | Cold-template construction charged per call |
+
+: NOR-59 endpoints have different scopes and aggregation rules. The dense row compares the cold arm [NOR59].
+
+The all-source original sum was 7,702.764146 ms and the warm sum was 7,637.712898 ms. A ten-block descriptive 95% bootstrap interval for their ratio was [0.984072, 1.000303]. Thus the observed aggregate gain was small relative to this uncertainty summary. The registered sparse whole-verifier threshold was 1.02, which permits up to 2% overhead; passing that gate alone would have established the declared overhead tolerance. The separate root-only criterion and observed values provide the evidence for the kernel gain.
+
+The cost relationship has the form discussed by Amdahl [@amdahl1967]. If a fraction $p$ of original time receives a local ratio $r$ and additional overhead contributes $h$ in original-time units, the complete ratio is $(1-p)+pr+h$. This model explains why a strong component result can coexist with a small workload result. The paper treats it as an explanatory model; separately measured medians do not uniquely identify $p$.
+
+## 6. Final authorized execution experiment
+
+NOR-60 closes the engineering sequence with a factorial comparison inside the signed NOR-45 verifier. Registration commit [`363ef19abeba`](https://github.com/MoralityLabAI/Compactification-Theory/commit/363ef19abeba68e2897c593697ad56e2aaf4fefc) predates the source-generating trigger commit [`a7edfa685020`](https://github.com/MoralityLabAI/Compactification-Theory/commit/a7edfa6850206fc01a9a67650e09ddd31d198766). The first hosted attempt is run 44327994013. The protocol crosses the original versus support-compressed, locally memoized interpreter with the original versus warm static root. Every arm receives the same authenticated query, program certificate, precommit receipt, and provider reference within a repetition [NOR60REG].
+
+| Arm | Exact interpreter | Original indexed root |
+|:--|:--|:--|
+| A | Original NOR-45 | Fresh complete tree |
+| B | Original NOR-45 | Warm static geometry |
+| C | Support-compressed, unary results reused within the call | Fresh complete tree |
+| D | Support-compressed, unary results reused within the call | Warm static geometry |
+
+: The two-by-two NOR-60 design. Each arm runs the same signed authorization checks.
+
+The fixed panel has two observed degrees, three source strides, five program profiles, and two sign replicates, giving 60 cases. Forty have sparse support. Profile P4 requests R in each of the base, left, and right positions and adds an N suffix, giving 12 repeated-reciprocal cases. Three performance gates require the sparse C/A median below 0.70, the complete D/A workload ratio below 0.80, and the P4 C/A median below 0.65. Exact full-vector/root parity and preservation of the first evidence supply the remaining gates [NOR60REG].
+
+Before new source generation, the archive loader checked 588 original NOR-51 through NOR-59 query vectors using a schema-independent content digest. The historical program/input audit additionally covers the 60 NOR-59 rows that contain a program. Earlier reciprocal-only records supply full query content without a program specification. New records must be unique and disjoint at each applicable level. This extends the previous record-hash exclusion to the actual full vectors; algebraic or isomorphism equivalence remains outside that exact-content test.
+
+The first run has five interleaved repetitions for four arms on each source, for 1,200 primary timing samples. Its retained artifacts include all 60 reference vectors and 300 signed session bundles. Reference computation, signing, and the six warm template builds are recorded outside the timed calls. A separate secondary cold-root call charges template construction for each source. Its single sample per source does not enter a registered speed gate.
+
+NOR-57's reporting failure directly shaped the recorder. An exclusively created SHA-chained journal records completed timed calls, then flushes them with `fsync` after the timer stops. A failed source retains its partial samples; a process exception retains the journal and a failure receipt. The final CPU artifact binds the journal's hash. The protocol caps the first job at 20 minutes and fixes its source count and repetitions. These rules retain the first attempt if final summarization fails [NOR60REG].
+
+### 6.1 First registered result
+
+All five original engineering gates passed. Every source returned the same full exact output vector and original indexed root in all four arms. Recomputing medians from the retained 1,200 primary samples reproduces the recorded aggregate values. The independent archive auditor replayed all 60 full original-interpreter vectors, checked the 300 signed bundles, and reconstructed the timing rows and 1,324 journal events. It reproduced all five gates and the descriptive bootstrap summaries [NOR60].
+
+| Frozen gate | First observation | Verdict |
+|:--|--:|:--|
+| Sparse 40, C/A median <0.70 | 0.204196 | PASS |
+| All 60, D/A ratio of sums <0.80 | 0.563961 | PASS |
+| P4 twelve, C/A median <0.65 | 0.119726 | PASS |
+| Complete signed output/root parity and source-free security controls | 60/60; preflight passed | PASS |
+| First-source, historical-content, sample, code, and journal integrity | Complete first evidence retained | PASS |
+
+: First NOR-60 engineering decisions under the frozen thresholds. The preflight recorded 43 tests. Gate status is a property of this registered experiment.
+
+| Full signed verifier arm | Sum of source medians, ms | Ratio to A |
+|:--|--:|--:|
+| A: original interpreter and full root | 8,286.439526 | 1.000000 |
+| B: original interpreter and warm root | 8,166.188945 | 0.985488 |
+| C: compressed, locally memoized interpreter and full root | 4,751.423296 | 0.573397 |
+| D: compressed, locally memoized interpreter and warm root | 4,673.229136 | 0.563961 |
+
+: Matched NOR-60 workload totals. Every arm includes the original signatures and source/session checks. Preparation outside the call retains its separate recorded cost [NOR60].
+
+The combined arm used 43.60% less time on this matched workload. Changing the interpreter with the original root already produced a ratio of 0.573397, while the root-only change produced 0.985488. This places most of the measured improvement in the interpreter arm for the declared panel. The descriptive ten-block 95% bootstrap interval for D/A was [0.369656, 0.797668]; the corresponding C/A interval was [0.374990, 0.815881]. Both summarize variation across the fixed degree/profile blocks on this host.
+
+{width=100%}
+
+The complete sourcewise C/A median among the 20 dense cases was 0.978561, and their workload ratio was 0.705272. Expensive repeated-reciprocal cases account for this difference in weighting. The four dense P4 cases had a C/A median of 0.377910, providing a secondary observation of local unary reuse at stride one. On the sparse cases, C/A medians were 0.236668 at stride four and 0.153228 at stride eight. The separate full-vector tests establish exactness across these strata; the measured ratios retain their finite sample scope.
+
+{width=95%}
+
+The run recorded CPython 3.12.16 with four logical CPUs, `cryptography` 46.0.4, and `gmpy2` 2.3.2. Its processor-model field reports `x86_64`, so this artifact identifies the architecture without a processor SKU. The six one-time geometry builds totaled 8.738125 ms. The complete CPU JSON has 27,720,732 bytes, source JSON 1,021,038 bytes, and journal 898,921 bytes. Their SHA-256 digests are retained in the capstone ledger together with the original hosted artifact and run identifiers [NOR60].
+
+
+The four-arm comparison separates the combined interpreter change from the root change. Support compression and unary memoization share one interpreter arm. Their individual contributions therefore require the registered structural diagnostics: source-derived reduced lengths, the dense P4 cases, and the source-free unary call-count test. The primary ratios quantify the measured combined interpreter mechanism.
+
+## 7. Authorized Exact Gym: AEG-01
+
+AEG-01 packages the completed verifier paths as an executable CPU environment. It supplies 14 public training tasks and 14 public development tasks. Both signed degrees, 512 and 1024, occur in each split. Seven families exercise valid input, an altered authority signature, a query substitution, a session substitution, an incorrect signed provider output, expiration, and a separately authorized program. The final family is accepted according to the program selected by the authority, making the semantic authority premise visible in the task itself [AEG01].
+
+The Python environment has a one-step `reset`/`step` interface. A candidate chooses accept, reject, or abstain. Acceptance requires every output coefficient as a canonical decimal string and the original indexed Merkle root. The grader uses the original NOR-45 interpreter for its reference values and reports incorrect output separately from false acceptance, false rejection, and abstention. An accepted output therefore receives credit only when its full vector and root match the independently retained reference.
+
+Public observations and referee data are exported separately, with a retained manifest that binds their hashes. The public view contains the query, trust context, and signed envelopes. Expected vectors and grading labels stay in the referee view. Strict schemas reject extra fields, repeated case identifiers, missing actions, duplicate JSON keys, and responses bound to another public input. Export and score publication use atomic writes that refuse an existing path. These checks preserve the first artifact when writers collide [AEG01].
+
+Four fixed symbolic policies instantiate the same interpreter/root choices as NOR-60, and all four invoke the complete signed verifier. Each scored 14/14 on the public development panel, with four true acceptances and ten true rejections. Ten boundary tests also passed. These are deterministic implementation smoke results. Diagnostic elapsed time from one sequential pass describes that execution; NOR-60 owns the separately registered repeated timing comparison.
+
+The released package creates public training and development fixtures. Its interface separates the candidate view from the grader's expected outputs, while its public deterministic generator makes the examples reproducible. It contains no sealed test split, and the recorded run evaluated no learned model. A future model study would need new content-disjoint cases, independently verified candidate/checkpoint provenance, a frozen compute budget, and referee isolation. AEG-01 itself requires CPU execution and reserves no GPU work.
+
+## 8. Method transfer implemented in EvalMath and Control-Harness
+
+### 8.1 EvalMath FRE-01
+
+EvalMath PR 54 adds `spiral_ln.evaluation_frozen_evidence` at source commit [`9fc4f39e3bc4`](https://github.com/MoralityLabAI/EvalMath/commit/9fc4f39e3bc4e614a54f674e7ea2281ee0a45725). Its exact query digest and query/program task digest exclude outer experiment labels, schema wrappers, and seed descriptions. Renaming a wrapper therefore preserves the operative content identity. An adapter remains responsible for selecting every operative field, and the digest does not decide algebraic equivalence or common generative ancestry [FRE01].
+
+The auditor receives an anchor from a separately retained record. It binds registration and source bytes, the expected first run identity, and the first artifact bytes. The first artifact digest is captured after those bytes exist; the external register supplies the evidence that registration preceded execution. The anchor also fixes arm names, repeat count, the baseline, context rules, and whether setup is included in each call. Every case/repeat/arm combination must occur exactly once, and matched arms must carry the same task and invocation-context digests.
+
+Timing values are positive integer nanoseconds. Optional phase durations must fit within the whole call. Per-source medians and workload ratios use exact rational arithmetic. A later diagnostic binds its immediate predecessor's identifier and raw digest, while the report retains the original declared outcome and the original timing summary. A benchmark-specific grader still determines whether that declared outcome follows from its gate formulas. FRE-01 audits evidence integrity and pairing under the supplied anchor.
+
+The source-pinned validation includes 32 adversarial tests and an eight-check deterministic receipt. All eight receipt checks passed, including rejection of changed original bytes and wrapper-renamed duplicates. The broader fast receipt replay passed 27/27 receipts. Their fixtures use synthetic timings and synthetic trusted anchors; they establish finite code behavior [FRE01RECEIPT].
+
+### 8.2 Control-Harness adapter
+
+Control-Harness PR 70, source commit [`07d4b3a0a1a9`](https://github.com/MoralityLabAI/Control-Harness/commit/07d4b3a0a1a9749830a4473edc6c34fa4b383437), adds an offline CLI around a byte-identical copy of the EvalMath auditor. A lock records the upstream commit, path, and full SHA-256 digest; the CLI verifies that digest before importing the module. Its report publication is atomic and refuses an existing output path [FRE01HARNESS].
+
+Nine adapter tests cover vendor mutation, altered first evidence, omitted arms, changed contexts, exact content reuse under another wrapper, and retention of a failed original declaration. The new workflow runs the tests on Python 3.11 and 3.13. This integration audits supplied artifacts offline. Existing model controllers and reserved evaluation splits retain their own protocols.
+
+Both patches passed their repository CI and merged through focused pull requests. Their source pins make the transferred contracts reviewable independently of subsequent repository changes. The shared method is to preserve the first evidence and its measured boundary, then report any later diagnosis with explicit lineage. Trust in a registration service, truthful measurement of clock intervals, and independence of the underlying sources require evidence beyond the artifact schema.
+
+## 9. Scope and remaining proof obligations
+
+The evidence covers finite synthetic integer-series programs, selected source profiles, public test signatures, and particular Python/GMP implementations. It supports exact parity and the recorded matched performance comparisons. Platform variability, coefficient growth beyond the tested range, and broader program grammars remain separate empirical questions. Successive studies share design history, so their outcomes are not independent replications of a single preregistered hypothesis.
+
+The complete output vector is materialized and checked. Full witnesses disclose their coefficients. This construction therefore supplies a transparent execution check with explicit costs; succinct proofs and zero-knowledge properties would require a separate protocol and measurement. External semantic correctness continues to depend on how the authorized program is chosen. The dishonest-authority control is retained because it exhibits that boundary with an executable example.
+
+The written support and Merkle arguments can guide future formal correspondence work. A complete machine-checked account would connect the concrete Python representation and signed byte encodings to the algebraic specification, prove the cache dependency rule, and state a durable session transition system. The present capstone retains those obligations in its claim table while preserving the completed experiment sequence and its reusable evaluation artifacts.
+
+## Data and code availability
+
+All first-run sources, receipts, reports, and auditors cited here are available in the Compactification-Theory repository. The historical paper source lock is [`714a7f5e1203`](https://github.com/MoralityLabAI/Compactification-Theory/commit/714a7f5e1203289ef053dfa5becaa3537d1b946b). NOR-60 is separately bound to registration [`363ef19abeba`](https://github.com/MoralityLabAI/Compactification-Theory/commit/363ef19abeba68e2897c593697ad56e2aaf4fefc), trigger [`a7edfa685020`](https://github.com/MoralityLabAI/Compactification-Theory/commit/a7edfa6850206fc01a9a67650e09ddd31d198766), and first run 44327994013. [`evidence_ledger.json`](https://github.com/MoralityLabAI/Compactification-Theory/blob/main/research/nor_line_capstone/evidence_ledger.json) records the study-level comparator and claim scope; `claims.json` maps the paper's claims to evidence classes. Archived audits read the original bytes and retain their gate decisions. Running an auditor is distinct from generating a new timing experiment.
+
+## Evidence references
+
+The study labels in the text refer to these pinned repository reports. NOR-45 and NOR-46 formal companions are separately pinned below.
+
+| Label | Evidence |
+|:--|:--|
+| NOR08 | [Two-attractor and source-diversity audit][NOR08] |
+| NOR15C | [Finite shared-feature policy enumeration][NOR15C] |
+| NOR16 | [Public-query consensus and observation collisions][NOR16] |
+| NOR42 | [Prospective paired hidden programs][NOR42] |
+| NOR43 | [Challenge-index security review][NOR43] |
+| NOR44 | [Session chronology and first historical receipt][NOR44] |
+| NOR45 | [Program authority and exact independent execution][NOR45] |
+| NOR46 | [Complete exact-integer trace][NOR46] |
+| NOR47 | [GMP convolution][NOR47] |
+| NOR48 | [Program-aware dispatch][NOR48] |
+| NOR49 | [Reciprocal-count dispatch][NOR49] |
+| NOR50 | [Memoized direct execution][NOR50] |
+| NOR51 | [Single-reciprocal crossover][NOR51] |
+| NOR52 | [Support-compressed inverse][NOR52] |
+| NOR53 | [Fast coefficient packing][NOR53] |
+| NOR54 | [Matched producer/verifier frontier][NOR54] |
+| NOR55 | [Signed compact witness][NOR55] |
+| NOR56 | [Batch-table codec][NOR56] |
+| NOR57 | [Unscored first-run failure][NOR57] |
+| NOR57B | [Fresh registered routing experiment][NOR57B] |
+| NOR58 | [Static indexed Merkle templates][NOR58] |
+| NOR59 | [Complete authorized program verifier][NOR59] |
+| NOR60REG | [Frozen final authorized-interpreter experiment][NOR60REG] |
+| NOR60 | [Original final execution run and retained evidence][NOR60] |
+| AEG01 | [Authorized Exact Gym and public interface][AEG01] |
+| FRE01 | [EvalMath first-evidence auditor][FRE01] |
+| FRE01RECEIPT | [Eight deterministic source-pinned checks][FRE01RECEIPT] |
+| FRE01HARNESS | [Control-Harness adapter and vendor lock][FRE01HARNESS] |
+| LEAN45 | [Conditional authorization and sparse-rejection theorems][LEAN45] |
+| LEAN46 | [Causal recurrence uniqueness and trace composition][LEAN46] |
+
+[NOR08]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor01_numerical_orbit_sketch/NOR08.md
+[NOR15C]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor15_late_source_ceiling/README.md
+[NOR16]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor16_public_query_consensus/README.md
+[NOR42]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor42_paired_program_ood/prospective/README.md
+[NOR43]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor43_authenticated_witness/SECURITY_REVIEW.md
+[NOR44]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor44_session_protocol/RESULTS.md
+[NOR45]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor45_authorized_program/RESULTS.md
+[NOR46]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor46_exact_integer_trace/RESULTS.md
+[NOR47]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor47_gmp_exact_convolution/RESULTS.md
+[NOR48]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor48_program_dispatch/RESULTS.md
+[NOR49]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor49_reciprocal_count_dispatch/RESULTS.md
+[NOR50]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor50_memoized_exact/RESULTS.md
+[NOR51]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor51_exact_r_crossover/RESULTS.md
+[NOR52]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor52_sparse_inverse/RESULTS.md
+[NOR53]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor53_native_pack/RESULTS.md
+[NOR54]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor54_matched_frontier/RESULTS.md
+[NOR55]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor55_compact_witness/RESULTS.md
+[NOR56]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor56_batch_codec/RESULTS.md
+[NOR57]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor57_authenticated_router/RESULTS.md
+[NOR57B]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor57b_independent/RESULTS.md
+[NOR58]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor58_static_merkle/RESULTS.md
+[NOR59]: https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor59_authorized_merkle/RESULTS.md
+[NOR45--NOR59]: ../../research/nor_line_capstone/evidence_ledger.json
+[LEAN45]: https://github.com/patrickdugan/MathCan/blob/17e9c92dbf48724786cdd6a2df2645b9ff7ac111/MathCan/NOR45AuthorizedProgram.lean
+[LEAN46]: https://github.com/patrickdugan/MathCan/blob/9b2e9f5a258b2a0bfa31489333e1e5b9b86b7566/MathCan/NOR46ExactIntegerTrace.lean
+
+[NOR60]: https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44327994013
+[NOR60REG]: https://github.com/MoralityLabAI/Compactification-Theory/blob/363ef19abeba68e2897c593697ad56e2aaf4fefc/research/nor60_authorized_interpreter/REGISTRATION.md
+[AEG01]: https://github.com/MoralityLabAI/Compactification-Theory/tree/main/research/authorized_exact_gym
+[FRE01]: https://github.com/MoralityLabAI/EvalMath/blob/9fc4f39e3bc4e614a54f674e7ea2281ee0a45725/paper/frozen_evidence_audit.md
+[FRE01RECEIPT]: https://github.com/MoralityLabAI/EvalMath/blob/9fc4f39e3bc4e614a54f674e7ea2281ee0a45725/output/evaluation_frozen_evidence/fre01_v1.json
+[FRE01HARNESS]: https://github.com/MoralityLabAI/Control-Harness/blob/07d4b3a0a1a9749830a4473edc6c34fa4b383437/docs/frozen_evidence_FRE01.md
+
+## References
diff --git a/papers/authorized-exact-computation/references.bib b/papers/authorized-exact-computation/references.bib
new file mode 100644
index 000000000..3c7139a59
--- /dev/null
+++ b/papers/authorized-exact-computation/references.bib
@@ -0,0 +1,57 @@
+@inproceedings{amdahl1967,
+ author = {Amdahl, Gene M.},
+ title = {Validity of the Single Processor Approach to Achieving Large Scale Computing Capabilities},
+ booktitle = {Proceedings of the Spring Joint Computer Conference},
+ year = {1967},
+ pages = {483--485},
+ doi = {10.1145/1465482.1465560},
+ url = {https://www.cs.cmu.edu/~18742/papers/Amdahl1967.pdf}
+}
+
+@inproceedings{merkle1988,
+ author = {Merkle, Ralph C.},
+ title = {A Digital Signature Based on a Conventional Encryption Function},
+ booktitle = {Advances in Cryptology: CRYPTO '87},
+ editor = {Pomerance, Carl},
+ series = {Lecture Notes in Computer Science},
+ volume = {293},
+ year = {1988},
+ pages = {369--378},
+ publisher = {Springer},
+ doi = {10.1007/3-540-48184-2_32},
+ url = {https://link.springer.com/chapter/10.1007/3-540-48184-2_32}
+}
+
+@article{bernstein2012,
+ author = {Bernstein, Daniel J. and Duif, Niels and Lange, Tanja and Schwabe, Peter and Yang, Bo-Yin},
+ title = {High-Speed High-Security Signatures},
+ journal = {Journal of Cryptographic Engineering},
+ volume = {2},
+ pages = {77--89},
+ year = {2012},
+ doi = {10.1007/s13389-012-0027-1},
+ url = {https://link.springer.com/article/10.1007/s13389-012-0027-1}
+}
+
+@techreport{rfc8032,
+ author = {Josefsson, Simon and Liusvaara, Ilari},
+ title = {Edwards-Curve Digital Signature Algorithm (EdDSA)},
+ institution = {RFC Editor},
+ type = {RFC},
+ number = {8032},
+ year = {2017},
+ month = {January},
+ doi = {10.17487/RFC8032},
+ url = {https://www.rfc-editor.org/rfc/rfc8032}
+}
+
+@inproceedings{kalibera2013,
+ author = {Kalibera, Tomas and Jones, Richard E.},
+ title = {Rigorous Benchmarking in Reasonable Time},
+ booktitle = {Proceedings of the International Symposium on Memory Management},
+ year = {2013},
+ pages = {63--74},
+ doi = {10.1145/2464157.2464160},
+ url = {https://kar.kent.ac.uk/33611/},
+ note = {Corrected author manuscript available from the institutional repository}
+}
diff --git a/papers/authorized-exact-computation/table_layout.lua b/papers/authorized-exact-computation/table_layout.lua
new file mode 100644
index 000000000..dbf46647a
--- /dev/null
+++ b/papers/authorized-exact-computation/table_layout.lua
@@ -0,0 +1,29 @@
+-- Fixed semantic column widths for the paper's exact comparison tables.
+function Table(t)
+ local widths = {
+ ["Study"] = {0.12, 0.44, 0.44},
+ ["NOR-59 endpoint"] = {0.45, 0.20, 0.35},
+ ["Arm"] = {0.08, 0.48, 0.44},
+ ["Frozen gate"] = {0.50, 0.30, 0.20},
+ ["Full signed verifier arm"] = {0.53, 0.27, 0.20},
+ ["Label"] = {0.20, 0.80},
+ }
+ if #t.head.rows == 0 then return t end
+ local key = pandoc.utils.stringify(t.head.rows[1].cells[1].contents)
+ local row = widths[key]
+ if row then
+ for i, width in ipairs(row) do
+ t.colspecs[i] = {t.colspecs[i][1], width}
+ end
+ end
+ return t
+end
+
+-- Flush the NOR-60 figures before the gym section begins in the PDF.
+function Header(h)
+ if FORMAT:match("latex") and h.level == 2
+ and pandoc.utils.stringify(h.content):match("^7%. Authorized Exact Gym") then
+ return {pandoc.RawBlock("latex", "\\clearpage"), h}
+ end
+ return h
+end
diff --git a/research/authorized_exact_gym/README.md b/research/authorized_exact_gym/README.md
new file mode 100644
index 000000000..ea29d9dea
--- /dev/null
+++ b/research/authorized_exact_gym/README.md
@@ -0,0 +1,90 @@
+# Authorized Exact Gym (AEG-01)
+
+AEG-01 turns the NOR45–60 research into a reusable CPU task: decide whether a
+signed computation is admissible, then return every exact output coefficient
+and its original indexed Merkle root. Each episode has one action. The grader
+uses the original NOR45 interpreter and retains its own reference values.
+
+The suite contains separate public training and development panels of 14
+tasks each. Both signed degrees, 512 and 1024, appear. Tests cover valid
+authority-selected programs, changed signatures, a query substitution,
+cross-session replay, a signed provider result that disagrees with the
+authorized computation, and expiration. A separately authorized program is
+accepted according to its own semantics. That case makes the authority's
+external semantic honesty an explicit premise.
+
+The four built-in policies reproduce the NOR60 factorial: original execution,
+static Merkle roots, support-compressed execution with invocation-local unary
+reuse, and their composition. They all pass through the real signed verifier.
+An external runner can consume the same public JSON and submit actions for
+independent grading.
+
+## Run on CPU
+
+From the repository root, with Python 3.12, `cryptography==46.0.4`, and
+`gmpy2==2.3.2`:
+
+```sh
+python -m unittest research.authorized_exact_gym.test_gym -v
+python -O -m unittest research.authorized_exact_gym.test_gym -v
+python -m research.authorized_exact_gym.gym export --split development --out-dir /tmp/aeg01
+python -m research.authorized_exact_gym.gym run --public /tmp/aeg01/public/development.json --policy combined --out /tmp/aeg01/answers.json
+python -m research.authorized_exact_gym.gym score --public /tmp/aeg01/public/development.json --referee /tmp/aeg01/referee/development.json --manifest /tmp/aeg01/development.manifest.json --answers /tmp/aeg01/answers.json --out /tmp/aeg01/score.json
+```
+
+Every output path must be new. An existing file stops the write. Exporting
+creates a manifest with separate public and referee hashes. The scorer checks
+these hashes against the manifest that the evaluator retained. Changing both
+the manifest and oracle requires the evaluator's trust boundary; a hash alone
+cannot establish an independent authority.
+
+## Participant interface
+
+Only `public/.json` goes to a candidate. A public task contains its
+opaque `case_id`, `public_sha256`, independently supplied query and trust
+context, and untrusted signed envelopes. Labels and expected vectors remain in
+`referee/.json`. These development files are public research fixtures;
+placing them in separate directories supplies an interface boundary.
+
+Each action has exactly these fields:
+
+```json
+{"case_id":"","public_sha256":"","decision":"accept","values_decimal":["1","0"],"root_sha256":""}
+```
+
+The example vector above illustrates the schema. An accepted answer must
+provide all 769 or 1537 coefficients as canonical decimal strings. Use
+`decision: "reject"` or `"abstain"` with `values_decimal: null` and
+`root_sha256: null` for the other actions. Unknown fields, repeated case IDs,
+missing actions and responses to a different public input fail validation.
+An answers file wraps the action list with `provenance`, which the score labels
+as participant-reported. A future model evaluation needs independently
+verified checkpoint and execution provenance.
+
+The one-step Python API is `AuthorizedExactGym(public, referee)`, followed by
+`reset(index=...)` and `step(action)`. The observation is copied on reset.
+Reward is one for a correct rejection or a correctly authorized full output,
+and zero for other decisions. False acceptance and wrong exact output remain
+separate counts. The API has no Gymnasium dependency.
+
+## What this run establishes
+
+The committed smoke receipt checks finite, public development fixtures with a
+symbolic implementation. It records false acceptance, false rejection and
+abstention, together with complete output correctness, source hashes and
+backend provenance. A diagnostic elapsed time describes one sequential pass.
+The NOR60 registered five-repeat study owns the comparative performance claim.
+
+The AEG-01 receipt covers deterministic symbolic policies on public development
+tasks. The package supplies public training and development splits. A future
+held-out study must freeze its candidate and compute budget, register new source
+content hashes and exclusions, retain its first attempt, and keep the referee
+outside the candidate process. CPU smoke tests run on an ordinary host; a model
+study must specify its own stopping rule and receipt before entering the compute
+queue.
+
+The Ed25519 private keys and nonces here are public test fixtures. The NOR45
+verifier is stateless per call. Real deployment would need independently
+managed keys and nonce consumption policy. The results concern consistency
+with an authorized finite program under the cryptographic assumptions stated
+in the [paper](../../papers/authorized-exact-computation/paper.md).
diff --git a/research/authorized_exact_gym/__init__.py b/research/authorized_exact_gym/__init__.py
new file mode 100644
index 000000000..42fb2a192
--- /dev/null
+++ b/research/authorized_exact_gym/__init__.py
@@ -0,0 +1 @@
+"""AEG-01: public development tasks for authorized exact execution."""
diff --git a/research/authorized_exact_gym/gym.py b/research/authorized_exact_gym/gym.py
new file mode 100644
index 000000000..f03ed9cba
--- /dev/null
+++ b/research/authorized_exact_gym/gym.py
@@ -0,0 +1,403 @@
+"""AEG-01 public development gym with a separate exact reference grader.
+
+The participant receives only the public challenge. The original NOR45
+interpreter supplies the grader's expected vector. Fixture signing keys are
+public TEST keys. This module never creates a confirmatory or sealed split.
+"""
+from __future__ import annotations
+
+import argparse
+import copy
+import hashlib
+import json
+import os
+import platform
+import random
+import re
+import sys
+import tempfile
+import time
+from collections import Counter
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[2]
+if str(ROOT) not in sys.path:
+ sys.path.insert(0, str(ROOT))
+
+from research.nor43_authenticated_witness import signed_witness as trees
+from research.nor44_session_protocol import session_protocol as session
+from research.nor45_authorized_program import independent_execution_verifier as reference
+from research.nor45_authorized_program import program_authority as authority
+from research.nor59_authorized_merkle.cohort import program as program_for_profile
+
+SCHEMA = "aeg01.authorized_exact_development.v1"
+SPLITS = ("train", "development")
+POLICIES = {
+ "original": ("original", "original"),
+ "root_only": ("original", "warm"),
+ "interpreter_only": ("support_memoized", "original"),
+ "combined": ("support_memoized", "warm"),
+}
+KINDS = ("valid", "authority_signature", "query_binding", "session_binding",
+ "provider_output", "expired", "separately_authorized_program")
+TRUSTED_FIELDS = {"query_decimal", "session_context", "program_authority_key_hex",
+ "verifier_key_hex", "provider_key_hex", "authority_id", "now_epoch"}
+UNTRUSTED_FIELDS = {"certificate", "precommit_receipt", "provider_reference"}
+PUBLIC_FIELDS = {"schema", "split", "case_id", "trusted", "untrusted", "public_sha256"}
+ACTION_FIELDS = {"case_id", "public_sha256", "decision", "values_decimal", "root_sha256"}
+
+
+def canonical(value):
+ return (json.dumps(value, sort_keys=True, separators=(",", ":"),
+ ensure_ascii=True, allow_nan=False) + "\n").encode("ascii")
+
+
+def read_json(path):
+ def pairs(items):
+ result = {}
+ for key, value in items:
+ require(key not in result, "duplicate JSON key")
+ result[key] = value
+ return result
+
+ def constant(value):
+ raise ValueError("nonfinite JSON constant: " + value)
+
+ return json.loads(Path(path).read_bytes(), object_pairs_hook=pairs,
+ parse_constant=constant)
+
+
+def digest(value):
+ return hashlib.sha256(canonical(value)).hexdigest()
+
+
+def require(condition, message):
+ if not condition:
+ raise ValueError(message)
+
+
+def exact_decimals(values):
+ require(type(values) is list and 1 <= len(values) <= 1537, "invalid vector length")
+ require(all(type(v) is str and len(v) <= 20000 for v in values), "invalid decimal vector")
+ try:
+ integers = tuple(int(v) for v in values)
+ except ValueError as exc:
+ raise ValueError("noninteger vector") from exc
+ require(all(str(n) == s for n, s in zip(integers, values)), "noncanonical integer")
+ return integers
+
+
+def query_identity(query):
+ """Metadata-free identity of an exact vector, shared across gym splits."""
+ return digest([str(v) for v in query])
+
+
+def task_identity(query, program, degree):
+ return digest({"query_decimal": [str(v) for v in query],
+ "program": program, "observed_degree": degree})
+
+
+def _signed_case(query, program, degree, source_id, nonce, wrong_provider=False):
+ # This independent reference path never imports the optimized interpreter.
+ output = reference.execute_authorized_program(program, query, degree)
+ expected_root = reference.independently_computed_root(output)
+ provider = trees.test_private_key()
+ verifier = session.test_verifier_private_key()
+ signer = authority.test_authority_private_key()
+ provider_pub = trees.test_reference_public_key()
+ verifier_pub = session.public_key_bytes(verifier)
+ authority_pub = authority.public_key_of(signer)
+ verifier_session = session.VerifierSession(
+ source_sha256=source_id, observed_degree=degree,
+ coefficient_count=len(query), provider_id=trees.PROVIDER_ID,
+ pinned_provider_public_key=provider_pub, verifier_signing_key=verifier,
+ expires_epoch=100, nonce=nonce, test_only=True)
+ precommit = verifier_session.precommit(
+ session.proposal_digest(query, verifier_session.context), now_epoch=1)
+ provider_output = list(output)
+ if wrong_provider:
+ provider_output[8] += 1
+ provider_ref = session.sign_provider_reference(
+ trees.OutputTree(provider_output), precommit, verifier_session.context,
+ verifier_pub, provider, now_epoch=2)
+ certificate = authority.sign_authorized_program(
+ program=program, query=query, context=verifier_session.context,
+ precommit_receipt=precommit, pinned_verifier_public_key=verifier_pub,
+ expected_output_merkle_root=expected_root, program_authority_signer=signer,
+ now_epoch=2)
+ trusted = {"query_decimal": [str(v) for v in query],
+ "session_context": verifier_session.context,
+ "program_authority_key_hex": authority_pub.hex(),
+ "verifier_key_hex": verifier_pub.hex(), "provider_key_hex": provider_pub.hex(),
+ "authority_id": authority.TEST_AUTHORITY_ID, "now_epoch": 2}
+ untrusted = {"certificate": certificate, "precommit_receipt": precommit,
+ "provider_reference": provider_ref}
+ return trusted, untrusted, output, expected_root
+
+
+def generate(split):
+ require(split in SPLITS, "only public train/development splits exist")
+ public, referee = [], []
+ for degree in (512, 1024):
+ for kind_index, kind in enumerate(KINDS):
+ seed_bytes = hashlib.sha256(f"AEG01/{split}/{degree}/{kind_index}".encode()).digest()
+ rng = random.Random(int.from_bytes(seed_bytes, "big"))
+ stride = (1, 4, 8)[kind_index % 3]
+ m = 3 * degree // 2 + 1
+ query = [1] + [0] * (m - 1)
+ # Short support polynomial; full output remains the signed NOR45 length.
+ for i in range(stride, min(m, 17 * stride), stride):
+ query[i] = rng.choice((-3, -2, -1, 1, 2, 3))
+ profile = (kind_index + int(kind == "separately_authorized_program")) % 5
+ program = program_for_profile(profile)
+ source_id = task_identity(query, program, degree)
+ nonce = hashlib.sha256(b"AEG01/public-fixture/" + seed_bytes).digest()
+ trusted, untrusted, values, root = _signed_case(
+ tuple(query), program, degree, source_id, nonce,
+ wrong_provider=kind == "provider_output")
+ if kind == "authority_signature":
+ untrusted["certificate"]["signature_hex"] = "00" * 64
+ elif kind == "query_binding":
+ trusted["query_decimal"][1] = str(int(trusted["query_decimal"][1]) + 1)
+ elif kind == "session_binding":
+ trusted["session_context"]["nonce_hex"] = hashlib.sha256(nonce).hexdigest()
+ elif kind == "expired":
+ trusted["now_epoch"] = 101
+ case_id = hashlib.sha256(b"AEG01/case/" + seed_bytes).hexdigest()
+ core = {"schema": SCHEMA, "split": split, "case_id": case_id,
+ "trusted": trusted, "untrusted": untrusted}
+ challenge = {**core, "public_sha256": digest(core)}
+ valid = kind in ("valid", "separately_authorized_program")
+ public.append(challenge)
+ referee.append({"case_id": case_id, "public_sha256": challenge["public_sha256"],
+ "expected_accept": valid, "mutation_family": kind,
+ "query_sha256": query_identity(exact_decimals(trusted["query_decimal"])),
+ "task_sha256": task_identity(exact_decimals(trusted["query_decimal"]),
+ program, degree),
+ "values_decimal": [str(v) for v in values] if valid else None,
+ "root_sha256": root if valid else None})
+ require(len({r["query_sha256"] for r in referee}) == len(referee), "duplicate query")
+ require(len({r["task_sha256"] for r in referee}) == len(referee), "duplicate task")
+ return public, referee
+
+
+def kwargs_from_public(challenge):
+ require(type(challenge) is dict and set(challenge) == PUBLIC_FIELDS, "public schema mismatch")
+ require(challenge["schema"] == SCHEMA and challenge["split"] in SPLITS, "unregistered split/schema")
+ core = {k: v for k, v in challenge.items() if k != "public_sha256"}
+ require(digest(core) == challenge["public_sha256"], "public challenge changed")
+ trusted, untrusted = challenge["trusted"], challenge["untrusted"]
+ require(type(trusted) is dict and set(trusted) == TRUSTED_FIELDS, "trusted schema mismatch")
+ require(type(untrusted) is dict and set(untrusted) == UNTRUSTED_FIELDS, "envelope schema mismatch")
+ keys = {}
+ for field in ("program_authority_key_hex", "verifier_key_hex", "provider_key_hex"):
+ encoded = trusted[field]
+ require(type(encoded) is str and len(encoded) == 64, "invalid pinned key")
+ key = bytes.fromhex(encoded)
+ require(key.hex() == encoded, "noncanonical pinned key")
+ keys[field] = key
+ return {"certificate": untrusted["certificate"],
+ "query": exact_decimals(trusted["query_decimal"]),
+ "session_context": trusted["session_context"],
+ "precommit_receipt": untrusted["precommit_receipt"],
+ "provider_reference": untrusted["provider_reference"],
+ "pinned_program_authority_key": keys["program_authority_key_hex"],
+ "expected_program_authority_id": trusted["authority_id"],
+ "pinned_verifier_public_key": keys["verifier_key_hex"],
+ "pinned_provider_public_key": keys["provider_key_hex"],
+ "now_epoch": trusted["now_epoch"]}
+
+
+def act(challenge, policy="original"):
+ require(policy in POLICIES, "unknown fixed policy")
+ interpreter_mode, root_mode = POLICIES[policy]
+ kwargs = kwargs_from_public(challenge)
+ action = {"case_id": challenge["case_id"], "public_sha256": challenge["public_sha256"],
+ "decision": "reject", "values_decimal": None, "root_sha256": None}
+ try:
+ output = reference.verify_authorized_execution(
+ **kwargs, _interpreter_policy=interpreter_mode, _root_policy=root_mode)
+ except (ValueError, TypeError, KeyError, OverflowError):
+ return action
+ action.update(decision="accept", values_decimal=[str(v) for v in output["values"]],
+ root_sha256=output["root_sha256"])
+ return action
+
+
+def grade(challenge, truth, action):
+ # Validate public framing before matching an answer to a trusted oracle row.
+ kwargs_from_public(challenge)
+ require(truth["case_id"] == challenge["case_id"] and
+ truth["public_sha256"] == challenge["public_sha256"], "oracle/challenge mismatch")
+ require(type(action) is dict and set(action) == ACTION_FIELDS, "action schema mismatch")
+ require(action["case_id"] == challenge["case_id"] and
+ action["public_sha256"] == challenge["public_sha256"], "answer replay or input mismatch")
+ require(action["decision"] in ("accept", "reject", "abstain"), "unknown decision")
+ valid, accepted = truth["expected_accept"], action["decision"] == "accept"
+ require(type(valid) is bool, "invalid referee verdict")
+ if accepted:
+ exact_decimals(action["values_decimal"])
+ require(type(action["root_sha256"]) is str and
+ re.fullmatch("[0-9a-f]{64}", action["root_sha256"]) is not None,
+ "invalid answer root")
+ else:
+ require(action["values_decimal"] is None and action["root_sha256"] is None,
+ "rejection/abstention must omit output")
+ exact = accepted and valid and action["values_decimal"] == truth["values_decimal"] and \
+ action["root_sha256"] == truth["root_sha256"]
+ if action["decision"] == "abstain":
+ verdict = "abstention"
+ elif accepted and not valid:
+ verdict = "false_acceptance"
+ elif valid and accepted:
+ verdict = "true_acceptance" if exact else "wrong_exact_output"
+ elif valid:
+ verdict = "false_rejection"
+ else:
+ verdict = "true_rejection"
+ return {"case_id": challenge["case_id"], "verdict": verdict,
+ "correct": verdict in ("true_acceptance", "true_rejection"),
+ "mutation_family": truth["mutation_family"]}
+
+
+class AuthorizedExactGym:
+ """One-step Python interface. Each reset copies the public observation."""
+ def __init__(self, public, referee):
+ self._public, self._referee = copy.deepcopy(public), copy.deepcopy(referee)
+ require(len(public) == len(referee) > 0, "empty/mismatched panel")
+ self._cursor, self._active = 0, None
+
+ def reset(self, *, index=None):
+ if index is None:
+ index = self._cursor % len(self._public)
+ self._cursor += 1
+ require(type(index) is int and 0 <= index < len(self._public), "bad task index")
+ self._active = index
+ return copy.deepcopy(self._public[index]), {"backend": "python-one-step", "split": self._public[index]["split"]}
+
+ def step(self, action):
+ require(self._active is not None, "reset required before each step")
+ index = self._active
+ verdict = grade(self._public[index], self._referee[index], action)
+ self._active = None
+ return None, int(verdict["correct"]), True, False, verdict
+
+
+def _write_new(path, obj):
+ raw = canonical(obj)
+ path = Path(path)
+ path.parent.mkdir(parents=True, exist_ok=True)
+ temporary = None
+ try:
+ with tempfile.NamedTemporaryFile(dir=path.parent, prefix=".aeg01-", delete=False) as handle:
+ temporary = Path(handle.name)
+ handle.write(raw)
+ handle.flush()
+ os.fsync(handle.fileno())
+ os.link(temporary, path)
+ finally:
+ if temporary is not None:
+ temporary.unlink(missing_ok=True)
+
+
+def export(split, destination):
+ public, referee = generate(split)
+ destination = Path(destination)
+ # Candidate tools receive the public file only. Development labels are public
+ # to auditors; separate files are an interface boundary, not access control.
+ _write_new(destination / "public" / f"{split}.json", public)
+ _write_new(destination / "referee" / f"{split}.json", referee)
+ manifest = {"schema": "aeg01.export_manifest.v1", "split": split, "count": len(public),
+ "public_sha256": digest(public), "referee_sha256": digest(referee),
+ "source_sha256": source_hashes(),
+ "evidence_status": "PUBLIC_DEVELOPMENT_FIXTURE"}
+ _write_new(destination / f"{split}.manifest.json", manifest)
+ return manifest
+
+
+def source_hashes():
+ paths = ["research/authorized_exact_gym/gym.py",
+ "research/nor45_authorized_program/independent_execution_verifier.py",
+ "research/nor45_authorized_program/program_authority.py",
+ "research/nor44_session_protocol/session_protocol.py",
+ "research/nor43_authenticated_witness/signed_witness.py",
+ "research/nor59_authorized_merkle/cohort.py",
+ "research/nor59_authorized_merkle/authorized_root.py",
+ "research/nor58_static_merkle/template.py",
+ "research/nor52_sparse_inverse/algebra.py",
+ "research/nor60_authorized_interpreter/optimized_execution.py"]
+ return {p: hashlib.sha256((ROOT / p).read_bytes()).hexdigest() for p in paths}
+
+
+def score(public, referee, actions, provenance, *, expected_public_sha256,
+ expected_referee_sha256):
+ require(digest(public) == expected_public_sha256, "public file differs from trusted manifest")
+ require(digest(referee) == expected_referee_sha256, "oracle file differs from trusted manifest")
+ require(len(public) == len(referee) == len(actions) > 0, "missing/excess actions or oracle rows")
+ expected_ids = {r["case_id"] for r in public}
+ require(len(expected_ids) == len(public), "duplicate public case id")
+ require({r["case_id"] for r in referee} == expected_ids, "oracle roster mismatch")
+ require({r["case_id"] for r in actions} == expected_ids, "answer roster mismatch")
+ by_truth = {r["case_id"]: r for r in referee}
+ by_action = {r["case_id"]: r for r in actions}
+ rows = [grade(c, by_truth[c["case_id"]], by_action[c["case_id"]]) for c in public]
+ counts = Counter(r["verdict"] for r in rows)
+ return {"schema": "aeg01.score.v1", "evidence_status": "PUBLIC_DEVELOPMENT_SMOKE",
+ "case_count": len(rows), "correct_count": sum(r["correct"] for r in rows),
+ "verdict_counts": dict(sorted(counts.items())), "rows": rows,
+ "public_sha256": digest(public), "referee_sha256": digest(referee),
+ "actions_sha256": digest(actions), "source_sha256": source_hashes(),
+ "participant_reported_provenance": provenance,
+ "independently_verified_model_execution": False,
+ "claim_boundary": "Finite public fixtures; no model evaluation, sealed confirmation, or external authority honesty claim."}
+
+
+def main(argv=None):
+ parser = argparse.ArgumentParser(description=__doc__)
+ sub = parser.add_subparsers(dest="command", required=True)
+ out = sub.add_parser("export")
+ out.add_argument("--split", choices=SPLITS, required=True)
+ out.add_argument("--out-dir", type=Path, required=True)
+ run = sub.add_parser("run")
+ run.add_argument("--public", type=Path, required=True)
+ run.add_argument("--policy", choices=POLICIES, required=True)
+ run.add_argument("--out", type=Path, required=True)
+ scoring = sub.add_parser("score")
+ scoring.add_argument("--public", type=Path, required=True)
+ scoring.add_argument("--referee", type=Path, required=True)
+ scoring.add_argument("--answers", type=Path, required=True)
+ scoring.add_argument("--manifest", type=Path, required=True)
+ scoring.add_argument("--out", type=Path, required=True)
+ args = parser.parse_args(argv)
+ if args.command == "export":
+ print(json.dumps(export(args.split, args.out_dir), sort_keys=True))
+ elif args.command == "run":
+ public = read_json(args.public)
+ start = time.perf_counter_ns()
+ actions = [act(c, args.policy) for c in public]
+ elapsed = time.perf_counter_ns() - start
+ payload = {"actions": actions, "provenance": {"candidate_kind": "fixed_symbolic_reference",
+ "policy": args.policy, "python": platform.python_version(),
+ "platform": platform.platform(), "harness_wall_ns": elapsed,
+ "timing_scope": "one sequential public development pass; diagnostic only",
+ "GPU_used": False, "model_run": False}}
+ _write_new(args.out, payload)
+ print(json.dumps({"actions": len(actions), "policy": args.policy, "wall_ns": elapsed}))
+ else:
+ public = read_json(args.public)
+ referee = read_json(args.referee)
+ answers = read_json(args.answers)
+ manifest = read_json(args.manifest)
+ require(manifest.get("schema") == "aeg01.export_manifest.v1", "unknown manifest")
+ require(manifest.get("source_sha256") == source_hashes(),
+ "grader/source code changed since fixture export")
+ require(type(answers) is dict and set(answers) == {"actions", "provenance"}, "answer file schema")
+ result = score(public, referee, answers["actions"], answers["provenance"],
+ expected_public_sha256=manifest["public_sha256"],
+ expected_referee_sha256=manifest["referee_sha256"])
+ _write_new(args.out, result)
+ print(json.dumps({k: result[k] for k in ("case_count", "correct_count", "verdict_counts")}))
+
+
+if __name__ == "__main__":
+ main()
diff --git a/research/authorized_exact_gym/results/aeg01_development_smoke.json b/research/authorized_exact_gym/results/aeg01_development_smoke.json
new file mode 100644
index 000000000..01a979b9b
--- /dev/null
+++ b/research/authorized_exact_gym/results/aeg01_development_smoke.json
@@ -0,0 +1 @@
+{"GPU_used":false,"all_policies_correct":true,"dependencies":{"cryptography":"46.0.4","gmpy2":"2.3.2"},"development_count":14,"evidence_status":"PUBLIC_DEVELOPMENT_SMOKE","model_run":false,"platform":"Linux-6.18.57-x86_64-with-glibc2.41","policies":{"combined":{"actions_sha256":"985a8a8d5c59c67a8888ed2c5a8240b5cb6bc0a4507b5bde3f3c5357385d074d","case_count":14,"claim_boundary":"Finite public fixtures; no model evaluation, sealed confirmation, or external authority honesty claim.","correct_count":14,"evidence_status":"PUBLIC_DEVELOPMENT_SMOKE","independently_verified_model_execution":false,"participant_reported_provenance":{"candidate_kind":"fixed_symbolic_implementation","diagnostic_single_sequential_pass_ns":263486838,"model_run":false,"policy":"combined"},"public_sha256":"41606ff3a852b8a3c5c36d11c0c2b00cec25cec938c6ebc497d5cf211f76981a","referee_sha256":"4a879115c9cd0f9704af95b2453520693f1cdc21ed58f1f5c1961965e2ab8b56","rows":[{"case_id":"f4f1aee9fafc57e40a52e85d42a6e5f284500d399c41085e2ff19e199c796935","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"5fcbd1b0f2c2f1155c546b975660c3746f0e16387ae5bed631fed25c3fa0d919","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"db8527c7b990523879b2a496851a0bb74b67a251e399b939196965f8a5151b23","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"712ec2733e6efdcac5b51364ebb69b0ed889131a108edb21daa469526f5a0a97","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"57791868db2b62c39abcb849eac8fb7987b918383f0241f2a1414690b4111bb8","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"244f52d59fa6f650c59a9c07fe5868a5639508839cd41a3128dcaf3cb8102562","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"fb117d17c52de8599889bc3ee47feada930ff4c3a5c2402929c6aed2af59c11e","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"},{"case_id":"8d1ebaad99a7aa564c1e6f8603d1ea464fe9e9439b918aa1b5e9a01d4d8fdb9d","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"9dea65d98c9084193503fb7799b429e5e99ed4c6afb194e31817584b1de1051d","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"79b0e7fa01a15a17b672f10f2c9016a3116ef44a4f037e9330046a6c7a2f6ec8","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"8191b388c157403628b98d3912d8f138e962bd938eb78ef27c7e3dec293a4d69","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"d5e27f08223483d7130ae16d88118a4bbee09f861e2bb785fac0a4460d57f5c4","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"6c9b475a8c1d1bd5f3ba015e42c82401e0b9858e19361207643241c70caa0f5c","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"54a96ca1cc0dec51e5cb660c54a6f782834283ff683d1d6862e3a72a10612365","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"}],"schema":"aeg01.score.v1","source_sha256":{"research/authorized_exact_gym/gym.py":"8e18086f3db9531a31e0682ae0d839c253b9d370b251989cfbd17cc43800a47a","research/nor43_authenticated_witness/signed_witness.py":"570bad114043075c50c9561a74b526c4bd04c035b3479decc1cfa1245c0f7521","research/nor44_session_protocol/session_protocol.py":"53e0fac1f4604d2c9d62e15d4f445d6eb1058ce101264515c9e86a310504d6d3","research/nor45_authorized_program/independent_execution_verifier.py":"8e6748b7e50208910659f6191732e33d8a3fa8d564aa2027938ea69ea6d1bb72","research/nor45_authorized_program/program_authority.py":"dbf8204a1b6acaaef4a42e76197dc51e771aea99563c3282e240ffddaeb72ae1","research/nor52_sparse_inverse/algebra.py":"a73e7d44733239dee4d71ecf85712c9f8e128d03e58e53de41a122b587f2d5d5","research/nor58_static_merkle/template.py":"1e4d538d19923cb389dba2319ff378df4a051625c47a6b50f679e6c20f479e62","research/nor59_authorized_merkle/authorized_root.py":"c564239fdf463078fe69b655e904e8e9b237dbab129b3f5ad919eac0b4e40ca3","research/nor59_authorized_merkle/cohort.py":"f489cadf3769d8165815d18273d2d96b8ba1db0688d4ac415ae765bf444b5e1f","research/nor60_authorized_interpreter/optimized_execution.py":"e5e854f7dec5afd74772bb332c08bd97a4cf7932a669cc0fb7d0ee8b52789ead"},"verdict_counts":{"true_acceptance":4,"true_rejection":10}},"interpreter_only":{"actions_sha256":"985a8a8d5c59c67a8888ed2c5a8240b5cb6bc0a4507b5bde3f3c5357385d074d","case_count":14,"claim_boundary":"Finite public fixtures; no model evaluation, sealed confirmation, or external authority honesty claim.","correct_count":14,"evidence_status":"PUBLIC_DEVELOPMENT_SMOKE","independently_verified_model_execution":false,"participant_reported_provenance":{"candidate_kind":"fixed_symbolic_implementation","diagnostic_single_sequential_pass_ns":267790229,"model_run":false,"policy":"interpreter_only"},"public_sha256":"41606ff3a852b8a3c5c36d11c0c2b00cec25cec938c6ebc497d5cf211f76981a","referee_sha256":"4a879115c9cd0f9704af95b2453520693f1cdc21ed58f1f5c1961965e2ab8b56","rows":[{"case_id":"f4f1aee9fafc57e40a52e85d42a6e5f284500d399c41085e2ff19e199c796935","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"5fcbd1b0f2c2f1155c546b975660c3746f0e16387ae5bed631fed25c3fa0d919","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"db8527c7b990523879b2a496851a0bb74b67a251e399b939196965f8a5151b23","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"712ec2733e6efdcac5b51364ebb69b0ed889131a108edb21daa469526f5a0a97","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"57791868db2b62c39abcb849eac8fb7987b918383f0241f2a1414690b4111bb8","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"244f52d59fa6f650c59a9c07fe5868a5639508839cd41a3128dcaf3cb8102562","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"fb117d17c52de8599889bc3ee47feada930ff4c3a5c2402929c6aed2af59c11e","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"},{"case_id":"8d1ebaad99a7aa564c1e6f8603d1ea464fe9e9439b918aa1b5e9a01d4d8fdb9d","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"9dea65d98c9084193503fb7799b429e5e99ed4c6afb194e31817584b1de1051d","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"79b0e7fa01a15a17b672f10f2c9016a3116ef44a4f037e9330046a6c7a2f6ec8","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"8191b388c157403628b98d3912d8f138e962bd938eb78ef27c7e3dec293a4d69","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"d5e27f08223483d7130ae16d88118a4bbee09f861e2bb785fac0a4460d57f5c4","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"6c9b475a8c1d1bd5f3ba015e42c82401e0b9858e19361207643241c70caa0f5c","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"54a96ca1cc0dec51e5cb660c54a6f782834283ff683d1d6862e3a72a10612365","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"}],"schema":"aeg01.score.v1","source_sha256":{"research/authorized_exact_gym/gym.py":"8e18086f3db9531a31e0682ae0d839c253b9d370b251989cfbd17cc43800a47a","research/nor43_authenticated_witness/signed_witness.py":"570bad114043075c50c9561a74b526c4bd04c035b3479decc1cfa1245c0f7521","research/nor44_session_protocol/session_protocol.py":"53e0fac1f4604d2c9d62e15d4f445d6eb1058ce101264515c9e86a310504d6d3","research/nor45_authorized_program/independent_execution_verifier.py":"8e6748b7e50208910659f6191732e33d8a3fa8d564aa2027938ea69ea6d1bb72","research/nor45_authorized_program/program_authority.py":"dbf8204a1b6acaaef4a42e76197dc51e771aea99563c3282e240ffddaeb72ae1","research/nor52_sparse_inverse/algebra.py":"a73e7d44733239dee4d71ecf85712c9f8e128d03e58e53de41a122b587f2d5d5","research/nor58_static_merkle/template.py":"1e4d538d19923cb389dba2319ff378df4a051625c47a6b50f679e6c20f479e62","research/nor59_authorized_merkle/authorized_root.py":"c564239fdf463078fe69b655e904e8e9b237dbab129b3f5ad919eac0b4e40ca3","research/nor59_authorized_merkle/cohort.py":"f489cadf3769d8165815d18273d2d96b8ba1db0688d4ac415ae765bf444b5e1f","research/nor60_authorized_interpreter/optimized_execution.py":"e5e854f7dec5afd74772bb332c08bd97a4cf7932a669cc0fb7d0ee8b52789ead"},"verdict_counts":{"true_acceptance":4,"true_rejection":10}},"original":{"actions_sha256":"985a8a8d5c59c67a8888ed2c5a8240b5cb6bc0a4507b5bde3f3c5357385d074d","case_count":14,"claim_boundary":"Finite public fixtures; no model evaluation, sealed confirmation, or external authority honesty claim.","correct_count":14,"evidence_status":"PUBLIC_DEVELOPMENT_SMOKE","independently_verified_model_execution":false,"participant_reported_provenance":{"candidate_kind":"fixed_symbolic_implementation","diagnostic_single_sequential_pass_ns":476136154,"model_run":false,"policy":"original"},"public_sha256":"41606ff3a852b8a3c5c36d11c0c2b00cec25cec938c6ebc497d5cf211f76981a","referee_sha256":"4a879115c9cd0f9704af95b2453520693f1cdc21ed58f1f5c1961965e2ab8b56","rows":[{"case_id":"f4f1aee9fafc57e40a52e85d42a6e5f284500d399c41085e2ff19e199c796935","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"5fcbd1b0f2c2f1155c546b975660c3746f0e16387ae5bed631fed25c3fa0d919","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"db8527c7b990523879b2a496851a0bb74b67a251e399b939196965f8a5151b23","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"712ec2733e6efdcac5b51364ebb69b0ed889131a108edb21daa469526f5a0a97","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"57791868db2b62c39abcb849eac8fb7987b918383f0241f2a1414690b4111bb8","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"244f52d59fa6f650c59a9c07fe5868a5639508839cd41a3128dcaf3cb8102562","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"fb117d17c52de8599889bc3ee47feada930ff4c3a5c2402929c6aed2af59c11e","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"},{"case_id":"8d1ebaad99a7aa564c1e6f8603d1ea464fe9e9439b918aa1b5e9a01d4d8fdb9d","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"9dea65d98c9084193503fb7799b429e5e99ed4c6afb194e31817584b1de1051d","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"79b0e7fa01a15a17b672f10f2c9016a3116ef44a4f037e9330046a6c7a2f6ec8","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"8191b388c157403628b98d3912d8f138e962bd938eb78ef27c7e3dec293a4d69","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"d5e27f08223483d7130ae16d88118a4bbee09f861e2bb785fac0a4460d57f5c4","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"6c9b475a8c1d1bd5f3ba015e42c82401e0b9858e19361207643241c70caa0f5c","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"54a96ca1cc0dec51e5cb660c54a6f782834283ff683d1d6862e3a72a10612365","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"}],"schema":"aeg01.score.v1","source_sha256":{"research/authorized_exact_gym/gym.py":"8e18086f3db9531a31e0682ae0d839c253b9d370b251989cfbd17cc43800a47a","research/nor43_authenticated_witness/signed_witness.py":"570bad114043075c50c9561a74b526c4bd04c035b3479decc1cfa1245c0f7521","research/nor44_session_protocol/session_protocol.py":"53e0fac1f4604d2c9d62e15d4f445d6eb1058ce101264515c9e86a310504d6d3","research/nor45_authorized_program/independent_execution_verifier.py":"8e6748b7e50208910659f6191732e33d8a3fa8d564aa2027938ea69ea6d1bb72","research/nor45_authorized_program/program_authority.py":"dbf8204a1b6acaaef4a42e76197dc51e771aea99563c3282e240ffddaeb72ae1","research/nor52_sparse_inverse/algebra.py":"a73e7d44733239dee4d71ecf85712c9f8e128d03e58e53de41a122b587f2d5d5","research/nor58_static_merkle/template.py":"1e4d538d19923cb389dba2319ff378df4a051625c47a6b50f679e6c20f479e62","research/nor59_authorized_merkle/authorized_root.py":"c564239fdf463078fe69b655e904e8e9b237dbab129b3f5ad919eac0b4e40ca3","research/nor59_authorized_merkle/cohort.py":"f489cadf3769d8165815d18273d2d96b8ba1db0688d4ac415ae765bf444b5e1f","research/nor60_authorized_interpreter/optimized_execution.py":"e5e854f7dec5afd74772bb332c08bd97a4cf7932a669cc0fb7d0ee8b52789ead"},"verdict_counts":{"true_acceptance":4,"true_rejection":10}},"root_only":{"actions_sha256":"985a8a8d5c59c67a8888ed2c5a8240b5cb6bc0a4507b5bde3f3c5357385d074d","case_count":14,"claim_boundary":"Finite public fixtures; no model evaluation, sealed confirmation, or external authority honesty claim.","correct_count":14,"evidence_status":"PUBLIC_DEVELOPMENT_SMOKE","independently_verified_model_execution":false,"participant_reported_provenance":{"candidate_kind":"fixed_symbolic_implementation","diagnostic_single_sequential_pass_ns":464966106,"model_run":false,"policy":"root_only"},"public_sha256":"41606ff3a852b8a3c5c36d11c0c2b00cec25cec938c6ebc497d5cf211f76981a","referee_sha256":"4a879115c9cd0f9704af95b2453520693f1cdc21ed58f1f5c1961965e2ab8b56","rows":[{"case_id":"f4f1aee9fafc57e40a52e85d42a6e5f284500d399c41085e2ff19e199c796935","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"5fcbd1b0f2c2f1155c546b975660c3746f0e16387ae5bed631fed25c3fa0d919","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"db8527c7b990523879b2a496851a0bb74b67a251e399b939196965f8a5151b23","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"712ec2733e6efdcac5b51364ebb69b0ed889131a108edb21daa469526f5a0a97","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"57791868db2b62c39abcb849eac8fb7987b918383f0241f2a1414690b4111bb8","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"244f52d59fa6f650c59a9c07fe5868a5639508839cd41a3128dcaf3cb8102562","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"fb117d17c52de8599889bc3ee47feada930ff4c3a5c2402929c6aed2af59c11e","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"},{"case_id":"8d1ebaad99a7aa564c1e6f8603d1ea464fe9e9439b918aa1b5e9a01d4d8fdb9d","correct":true,"mutation_family":"valid","verdict":"true_acceptance"},{"case_id":"9dea65d98c9084193503fb7799b429e5e99ed4c6afb194e31817584b1de1051d","correct":true,"mutation_family":"authority_signature","verdict":"true_rejection"},{"case_id":"79b0e7fa01a15a17b672f10f2c9016a3116ef44a4f037e9330046a6c7a2f6ec8","correct":true,"mutation_family":"query_binding","verdict":"true_rejection"},{"case_id":"8191b388c157403628b98d3912d8f138e962bd938eb78ef27c7e3dec293a4d69","correct":true,"mutation_family":"session_binding","verdict":"true_rejection"},{"case_id":"d5e27f08223483d7130ae16d88118a4bbee09f861e2bb785fac0a4460d57f5c4","correct":true,"mutation_family":"provider_output","verdict":"true_rejection"},{"case_id":"6c9b475a8c1d1bd5f3ba015e42c82401e0b9858e19361207643241c70caa0f5c","correct":true,"mutation_family":"expired","verdict":"true_rejection"},{"case_id":"54a96ca1cc0dec51e5cb660c54a6f782834283ff683d1d6862e3a72a10612365","correct":true,"mutation_family":"separately_authorized_program","verdict":"true_acceptance"}],"schema":"aeg01.score.v1","source_sha256":{"research/authorized_exact_gym/gym.py":"8e18086f3db9531a31e0682ae0d839c253b9d370b251989cfbd17cc43800a47a","research/nor43_authenticated_witness/signed_witness.py":"570bad114043075c50c9561a74b526c4bd04c035b3479decc1cfa1245c0f7521","research/nor44_session_protocol/session_protocol.py":"53e0fac1f4604d2c9d62e15d4f445d6eb1058ce101264515c9e86a310504d6d3","research/nor45_authorized_program/independent_execution_verifier.py":"8e6748b7e50208910659f6191732e33d8a3fa8d564aa2027938ea69ea6d1bb72","research/nor45_authorized_program/program_authority.py":"dbf8204a1b6acaaef4a42e76197dc51e771aea99563c3282e240ffddaeb72ae1","research/nor52_sparse_inverse/algebra.py":"a73e7d44733239dee4d71ecf85712c9f8e128d03e58e53de41a122b587f2d5d5","research/nor58_static_merkle/template.py":"1e4d538d19923cb389dba2319ff378df4a051625c47a6b50f679e6c20f479e62","research/nor59_authorized_merkle/authorized_root.py":"c564239fdf463078fe69b655e904e8e9b237dbab129b3f5ad919eac0b4e40ca3","research/nor59_authorized_merkle/cohort.py":"f489cadf3769d8165815d18273d2d96b8ba1db0688d4ac415ae765bf444b5e1f","research/nor60_authorized_interpreter/optimized_execution.py":"e5e854f7dec5afd74772bb332c08bd97a4cf7932a669cc0fb7d0ee8b52789ead"},"verdict_counts":{"true_acceptance":4,"true_rejection":10}}},"python":"3.12.14","query_and_task_splits_disjoint":true,"schema":"aeg01.four_symbolic_policy_development_smoke.v1","scope":"Finite public development correctness. Elapsed times are one-pass diagnostics; NOR60 owns registered comparative performance.","sealed_test_generated":false,"source_sha256":{"research/authorized_exact_gym/gym.py":"8e18086f3db9531a31e0682ae0d839c253b9d370b251989cfbd17cc43800a47a","research/authorized_exact_gym/smoke.py":"9398fa8665d444bc85132155752a95ff26d6706d9f7df81c84ef8453b4452587","research/nor43_authenticated_witness/signed_witness.py":"570bad114043075c50c9561a74b526c4bd04c035b3479decc1cfa1245c0f7521","research/nor44_session_protocol/session_protocol.py":"53e0fac1f4604d2c9d62e15d4f445d6eb1058ce101264515c9e86a310504d6d3","research/nor45_authorized_program/independent_execution_verifier.py":"8e6748b7e50208910659f6191732e33d8a3fa8d564aa2027938ea69ea6d1bb72","research/nor45_authorized_program/program_authority.py":"dbf8204a1b6acaaef4a42e76197dc51e771aea99563c3282e240ffddaeb72ae1","research/nor52_sparse_inverse/algebra.py":"a73e7d44733239dee4d71ecf85712c9f8e128d03e58e53de41a122b587f2d5d5","research/nor58_static_merkle/template.py":"1e4d538d19923cb389dba2319ff378df4a051625c47a6b50f679e6c20f479e62","research/nor59_authorized_merkle/authorized_root.py":"c564239fdf463078fe69b655e904e8e9b237dbab129b3f5ad919eac0b4e40ca3","research/nor59_authorized_merkle/cohort.py":"f489cadf3769d8165815d18273d2d96b8ba1db0688d4ac415ae765bf444b5e1f","research/nor60_authorized_interpreter/optimized_execution.py":"e5e854f7dec5afd74772bb332c08bd97a4cf7932a669cc0fb7d0ee8b52789ead"},"train_count":14}
diff --git a/research/authorized_exact_gym/smoke.py b/research/authorized_exact_gym/smoke.py
new file mode 100644
index 000000000..498e6b12d
--- /dev/null
+++ b/research/authorized_exact_gym/smoke.py
@@ -0,0 +1,56 @@
+"""Run the four symbolic AEG-01 policies on its public development panel."""
+from __future__ import annotations
+import argparse
+import hashlib
+import importlib.metadata
+import json
+import platform
+import time
+from pathlib import Path
+from research.authorized_exact_gym import gym
+
+
+def run():
+ public, referee = gym.generate("development")
+ _, training_referee = gym.generate("train")
+ for field in ("query_sha256", "task_sha256"):
+ gym.require({r[field] for r in training_referee}.isdisjoint(
+ {r[field] for r in referee}), "public development overlaps training content")
+ reports = {}
+ for policy in gym.POLICIES:
+ start = time.perf_counter_ns()
+ actions = [gym.act(challenge, policy) for challenge in public]
+ elapsed = time.perf_counter_ns() - start
+ reports[policy] = gym.score(
+ public, referee, actions,
+ {"candidate_kind": "fixed_symbolic_implementation", "policy": policy,
+ "diagnostic_single_sequential_pass_ns": elapsed, "model_run": False},
+ expected_public_sha256=gym.digest(public), expected_referee_sha256=gym.digest(referee))
+ source_hashes = gym.source_hashes()
+ source_hashes["research/authorized_exact_gym/smoke.py"] = hashlib.sha256(Path(__file__).read_bytes()).hexdigest()
+ return {"schema": "aeg01.four_symbolic_policy_development_smoke.v1",
+ "evidence_status": "PUBLIC_DEVELOPMENT_SMOKE", "train_count": len(training_referee),
+ "development_count": len(referee), "query_and_task_splits_disjoint": True,
+ "policies": reports, "all_policies_correct": all(
+ report["correct_count"] == len(referee) for report in reports.values()),
+ "source_sha256": source_hashes, "python": platform.python_version(),
+ "platform": platform.platform(), "dependencies": {name: importlib.metadata.version(name)
+ for name in ("cryptography", "gmpy2")},
+ "model_run": False, "GPU_used": False, "sealed_test_generated": False,
+ "scope": "Finite public development correctness. Elapsed times are one-pass diagnostics; NOR60 owns registered comparative performance."}
+
+
+def main():
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument("--out", type=Path, required=True)
+ args = parser.parse_args()
+ gym.require(not args.out.exists(), "first smoke receipt already exists")
+ result = run()
+ gym._write_new(args.out, result)
+ print(json.dumps({"all_policies_correct": result["all_policies_correct"],
+ "development_count": result["development_count"],
+ "policy_count": len(result["policies"])}))
+
+
+if __name__ == "__main__":
+ main()
diff --git a/research/authorized_exact_gym/test_gym.py b/research/authorized_exact_gym/test_gym.py
new file mode 100644
index 000000000..95539e70a
--- /dev/null
+++ b/research/authorized_exact_gym/test_gym.py
@@ -0,0 +1,138 @@
+"""AEG-01 meaningful boundary tests on public development tasks."""
+import copy
+import tempfile
+import unittest
+from pathlib import Path
+
+from research.authorized_exact_gym import gym
+
+
+class GymTests(unittest.TestCase):
+ @classmethod
+ def setUpClass(cls):
+ cls.public, cls.referee = gym.generate("development")
+ cls.actions = [gym.act(c, "original") for c in cls.public]
+
+ def scored(self, actions=None, referee=None):
+ return gym.score(self.public, referee or self.referee,
+ actions or self.actions, {"candidate_kind": "test"},
+ expected_public_sha256=gym.digest(self.public),
+ expected_referee_sha256=gym.digest(self.referee))
+
+ def test_actual_signed_oracle_and_all_fixed_policies(self):
+ result = self.scored()
+ self.assertEqual(result["correct_count"], 14)
+ self.assertEqual(result["verdict_counts"], {"true_acceptance": 4, "true_rejection": 10})
+ for policy in gym.POLICIES:
+ actions = [gym.act(c, policy) for c in self.public]
+ self.assertEqual(self.scored(actions)["correct_count"], 14, policy)
+
+ def test_public_observation_contains_no_referee_fields(self):
+ for public in self.public:
+ self.assertEqual(set(public), gym.PUBLIC_FIELDS)
+ self.assertEqual(set(public["trusted"]), gym.TRUSTED_FIELDS)
+ self.assertEqual(set(public["untrusted"]), gym.UNTRUSTED_FIELDS)
+ for forbidden in ("expected_accept", "mutation_family", "values_decimal", "reward"):
+ self.assertNotIn(forbidden, public)
+
+ def test_replay_wrong_exact_output_and_abstention_are_distinct(self):
+ valid_index = next(i for i, row in enumerate(self.referee) if row["expected_accept"])
+ c, truth = self.public[valid_index], self.referee[valid_index]
+ wrong = copy.deepcopy(self.actions[valid_index])
+ wrong["values_decimal"][5] = str(int(wrong["values_decimal"][5]) + 1)
+ self.assertEqual(gym.grade(c, truth, wrong)["verdict"], "wrong_exact_output")
+ abstain = dict(wrong, decision="abstain", values_decimal=None, root_sha256=None)
+ self.assertEqual(gym.grade(c, truth, abstain)["verdict"], "abstention")
+ with self.assertRaisesRegex(ValueError, "replay"):
+ gym.grade(c, truth, self.actions[(valid_index + 1) % len(self.actions)])
+
+ def test_false_acceptance_and_false_rejection_are_counted(self):
+ for i, truth in enumerate(self.referee):
+ action = copy.deepcopy(self.actions[i])
+ if truth["expected_accept"]:
+ action.update(decision="reject", values_decimal=None, root_sha256=None)
+ want = "false_rejection"
+ else:
+ action.update(decision="accept", values_decimal=["1"], root_sha256="0" * 64)
+ want = "false_acceptance"
+ self.assertEqual(gym.grade(self.public[i], truth, action)["verdict"], want)
+
+ def test_duplicate_missing_and_referee_forgery_fail(self):
+ with self.assertRaises(ValueError):
+ self.scored(self.actions[:-1])
+ copied = copy.deepcopy(self.actions)
+ copied[1] = copied[0]
+ with self.assertRaises(ValueError):
+ self.scored(copied)
+ fake = copy.deepcopy(self.referee)
+ fake[0]["values_decimal"][0] = "7"
+ with self.assertRaisesRegex(ValueError, "oracle file"):
+ self.scored(referee=fake)
+
+ def test_observation_and_action_mutation_fail_closed(self):
+ challenge = copy.deepcopy(self.public[0])
+ challenge["trusted"]["now_epoch"] = 3
+ with self.assertRaisesRegex(ValueError, "changed"):
+ gym.act(challenge)
+ action = dict(self.actions[0], expected_accept=True)
+ with self.assertRaisesRegex(ValueError, "action schema"):
+ gym.grade(self.public[0], self.referee[0], action)
+ action = copy.deepcopy(self.actions[0])
+ action["values_decimal"][0] = "01"
+ with self.assertRaisesRegex(ValueError, "noncanonical"):
+ gym.grade(self.public[0], self.referee[0], action)
+ for root in ("z" * 64, "A" * 64, "0" * 63):
+ action = dict(self.actions[0], root_sha256=root)
+ with self.assertRaisesRegex(ValueError, "invalid answer root"):
+ gym.grade(self.public[0], self.referee[0], action)
+
+ def test_train_development_content_disjointness_and_no_heldout_generation(self):
+ _, training = gym.generate("train")
+ for field in ("query_sha256", "task_sha256"):
+ self.assertTrue({r[field] for r in training}.isdisjoint(
+ {r[field] for r in self.referee}))
+ with self.assertRaisesRegex(ValueError, "only public"):
+ gym.generate("heldout")
+
+ def test_one_step_api_does_not_leak_mutable_internal_observation(self):
+ env = gym.AuthorizedExactGym(self.public, self.referee)
+ observation, info = env.reset(index=0)
+ observation["trusted"]["query_decimal"][0] = "5"
+ fresh, _ = env.reset(index=0)
+ self.assertEqual(fresh["trusted"]["query_decimal"][0], "1")
+ _, reward, terminated, truncated, grade = env.step(self.actions[0])
+ self.assertEqual(reward, 1)
+ self.assertTrue(terminated)
+ self.assertFalse(truncated)
+ with self.assertRaisesRegex(ValueError, "reset"):
+ env.step(self.actions[0])
+
+ def test_export_retains_first_bytes(self):
+ with tempfile.TemporaryDirectory() as directory:
+ manifest = gym.export("development", directory)
+ public = Path(directory) / "public/development.json"
+ first = public.read_bytes()
+ with self.assertRaises(FileExistsError):
+ gym.export("development", directory)
+ self.assertEqual(public.read_bytes(), first)
+ self.assertEqual(manifest["count"], 14)
+
+ def test_exact_json_and_atomic_first_write(self):
+ with tempfile.TemporaryDirectory() as directory:
+ path = Path(directory) / "artifact.json"
+ with self.assertRaises(ValueError):
+ gym._write_new(path, {"reported_time": float("nan")})
+ self.assertFalse(path.exists())
+ for raw in ('{"x":NaN}', '{"x":Infinity}', '{"x":1,"x":2}'):
+ path.write_text(raw)
+ with self.assertRaises(ValueError):
+ gym.read_json(path)
+ path.unlink()
+ gym._write_new(path, {"x": 1})
+ with self.assertRaises(FileExistsError):
+ gym._write_new(path, {"x": 2})
+ self.assertEqual(gym.read_json(path), {"x": 1})
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/research/nor45_authorized_program/independent_execution_verifier.py b/research/nor45_authorized_program/independent_execution_verifier.py
index 63e3e99fc..dbce8b5bf 100644
--- a/research/nor45_authorized_program/independent_execution_verifier.py
+++ b/research/nor45_authorized_program/independent_execution_verifier.py
@@ -161,7 +161,8 @@ def verify_authorized_execution(*,certificate:dict,query:Sequence[int],
session_context:dict,precommit_receipt:dict,provider_reference:dict,
pinned_program_authority_key:bytes,expected_program_authority_id:str,
pinned_verifier_public_key:bytes,pinned_provider_public_key:bytes,
- now_epoch:int=2, _root_policy:str="original")->dict:
+ now_epoch:int=2, _root_policy:str="original",
+ _interpreter_policy:str="original")->dict:
"""Authenticate an executable statement and fully verify provider root.
Returns the independently computed vector only to the trusted verifier
@@ -214,8 +215,18 @@ def verify_authorized_execution(*,certificate:dict,query:Sequence[int],
if statement[field]!=want:
raise ProgramAttestationError(f"cross-session or source replay: {field}")
program=statement["program"]
- values=execute_authorized_program(
- program,query,session_context["observed_degree"])
+ if _interpreter_policy=="original":
+ values=execute_authorized_program(
+ program,query,session_context["observed_degree"])
+ elif _interpreter_policy=="support_memoized":
+ # Fixed NOR60 implementation after the same original signature and
+ # independent source/session checks. Dynamic unary values live only
+ # within this invocation; no callback, result cache or supplied stride.
+ from research.nor60_authorized_interpreter import optimized_execution
+ values=optimized_execution.execute_authorized_program(
+ program,query,session_context["observed_degree"])
+ else:
+ raise ProgramAttestationError("unregistered internal NOR45 interpreter policy")
if _root_policy=="original":
independent_root=independently_computed_root(values)
elif _root_policy in ("warm","cold"):
diff --git a/research/nor60_authorized_interpreter/README.md b/research/nor60_authorized_interpreter/README.md
new file mode 100644
index 000000000..0d5819478
--- /dev/null
+++ b/research/nor60_authorized_interpreter/README.md
@@ -0,0 +1,51 @@
+# NOR60 authorized exact interpreter
+
+The [first registered results](RESULTS.md) passed all five engineering gates.
+The original 60-source combined workload ratio was 0.5639610500187702;
+the read-only archive audit replays all exact outputs and signed bindings.
+
+NOR60 adds a fixed optional interpreter to the original signed NOR45 verifier.
+It infers supported positions from the exact query and computes each needed
+unary token once per invocation. The default NOR45 route remains available.
+
+Read [REGISTRATION.md](REGISTRATION.md) for the frozen source panel, thresholds
+and measurement boundaries. The complete first result and archive audit are
+added after the registered hosted run. Fresh sources stay sealed until
+`REGISTRATION_SHA.txt` names the earlier complete registration commit.
+
+## Source-free checks
+
+```sh
+python -m unittest research.nor60_authorized_interpreter.test_optimized_execution research.nor60_authorized_interpreter.test_cohort_integrity -v
+python -O -m unittest research.nor60_authorized_interpreter.test_cohort_integrity -v
+```
+
+The checks use small synthetic inputs, historical hash audits and public test
+signers. They do not create a NOR60 source panel. Install the same
+`cryptography==46.0.4` and `gmpy2==2.3.2` dependencies used by NOR59.
+
+## Registered execution
+
+The workflow performs the first command in an upstream source-only job and
+uploads its artifact before the dependent CPU job begins the second command.
+
+```sh
+python research/nor60_authorized_interpreter/cohort.py --public-only-out nor60_first_original_60_public_only.json
+python research/nor60_authorized_interpreter/benchmark_cpu.py --public-file nor60_first_original_60_public_only.json --out nor60_first_original_cpu.json --repeats 5
+```
+
+The CPU command keeps `nor60_first_original_cpu.progress.jsonl` and writes a
+failure receipt if a process-level exception occurs. Existing paths cause
+failure before any new measurements. Future replay should use the permanent
+read-only archive auditor. A timing rerun requires a separately named result
+and cannot replace the first measurements.
+
+## Assurance scope
+
+The optimized interpreter returns the full original exact integer vector and
+the verifier checks the original signed full-index Merkle root. It preserves
+the program-authority, verifier-precommit, provider-signature and query/session
+checks. Every dynamic memo exists only within one evaluation. Public fixture
+keys support reproducibility; external honest authority and source premises
+remain. This module supplies executable tests and a prose derivation, with
+the Lean proof obligation recorded in the registration.
diff --git a/research/nor60_authorized_interpreter/REGISTRATION.md b/research/nor60_authorized_interpreter/REGISTRATION.md
new file mode 100644
index 000000000..150b82108
--- /dev/null
+++ b/research/nor60_authorized_interpreter/REGISTRATION.md
@@ -0,0 +1,203 @@
+# NOR-60: exact authorized execution with support compression and local unary reuse
+
+## Freeze and scope
+
+This protocol and the complete generator, interpreter, tests and benchmark are
+committed before any NOR60 source is generated. `REGISTRATION_SHA.txt` is added
+in a later trigger commit and contains the full earlier registration commit.
+Generation refuses an absent or malformed marker. The source-only job uploads
+its complete public JSON and SHA before the dependent CPU job can execute a
+reference output or sign a certificate. A first source, timing or reporting
+failure remains in the record. Replacement inputs and threshold changes are
+excluded from this registered run.
+
+Issue [280](https://github.com/MoralityLabAI/Compactification-Theory/issues/280)
+motivates this final experiment. NOR59's first workload recorded a whole
+signed-verifier ratio of sums of source medians of 0.9915548176255947 for its
+warm indexed Merkle implementation. Its original source SHA is
+`be516ca2149cf6d5970842891280f7f7d3407706b9c08b02c4719d153418b0f9`;
+CPU SHA is `c56d65e676e7fd81668d3919eb9cbf29922fbe34cfe350418e3c67ae87c62b2b`.
+NOR60 targets repeated unary execution and exact inversion of sparse sources.
+
+The measured system remains the original NOR45 signed executable-program
+grammar: observed degree 512 or 1024, full length 769 or 1537, unary operations
+I/N/R/S, allowed delays 64/80/96/112 and spacings 24/32, amplitudes -2/-1/1/2,
+and optional signed suffix beginning at D+32. Public deterministic research
+keys sign every fixture. Honest program authority and independently trusted
+source are premises. The verifier binds a nonce in each call; a deployment
+ledger that consumes nonces is outside this experiment.
+
+## Exact mechanism and fixed trust boundary
+
+The optional `_interpreter_policy="support_memoized"` dispatches to one fixed
+internal implementation after the original program-authority signature,
+verifier precommit, provider signature and independent query/session binding
+checks. The original policy remains the default. Source type, original full
+length and the unchanged NOR45 program grammar are checked again inside the
+optimized implementation. Callers cannot supply an interpreter callback,
+precomputed result, memo table or claimed support stride.
+
+The source scan chooses s=8 if every off-stride entry is zero, otherwise s=4
+under the same condition, otherwise s=1. For F(x)=H(x^s), form H by selecting
+the original coefficients at multiples of s. Apply NOR45's existing exact
+integer inverse recurrence to H at length floor((m-1)/s)+1 and expand into
+the original m positions. For a normalized unit series, uniqueness of the
+finite inverse establishes equality modulo x^m. N uses each original index;
+S doubles that index with the original truncation. All program shifts and
+optional suffix positions retain NOR45 semantics.
+
+Each invocation creates a new local dictionary of unary values keyed by its
+needed operation token. A token is computed once for that query. The values
+are discarded when the invocation returns. Profile P4 asks for R three times,
+so this implementation computes one R. No dynamic result is shared across
+sources or signed sessions. NOR59's geometry cache may retain only static
+indexed zero/padding hashes and static subtrees. Complete output vectors and
+their original full Merkle roots must agree in every arm.
+
+Source-free tests compare finite inverses against independent convolution,
+check short and odd lengths, test all base/u/v token combinations, and cover
+signed source changes, nonce swaps, forged keys/signatures, false provider
+roots, invalid types, wrong full lengths, nonunit inputs and invalid grammar.
+Instrumentation that counts calls appears only in toy tests. The benchmark
+retains all original function identities and checks source-code hashes.
+
+## Public source panel and content identity
+
+The exact panel has 2 degrees x 3 source strides x 5 profiles x 2 replicates,
+giving 60 cases in degree/stride/profile/replicate order. Degrees are 512 and
+1024. Strides are 1, 4 and 8. All five profiles are fixed below.
+
+| Profile | Bits | Base | u | v | Delay | Spacing | Amplitude | Hidden beta | Hidden op |
+|---|---:|---|---|---|---:|---:|---:|---:|---|
+| P0 | 2 | I | R | N | 64 | 24 | 1 | 0 | none |
+| P1 | 8 | N | S | I | 80 | 32 | -2 | 1 | R |
+| P2 | 16 | R | I | S | 96 | 24 | 2 | -1 | S |
+| P3 | 2 | S | N | R | 112 | 32 | -1 | 0 | none |
+| P4 | 8 | R | R | R | 80 | 24 | 1 | 2 | N |
+
+The domain is `NOR60/SOURCE/v1`. The random seed is the big-endian integer
+SHA-256 of `domain|degree|stride|profile|replicate`. F[0]=1. Every positive
+off-stride coefficient is zero. At a supported index, the magnitude is
+uniform in [2^(bits-1),2^bits-1]. Replicate 0 draws a seeded random sign;
+replicate 1 uses (-1)^(index/stride). All full input coefficients are stored
+as canonical signed decimal strings. A new row's source identity hashes its
+canonical schema-bearing public core. It contains no output, root, signature,
+session nonce, reference value, cache contents or timing.
+
+Every ZIP and public JSON SHA for the 588 first NOR51-NOR59 identities is
+verified, including NOR57's original reporting failure and NOR57B. A separate
+canonical query-content hash covers only vector length and the full signed
+coefficient strings. It ignores experiment schema and descriptive metadata.
+This catches vector reuse that a renamed experiment identity cannot catch.
+The known 588 historical rows contain 588 distinct vectors. A third hash
+binds query content, degree and program for the 60 historical NOR59 rows that
+carry a program. Prior reciprocal-only rows have no authorized program;
+their complete vectors remain covered by the content audit. Unrecognized or
+malformed historical rows cause failure. New IDs, query vectors and program
+inputs must each be unique within the 60 cases and disjoint from the
+applicable historical sets.
+
+## Four paired arms
+
+The hosted runner is Ubuntu 24.04 with CPython 3.12,
+`cryptography==46.0.4`, `gmpy2==2.3.2` and `OMP_NUM_THREADS=1`. This is a
+CPU-only engineering experiment. The complete source-free test preflight
+runs before measurement. Six geometry templates are built once outside
+timed calls after clearing the geometry cache, and their cost is recorded.
+
+| Arm | Interpreter | Root construction |
+|---|---|---|
+| original_interpreter_full_root | Original NOR45 | Original full indexed Merkle |
+| original_interpreter_warm_root | Original NOR45 | NOR59 warm geometry template |
+| optimized_interpreter_full_root | Support compression and local unary reuse | Original full indexed Merkle |
+| optimized_interpreter_warm_root | Support compression and local unary reuse | NOR59 warm geometry template |
+
+Each source has one original complete reference output and original root,
+both constructed outside timing. Five distinct session nonces are derived
+from `NOR60/VERIFIER-ISSUED-RESEARCH-NONCE/v1|source_sha|rep`. Each repetition
+has a valid program certificate, verifier precommit and signed provider root.
+The same bundle is passed to all four arms in that repetition. Signing/setup
+time and all signed bundles are retained separately.
+
+Before timing, each arm executes once for exact parity. The five timed
+repetitions shuffle arm order from SHA-256 of
+`NOR60/ARM-ORDER/v1|source_sha|rep`. Every timed call includes the original
+signature and binding checks, full exact execution and full-root validation.
+Vector comparisons, durable journal writes and output serialization occur
+after the timer stops. Every sample must be finite and positive, return the
+original complete vector, and return the original root.
+
+After all primary samples for a source, one separate optimized-interpreter
+call uses NOR59's cold root policy. It constructs its template during that
+call. This secondary measurement describes cold template construction within
+an already running process. Process startup, fresh CPU caches, key generation,
+provider computation and signing are separately scoped. That single sample
+does not affect any registered threshold. Complete output coefficients are
+serialized after primary timing, along with the original indexed output
+digest, full root and all five signed bundles.
+
+## Five registered gates
+
+1. For all 40 stride-4/8 cases, the median of sourcewise ratios of optimized
+ interpreter/full-root median time to original interpreter/full-root median
+ time must be strictly less than 0.70.
+2. Across all 60 sources, the sum of optimized-interpreter/warm-root source
+ median times divided by the sum of original-interpreter/full-root source
+ median times must be strictly less than 0.80.
+3. For all 12 P4 cases, the median of sourcewise optimized-interpreter/full-root
+ to original-interpreter/full-root median ratios must be strictly less
+ than 0.65.
+4. All 60 full output vectors and original roots must agree across all four
+ signed routes, with checked support closure and all source-free security
+ tests passing.
+5. Retain the first complete source panel and its upstream SHA, all 588
+ historical exclusions and the schema-independent content audit, all five
+ samples per arm and five distinct signed sessions, unmodified runtime
+ helpers and source hashes, and the original CPU/source/journal bytes.
+
+Engineering PASS requires all five. Any failure is preserved as the first
+engineering FAIL. The read-only archive audit independently replays hashes,
+the source roster, signed outputs and registered score arithmetic. It also
+checks the upstream source upload and first-run provenance. The one-shot
+archive publisher is removed after publishing those original bytes.
+
+The P4 threshold includes both dense and sparse cases. Its median alone
+cannot separate memoization from compression. Dense P4's four cases and the
+source-free call-count test report the memoization effect; source-derived
+reduced lengths describe compression. The four arms isolate interpreter and
+root changes. They do not separate every individual interpreter subchange.
+
+Secondary reports include degree/stride/profile summaries, dense P4, a
+4,096-draw descriptive bootstrap over ten degree/profile blocks of six cases,
+geometry setup costs and cold template calls. The fixed panel and one host
+limit population claims. Bootstrap intervals are descriptive and do not
+replace the engineering thresholds.
+
+## Failure retention and stopping rule
+
+The source job writes with exclusive creation. The CPU job also refuses any
+existing final output, progress journal or failure file. An append-only
+SHA-chained journal records the attempt start, source start, every completed
+timed arm and source outcome; writes are flushed with `fsync` outside timing.
+The final CPU JSON binds the journal SHA. A source exception records its
+partial samples and failure, then continues through the remaining fixed
+inputs. A process-level exception writes a failure receipt and retains the
+journal. A hard kill leaves the durable journal for the workflow's unconditional
+artifact upload. A later run keeps a distinct follow-up identity.
+
+The first hosted job has a 20-minute hard limit. There are exactly 60 sources,
+five timed repetitions and four primary arms. No automatic retry, replacement
+source, adaptive threshold or model/GPU work is authorized by this protocol.
+Follow-up work must use a separately identified exploratory or registered
+experiment, preserving the first record.
+
+## Claims available from completion
+
+The result can establish exact execution parity and measured CPU costs for
+this finite signed-program panel under the recorded environment. The support
+substitution argument is mathematical prose backed by executable controls.
+It has no companion Lean kernel proof in this experiment. The external
+authority's semantic correctness, deployment key secrecy, cryptographic
+security assumptions and nonce-state management remain explicit premises.
+No zero-knowledge, succinctness, Bitcoin consensus, learned-model result or
+universal acceleration follows from these timings.
diff --git a/research/nor60_authorized_interpreter/REGISTRATION_SHA.txt b/research/nor60_authorized_interpreter/REGISTRATION_SHA.txt
new file mode 100644
index 000000000..757c1f0e2
--- /dev/null
+++ b/research/nor60_authorized_interpreter/REGISTRATION_SHA.txt
@@ -0,0 +1 @@
+363ef19abeba68e2897c593697ad56e2aaf4fefc
diff --git a/research/nor60_authorized_interpreter/RESULTS.md b/research/nor60_authorized_interpreter/RESULTS.md
new file mode 100644
index 000000000..bd70cdae0
--- /dev/null
+++ b/research/nor60_authorized_interpreter/RESULTS.md
@@ -0,0 +1,283 @@
+# NOR60 first result: exact authorized execution with support compression and local unary reuse
+
+**The first registered run passed all five engineering gates.** Across the
+60-source workload, the sum of complete signed-verifier source medians fell
+from **8,286.439526 ms** to **4,673.229136 ms** when the optimized interpreter
+used NOR59's warm indexed Merkle template. The ratio was
+**0.5639610500187702**, a **43.603895% reduction** for this fixed workload.
+Every original output vector and full indexed Merkle root agreed. The
+independent archive audit replayed all 60 original interpreter outputs and
+authenticated all 300 signed bundles. [1], [2], [3]
+
+This result closes the NOR execution and verification engineering sequence at
+its measured boundary. The reusable implementation is the fixed optional
+NOR45 policy `_interpreter_policy="support_memoized"`; the original policy
+remains the default. The [Authorized Exact Gym](../authorized_exact_gym/README.md)
+provides public development tasks from the resulting signed-execution
+contract. This report proposes no further numbered NOR experiment.
+
+## Registered panel and five gates
+
+The panel contains 2 observed degrees, 512 and 1024, crossed with source
+strides 1/4/8, five fixed authorized program profiles, and two sign-family
+replicates. Full vector lengths are 769 and 1537. All 60 public inputs were
+uploaded before reference computation and CPU measurement. Their exact
+vectors are distinct from all 588 original NOR51-NOR59 vectors, including the
+retained NOR57 failure. A content hash that excludes experiment metadata
+establishes this exclusion separately from schema-bearing source IDs. [1], [3], [4]
+
+| Registered gate | Frozen requirement | First observed result | Outcome |
+|---|---|---|---|
+| Sparse interpreter improvement | Median sourcewise optimized-interpreter/full-root ratio strictly below 0.70 on all 40 sparse cases | **0.20419599493475604** | PASS |
+| Complete workload improvement | Combined-interpreter/warm-root ratio of sums of source medians strictly below 0.80 on all 60 cases | **0.5639610500187702** | PASS |
+| P4 repeated-R improvement | Median sourcewise optimized-interpreter/full-root ratio strictly below 0.65 on all 12 P4 cases | **0.11972620591979487** | PASS |
+| Exact signed execution and security | Complete vector/root parity on all 60 cases, checked support and passing source-free controls | **60/60**, with **43/43** preflight tests passing | PASS |
+| First-source and evidence integrity | Original 60 inputs, 588 exclusions, five samples per arm, five signed sessions per source, unchanged measured code and retained first evidence | **1,200** primary samples, **300** bundles, **1,324** journal events | PASS |
+
+Each source has five samples per arm. A source's median is computed within
+its arm. The sparse and P4 gates then take the median of paired sourcewise
+ratios. The workload gate divides the sum of combined-arm source medians by
+the sum of baseline source medians. These two estimands weight the workload
+differently. Their definitions and thresholds were committed before the
+source panel existed. [2], [4]
+
+## Four-arm result
+
+Every arm verifies the same original program-authority certificate,
+verifier-signed precommit and provider-signed root within a repetition. All
+arms recompute the full authorized integer output and validate the original
+full-index Merkle commitment. The factorial comparison changes the
+interpreter policy and root construction independently. [2], [4]
+
+| Interpreter and root | Sum of 60 source medians, ms | Ratio of sums to baseline | Median paired sourcewise ratio |
+|---|---:|---:|---:|
+| Original interpreter, original root | 8,286.439526 | 1.000000000000 | 1.000000000000 |
+| Original interpreter, warm template | 8,166.188945 | 0.985488269042 | 0.979600803588 |
+| Optimized interpreter, original root | 4,751.423296 | 0.573397450267 | 0.259004922735 |
+| Optimized interpreter, warm template | 4,673.229136 | 0.563961050019 | 0.213505137249 |
+
+The interpreter change accounts for 3,535.016230 ms of the reduction in the
+sum-of-medians workload. Adding the warm root to that interpreter saves a
+further 78.194160 ms. The complete combined change saves 3,613.210390 ms.
+These differences come from the same first paired run. [2]
+
+### Sparse and dense sources
+
+| Source group | Cases | Interpreter/full-root median paired ratio | Combined median paired ratio | Combined ratio of sums | Cold combined single-call median ratio |
+|---|---:|---:|---:|---:|---:|
+| Dense, stride 1 | 20 | 0.978560716037 | 0.983864173643 | 0.702158821358 | 0.986106322905 |
+| Stride 4 | 20 | 0.236668007461 | 0.207001024209 | 0.158314117480 | 0.256105693635 |
+| Stride 8 | 20 | 0.153227564757 | 0.107321802608 | 0.090455182993 | 0.177032133871 |
+| All sparse, strides 4/8 | 40 | 0.204195994935 | 0.157365450499 | 0.128001167673 | 0.219017138179 |
+
+For the 40 sparse sources, the baseline sum is 1,994.517477 ms and the
+combined sum is 255.300566 ms. The inverse computation uses lengths 193 or
+97 at full length 769, and lengths 385 or 193 at full length 1537. It expands
+the exact result back into every original position before the signed output
+check. [2]
+
+Dense sources retain the full inverse length. Their near-one median paired
+ratio shows that a typical dense case changes little. Their ratio of sums is
+lower because the expensive P4 cases benefit from unary reuse. Dense cases
+contribute 6,291.922049 ms to the baseline sum and 4,417.928570 ms to the
+combined sum. This concentration of saved time explains the difference
+between dense medians and workload totals. [2]
+
+### Program profiles and P4
+
+Each profile has 12 cases. P4 requests R for its base, left term and right
+term. The optimized interpreter computes that inverse once within the
+authenticated invocation. Across one complete evaluation of the 60-source
+panel, the declared program structure contains 84 R calls in the original
+interpreter and 60 in the optimized interpreter. All unary calls decrease
+from 216 to 180. Source-free instrumentation verifies invocation-local
+reuse and checks that a changed source receives a newly computed result. [2], [5]
+
+| Profile | Original-interpreter/warm-root ratio of sums | Optimized-interpreter/full-root median paired ratio | Combined ratio of sums |
+|---|---:|---:|---:|
+| P0 | 0.967759944824 | 0.271994848373 | 0.603789597286 |
+| P1 | 0.959987234659 | 0.263002790144 | 0.755008746839 |
+| P2 | 0.971989512972 | 0.268376045328 | 0.863205599118 |
+| P3 | 1.022998730933 | 0.270824714390 | 0.636970172290 |
+| P4 | 0.999805188890 | 0.119726205920 | 0.299255710484 |
+
+The P4 primary group includes eight sparse cases, so its 0.119726 median
+contains the effects of compression and repeated-R reuse. The four dense P4
+cases keep the reciprocal length unchanged and use the original full root in
+the interpreter comparison. Their median paired ratio is
+**0.3779104278756591**; the ratio of sums is **0.36658863220404964**.
+Original dense-P4 source medians total 2,847.919486 ms, and optimized
+interpreter/full-root medians total 1,044.014909 ms. This secondary contrast
+supports the reuse mechanism while retaining the optimized path's input
+scanning and dispatch costs. It was outside the registered pass thresholds.
+[2], [4]
+
+The root-only change also varies across profiles. P3's ratio of sums is
+1.022999. Reporting that subgroup preserves the measured variation in this
+single-host run. [2]
+
+## Descriptive uncertainty
+
+The registered secondary calculation resamples ten degree/profile blocks,
+each containing all six stride/replicate cases, for 4,096 seeded bootstrap
+draws. The reported intervals describe the ratio of sums of source medians.
+The independent auditor recomputed every interval from the original samples.
+[2], [3], [4]
+
+| Arm versus original interpreter/full root | Observed ratio of sums | Descriptive 95% block interval |
+|---|---:|---|
+| Original interpreter, warm template | 0.985488269042 | [0.965806779175, 0.998846740973] |
+| Optimized interpreter, original root | 0.573397450267 | [0.374990214345, 0.815881380084] |
+| Optimized interpreter, warm template | 0.563961050019 | [0.369656049554, 0.797667982811] |
+
+Only ten blocks and one hosted machine contribute to these intervals.
+Program cost differs substantially across the panel. The workload was fixed
+by registration; this resampling does not establish a distribution of
+performance over arbitrary authorized programs or other machines. [2], [4]
+
+## Geometry setup and cold template cost
+
+The warm path builds six templates after clearing the geometry cache and
+before any timed verifier call. Their combined recorded construction time is
+**8.738125 ms**. Canonical template encodings total **360,924 bytes**; that
+encoding size does not measure the complete Python object heap. All cached
+nodes depend solely on trusted length, position and support geometry. [2], [4]
+
+| Full length | Stride | One-time build, ms | Canonical template bytes | Dynamic supported leaves | Static nodes |
+|---:|---:|---:|---:|---:|---:|
+| 769 | 1 | 0.950522 | 18,124 | 769 | 502 |
+| 769 | 4 | 1.362894 | 45,772 | 193 | 1,270 |
+| 769 | 8 | 1.037921 | 56,140 | 97 | 1,558 |
+| 1,537 | 1 | 0.863652 | 36,520 | 1,537 | 1,013 |
+| 1,537 | 4 | 1.738171 | 91,816 | 385 | 2,549 |
+| 1,537 | 8 | 2.784965 | 112,552 | 193 | 3,125 |
+
+After each source's primary samples, one combined call reconstructs its
+template inside the timed call. These 60 cold-template samples total
+**4,755.577124 ms**. Dividing that sum by the baseline sum of source medians
+gives **0.573898730459401**. The median of paired cold-sample/baseline-median
+ratios is **0.2922103043909299** across all 60 cases. These are secondary
+single-call measurements taken in an already running process. They leave
+process startup and CPU cache initialization outside their scope. [2], [4]
+
+Charging all six one-time template builds once to the combined
+sum-of-medians workload yields a descriptive ratio of
+**0.5650155590117559**. This accounting calculation uses the already measured
+setup values and source medians; it adds no timing run. [2]
+
+## What the timer includes
+
+Each primary timer spans one complete call to
+`verify_authorized_execution`: the original authority-signature verification,
+NOR44 precommit/provider verification, independent source/session binding,
+full integer program execution, and validation of the computed original
+full-index Merkle root against both signed references. The result is returned
+before the timer stops. Each repetition passes the same signed bundle to all
+four arms, with deterministic source/repetition-seeded interleaving. [2], [4]
+
+The reference vector and original root are constructed before those calls.
+Five signed bundles are also prepared outside the measured region. The
+benchmark checks each returned vector and root after its timer stops, then
+writes its journal entry. Durable journal flushes and decimal serialization
+of full vectors are outside the primary timing. Four untimed parity calls
+per source precede the five primary repetitions. The cold-template diagnostic
+follows them. [4], [6]
+
+The recorded reference-execution total is 8,088.139124 ms, and independent
+reference-root construction totals 173.946422 ms. Recorded setup for the 300
+signed bundles totals 675.667286 ms. That setup counter starts inside each
+bundle loop, after fixture signer initialization and construction of the
+provider's output tree. Those earlier operations also occur outside primary
+timing and have no separate phase counter. The complete CPU job lasted
+198 seconds, including environment setup, source-free tests and evidence
+handling. [1], [2], [6]
+
+The run recorded CPython **3.12.16**, `cryptography==46.0.4`,
+`gmpy2==2.3.2`, four logical CPUs and a process peak RSS of **76,108 KiB**.
+The hosted workflow selected Ubuntu 24.04. The platform string was
+`Linux-7.0.0-1017-azure-x86_64-with-glibc2.39`; the CPU-model field returned
+`x86_64`, so the receipt supplies no specific processor model. [2], [6]
+
+## Immutable first-run provenance
+
+The run is [44327994013](https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44327994013),
+attempt 1. The archived ZIP is the byte-identical original hosted CPU
+artifact and contains the original source JSON, CPU JSON and progress
+journal. The report and independent audit retain its first score. [1], [3]
+
+| Provenance item | Identifier |
+|---|---|
+| Registration commit | `363ef19abeba68e2897c593697ad56e2aaf4fefc` |
+| First-run trigger commit | `a7edfa6850206fc01a9a67650e09ddd31d198766` |
+| Original source artifact | `14438371253` |
+| Original source job | `134884681802` |
+| Original CPU artifact | `14436529899` |
+| Original CPU job | `134884822335` |
+
+| Event | Singapore time, 2026-11-18 | Original UTC receipt field |
+|---|---|---|
+| Source artifact uploaded | 22:47:17 +08:00 | `2026-11-18T14:47:17Z` |
+| Source job completed | 22:47:19 +08:00 | `2026-11-18T14:47:19Z` |
+| CPU job started | 22:47:21 +08:00 | `2026-11-18T14:47:21Z` |
+| CPU artifact uploaded | 22:50:36 +08:00 | `2026-11-18T14:50:36Z` |
+| CPU job completed | 22:50:39 +08:00 | `2026-11-18T14:50:39Z` |
+
+The source upload precedes CPU job start by four seconds. The independent
+auditor checks this ordering, the trigger/run bindings and attempt number.
+It also checks source-code hashes against every original measured file in
+the CPU registry. [1], [3]
+
+| Original evidence | Bytes | SHA-256 |
+|---|---:|---|
+| Public source JSON | 1,021,038 | `b44655796bdc4c9ed47fade2cd9cd563985d0b40ca1177856bb45f36d17185fd` |
+| CPU JSON | 27,720,732 | `fba38d6346d35b371464c1d811360879918aeccc0a8932538b6f3206cc4bc52d` |
+| Progress journal | 898,921 | `48828148a4dbce8d53e86002f5029902f4e80857ec6f53eddd25c09b3fe21dea` |
+| Original hosted CPU/evidence ZIP | 12,310,423 | `c92e2c4e3bfcfd8e1371d1504c89d6812ac263ef270fc9d62e89d335f23da53c` |
+| First receipt | 2,571 | `0bc8cdbe1c50737a12863186620d7ef40faa96509e4347392a66bad58ae471cb` |
+| Upstream source-only artifact ZIP | 73,788 | `bea12212a0696ab1b5ad85c3e901f3ed17663e3c9627fd615cbb6df44dd25e03` |
+
+The auditor pins the receipt and hosted ZIP hashes in its own code. It
+validates canonical raw JSON, reconstructs the full source grid, authenticates
+all five bundles for each source, and compares the exact stored vector with
+the original interpreter. Every journal event is linked by SHA-256. All
+1,200 timed entries match their saved duration, arm order and signed context.
+Eight additional adversarial auditor tests pass in ordinary Python and under
+`python -O`. These tests were added after the registered run and validate the
+read-only audit; they are separate from its original 43-test preflight. [3], [7]
+
+```sh
+python research/nor60_authorized_interpreter/original_archive_audit.py
+python -m unittest research.nor60_authorized_interpreter.test_archive_audit -v
+```
+
+## Engineering closure and assurance scope
+
+Support compression and invocation-local unary reuse preserve the complete
+exact NOR45 output on this registered panel. Combining them with the existing
+static geometry root reduces the measured complete verifier workload under
+the recorded environment. The implementation accepts a fixed internal policy,
+and all original authentication checks precede its execution. Every dynamic
+unary value is scoped to one authenticated invocation. [2], [3], [5]
+
+The result assumes an honest external program authority and independently
+trusted source. Every signing key used here is a public reproducible test
+fixture. The verifier binds signed session nonces within a call; it has no
+deployment store that consumes a nonce across calls. The experiment adds no
+Lean kernel proof. Its support argument and exact executable checks retain
+that distinction. [4], [5]
+
+The evidence supports a finite CPU engineering claim. Zero knowledge,
+succinctness, external-world semantic correctness, production key custody,
+cross-host performance and learned-model performance remain outside the
+measured scope. The complete original result, including subgroup regressions
+and timing boundaries, is retained for the paper and reusable gym. [1], [2], [4]
+
+## Evidence references
+
+[1]: results/nor60_first_receipt.json
+[2]: results/nor60_first_original_hosted.zip
+[3]: original_archive_audit.py
+[4]: REGISTRATION.md
+[5]: optimized_execution.py
+[6]: benchmark_cpu.py
+[7]: test_archive_audit.py
diff --git a/research/nor60_authorized_interpreter/archive_first.py b/research/nor60_authorized_interpreter/archive_first.py
new file mode 100644
index 000000000..737ce430e
--- /dev/null
+++ b/research/nor60_authorized_interpreter/archive_first.py
@@ -0,0 +1,110 @@
+"""Copy the observed first hosted ZIP byte-for-byte and record its provenance.
+
+No source, signature, output or timing is generated here. Expected raw hashes
+were observed in first-run logs and independently downloaded artifact bytes.
+This script refuses existing archive/receipt destinations.
+"""
+from __future__ import annotations
+import argparse
+import hashlib
+import json
+from pathlib import Path
+from zipfile import ZipFile
+
+RUN = 44327994013
+REGISTRATION = "363ef19abeba68e2897c593697ad56e2aaf4fefc"
+TRIGGER = "a7edfa6850206fc01a9a67650e09ddd31d198766"
+ZIP_SHA = "c92e2c4e3bfcfd8e1371d1504c89d6812ac263ef270fc9d62e89d335f23da53c"
+MEMBERS = {
+ "nor60_first_original_60_public_only.json": (1021038, "b44655796bdc4c9ed47fade2cd9cd563985d0b40ca1177856bb45f36d17185fd"),
+ "nor60_first_original_cpu.json": (27720732, "fba38d6346d35b371464c1d811360879918aeccc0a8932538b6f3206cc4bc52d"),
+ "nor60_first_original_progress.jsonl": (898921, "48828148a4dbce8d53e86002f5029902f4e80857ec6f53eddd25c09b3fe21dea"),
+}
+
+
+def require(condition, message):
+ if not condition:
+ raise ValueError(message)
+
+
+def canonical(value):
+ return (json.dumps(value, sort_keys=True, indent=2, ensure_ascii=True, allow_nan=False) + "\n").encode("ascii")
+
+
+def archive_first(source_zip, directory):
+ source_zip, directory = Path(source_zip), Path(directory)
+ target = directory / "nor60_first_original_hosted.zip"
+ receipt_path = directory / "nor60_first_receipt.json"
+ require(not target.exists() and not receipt_path.exists(), "first evidence already exists")
+ raw_zip = source_zip.read_bytes()
+ require(len(raw_zip) == 12310423 and hashlib.sha256(raw_zip).hexdigest() == ZIP_SHA,
+ "downloaded original hosted ZIP differs from observed first artifact")
+ raw = {}
+ with ZipFile(source_zip) as z:
+ require(z.testzip() is None and len(z.namelist()) == 3 and set(z.namelist()) == set(MEMBERS),
+ "original archive integrity or inventory changed")
+ for name, (size, digest) in MEMBERS.items():
+ raw[name] = z.read(name)
+ require(len(raw[name]) == size and hashlib.sha256(raw[name]).hexdigest() == digest,
+ "original member differs: " + name)
+ cpu = json.loads(raw["nor60_first_original_cpu.json"])
+ source = json.loads(raw["nor60_first_original_60_public_only.json"])
+ require(cpu["first_registration_sha"] == source["first_registration_sha"] == REGISTRATION,
+ "first registration changed")
+ require(cpu["github_run_id"] == str(RUN) and cpu["github_run_attempt"] == "1" and
+ cpu["github_sha"] == TRIGGER, "first-run provenance changed")
+ gates = cpu["first_original_five_registered_gates"]
+ primary = {
+ "sparse40_interpreter_median": cpu["primary_forty_sparse"]["median_sourcewise_ratio_to_original"]["optimized_interpreter_full_root"],
+ "all60_combined_ratio_of_sums": cpu["overall"]["source_median_ratio_of_sums_to_original"]["optimized_interpreter_warm_root"],
+ "profile4_12_interpreter_median": cpu["primary_twelve_profile4"]["median_sourcewise_ratio_to_original"]["optimized_interpreter_full_root"],
+ }
+ receipt = {
+ "schema": "nor60.first_original_60_signed_NOR45_CPU_archive.v1",
+ "original_first_registration_commit": REGISTRATION,
+ "original_trigger_commit": TRIGGER, "original_first_run": RUN,
+ "original_source_artifact_id": 14438371253, "original_CPU_artifact_id": 14436529899,
+ "original_source_job_id": 134884681802, "original_CPU_job_id": 134884822335,
+ "upstream_source_uploaded_at": "2026-11-18T14:47:17Z",
+ "source_job_completed_at": "2026-11-18T14:47:19Z",
+ "cpu_job_started_at": "2026-11-18T14:47:21Z",
+ "cpu_job_completed_at": "2026-11-18T14:50:39Z",
+ "CPU_artifact_uploaded_at": "2026-11-18T14:50:36Z",
+ "original_source_artifact_zip_sha256": "bea12212a0696ab1b5ad85c3e901f3ed17663e3c9627fd615cbb6df44dd25e03",
+ "original_source_artifact_zip_bytes": 73788,
+ "archive_zip_sha256": ZIP_SHA, "archive_zip_bytes": len(raw_zip),
+ "archive_is_byte_identical_original_hosted_artifact": True,
+ "raw_public_source_sha256": MEMBERS["nor60_first_original_60_public_only.json"][1],
+ "raw_public_source_bytes": MEMBERS["nor60_first_original_60_public_only.json"][0],
+ "raw_first_CPU_sha256": MEMBERS["nor60_first_original_cpu.json"][1],
+ "raw_first_CPU_bytes": MEMBERS["nor60_first_original_cpu.json"][0],
+ "raw_progress_journal_sha256": MEMBERS["nor60_first_original_progress.jsonl"][1],
+ "raw_progress_journal_bytes": MEMBERS["nor60_first_original_progress.jsonl"][0],
+ "original_first_five_gates": gates, "first_original_engineering_pass": all(gates.values()),
+ "original_primary": primary,
+ "original_source_median_wall_ms": cpu["overall"]["source_median_total_ms"],
+ "source_count": 60, "exact_vectors_retained": 60, "signed_bundles_retained": 300,
+ "primary_timing_samples_retained": 1200,
+ "progress_journal_events": cpu["progress_journal_event_count"],
+ "scope": "Original finite CPU engineering result under public test keys and an honest external authority premise. No retiming or regenerated evidence."
+ }
+ receipt_raw = canonical(receipt)
+ directory.mkdir(parents=True, exist_ok=True)
+ with target.open("xb") as stream:
+ stream.write(raw_zip)
+ with receipt_path.open("xb") as stream:
+ stream.write(receipt_raw)
+ return {"archive_sha256": ZIP_SHA, "receipt_sha256": hashlib.sha256(receipt_raw).hexdigest(),
+ "primary": primary, "first_original_engineering_pass": all(gates.values())}
+
+
+def main():
+ p = argparse.ArgumentParser(description=__doc__)
+ p.add_argument("--input-zip", type=Path, required=True)
+ p.add_argument("--directory", type=Path, default=Path(__file__).resolve().parent / "results")
+ args = p.parse_args()
+ print(json.dumps(archive_first(args.input_zip, args.directory), sort_keys=True, indent=2))
+
+
+if __name__ == "__main__":
+ main()
diff --git a/research/nor60_authorized_interpreter/benchmark_cpu.py b/research/nor60_authorized_interpreter/benchmark_cpu.py
new file mode 100644
index 000000000..4741b79fa
--- /dev/null
+++ b/research/nor60_authorized_interpreter/benchmark_cpu.py
@@ -0,0 +1,399 @@
+"""NOR60 first registered four-arm signed-program CPU experiment.
+
+The first source fixture must already exist and be archived upstream. Every
+source and every timed call is journaled with fsync outside its timed region.
+Existing output or journal paths are refused, including an interrupted run.
+"""
+from __future__ import annotations
+import argparse
+import importlib.metadata
+import json
+import math
+import os
+import platform
+import random
+import statistics
+import subprocess
+import sys
+import time
+from collections import defaultdict
+from hashlib import sha256
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[2]
+if str(ROOT) not in sys.path:
+ sys.path.insert(0, str(ROOT))
+from research.nor45_authorized_program import independent_execution_verifier as nor45
+from research.nor45_authorized_program import program_authority as authority
+from research.nor44_session_protocol import session_protocol as session
+from research.nor43_authenticated_witness import signed_witness as trees
+from research.nor59_authorized_merkle import authorized_root
+from research.nor59_authorized_merkle.benchmark_cpu import prewarm_original_signed_geometries
+from research.nor60_authorized_interpreter import cohort, optimized_execution
+
+SCHEMA = "nor60.first_60_full_signed_authorized_four_arm_CPU.v1"
+REPEATS = 5
+ARMS = ("original_interpreter_full_root", "original_interpreter_warm_root",
+ "optimized_interpreter_full_root", "optimized_interpreter_warm_root")
+MODES = {ARMS[0]: ("original", "original"), ARMS[1]: ("original", "warm"),
+ ARMS[2]: ("support_memoized", "original"), ARMS[3]: ("support_memoized", "warm")}
+SECURITY_MODULES = (
+ "research.nor60_authorized_interpreter.test_optimized_execution",
+ "research.nor60_authorized_interpreter.test_cohort_integrity",
+ "research.nor60_authorized_interpreter.test_reporting",
+ "research.nor59_authorized_merkle.test_authorized_root",
+ "research.nor45_authorized_program.test_program_authority",
+ "research.nor44_session_protocol.test_session_protocol",
+ "research.nor58_static_merkle.test_template",
+)
+
+
+def canonical(obj):
+ return cohort.canonical(obj)
+
+
+def require(condition, message):
+ cohort.require(condition, message)
+
+
+class Journal:
+ """Exclusive append-only progress with a SHA chain and durable flush."""
+ def __init__(self, path):
+ path.parent.mkdir(parents=True, exist_ok=True)
+ self.stream = path.open("xb")
+ self.previous = "0" * 64
+ self.count = 0
+
+ def write(self, event, **fields):
+ core = {"ordinal": self.count, "event": event, "previous_sha256": self.previous, **fields}
+ digest = sha256(canonical(core)).hexdigest()
+ record = {**core, "event_sha256": digest}
+ self.stream.write((json.dumps(record, sort_keys=True, separators=(",", ":")) + "\n").encode("ascii"))
+ self.stream.flush()
+ os.fsync(self.stream.fileno())
+ self.previous = digest
+ self.count += 1
+
+ def close(self):
+ self.stream.close()
+
+
+def summarize(rows):
+ if not rows:
+ return {"count": 0}
+ totals = {arm: sum(row["arm_medians_ms"][arm] for row in rows) for arm in ARMS}
+ return {"count": len(rows), "source_median_total_ms": totals,
+ "source_median_ratio_of_sums_to_original": {arm: totals[arm] / totals[ARMS[0]] for arm in ARMS},
+ "median_sourcewise_ratio_to_original": {
+ arm: statistics.median(row["arm_medians_ms"][arm] / row["arm_medians_ms"][ARMS[0]]
+ for row in rows) for arm in ARMS},
+ "median_cold_combined_single_call_over_original_median": statistics.median(
+ row["secondary_cold_combined_ms"] / row["arm_medians_ms"][ARMS[0]] for row in rows)}
+
+
+def bootstrap(rows):
+ groups = defaultdict(list)
+ for row in rows:
+ groups[(row["observed_degree"], row["program_profile"])].append(row)
+ if len(groups) != 10 or any(len(block) != 6 for block in groups.values()):
+ return {"status": "incomplete registered ten-block panel"}
+ keys = sorted(groups)
+ result = {}
+ for index, arm in enumerate(ARMS[1:]):
+ rng = random.Random(202611600010 + index)
+ draws = []
+ for _ in range(4096):
+ selection = [row for key in (rng.choice(keys) for _ in keys) for row in groups[key]]
+ draws.append(sum(row["arm_medians_ms"][arm] for row in selection) /
+ sum(row["arm_medians_ms"][ARMS[0]] for row in selection))
+ draws.sort()
+ result[arm] = {"descriptive_95pct_ten_block_interval": [draws[102], draws[3993]]}
+ return {"block_count": 10, "bootstrap_repeats": 4096, "descriptive_intervals": result}
+
+
+def source_code_hashes():
+ paths = {"research/nor60_authorized_interpreter/optimized_execution.py",
+ "research/nor60_authorized_interpreter/cohort.py",
+ "research/nor60_authorized_interpreter/benchmark_cpu.py",
+ "research/nor45_authorized_program/independent_execution_verifier.py",
+ "research/nor45_authorized_program/program_authority.py",
+ "research/nor44_session_protocol/session_protocol.py",
+ "research/nor43_authenticated_witness/signed_witness.py",
+ "research/nor59_authorized_merkle/authorized_root.py",
+ "research/nor58_static_merkle/template.py",
+ "research/nor59_authorized_merkle/benchmark_cpu.py",
+ "research/nor59_authorized_merkle/cohort.py",
+ "research/rrc_compactification/compound25.py"}
+ paths.update(name.replace(".", "/") + ".py" for name in SECURITY_MODULES)
+ # Include every transitively imported repository Python file. This binds
+ # NOR52/NOR51 algebra, GMP/NOR46 helpers, and provider verification too.
+ for module in tuple(sys.modules.values()):
+ filename = getattr(module, "__file__", None)
+ if filename:
+ path = Path(filename).resolve()
+ if path.suffix == ".py" and path.is_relative_to(ROOT):
+ paths.add(path.relative_to(ROOT).as_posix())
+ return {p: sha256((ROOT / p).read_bytes()).hexdigest() for p in sorted(paths)}
+
+
+def security_preflight(journal):
+ command = [sys.executable, "-m", "unittest", *SECURITY_MODULES, "-v"]
+ result = subprocess.run(command, cwd=ROOT, capture_output=True, text=True, timeout=300)
+ log = result.stdout + result.stderr
+ receipt = {"command": ["python", "-m", "unittest", *SECURITY_MODULES, "-v"],
+ "returncode": result.returncode, "log_sha256": sha256(log.encode()).hexdigest(),
+ "complete_log": log, "passed": result.returncode == 0}
+ journal.write("source_free_security_preflight", **receipt)
+ require(receipt["passed"], "source-free signed security preflight failed")
+ return receipt
+
+
+def make_signed_bundles(query, program, degree, source_sha, output, expected_root):
+ authority_signer = authority.test_authority_private_key()
+ provider_signer, verifier_signer = trees.test_private_key(), session.test_verifier_private_key()
+ authority_pub = authority.public_key_of(authority_signer)
+ provider_pub, verifier_pub = trees.test_reference_public_key(), session.public_key_bytes(verifier_signer)
+ tree = trees.OutputTree(output)
+ require(tree.root.hex() == expected_root, "provider and independent original Merkle roots differ")
+ bundles = []
+ for rep in range(REPEATS):
+ nonce = sha256(f"NOR60/VERIFIER-ISSUED-RESEARCH-NONCE/v1|{source_sha}|{rep}".encode("ascii")).digest()
+ begin = time.perf_counter_ns()
+ verifier_session = session.VerifierSession(source_sha256=source_sha, observed_degree=degree,
+ coefficient_count=len(query), provider_id=trees.PROVIDER_ID,
+ pinned_provider_public_key=provider_pub, verifier_signing_key=verifier_signer,
+ expires_epoch=100, nonce=nonce, test_only=True)
+ precommit = verifier_session.precommit(session.proposal_digest(query, verifier_session.context), now_epoch=1)
+ provider = session.sign_provider_reference(tree, precommit, verifier_session.context,
+ verifier_pub, provider_signer, now_epoch=2)
+ certificate = authority.sign_authorized_program(program=program, query=query,
+ context=verifier_session.context, precommit_receipt=precommit,
+ pinned_verifier_public_key=verifier_pub, expected_output_merkle_root=expected_root,
+ program_authority_signer=authority_signer, now_epoch=2)
+ elapsed = time.perf_counter_ns() - begin
+ kwargs = {"certificate": certificate, "query": query, "session_context": verifier_session.context,
+ "precommit_receipt": precommit, "provider_reference": provider,
+ "pinned_program_authority_key": authority_pub,
+ "expected_program_authority_id": authority.TEST_AUTHORITY_ID,
+ "pinned_verifier_public_key": verifier_pub, "pinned_provider_public_key": provider_pub,
+ "now_epoch": 2}
+ bundles.append({"kwargs": kwargs, "signed_setup_ns_outside_timing": elapsed,
+ "session_nonce_sha256": sha256(nonce).hexdigest(),
+ "signed_context_sha256": sha256(session.canonical(verifier_session.context)).hexdigest(),
+ "authority_certificate": certificate, "verifier_precommit": precommit,
+ "provider_reference": provider, "session_context": verifier_session.context,
+ "authority_certificate_bytes": len(session.canonical(certificate)),
+ "verifier_precommit_bytes": len(session.canonical(precommit)),
+ "provider_reference_bytes": len(session.canonical(provider))})
+ require(len({bundle["session_nonce_sha256"] for bundle in bundles}) == REPEATS,
+ "signed repetition sessions are not distinct")
+ return bundles
+
+
+def run_arm(arm, bundle):
+ interpreter, root = MODES[arm]
+ return nor45.verify_authorized_execution(**bundle["kwargs"],
+ _interpreter_policy=interpreter, _root_policy=root)
+
+
+def run(public_file: Path, journal: Journal, repeats=REPEATS):
+ require(repeats == REPEATS, "first NOR60 requires exactly five repeats")
+ registered = cohort.registration_sha()
+ fixture, source_sha = cohort.read_fixture(public_file)
+ original_program, original_root = nor45.execute_authorized_program, nor45.independently_computed_root
+ original_optimized = optimized_execution.execute_authorized_program
+ code_before = source_code_hashes()
+ journal.write("experiment_started", registration_sha=registered, source_sha256=source_sha,
+ source_count=60, repeats=REPEATS, arms=list(ARMS), source_code_sha256=code_before)
+ security = security_preflight(journal)
+ authorized_root._geometry_only_warm_template.cache_clear()
+ geometry = prewarm_original_signed_geometries()
+ journal.write("geometry_prepared_outside_timed_calls", geometry=geometry)
+ records = []
+ for ordinal, case in enumerate(fixture["cases"], start=1):
+ identity = {key: case[key] for key in ("source_sha256", "query_content_sha256", "program_input_sha256",
+ "observed_degree", "full_length", "source_stride", "program_profile",
+ "coefficient_magnitude_bits", "replicate", "family")}
+ journal.write("source_started", source_ordinal=ordinal, **identity)
+ samples = {arm: [] for arm in ARMS}
+ try:
+ query = tuple(int(value) for value in case["public_query_coefficients_decimal"])
+ degree, program = case["observed_degree"], case["authorized_program"]
+ structure = optimized_execution.execution_structure(program, query, degree)
+ require(structure["source_derived_stride"] == case["source_stride"], "registered input support changed")
+ begin = time.perf_counter_ns()
+ output = original_program(program, query, degree)
+ execution_ns = time.perf_counter_ns() - begin
+ begin = time.perf_counter_ns()
+ root = original_root(output)
+ root_ns = time.perf_counter_ns() - begin
+ output_vector_sha = nor45.query_digest(output)
+ stride = authorized_root.certify_actual_NOR45_program_support(program=program, query=query,
+ observed_degree=degree, output=output)
+ signed = make_signed_bundles(query, program, degree, case["source_sha256"], output, root)
+ for arm in ARMS:
+ actual = run_arm(arm, signed[0])
+ require(actual["values"] == output and actual["root_sha256"] == root,
+ "pretime full vector/root parity failed: " + arm)
+ orders = []
+ for rep in range(REPEATS):
+ order = list(ARMS)
+ seed = int.from_bytes(sha256(f"NOR60/ARM-ORDER/v1|{case['source_sha256']}|{rep}".encode("ascii")).digest(), "big")
+ random.Random(seed).shuffle(order)
+ orders.append(order)
+ for arm in order:
+ begin = time.perf_counter_ns()
+ actual = run_arm(arm, signed[rep])
+ elapsed = (time.perf_counter_ns() - begin) / 1e6
+ require(math.isfinite(elapsed) and elapsed > 0, "invalid timer sample")
+ require(actual["values"] == output and actual["root_sha256"] == root,
+ "timed full vector/root parity failed: " + arm)
+ require(nor45.execute_authorized_program is original_program and
+ nor45.independently_computed_root is original_root and
+ optimized_execution.execute_authorized_program is original_optimized,
+ "global verifier/interpreter helper changed during benchmark")
+ samples[arm].append(elapsed)
+ journal.write("timed_arm_completed", source_ordinal=ordinal,
+ source_sha256=case["source_sha256"], repetition=rep, arm=arm,
+ elapsed_ms=elapsed, exact_output_vector_sha256=output_vector_sha,
+ original_full_root_sha256=root,
+ signed_context_sha256=signed[rep]["signed_context_sha256"])
+ medians = {arm: statistics.median(samples[arm]) for arm in ARMS}
+ # One separately labelled cold construction call AFTER all primary samples.
+ begin = time.perf_counter_ns()
+ cold = nor45.verify_authorized_execution(**signed[0]["kwargs"],
+ _interpreter_policy="support_memoized", _root_policy="cold")
+ cold_ms = (time.perf_counter_ns() - begin) / 1e6
+ require(cold["values"] == output and cold["root_sha256"] == root, "cold combined output/root differs")
+ geometry_key = f"m{len(query)}-s{stride}"
+ record = {**identity, "source_success": True, "authorized_program": program,
+ "all_four_full_signed_outputs_and_original_roots_equal": True,
+ "certified_public_support_stride": stride,
+ "original_full_merkle_root_sha256": root, "exact_output_vector_sha256": output_vector_sha,
+ "exact_output_coefficients_decimal": [str(value) for value in output],
+ "reference_execution_ns_outside_arms": execution_ns,
+ "reference_root_ns_outside_arms": root_ns,
+ "operation_structure": structure, "five_interleaved_orders": orders,
+ "five_interleaved_samples_ms": samples, "arm_medians_ms": medians,
+ "interpreter_over_original": medians[ARMS[2]] / medians[ARMS[0]],
+ "combined_over_original": medians[ARMS[3]] / medians[ARMS[0]],
+ "root_only_change_whole_verifier_over_original": medians[ARMS[1]] / medians[ARMS[0]],
+ "secondary_cold_combined_ms": cold_ms,
+ "secondary_cold_single_call_after_primary_samples": True,
+ "template_geometry_key": geometry_key,
+ "template_build_ms_outside_arms": geometry[geometry_key]["build_ns_outside_all_timed_arms"] / 1e6,
+ "five_signed_bundles": [{k: v for k, v in bundle.items() if k != "kwargs"} for bundle in signed]}
+ records.append(record)
+ journal.write("source_completed", source_ordinal=ordinal, source_sha256=case["source_sha256"],
+ source_success=True, arm_medians_ms=medians, secondary_cold_combined_ms=cold_ms)
+ print("NOR60 FIRST CPU", ordinal, "/60", f"D{degree}", f"s{stride}",
+ f"P{case['program_profile']}", "interpreter/original", round(record["interpreter_over_original"], 5),
+ "combined/original", round(record["combined_over_original"], 5), flush=True)
+ except Exception as exc:
+ record = {**identity, "source_success": False, "failure_type": type(exc).__name__,
+ "failure_message": str(exc)[:1000], "partial_timed_samples_ms": samples}
+ records.append(record)
+ journal.write("source_failed", source_ordinal=ordinal, **record)
+ print("NOR60 FIRST SOURCE FAIL", ordinal, type(exc).__name__, str(exc)[:180], flush=True)
+ success = [row for row in records if row["source_success"]]
+ sparse = [row for row in success if row["source_stride"] > 1]
+ p4 = [row for row in success if row["program_profile"] == 4]
+ all_summary, sparse_summary, p4_summary = summarize(success), summarize(sparse), summarize(p4)
+ same_code = code_before == source_code_hashes()
+ same_helpers = nor45.execute_authorized_program is original_program and nor45.independently_computed_root is original_root and optimized_execution.execute_authorized_program is original_optimized
+ gates = {
+ "sparse40_interpreter_ratio_median_under_0p70": len(sparse) == 40 and sparse_summary["median_sourcewise_ratio_to_original"][ARMS[2]] < .70,
+ "all60_combined_ratio_of_sums_under_0p80": len(success) == 60 and all_summary["source_median_ratio_of_sums_to_original"][ARMS[3]] < .80,
+ "profile4_12_interpreter_ratio_median_under_0p65": len(p4) == 12 and p4_summary["median_sourcewise_ratio_to_original"][ARMS[2]] < .65,
+ "all60_exact_signed_output_root_and_security": len(success) == 60 and security["passed"] and all(
+ row["all_four_full_signed_outputs_and_original_roots_equal"] and row["certified_public_support_stride"] == row["source_stride"] for row in success),
+ "first_source_and_evidence_integrity": len(success) == 60 and same_code and same_helpers
+ and fixture["excluded_first_source_IDs"] == 588 and fixture["new_query_content_disjoint_from_all_historical_rows"]
+ and all(all(len(row["five_interleaved_samples_ms"][arm]) == REPEATS for arm in ARMS)
+ and len({b["session_nonce_sha256"] for b in row["five_signed_bundles"]}) == REPEATS
+ for row in success),
+ }
+ try:
+ import resource
+ rss = resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
+ except ImportError:
+ rss = None
+ return {"schema": SCHEMA, "design_issue": 280, "first_registration_sha": registered,
+ "first_public_only_source_sha256": source_sha, "source_count": 60,
+ "source_success_count": len(success), "source_failure_count": 60 - len(success),
+ "excluded_prior_first_source_ID_count": 588,
+ "excluded_prior_query_content_unique_count": fixture["historical_query_content_unique_count"],
+ "excluded_prior_program_input_unique_count": fixture["historical_program_input_unique_count"],
+ "repeats": REPEATS, "arms": list(ARMS), "source_code_sha256": code_before,
+ "source_free_security_preflight": security,
+ "source_first_SHA_frozen_upstream_before_reference_or_timing": True,
+ "same_original_authority_precommit_provider_query_checks_every_arm": True,
+ "all_dynamic_results_scoped_to_single_invocation": True,
+ "original_NOR45_helpers_and_source_files_unchanged_during_run": same_helpers and same_code,
+ "fixture_signing_and_reference_production_outside_whole_verifier_timing": True,
+ "stateless_verifier_nonce_binding_without_deployed_consumption_ledger": True,
+ "all_signing_private_keys_public_test_only": True, "formal_Lean_kernel_proof_available": False,
+ "geometry_template_ledger": geometry,
+ "python_version": platform.python_version(), "platform": platform.platform(),
+ "cpu_model": platform.processor() or "unknown", "logical_cpu_count": os.cpu_count(),
+ "maxrss_kib": rss, "dependencies": {name: importlib.metadata.version(name) for name in ("cryptography", "gmpy2")},
+ "github_run_id": os.environ.get("GITHUB_RUN_ID"), "github_run_attempt": os.environ.get("GITHUB_RUN_ATTEMPT"),
+ "github_sha": os.environ.get("GITHUB_SHA"), "overall": all_summary,
+ "primary_forty_sparse": sparse_summary, "primary_twelve_profile4": p4_summary,
+ "secondary_four_dense_profile4": summarize([row for row in p4 if row["source_stride"] == 1]),
+ "by_degree": {str(d): summarize([row for row in success if row["observed_degree"] == d]) for d in cohort.DEGREES},
+ "by_stride": {str(s): summarize([row for row in success if row["source_stride"] == s]) for s in cohort.STRIDES},
+ "by_program_profile": {str(p): summarize([row for row in success if row["program_profile"] == p]) for p in cohort.PROFILES},
+ "secondary_ten_block_bootstrap": bootstrap(success),
+ "secondary_total_one_time_geometry_build_ms": sum(g["build_ns_outside_all_timed_arms"] / 1e6 for g in geometry.values()),
+ "first_original_five_registered_gates": gates, "first_original_engineering_pass": all(gates.values()),
+ "source_records": records,
+ "scope": "Synthetic exact NOR45 signed-program CPU engineering; honest authority/source premises; public test keys; no deployed nonce store, zero knowledge, succinctness, universal speedup or external-world semantic claim."}
+
+
+def main():
+ parser = argparse.ArgumentParser()
+ parser.add_argument("--public-file", type=Path, required=True)
+ parser.add_argument("--repeats", type=int, default=REPEATS)
+ parser.add_argument("--out", type=Path, required=True)
+ parser.add_argument("--journal", type=Path)
+ args = parser.parse_args()
+ if hasattr(sys, "set_int_max_str_digits"):
+ sys.set_int_max_str_digits(0)
+ args.out.parent.mkdir(parents=True, exist_ok=True)
+ journal_path = args.journal or args.out.with_suffix(".progress.jsonl")
+ failure_path = args.out.with_suffix(".failure.json")
+ require(not args.out.exists() and not journal_path.exists() and not failure_path.exists(),
+ "first measurement paths already exist; overwrite or silent rerun forbidden")
+ journal = Journal(journal_path)
+ try:
+ result = run(args.public_file, journal, args.repeats)
+ journal.write("experiment_completed", source_count=result["source_count"],
+ source_success_count=result["source_success_count"],
+ gates=result["first_original_five_registered_gates"])
+ journal.close()
+ result["progress_journal_sha256"] = sha256(journal_path.read_bytes()).hexdigest()
+ result["progress_journal_event_count"] = journal.count
+ raw = canonical(result)
+ with args.out.open("xb") as stream:
+ stream.write(raw)
+ stream.flush()
+ os.fsync(stream.fileno())
+ print("NOR60 FIRST ORIGINAL CPU BYTES SHA256", len(raw), sha256(raw).hexdigest(), flush=True)
+ print("NOR60 FIVE REGISTERED GATES", result["first_original_five_registered_gates"], flush=True)
+ print("NOR60 FIRST ENGINEERING PASS", result["first_original_engineering_pass"], flush=True)
+ except BaseException as exc:
+ failure = {"schema": "nor60.first_attempt_failure.v1", "failure_type": type(exc).__name__,
+ "failure_message": str(exc)[:2000], "first_original_engineering_pass": False,
+ "partial_evidence_journal": journal_path.name, "rerun_is_not_original_first_attempt": True}
+ if not journal.stream.closed:
+ journal.write("experiment_fatal_failure", **failure)
+ journal.close()
+ failure["progress_journal_sha256"] = sha256(journal_path.read_bytes()).hexdigest()
+ with failure_path.open("xb") as stream:
+ stream.write(canonical(failure))
+ raise
+
+
+if __name__ == "__main__":
+ main()
diff --git a/research/nor60_authorized_interpreter/cohort.py b/research/nor60_authorized_interpreter/cohort.py
new file mode 100644
index 000000000..ef571c9d5
--- /dev/null
+++ b/research/nor60_authorized_interpreter/cohort.py
@@ -0,0 +1,201 @@
+"""NOR60 source/program roster. Generation requires the frozen commit marker."""
+from __future__ import annotations
+import argparse
+import json
+import random
+import re
+import sys
+from collections import Counter
+from hashlib import sha256
+from pathlib import Path
+from zipfile import ZipFile
+
+ROOT = Path(__file__).resolve().parents[2]
+if str(ROOT) not in sys.path:
+ sys.path.insert(0, str(ROOT))
+from research.nor59_authorized_merkle import cohort as prior
+
+SCHEMA = "nor60.first_public_only_60_signed_authorized_program_sources.v1"
+CASE_SCHEMA = "nor60.public_exact_signed_NOR45_source.v1"
+DOMAIN = "NOR60/SOURCE/v1"
+DEGREES = (512, 1024)
+STRIDES = (1, 4, 8)
+PROFILES = (0, 1, 2, 3, 4)
+REPLICATES = (0, 1)
+PROFILE_BITS = (2, 8, 16, 2, 8)
+PRIOR_ARCHIVES = prior.PRIOR_ARCHIVES + ((
+ "research/nor59_authorized_merkle/results/nor59_first_original_hosted.zip",
+ "3249ffb69ebd0eba11669609a79e3e52f3d43b176c6320254a469cdb057e3e0b",
+ "nor59_first_original_60_public_only.json",
+ "be516ca2149cf6d5970842891280f7f7d3407706b9c08b02c4719d153418b0f9", 60),)
+
+
+def require(condition, message):
+ if not condition:
+ raise ValueError(message)
+
+
+def canonical(obj):
+ return (json.dumps(obj, sort_keys=True, indent=2, ensure_ascii=True) + "\n").encode("ascii")
+
+
+def registration_sha():
+ path = Path(__file__).with_name("REGISTRATION_SHA.txt")
+ require(path.is_file(), "NOR60 registration commit marker is absent; source generation is sealed")
+ value = path.read_text(encoding="ascii").strip()
+ require(re.fullmatch("[0-9a-f]{40}", value) is not None, "invalid NOR60 registration commit marker")
+ return value
+
+
+def _query_strings(row):
+ fields = [name for name in ("source_coefficients_decimal", "public_query_coefficients_decimal")
+ if name in row]
+ require(len(fields) == 1, "historical row lacks a unique recognized exact coefficient vector")
+ values = row[fields[0]]
+ require(type(values) is list and bool(values), "historical vector must be a nonempty list")
+ require(all(type(v) is str and str(int(v)) == v for v in values),
+ "noncanonical signed decimal coefficient in historical vector")
+ length_keys = [key for key in ("length", "full_length") if key in row]
+ require(len(length_keys) == 1 and type(row[length_keys[0]]) is int
+ and row[length_keys[0]] == len(values), "historical vector length mismatch")
+ require(values[0] == "1", "historical source is not a unit series")
+ return values
+
+
+def query_content_sha256(row):
+ """Same vector gets the same hash across experiment schemas and metadata."""
+ values = _query_strings(row)
+ return sha256(canonical({"length": len(values), "coefficients_decimal": values})).hexdigest()
+
+
+def program_input_sha256(row):
+ require("authorized_program" in row and "observed_degree" in row,
+ "program-input identity requires explicit program and degree")
+ return sha256(canonical({"query_content_sha256": query_content_sha256(row),
+ "observed_degree": row["observed_degree"],
+ "authorized_program": row["authorized_program"]})).hexdigest()
+
+
+def historical_evidence():
+ ids, content_ids, program_ids = set(), set(), set()
+ archive_records = []
+ row_count = 0
+ for path, zip_sha, member, raw_sha, count in PRIOR_ARCHIVES:
+ p = ROOT / path
+ require(sha256(p.read_bytes()).hexdigest() == zip_sha, "historical ZIP SHA mismatch: " + path)
+ with ZipFile(p) as archive:
+ require(archive.testzip() is None, "historical ZIP integrity failure: " + path)
+ raw = archive.read(member)
+ require(sha256(raw).hexdigest() == raw_sha, "historical source SHA mismatch: " + path)
+ rows = json.loads(raw)["cases"]
+ new_ids = {row["source_sha256"] for row in rows}
+ require(len(rows) == len(new_ids) == count and ids.isdisjoint(new_ids),
+ "historical identity cardinality or overlap failure: " + path)
+ ids.update(new_ids)
+ for row in rows:
+ content_ids.add(query_content_sha256(row))
+ if "authorized_program" in row:
+ program_ids.add(program_input_sha256(row))
+ row_count += len(rows)
+ archive_records.append({"path": path, "zip_sha256": zip_sha, "source_member": member,
+ "source_sha256": raw_sha, "source_count": count})
+ require(len(ids) == row_count == 588, "expected all 588 historical first identities")
+ return {"source_ids": ids, "query_content_ids": content_ids, "program_input_ids": program_ids,
+ "source_row_count": row_count, "archive_records": archive_records}
+
+
+def historical_ids():
+ return historical_evidence()["source_ids"]
+
+
+def program(profile):
+ require(type(profile) is int and profile in PROFILES, "unregistered NOR60 profile")
+ return prior.program(profile)
+
+
+def source_seed(degree, stride, profile, replicate):
+ require(degree in DEGREES and stride in STRIDES and profile in PROFILES
+ and replicate in REPLICATES, "unregistered source grid")
+ return int.from_bytes(sha256(f"{DOMAIN}|{degree}|{stride}|{profile}|{replicate}".encode("ascii")).digest(), "big")
+
+
+def source_series(degree, stride, profile, replicate):
+ registration_sha()
+ rng = random.Random(source_seed(degree, stride, profile, replicate))
+ length, bits = 3 * degree // 2 + 1, PROFILE_BITS[profile]
+ values = [1]
+ for index in range(1, length):
+ if index % stride:
+ values.append(0)
+ else:
+ magnitude = rng.randint(1 << (bits - 1), (1 << bits) - 1)
+ sign = (-1 if rng.randrange(2) else 1) if replicate == 0 else (-1 if (index // stride) % 2 else 1)
+ values.append(sign * magnitude)
+ return tuple(values)
+
+
+def case_core(degree, stride, profile, replicate):
+ return {"case_schema": CASE_SCHEMA, "observed_degree": degree, "full_length": 3 * degree // 2 + 1,
+ "source_stride": stride, "program_profile": profile,
+ "coefficient_magnitude_bits": PROFILE_BITS[profile], "replicate": replicate,
+ "family": "signed_random" if replicate == 0 else "alternating",
+ "authorized_program": program(profile),
+ "public_query_coefficients_decimal": [str(v) for v in source_series(degree, stride, profile, replicate)]}
+
+
+def make_fixture():
+ registered = registration_sha()
+ history = historical_evidence()
+ rows = []
+ for d in DEGREES:
+ for s in STRIDES:
+ for p in PROFILES:
+ for rep in REPLICATES:
+ core = case_core(d, s, p, rep)
+ rows.append({**core, "source_sha256": sha256(canonical(core)).hexdigest(),
+ "query_content_sha256": query_content_sha256(core),
+ "program_input_sha256": program_input_sha256(core)})
+ ids = {r["source_sha256"] for r in rows}
+ queries = {r["query_content_sha256"] for r in rows}
+ inputs = {r["program_input_sha256"] for r in rows}
+ require(len(rows) == len(ids) == len(queries) == len(inputs) == 60, "new first input roster contains duplicates")
+ require(ids.isdisjoint(history["source_ids"]), "new source identity repeats historical first input")
+ require(queries.isdisjoint(history["query_content_ids"]), "new query vector repeats historical first input")
+ require(inputs.isdisjoint(history["program_input_ids"]), "new program/input pair repeats history")
+ return {"schema": SCHEMA, "first_registration_sha": registered, "source_domain": DOMAIN,
+ "degrees": list(DEGREES), "strides": list(STRIDES), "profiles": list(PROFILES),
+ "replicates": list(REPLICATES), "public_only": True, "source_count": 60,
+ "excluded_first_source_IDs": 588,
+ "historical_query_content_unique_count": len(history["query_content_ids"]),
+ "historical_program_input_unique_count": len(history["program_input_ids"]),
+ "query_content_hash_ignores_experiment_schema_and_metadata": True,
+ "new_query_content_disjoint_from_all_historical_rows": True,
+ "no_output_root_witness_session_signatures_templates_or_timings": True,
+ "historical_archives": history["archive_records"], "cases": rows}
+
+
+def read_fixture(path):
+ raw = Path(path).read_bytes()
+ fixture = json.loads(raw)
+ require(canonical(fixture) == raw, "first source fixture is not canonical JSON")
+ # Rebuild only the source/program specification and hashes after registration.
+ # Any omitted, reordered, edited or extra source is rejected.
+ require(fixture == make_fixture(), "source fixture differs from frozen NOR60 generator")
+ return fixture, sha256(raw).hexdigest()
+
+
+def main():
+ parser = argparse.ArgumentParser()
+ parser.add_argument("--public-only-out", type=Path, required=True)
+ args = parser.parse_args()
+ require(not args.public_only_out.exists(), "first source fixture already exists; overwrite forbidden")
+ raw = canonical(make_fixture())
+ args.public_only_out.parent.mkdir(parents=True, exist_ok=True)
+ with args.public_only_out.open("xb") as stream:
+ stream.write(raw)
+ _, digest = read_fixture(args.public_only_out)
+ print("NOR60 FIRST ORIGINAL PUBLIC ONLY SHA256", len(raw), digest, flush=True)
+
+
+if __name__ == "__main__":
+ main()
diff --git a/research/nor60_authorized_interpreter/optimized_execution.py b/research/nor60_authorized_interpreter/optimized_execution.py
new file mode 100644
index 000000000..49b59af31
--- /dev/null
+++ b/research/nor60_authorized_interpreter/optimized_execution.py
@@ -0,0 +1,102 @@
+"""Exact NOR45 interpreter with source-derived support and local unary reuse.
+
+The signed verifier invokes this fixed implementation only after its original
+authority, session, precommit, provider and query checks. A new local memo is
+created for every invocation. No query, unary result or accepted output is
+retained between calls.
+"""
+from __future__ import annotations
+from typing import Sequence
+
+from research.nor45_authorized_program import independent_execution_verifier as nor45
+from research.nor59_authorized_merkle import authorized_root
+
+POLICY = "support_memoized"
+
+
+def _unit_series(query: Sequence[int]) -> tuple[int, ...]:
+ if not isinstance(query, (tuple, list)):
+ raise nor45.ProgramAttestationError("exact full source sequence required")
+ source = tuple(query)
+ if not source or any(type(v) is not int for v in source) or source[0] != 1:
+ raise nor45.ProgramAttestationError("normalized exact integer source required")
+ return source
+
+
+def _support_stride(source: tuple[int, ...]) -> int:
+ for stride in (8, 4):
+ if all(source[i] == 0 for i in range(1, len(source)) if i % stride):
+ return stride
+ return 1
+
+
+def supported_inverse(query: Sequence[int]) -> tuple[int, ...]:
+ """Compute the finite unit inverse, deriving support from every input entry.
+
+ If F(x) = H(x**s), the unique inverse modulo x**m is the expansion of
+ H**(-1) modulo x**ceil(m/s). The generic function also supports short odd
+ lengths for source-free algebra tests; the signed entry point separately
+ enforces NOR45's original D512/D1024 geometry.
+ """
+ source = _unit_series(query)
+ stride = _support_stride(source)
+ reduced = source[::stride]
+ inverse = nor45.unary(reduced, "R")
+ return tuple(inverse[i // stride] if i % stride == 0 else 0
+ for i in range(len(source)))
+
+
+def execution_structure(program: dict, query: Sequence[int],
+ observed_degree: int) -> dict:
+ """Source-only operation counts. This function executes no unary transform."""
+ source = authorized_root._checked_exact_full_source(query, observed_degree)
+ nor45._validate_program(program, observed_degree, len(source))
+ operations = [program[k] for k in ("base", "u", "v")]
+ if program["hidden_beta"]:
+ operations.append(program["hidden_transform"])
+ stride = _support_stride(source)
+ distinct = list(dict.fromkeys(operations))
+ return {
+ "source_derived_stride": stride,
+ "reduced_inverse_length": (len(source) - 1) // stride + 1,
+ "original_unary_call_count": len(operations),
+ "optimized_unary_call_count": len(distinct),
+ "original_R_call_count": operations.count("R"),
+ "optimized_R_call_count": int("R" in operations),
+ "R_calls_eliminated": max(0, operations.count("R") - 1),
+ "distinct_unary_tokens": distinct,
+ "memo_scope": "one_authenticated_program_invocation",
+ }
+
+
+def execute_authorized_program(program: dict, query: Sequence[int],
+ observed_degree: int) -> tuple[int, ...]:
+ """Recompute the complete original output with invocation-local reuse."""
+ source = authorized_root._checked_exact_full_source(query, observed_degree)
+ m = len(source)
+ nor45._validate_program(program, observed_degree, m)
+ operations = [program[k] for k in ("base", "u", "v")]
+ beta = program["hidden_beta"]
+ if beta:
+ operations.append(program["hidden_transform"])
+ memo = {}
+ for op in operations:
+ if op not in memo:
+ memo[op] = supported_inverse(source) if op == "R" else nor45.unary(source, op)
+ base, left, right = (memo[program[k]] for k in ("base", "u", "v"))
+ hidden = memo[program["hidden_transform"]] if beta else None
+ delay, spacing, amplitude = (program[k] for k in ("delay", "spacing", "amplitude"))
+ onset = observed_degree + 32
+ values = []
+ for index in range(m):
+ value = base[index]
+ if index == delay:
+ value += amplitude
+ if index >= delay + spacing:
+ value += amplitude * left[index - delay - spacing]
+ if index >= delay + 2 * spacing:
+ value += amplitude * right[index - delay - 2 * spacing]
+ if beta and index >= onset:
+ value += beta * hidden[index - onset]
+ values.append(value)
+ return tuple(values)
diff --git a/research/nor60_authorized_interpreter/original_archive_audit.py b/research/nor60_authorized_interpreter/original_archive_audit.py
new file mode 100644
index 000000000..c7519faee
--- /dev/null
+++ b/research/nor60_authorized_interpreter/original_archive_audit.py
@@ -0,0 +1,562 @@
+"""Read-only audit of NOR60's original source, CPU result and progress journal.
+
+This module recomputes exact reference outputs and signature bindings. It
+never measures runtime, invokes the CPU benchmark or writes a source fixture.
+The final receipt and archive SHA anchors are filled from observed original
+artifact bytes before this auditor is published.
+"""
+from __future__ import annotations
+import argparse
+import json
+import math
+import random
+import re
+import statistics
+import sys
+from datetime import datetime
+from hashlib import sha256
+from pathlib import Path
+from zipfile import ZipFile
+
+ROOT = Path(__file__).resolve().parents[2]
+if str(ROOT) not in sys.path:
+ sys.path.insert(0, str(ROOT))
+from cryptography.hazmat.primitives.asymmetric.ed25519 import Ed25519PublicKey
+from research.nor43_authenticated_witness import signed_witness as trees
+from research.nor44_session_protocol import session_protocol as session
+from research.nor45_authorized_program import independent_execution_verifier as original
+from research.nor45_authorized_program import program_authority as authority
+from research.nor59_authorized_merkle import authorized_root
+from research.nor58_static_merkle import template
+from research.nor60_authorized_interpreter import cohort
+
+HERE = Path(__file__).resolve().parent / "results"
+RECEIPT_NAME = "nor60_first_receipt.json"
+ARCHIVE_NAME = "nor60_first_original_hosted.zip"
+SOURCE_NAME = "nor60_first_original_60_public_only.json"
+CPU_NAME = "nor60_first_original_cpu.json"
+JOURNAL_NAME = "nor60_first_original_progress.jsonl"
+EXPECTED_RECEIPT_SHA256 = "0bc8cdbe1c50737a12863186620d7ef40faa96509e4347392a66bad58ae471cb"
+EXPECTED_ARCHIVE_SHA256 = "c92e2c4e3bfcfd8e1371d1504c89d6812ac263ef270fc9d62e89d335f23da53c"
+RECEIPT_SCHEMA = "nor60.first_original_60_signed_NOR45_CPU_archive.v1"
+REGISTRATION = "363ef19abeba68e2897c593697ad56e2aaf4fefc"
+ARMS = ("original_interpreter_full_root", "original_interpreter_warm_root",
+ "optimized_interpreter_full_root", "optimized_interpreter_warm_root")
+SOURCE_FIELDS = {"case_schema", "observed_degree", "full_length", "source_stride", "program_profile",
+ "coefficient_magnitude_bits", "replicate", "family", "authorized_program",
+ "public_query_coefficients_decimal", "source_sha256", "query_content_sha256",
+ "program_input_sha256"}
+PROFILES = (
+ {"base": "I", "u": "R", "v": "N", "delay": 64, "spacing": 24, "amplitude": 1, "hidden_beta": 0, "hidden_transform": None},
+ {"base": "N", "u": "S", "v": "I", "delay": 80, "spacing": 32, "amplitude": -2, "hidden_beta": 1, "hidden_transform": "R"},
+ {"base": "R", "u": "I", "v": "S", "delay": 96, "spacing": 24, "amplitude": 2, "hidden_beta": -1, "hidden_transform": "S"},
+ {"base": "S", "u": "N", "v": "R", "delay": 112, "spacing": 32, "amplitude": -1, "hidden_beta": 0, "hidden_transform": None},
+ {"base": "R", "u": "R", "v": "R", "delay": 80, "spacing": 24, "amplitude": 1, "hidden_beta": 2, "hidden_transform": "N"},
+)
+IDENTITY_FIELDS = ("source_sha256", "query_content_sha256", "program_input_sha256", "observed_degree",
+ "full_length", "source_stride", "program_profile", "coefficient_magnitude_bits",
+ "replicate", "family")
+
+
+def require(condition, message):
+ if not condition:
+ raise ValueError(message)
+
+
+def canonical(value):
+ return (json.dumps(value, sort_keys=True, indent=2, ensure_ascii=True) + "\n").encode("ascii")
+
+
+def canonical_loaded(raw, label):
+ value = json.loads(raw)
+ require(canonical(value) == raw, label + " is not canonical JSON")
+ return value
+
+
+def checked_sha(value, label):
+ require(type(value) is str and re.fullmatch("[0-9a-f]{64}", value) is not None,
+ label + " lacks a valid SHA-256 anchor")
+ return value
+
+
+def checked_decimals(values, length, label):
+ require(type(values) is list and len(values) == length, label + " length mismatch")
+ require(all(type(v) is str and re.fullmatch(r"0|-?[1-9][0-9]*", v) is not None for v in values),
+ label + " is not a canonical signed decimal vector")
+ return tuple(int(v) for v in values)
+
+
+def query_identity(values):
+ return sha256(canonical({"length": len(values), "coefficients_decimal": values})).hexdigest()
+
+
+def program_identity(row):
+ return sha256(canonical({"query_content_sha256": row["query_content_sha256"],
+ "observed_degree": row["observed_degree"],
+ "authorized_program": row["authorized_program"]})).hexdigest()
+
+
+def validate_source(fixture):
+ require(type(fixture) is dict and set(fixture) == {"schema", "first_registration_sha", "source_domain",
+ "degrees", "strides", "profiles", "replicates", "public_only", "source_count", "excluded_first_source_IDs",
+ "historical_query_content_unique_count", "historical_program_input_unique_count",
+ "query_content_hash_ignores_experiment_schema_and_metadata", "new_query_content_disjoint_from_all_historical_rows",
+ "no_output_root_witness_session_signatures_templates_or_timings", "historical_archives", "cases"},
+ "source manifest schema changed or contains extra fields")
+ expected_grid = [(d, s, p, r) for d in (512, 1024) for s in (1, 4, 8)
+ for p in range(5) for r in (0, 1)]
+ require(fixture["schema"] == "nor60.first_public_only_60_signed_authorized_program_sources.v1",
+ "wrong first source schema")
+ require(fixture["first_registration_sha"] == REGISTRATION, "wrong source registration")
+ require(fixture["source_domain"] == "NOR60/SOURCE/v1", "wrong source domain")
+ require(fixture["degrees"] == [512, 1024] and fixture["strides"] == [1, 4, 8]
+ and fixture["profiles"] == list(range(5)) and fixture["replicates"] == [0, 1], "wrong source grid")
+ for field in ("public_only", "query_content_hash_ignores_experiment_schema_and_metadata",
+ "new_query_content_disjoint_from_all_historical_rows",
+ "no_output_root_witness_session_signatures_templates_or_timings"):
+ require(fixture[field] is True, "source-only invariant failed: " + field)
+ rows = fixture["cases"]
+ require(type(rows) is list and len(rows) == fixture["source_count"] == 60, "expected all 60 first sources")
+ ids, queries, inputs = set(), set(), set()
+ for row, (degree, stride, profile, rep) in zip(rows, expected_grid):
+ require(type(row) is dict and set(row) == SOURCE_FIELDS, "source record schema changed")
+ require((row["observed_degree"], row["source_stride"], row["program_profile"], row["replicate"])
+ == (degree, stride, profile, rep), "source order or factorial cell changed")
+ length, bits = 3 * degree // 2 + 1, (2, 8, 16, 2, 8)[profile]
+ require(row["full_length"] == length and row["coefficient_magnitude_bits"] == bits,
+ "source geometry or bit magnitude changed")
+ require(row["case_schema"] == "nor60.public_exact_signed_NOR45_source.v1"
+ and row["authorized_program"] == PROFILES[profile]
+ and row["family"] == ("signed_random" if rep == 0 else "alternating"),
+ "source program or sign family changed")
+ values = checked_decimals(row["public_query_coefficients_decimal"], length, "source")
+ seed = int.from_bytes(sha256(f"NOR60/SOURCE/v1|{degree}|{stride}|{profile}|{rep}".encode("ascii")).digest(), "big")
+ rng = random.Random(seed)
+ expected = [1]
+ for index in range(1, length):
+ if index % stride:
+ expected.append(0)
+ else:
+ mag = rng.randint(1 << (bits - 1), (1 << bits) - 1)
+ sign = (-1 if rng.randrange(2) else 1) if rep == 0 else (-1 if (index // stride) % 2 else 1)
+ expected.append(sign * mag)
+ require(values == tuple(expected), "source differs from independently replayed frozen seed")
+ core = {k: v for k, v in row.items() if k not in ("source_sha256", "query_content_sha256", "program_input_sha256")}
+ require(row["source_sha256"] == sha256(canonical(core)).hexdigest(), "schema-bearing source SHA mismatch")
+ require(row["query_content_sha256"] == query_identity(row["public_query_coefficients_decimal"]),
+ "schema-independent query content SHA mismatch")
+ require(row["program_input_sha256"] == program_identity(row), "program/input content SHA mismatch")
+ ids.add(row["source_sha256"])
+ queries.add(row["query_content_sha256"])
+ inputs.add(row["program_input_sha256"])
+ require(len(ids) == len(queries) == len(inputs) == 60, "duplicate first source or exact content")
+ history = cohort.historical_evidence()
+ require(history["source_row_count"] == len(history["source_ids"]) == len(history["query_content_ids"]) == 588,
+ "historical source/content audit did not cover all 588")
+ require(len(history["program_input_ids"]) == 60, "historical authorized-program coverage changed")
+ require(ids.isdisjoint(history["source_ids"]) and queries.isdisjoint(history["query_content_ids"])
+ and inputs.isdisjoint(history["program_input_ids"]), "historical input was reused")
+ require(fixture["historical_archives"] == history["archive_records"], "historical archive inventory changed")
+ require(fixture["excluded_first_source_IDs"] == 588 and fixture["historical_query_content_unique_count"] == 588
+ and fixture["historical_program_input_unique_count"] == 60, "historical audit counts changed")
+ return rows
+
+
+def validate_journal_bytes(raw):
+ require(raw.endswith(b"\n") and bool(raw), "progress journal is empty or truncated")
+ events, previous = [], "0" * 64
+ for ordinal, line in enumerate(raw.splitlines(keepends=True)):
+ event = json.loads(line)
+ require(type(event) is dict, "journal event is not an object")
+ compact = (json.dumps(event, sort_keys=True, separators=(",", ":")) + "\n").encode("ascii")
+ require(line == compact, "journal event is not canonical compact JSON")
+ require(event["ordinal"] == ordinal and type(event["ordinal"]) is int, "journal ordinal changed")
+ require(event["previous_sha256"] == previous, "journal chain link changed")
+ digest = checked_sha(event["event_sha256"], "journal event")
+ core = {k: v for k, v in event.items() if k != "event_sha256"}
+ require(sha256(canonical(core)).hexdigest() == digest, "journal event SHA mismatch")
+ previous = digest
+ events.append(event)
+ return events
+
+
+def validate_samples(samples, medians):
+ require(type(samples) is dict and set(samples) == set(ARMS), "timed arm set changed")
+ require(type(medians) is dict and set(medians) == set(ARMS), "median arm set changed")
+ for arm in ARMS:
+ values = samples[arm]
+ require(type(values) is list and len(values) == 5, "expected exactly five samples per arm")
+ require(all(type(v) in (int, float) and math.isfinite(v) and v > 0 for v in values),
+ "nonpositive, nonfinite or untyped timer sample")
+ require(medians[arm] == statistics.median(values), "stored source median differs from raw samples")
+
+
+def validate_signed_bundles(case, row):
+ query = checked_decimals(case["public_query_coefficients_decimal"], case["full_length"], "query")
+ values = checked_decimals(row["exact_output_coefficients_decimal"], case["full_length"], "output")
+ root = checked_sha(row["original_full_merkle_root_sha256"], "original full root")
+ require(original.query_digest(values) == row["exact_output_vector_sha256"], "stored exact output vector SHA mismatch")
+ require(original.independently_computed_root(values) == root, "stored full indexed Merkle root mismatch")
+ program, degree = case["authorized_program"], case["observed_degree"]
+ authority_pub = authority.public_key_of(authority.test_authority_private_key())
+ provider_pub = trees.test_reference_public_key()
+ verifier_pub = session.public_key_bytes(session.test_verifier_private_key())
+ bundles = row["five_signed_bundles"]
+ require(type(bundles) is list and len(bundles) == 5, "expected five original signed bundles")
+ nonces = set()
+ for rep, bundle in enumerate(bundles):
+ context = bundle["session_context"]
+ nonce = sha256(f"NOR60/VERIFIER-ISSUED-RESEARCH-NONCE/v1|{case['source_sha256']}|{rep}".encode("ascii")).digest()
+ expected_context = {"protocol": session.CONTEXT_PROTOCOL, "nonce_hex": nonce.hex(),
+ "source_sha256": case["source_sha256"], "observed_degree": degree,
+ "coefficient_count": len(query), "provider_id": trees.PROVIDER_ID,
+ "provider_key_id": sha256(provider_pub).hexdigest(), "verifier_key_id": sha256(verifier_pub).hexdigest(),
+ "expires_epoch": 100, "test_only": True}
+ require(context == expected_context, "signed context differs from registered source/session")
+ require(bundle["session_nonce_sha256"] == sha256(nonce).hexdigest(), "signed nonce digest mismatch")
+ require(bundle["signed_context_sha256"] == sha256(session.canonical(context)).hexdigest(),
+ "signed context digest mismatch")
+ nonces.add(bundle["session_nonce_sha256"])
+ precommit, provider = bundle["verifier_precommit"], bundle["provider_reference"]
+ receipt = session.verify_precommit_receipt(precommit, verifier_pub, context, 2)
+ require(receipt["proposal_sha256"] == session.proposal_digest(query, context),
+ "precommit proposal does not bind the original query")
+ provider_root = session.verify_provider_reference(provider, context, precommit, provider_pub, verifier_pub, 2)
+ require(provider_root["merkle_root_sha256"] == root, "provider signature binds a different full root")
+ certificate = bundle["authority_certificate"]
+ require(type(certificate) is dict and set(certificate) == {"statement", "signature_hex"},
+ "authority certificate envelope changed")
+ expected_statement = {"protocol": original.PROTOCOL, "semantics": original.CODE_VERSION,
+ "authority_id": authority.TEST_AUTHORITY_ID, "authority_key_id": sha256(authority_pub).hexdigest(),
+ "context_sha256": sha256(session.canonical(context)).hexdigest(), "session_nonce_hex": nonce.hex(),
+ "source_sha256": case["source_sha256"], "observed_degree": degree, "coefficient_count": len(query),
+ "provider_key_id": sha256(provider_pub).hexdigest(),
+ "precommit_receipt_sha256": sha256(session.canonical(precommit)).hexdigest(),
+ "query_sha256": original.query_digest(query), "expected_merkle_root_sha256": root,
+ "program": program}
+ require(certificate["statement"] == expected_statement, "signed authority statement differs from exact source/program")
+ signature = bytes.fromhex(certificate["signature_hex"])
+ require(len(signature) == 64 and signature.hex() == certificate["signature_hex"], "noncanonical authority signature")
+ Ed25519PublicKey.from_public_bytes(authority_pub).verify(signature, session.canonical(expected_statement))
+ for object_key, count_key in (("authority_certificate", "authority_certificate_bytes"),
+ ("verifier_precommit", "verifier_precommit_bytes"),
+ ("provider_reference", "provider_reference_bytes")):
+ require(bundle[count_key] == len(session.canonical(bundle[object_key])), "signed object byte count mismatch")
+ if rep == 0:
+ verified = original.verify_authorized_execution(certificate=certificate, query=query,
+ session_context=context, precommit_receipt=precommit, provider_reference=provider,
+ pinned_program_authority_key=authority_pub, expected_program_authority_id=authority.TEST_AUTHORITY_ID,
+ pinned_verifier_public_key=verifier_pub, pinned_provider_public_key=provider_pub, now_epoch=2)
+ require(verified["values"] == values and verified["root_sha256"] == root,
+ "stored output differs from original full interpreter and signed verifier replay")
+ require(len(nonces) == 5, "repeated signed session nonce")
+ stride = authorized_root.certify_actual_NOR45_program_support(program=program, query=query,
+ observed_degree=degree, output=values)
+ require(stride == case["source_stride"] == row["certified_public_support_stride"], "support closure differs")
+
+
+def summary(rows):
+ if not rows:
+ return {"count": 0}
+ totals = {arm: sum(row["arm_medians_ms"][arm] for row in rows) for arm in ARMS}
+ return {"count": len(rows), "source_median_total_ms": totals,
+ "source_median_ratio_of_sums_to_original": {arm: totals[arm] / totals[ARMS[0]] for arm in ARMS},
+ "median_sourcewise_ratio_to_original": {arm: statistics.median(
+ row["arm_medians_ms"][arm] / row["arm_medians_ms"][ARMS[0]] for row in rows) for arm in ARMS},
+ "median_cold_combined_single_call_over_original_median": statistics.median(
+ row["secondary_cold_combined_ms"] / row["arm_medians_ms"][ARMS[0]] for row in rows)}
+
+
+def replay_gates(rows, *, security_passed, source_integrity):
+ successful = [row for row in rows if row["source_success"]]
+ sparse = [row for row in successful if row["source_stride"] > 1]
+ p4 = [row for row in successful if row["program_profile"] == 4]
+ return {
+ "sparse40_interpreter_ratio_median_under_0p70": len(sparse) == 40 and summary(sparse)["median_sourcewise_ratio_to_original"][ARMS[2]] < .70,
+ "all60_combined_ratio_of_sums_under_0p80": len(successful) == 60 and summary(successful)["source_median_ratio_of_sums_to_original"][ARMS[3]] < .80,
+ "profile4_12_interpreter_ratio_median_under_0p65": len(p4) == 12 and summary(p4)["median_sourcewise_ratio_to_original"][ARMS[2]] < .65,
+ "all60_exact_signed_output_root_and_security": len(successful) == 60 and security_passed and all(
+ row["all_four_full_signed_outputs_and_original_roots_equal"] is True
+ and row["certified_public_support_stride"] == row["source_stride"] for row in successful),
+ "first_source_and_evidence_integrity": len(successful) == 60 and source_integrity and all(
+ all(len(row["five_interleaved_samples_ms"][arm]) == 5 for arm in ARMS)
+ and len({b["session_nonce_sha256"] for b in row["five_signed_bundles"]}) == 5 for row in successful),
+ }
+
+
+def replay_bootstrap(rows):
+ groups = {}
+ for row in rows:
+ groups.setdefault((row["observed_degree"], row["program_profile"]), []).append(row)
+ if len(groups) != 10 or any(len(block) != 6 for block in groups.values()):
+ return {"status": "incomplete registered ten-block panel"}
+ keys, intervals = sorted(groups), {}
+ for index, arm in enumerate(ARMS[1:]):
+ rng = random.Random(202611600010 + index)
+ draws = []
+ for _ in range(4096):
+ selected = [row for key in (rng.choice(keys) for _ in keys) for row in groups[key]]
+ draws.append(sum(row["arm_medians_ms"][arm] for row in selected) /
+ sum(row["arm_medians_ms"][ARMS[0]] for row in selected))
+ draws.sort()
+ intervals[arm] = {"descriptive_95pct_ten_block_interval": [draws[102], draws[3993]]}
+ return {"block_count": 10, "bootstrap_repeats": 4096, "descriptive_intervals": intervals}
+
+
+def validate_journal_against_cpu(events, cpu):
+ require(len(events) == cpu["progress_journal_event_count"], "journal event count differs from first CPU")
+ require(events[0]["event"] == "experiment_started" and events[-1]["event"] == "experiment_completed",
+ "first CPU does not have complete original attempt framing")
+ first = events[0]
+ require(first["registration_sha"] == REGISTRATION and first["source_sha256"] == cpu["first_public_only_source_sha256"]
+ and first["source_count"] == 60 and first["repeats"] == 5 and first["arms"] == list(ARMS)
+ and first["source_code_sha256"] == cpu["source_code_sha256"], "journal attempt framing differs")
+ require(events[1]["event"] == "source_free_security_preflight", "missing original security preflight event")
+ security = {k: v for k, v in events[1].items() if k not in ("ordinal", "event", "previous_sha256", "event_sha256")}
+ require(security == cpu["source_free_security_preflight"], "journal security preflight differs from CPU")
+ require(events[2]["event"] == "geometry_prepared_outside_timed_calls"
+ and events[2]["geometry"] == cpu["geometry_template_ledger"], "geometry setup journal differs")
+ cursor, timed_count = 3, 0
+ for ordinal, row in enumerate(cpu["source_records"], start=1):
+ require(cursor < len(events), "source progress missing")
+ started = events[cursor]
+ cursor += 1
+ require(started["event"] == "source_started" and started["source_ordinal"] == ordinal,
+ "source-start order differs")
+ require(all(started[k] == row[k] for k in IDENTITY_FIELDS), "source-start identity differs")
+ if row["source_success"]:
+ for rep, order in enumerate(row["five_interleaved_orders"]):
+ expected_order = list(ARMS)
+ seed = int.from_bytes(sha256(f"NOR60/ARM-ORDER/v1|{row['source_sha256']}|{rep}".encode("ascii")).digest(), "big")
+ random.Random(seed).shuffle(expected_order)
+ require(order == expected_order, "interleaved arm order differs from registered seed")
+ for arm in order:
+ require(cursor < len(events), "completed sample missing from journal")
+ sample = events[cursor]
+ cursor += 1
+ timed_count += 1
+ expected = {"event": "timed_arm_completed", "source_ordinal": ordinal,
+ "source_sha256": row["source_sha256"], "repetition": rep, "arm": arm,
+ "elapsed_ms": row["five_interleaved_samples_ms"][arm][rep],
+ "exact_output_vector_sha256": row["exact_output_vector_sha256"],
+ "original_full_root_sha256": row["original_full_merkle_root_sha256"],
+ "signed_context_sha256": row["five_signed_bundles"][rep]["signed_context_sha256"]}
+ require(all(sample.get(k) == value for k, value in expected.items()), "journal sample or signed context differs")
+ completed = events[cursor]
+ cursor += 1
+ require(completed["event"] == "source_completed" and completed["source_ordinal"] == ordinal
+ and completed["source_sha256"] == row["source_sha256"] and completed["source_success"] is True
+ and completed["arm_medians_ms"] == row["arm_medians_ms"]
+ and completed["secondary_cold_combined_ms"] == row["secondary_cold_combined_ms"],
+ "source completion differs from CPU record")
+ else:
+ partial = {arm: [] for arm in ARMS}
+ while events[cursor]["event"] == "timed_arm_completed":
+ sample = events[cursor]
+ require(sample["source_ordinal"] == ordinal and sample["source_sha256"] == row["source_sha256"],
+ "partial sample source mismatch")
+ partial[sample["arm"]].append(sample["elapsed_ms"])
+ cursor += 1
+ timed_count += 1
+ require(partial == row["partial_timed_samples_ms"], "retained failed-source partial samples changed")
+ failure = events[cursor]
+ cursor += 1
+ require(failure["event"] == "source_failed" and failure["source_ordinal"] == ordinal
+ and all(failure[k] == v for k, v in row.items()), "first source failure was changed or omitted")
+ require(cursor == len(events) - 1, "unexpected events after original 60 sources")
+ end = events[-1]
+ require(end["source_count"] == 60 and end["source_success_count"] == cpu["source_success_count"]
+ and end["gates"] == cpu["first_original_five_registered_gates"], "journal final score differs")
+ if cpu["source_success_count"] == 60:
+ require(timed_count == 1200 and len(events) == 1324, "complete original run requires all 1200 timed rows")
+ return timed_count
+
+
+def validate_cpu(cpu, sources):
+ require(cpu["schema"] == "nor60.first_60_full_signed_authorized_four_arm_CPU.v1" and cpu["design_issue"] == 280,
+ "wrong first CPU schema or experiment")
+ require(cpu["first_registration_sha"] == REGISTRATION and cpu["source_count"] == 60
+ and cpu["repeats"] == 5 and cpu["arms"] == list(ARMS), "CPU registered panel changed")
+ require(cpu["excluded_prior_first_source_ID_count"] == cpu["excluded_prior_query_content_unique_count"] == 588
+ and cpu["excluded_prior_program_input_unique_count"] == 60, "CPU input exclusion coverage changed")
+ require(cpu["python_version"].startswith("3.12.")
+ and cpu["dependencies"] == {"cryptography": "46.0.4", "gmpy2": "2.3.2"}, "registered CPU dependencies changed")
+ hashes = cpu["source_code_sha256"]
+ require(type(hashes) is dict and bool(hashes), "missing frozen source code hashes")
+ for filename, digest in hashes.items():
+ require(type(filename) is str and filename.startswith("research/") and filename.endswith(".py"),
+ "unsafe source registry path")
+ path = (ROOT / filename).resolve()
+ require(path.is_relative_to(ROOT), "source registry path escapes repository")
+ require(sha256(path.read_bytes()).hexdigest() == checked_sha(digest, "source code"),
+ "current source differs from original measured code: " + filename)
+ required_code = {"research/nor60_authorized_interpreter/benchmark_cpu.py",
+ "research/nor60_authorized_interpreter/cohort.py", "research/nor60_authorized_interpreter/optimized_execution.py",
+ "research/nor45_authorized_program/independent_execution_verifier.py",
+ "research/nor44_session_protocol/session_protocol.py", "research/nor59_authorized_merkle/authorized_root.py"}
+ require(required_code <= set(hashes), "source hash registry lacks a required measured component")
+ for field in ("source_first_SHA_frozen_upstream_before_reference_or_timing",
+ "same_original_authority_precommit_provider_query_checks_every_arm",
+ "all_dynamic_results_scoped_to_single_invocation",
+ "original_NOR45_helpers_and_source_files_unchanged_during_run",
+ "fixture_signing_and_reference_production_outside_whole_verifier_timing",
+ "stateless_verifier_nonce_binding_without_deployed_consumption_ledger",
+ "all_signing_private_keys_public_test_only"):
+ require(cpu[field] is True, "measured trust/scope invariant failed: " + field)
+ require(cpu["formal_Lean_kernel_proof_available"] is False, "unwarranted kernel-proof claim")
+ security = cpu["source_free_security_preflight"]
+ require(security["passed"] is True and security["returncode"] == 0
+ and sha256(security["complete_log"].encode()).hexdigest() == security["log_sha256"],
+ "first source-free security preflight failed or log changed")
+ geometry = cpu["geometry_template_ledger"]
+ require(set(geometry) == {f"m{3*d//2+1}-s{s}" for d in (512, 1024) for s in (1, 4, 8)},
+ "registered geometry cache inventory changed")
+ for degree in (512, 1024):
+ for stride in (1, 4, 8):
+ length = 3 * degree // 2 + 1
+ row = geometry[f"m{length}-s{stride}"]
+ rebuilt = template.build_template(length, stride)
+ expected = {"m": length, "observed_degree": degree, "source_stride": stride,
+ "template_SHA256": rebuilt.template_sha256, "canonical_template_bytes": rebuilt.canonical_template_bytes,
+ "static_node_count": rebuilt.static_node_count, "static_zero_leaf_count": rebuilt.static_zero_leaf_count,
+ "static_padding_leaf_count": rebuilt.static_padding_leaf_count,
+ "dynamic_supported_leaf_count": len(rebuilt.dynamic_leaf_indices), "trusted_geometry_only": True}
+ require(set(row) == set(expected) | {"build_ns_outside_all_timed_arms"}
+ and all(row[k] == v for k, v in expected.items()), "static geometry differs from frozen construction")
+ require(type(row["build_ns_outside_all_timed_arms"]) is int and row["build_ns_outside_all_timed_arms"] > 0,
+ "invalid one-time geometry setup sample")
+ require(cpu["secondary_total_one_time_geometry_build_ms"] == sum(
+ geometry[f"m{3*d//2+1}-s{s}"]["build_ns_outside_all_timed_arms"] / 1e6
+ for d in (512, 1024) for s in (1, 4, 8)), "geometry setup total changed")
+ rows = cpu["source_records"]
+ require(type(rows) is list and len(rows) == 60, "missing first source outcomes")
+ for case, row in zip(sources, rows):
+ require(all(row[k] == case[k] for k in IDENTITY_FIELDS), "CPU source identity differs from public roster")
+ require(type(row["source_success"]) is bool, "untyped source outcome")
+ if not row["source_success"]:
+ require(type(row["failure_type"]) is str and type(row["failure_message"]) is str,
+ "source failure lacks original diagnostic")
+ continue
+ require(row["authorized_program"] == case["authorized_program"], "CPU program differs from source-only roster")
+ validate_samples(row["five_interleaved_samples_ms"], row["arm_medians_ms"])
+ require(type(row["five_interleaved_orders"]) is list and len(row["five_interleaved_orders"]) == 5,
+ "missing interleaved repetition order")
+ validate_signed_bundles(case, row)
+ require(row["all_four_full_signed_outputs_and_original_roots_equal"] is True, "first vector/root parity failed")
+ require(row["interpreter_over_original"] == row["arm_medians_ms"][ARMS[2]] / row["arm_medians_ms"][ARMS[0]]
+ and row["combined_over_original"] == row["arm_medians_ms"][ARMS[3]] / row["arm_medians_ms"][ARMS[0]]
+ and row["root_only_change_whole_verifier_over_original"] == row["arm_medians_ms"][ARMS[1]] / row["arm_medians_ms"][ARMS[0]],
+ "stored sourcewise ratios differ from original samples")
+ require(type(row["secondary_cold_combined_ms"]) in (int, float)
+ and math.isfinite(row["secondary_cold_combined_ms"]) and row["secondary_cold_combined_ms"] > 0
+ and row["secondary_cold_single_call_after_primary_samples"] is True, "cold secondary sample is invalid")
+ operations = [case["authorized_program"][key] for key in ("base", "u", "v")]
+ if case["authorized_program"]["hidden_beta"]:
+ operations.append(case["authorized_program"]["hidden_transform"])
+ expected_structure = {"source_derived_stride": case["source_stride"],
+ "reduced_inverse_length": (case["full_length"] - 1) // case["source_stride"] + 1,
+ "original_unary_call_count": len(operations), "optimized_unary_call_count": len(set(operations)),
+ "original_R_call_count": operations.count("R"), "optimized_R_call_count": int("R" in operations),
+ "R_calls_eliminated": max(0, operations.count("R") - 1),
+ "distinct_unary_tokens": list(dict.fromkeys(operations)), "memo_scope": "one_authenticated_program_invocation"}
+ require(row["operation_structure"] == expected_structure, "operation count or source-derived support claim changed")
+ geometry_key = f"m{case['full_length']}-s{case['source_stride']}"
+ require(row["template_geometry_key"] == geometry_key and row["template_build_ms_outside_arms"] ==
+ geometry[geometry_key]["build_ns_outside_all_timed_arms"] / 1e6, "source geometry setup binding changed")
+ successful = [row for row in rows if row["source_success"]]
+ require(cpu["source_success_count"] == len(successful) and cpu["source_failure_count"] == 60 - len(successful),
+ "first source failure count changed")
+ groups = {"overall": successful,
+ "primary_forty_sparse": [r for r in successful if r["source_stride"] > 1],
+ "primary_twelve_profile4": [r for r in successful if r["program_profile"] == 4],
+ "secondary_four_dense_profile4": [r for r in successful if r["program_profile"] == 4 and r["source_stride"] == 1]}
+ for name, selection in groups.items():
+ require(cpu[name] == summary(selection), "stored aggregate differs from original samples: " + name)
+ for name, field, values in (("by_degree", "observed_degree", (512, 1024)),
+ ("by_stride", "source_stride", (1, 4, 8)),
+ ("by_program_profile", "program_profile", range(5))):
+ require(cpu[name] == {str(v): summary([r for r in successful if r[field] == v]) for v in values},
+ "stored subgroup summaries differ: " + name)
+ require(cpu["secondary_ten_block_bootstrap"] == replay_bootstrap(successful),
+ "descriptive block-bootstrap intervals differ from original samples")
+ gates = replay_gates(rows, security_passed=True, source_integrity=True)
+ require(cpu["first_original_five_registered_gates"] == gates and
+ cpu["first_original_engineering_pass"] is all(gates.values()), "first registered score changed")
+ return gates
+
+
+def _utc(value):
+ require(type(value) is str, "provenance timestamp is missing")
+ timestamp = datetime.fromisoformat(value.replace("Z", "+00:00"))
+ require(timestamp.tzinfo is not None, "provenance timestamp lacks UTC offset")
+ return timestamp
+
+
+def audit(directory=HERE):
+ if hasattr(sys, "set_int_max_str_digits"):
+ sys.set_int_max_str_digits(0)
+ directory = Path(directory)
+ checked_sha(EXPECTED_RECEIPT_SHA256, "published receipt")
+ checked_sha(EXPECTED_ARCHIVE_SHA256, "published archive")
+ receipt_raw = (directory / RECEIPT_NAME).read_bytes()
+ require(sha256(receipt_raw).hexdigest() == EXPECTED_RECEIPT_SHA256, "externally pinned original receipt SHA mismatch")
+ receipt = canonical_loaded(receipt_raw, "first receipt")
+ require(receipt["schema"] == RECEIPT_SCHEMA, "wrong first receipt schema")
+ require(receipt["original_first_registration_commit"] == REGISTRATION, "receipt registration changed")
+ require(cohort.registration_sha() == REGISTRATION, "current registration marker changed")
+ archive_path = directory / ARCHIVE_NAME
+ archive_raw = archive_path.read_bytes()
+ require(sha256(archive_raw).hexdigest() == EXPECTED_ARCHIVE_SHA256 == receipt["archive_zip_sha256"],
+ "externally pinned original archive SHA mismatch")
+ require(len(archive_raw) == receipt["archive_zip_bytes"], "original archive byte count mismatch")
+ with ZipFile(archive_path) as archive:
+ require(archive.testzip() is None, "original ZIP integrity failure")
+ require(len(archive.namelist()) == 3 and set(archive.namelist()) == {SOURCE_NAME, CPU_NAME, JOURNAL_NAME},
+ "original ZIP members differ or contain duplicates")
+ source_raw, cpu_raw, journal_raw = (archive.read(name) for name in (SOURCE_NAME, CPU_NAME, JOURNAL_NAME))
+ for raw, prefix in ((source_raw, "raw_public_source"), (cpu_raw, "raw_first_CPU"), (journal_raw, "raw_progress_journal")):
+ require(len(raw) == receipt[prefix + "_bytes"] and sha256(raw).hexdigest() == receipt[prefix + "_sha256"],
+ "original member SHA or byte count differs: " + prefix)
+ fixture, cpu = canonical_loaded(source_raw, "first public source"), canonical_loaded(cpu_raw, "first CPU")
+ sources = validate_source(fixture)
+ require(cpu["first_public_only_source_sha256"] == sha256(source_raw).hexdigest(), "CPU source SHA binding changed")
+ require(cpu["progress_journal_sha256"] == sha256(journal_raw).hexdigest(), "CPU progress journal SHA binding changed")
+ gates = validate_cpu(cpu, sources)
+ events = validate_journal_bytes(journal_raw)
+ timed_count = validate_journal_against_cpu(events, cpu)
+ require(receipt["original_first_five_gates"] == gates and
+ receipt["first_original_engineering_pass"] is all(gates.values()), "receipt changed original engineering outcome")
+ primary = {
+ "sparse40_interpreter_median": cpu["primary_forty_sparse"].get("median_sourcewise_ratio_to_original", {}).get(ARMS[2]),
+ "all60_combined_ratio_of_sums": cpu["overall"].get("source_median_ratio_of_sums_to_original", {}).get(ARMS[3]),
+ "profile4_12_interpreter_median": cpu["primary_twelve_profile4"].get("median_sourcewise_ratio_to_original", {}).get(ARMS[2]),
+ }
+ require(receipt["original_primary"] == primary, "receipt primary metrics differ from original samples")
+ for field in ("original_first_run", "original_source_artifact_id", "original_CPU_artifact_id"):
+ require(type(receipt[field]) is int and receipt[field] > 0, "invalid original provenance ID: " + field)
+ require(str(receipt["original_first_run"]) == cpu["github_run_id"] and cpu["github_run_attempt"] == "1",
+ "first CPU is not original workflow attempt one")
+ require(receipt["original_trigger_commit"] == cpu["github_sha"] and
+ re.fullmatch("[0-9a-f]{40}", cpu["github_sha"]) is not None, "trigger commit binding changed")
+ require(_utc(receipt["upstream_source_uploaded_at"]) < _utc(receipt["cpu_job_started_at"]),
+ "upstream source was not uploaded before CPU job start")
+ return {"schema": "nor60.original_first_archive_audit.v1", "integrity_pass": True,
+ "source_count": 60, "source_success_count": cpu["source_success_count"],
+ "original_run_id": receipt["original_first_run"], "signed_bundles_authenticated": cpu["source_success_count"] * 5,
+ "original_interpreter_vectors_replayed": cpu["source_success_count"], "journal_events": len(events),
+ "timed_rows_preserved": timed_count, "registered_gates": gates,
+ "first_original_engineering_pass": all(gates.values()),
+ "source_sha256": sha256(source_raw).hexdigest(), "cpu_sha256": sha256(cpu_raw).hexdigest(),
+ "journal_sha256": sha256(journal_raw).hexdigest(), "archive_sha256": EXPECTED_ARCHIVE_SHA256,
+ "retimed": False, "source_fixture_written": False}
+
+
+def main():
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument("--directory", type=Path, default=HERE)
+ args = parser.parse_args()
+ print(json.dumps(audit(args.directory), sort_keys=True, indent=2))
+
+
+if __name__ == "__main__":
+ main()
diff --git a/research/nor60_authorized_interpreter/results/nor60_first_original_hosted.zip b/research/nor60_authorized_interpreter/results/nor60_first_original_hosted.zip
new file mode 100644
index 000000000..6fadb8dc2
Binary files /dev/null and b/research/nor60_authorized_interpreter/results/nor60_first_original_hosted.zip differ
diff --git a/research/nor60_authorized_interpreter/results/nor60_first_receipt.json b/research/nor60_authorized_interpreter/results/nor60_first_receipt.json
new file mode 100644
index 000000000..8e4f2d51f
--- /dev/null
+++ b/research/nor60_authorized_interpreter/results/nor60_first_receipt.json
@@ -0,0 +1,51 @@
+{
+ "CPU_artifact_uploaded_at": "2026-11-18T14:50:36Z",
+ "archive_is_byte_identical_original_hosted_artifact": true,
+ "archive_zip_bytes": 12310423,
+ "archive_zip_sha256": "c92e2c4e3bfcfd8e1371d1504c89d6812ac263ef270fc9d62e89d335f23da53c",
+ "cpu_job_completed_at": "2026-11-18T14:50:39Z",
+ "cpu_job_started_at": "2026-11-18T14:47:21Z",
+ "exact_vectors_retained": 60,
+ "first_original_engineering_pass": true,
+ "original_CPU_artifact_id": 14436529899,
+ "original_CPU_job_id": 134884822335,
+ "original_first_five_gates": {
+ "all60_combined_ratio_of_sums_under_0p80": true,
+ "all60_exact_signed_output_root_and_security": true,
+ "first_source_and_evidence_integrity": true,
+ "profile4_12_interpreter_ratio_median_under_0p65": true,
+ "sparse40_interpreter_ratio_median_under_0p70": true
+ },
+ "original_first_registration_commit": "363ef19abeba68e2897c593697ad56e2aaf4fefc",
+ "original_first_run": 44327994013,
+ "original_primary": {
+ "all60_combined_ratio_of_sums": 0.5639610500187702,
+ "profile4_12_interpreter_median": 0.11972620591979487,
+ "sparse40_interpreter_median": 0.20419599493475604
+ },
+ "original_source_artifact_id": 14438371253,
+ "original_source_artifact_zip_bytes": 73788,
+ "original_source_artifact_zip_sha256": "bea12212a0696ab1b5ad85c3e901f3ed17663e3c9627fd615cbb6df44dd25e03",
+ "original_source_job_id": 134884681802,
+ "original_source_median_wall_ms": {
+ "optimized_interpreter_full_root": 4751.423296,
+ "optimized_interpreter_warm_root": 4673.229136,
+ "original_interpreter_full_root": 8286.439526,
+ "original_interpreter_warm_root": 8166.188945
+ },
+ "original_trigger_commit": "a7edfa6850206fc01a9a67650e09ddd31d198766",
+ "primary_timing_samples_retained": 1200,
+ "progress_journal_events": 1324,
+ "raw_first_CPU_bytes": 27720732,
+ "raw_first_CPU_sha256": "fba38d6346d35b371464c1d811360879918aeccc0a8932538b6f3206cc4bc52d",
+ "raw_progress_journal_bytes": 898921,
+ "raw_progress_journal_sha256": "48828148a4dbce8d53e86002f5029902f4e80857ec6f53eddd25c09b3fe21dea",
+ "raw_public_source_bytes": 1021038,
+ "raw_public_source_sha256": "b44655796bdc4c9ed47fade2cd9cd563985d0b40ca1177856bb45f36d17185fd",
+ "schema": "nor60.first_original_60_signed_NOR45_CPU_archive.v1",
+ "scope": "Original finite CPU engineering result under public test keys and an honest external authority premise. No retiming or regenerated evidence.",
+ "signed_bundles_retained": 300,
+ "source_count": 60,
+ "source_job_completed_at": "2026-11-18T14:47:19Z",
+ "upstream_source_uploaded_at": "2026-11-18T14:47:17Z"
+}
diff --git a/research/nor60_authorized_interpreter/test_archive_audit.py b/research/nor60_authorized_interpreter/test_archive_audit.py
new file mode 100644
index 000000000..5d418ea38
--- /dev/null
+++ b/research/nor60_authorized_interpreter/test_archive_audit.py
@@ -0,0 +1,173 @@
+"""Source-free adversarial tests for the independent immutable archive reader."""
+import copy
+import json
+import random
+import tempfile
+import unittest
+from hashlib import sha256
+from pathlib import Path
+from unittest.mock import patch
+from cryptography.exceptions import InvalidSignature
+from research.nor45_authorized_program import independent_execution_verifier as original
+from research.nor59_authorized_merkle.test_authorized_root import source, program
+from research.nor60_authorized_interpreter import benchmark_cpu as benchmark
+from research.nor60_authorized_interpreter import original_archive_audit as audit
+
+
+def chain(events):
+ result, previous = [], "0" * 64
+ for ordinal, payload in enumerate(events):
+ core = {"ordinal": ordinal, "previous_sha256": previous, **payload}
+ previous = sha256(audit.canonical(core)).hexdigest()
+ result.append({**core, "event_sha256": previous})
+ return b"".join((json.dumps(row, sort_keys=True, separators=(",", ":")) + "\n").encode("ascii") for row in result)
+
+
+class ArchiveStructureTests(unittest.TestCase):
+ def test_published_entrypoint_refuses_missing_sha_anchors(self):
+ with tempfile.TemporaryDirectory() as directory, patch.object(audit, "EXPECTED_RECEIPT_SHA256", "UNSET"):
+ with self.assertRaisesRegex(ValueError, "anchor"):
+ audit.audit(Path(directory))
+
+ def test_canonical_bytes_and_decimal_encodings_fail_closed(self):
+ self.assertEqual(audit.canonical_loaded(b'{\n "a": 1\n}\n', "toy"), {"a": 1})
+ for raw in (b'{"a":1}', b'{"a":0,"a":1}\n'):
+ with self.assertRaises(ValueError):
+ audit.canonical_loaded(raw, "toy")
+ self.assertEqual(audit.checked_decimals(["1", "0", "-12"], 3, "toy"), (1, 0, -12))
+ for value in (["1", "00"], ["1", "-0"], ["1", "+2"], ["1", "2.0"], ["1", False]):
+ with self.assertRaises(ValueError):
+ audit.checked_decimals(value, 2, "toy")
+
+ def test_journal_rejects_tampering_reordering_and_truncation(self):
+ raw = chain([{"event": "started"}, {"event": "sample", "elapsed_ms": 1.25}])
+ self.assertEqual(len(audit.validate_journal_bytes(raw)), 2)
+ for bad in (raw.replace(b"1.25", b"1.26"), b"".join(reversed(raw.splitlines(keepends=True))), raw[:-1]):
+ with self.assertRaises(ValueError):
+ audit.validate_journal_bytes(bad)
+
+ def test_samples_reject_missing_nonfinite_or_changed_medians(self):
+ samples = {arm: [1.0, 2.0, 3.0, 4.0, 5.0] for arm in audit.ARMS}
+ medians = {arm: 3.0 for arm in audit.ARMS}
+ audit.validate_samples(samples, medians)
+ for value in ([1.0] * 4, [1.0, 2.0, float("nan"), 4.0, 5.0],
+ [1.0, 2.0, float("inf"), 4.0, 5.0], [1.0, 2.0, 0, 4.0, 5.0],
+ [1.0, 2.0, True, 4.0, 5.0]):
+ with self.assertRaises(ValueError):
+ audit.validate_samples(dict(samples, **{audit.ARMS[0]: value}), medians)
+ with self.assertRaises(ValueError):
+ audit.validate_samples(samples, dict(medians, **{audit.ARMS[0]: 2.0}))
+
+ def test_journal_sample_context_and_registered_order_match_saved_cpu(self):
+ row = {key: 0 for key in audit.IDENTITY_FIELDS}
+ row.update(source_sha256="a" * 64, source_success=True,
+ exact_output_vector_sha256="b" * 64, original_full_merkle_root_sha256="c" * 64,
+ arm_medians_ms={arm: 3.0 for arm in audit.ARMS}, secondary_cold_combined_ms=4.0,
+ five_interleaved_samples_ms={arm: [1.0, 2.0, 3.0, 4.0, 5.0] for arm in audit.ARMS},
+ five_signed_bundles=[{"signed_context_sha256": str(rep)} for rep in range(5)],
+ five_interleaved_orders=[])
+ cpu = {"first_public_only_source_sha256": "d" * 64, "source_code_sha256": {},
+ "source_free_security_preflight": {"passed": True}, "geometry_template_ledger": {},
+ "source_records": [row], "source_success_count": 1,
+ "first_original_five_registered_gates": {"toy": False}}
+ events = [{"event": "experiment_started", "registration_sha": audit.REGISTRATION,
+ "source_sha256": cpu["first_public_only_source_sha256"], "source_count": 60,
+ "repeats": 5, "arms": list(audit.ARMS), "source_code_sha256": {}},
+ {"event": "source_free_security_preflight", "passed": True},
+ {"event": "geometry_prepared_outside_timed_calls", "geometry": {}},
+ {"event": "source_started", "source_ordinal": 1,
+ **{key: row[key] for key in audit.IDENTITY_FIELDS}}]
+ for rep in range(5):
+ order = list(audit.ARMS)
+ seed = int.from_bytes(sha256(f"NOR60/ARM-ORDER/v1|{row['source_sha256']}|{rep}".encode("ascii")).digest(), "big")
+ random.Random(seed).shuffle(order)
+ row["five_interleaved_orders"].append(order)
+ for arm in order:
+ events.append({"event": "timed_arm_completed", "source_ordinal": 1,
+ "source_sha256": row["source_sha256"], "repetition": rep, "arm": arm,
+ "elapsed_ms": float(rep + 1), "exact_output_vector_sha256": "b" * 64,
+ "original_full_root_sha256": "c" * 64, "signed_context_sha256": str(rep)})
+ events.extend([{"event": "source_completed", "source_ordinal": 1, "source_sha256": "a" * 64,
+ "source_success": True, "arm_medians_ms": row["arm_medians_ms"], "secondary_cold_combined_ms": 4.0},
+ {"event": "experiment_completed", "source_count": 60, "source_success_count": 1,
+ "gates": {"toy": False}}])
+ cpu["progress_journal_event_count"] = len(events)
+ self.assertEqual(audit.validate_journal_against_cpu(audit.validate_journal_bytes(chain(events)), cpu), 20)
+ changed = copy.deepcopy(events)
+ changed[4]["signed_context_sha256"] = "wrong-session"
+ with self.assertRaisesRegex(ValueError, "context"):
+ audit.validate_journal_against_cpu(audit.validate_journal_bytes(chain(changed)), cpu)
+ changed = copy.deepcopy(events)
+ changed[4], changed[5] = changed[5], changed[4]
+ with self.assertRaises(ValueError):
+ audit.validate_journal_against_cpu(audit.validate_journal_bytes(chain(changed)), cpu)
+
+ def test_registered_gates_use_all_first_sources_and_strict_thresholds(self):
+ rows = []
+ for degree in (512, 1024):
+ for stride in (1, 4, 8):
+ for profile in range(5):
+ for rep in (0, 1):
+ medians = {audit.ARMS[0]: 1.0, audit.ARMS[1]: .9,
+ audit.ARMS[2]: .3, audit.ARMS[3]: .2}
+ rows.append({"source_success": True, "source_stride": stride, "program_profile": profile,
+ "all_four_full_signed_outputs_and_original_roots_equal": True,
+ "certified_public_support_stride": stride, "arm_medians_ms": medians,
+ "secondary_cold_combined_ms": .25,
+ "five_interleaved_samples_ms": {arm: [value] * 5 for arm, value in medians.items()},
+ "five_signed_bundles": [{"session_nonce_sha256": str(n)} for n in range(5)]})
+ self.assertTrue(all(audit.replay_gates(rows, security_passed=True, source_integrity=True).values()))
+ failed = copy.deepcopy(rows)
+ failed[0]["source_success"] = False
+ gates = audit.replay_gates(failed, security_passed=True, source_integrity=True)
+ self.assertFalse(gates["all60_combined_ratio_of_sums_under_0p80"])
+ self.assertFalse(gates["all60_exact_signed_output_root_and_security"])
+ boundary = copy.deepcopy(rows)
+ for row in boundary:
+ row["arm_medians_ms"][audit.ARMS[2]] = .70
+ self.assertFalse(audit.replay_gates(boundary, security_passed=True, source_integrity=True)[
+ "sparse40_interpreter_ratio_median_under_0p70"])
+
+
+class SignedArchiveTests(unittest.TestCase):
+ @classmethod
+ def setUpClass(cls):
+ query, p = source(512, 8, 1), program(4)
+ values = original.execute_authorized_program(p, query, 512)
+ root = original.independently_computed_root(values)
+ source_sha = sha256(b"NOR60-ARCHIVE-AUDIT-SOURCE-FREE-TOY").hexdigest()
+ bundles = benchmark.make_signed_bundles(query, p, 512, source_sha, values, root)
+ cls.case = {"public_query_coefficients_decimal": [str(v) for v in query], "full_length": len(query),
+ "authorized_program": p, "observed_degree": 512, "source_sha256": source_sha, "source_stride": 8}
+ cls.row = {"exact_output_coefficients_decimal": [str(v) for v in values],
+ "original_full_merkle_root_sha256": root, "exact_output_vector_sha256": original.query_digest(values),
+ "certified_public_support_stride": 8,
+ "five_signed_bundles": [{k: v for k, v in b.items() if k != "kwargs"} for b in bundles]}
+
+ def test_replay_original_vector_and_all_five_signed_bindings(self):
+ audit.validate_signed_bundles(self.case, self.row)
+
+ def test_session_replay_forgery_or_changed_exact_output_rejected(self):
+ altered = []
+ bad = copy.deepcopy(self.row)
+ bad["five_signed_bundles"][4] = copy.deepcopy(bad["five_signed_bundles"][0])
+ altered.append(bad)
+ bad = copy.deepcopy(self.row)
+ bad["five_signed_bundles"][4]["authority_certificate"]["signature_hex"] = "00" * 64
+ altered.append(bad)
+ bad = copy.deepcopy(self.row)
+ bad["five_signed_bundles"][3]["provider_reference"]["signature_hex"] = "00" * 64
+ altered.append(bad)
+ bad = copy.deepcopy(self.row)
+ bad["exact_output_coefficients_decimal"][8] = "999"
+ altered.append(bad)
+ bad = copy.deepcopy(self.row)
+ bad["five_signed_bundles"][1]["verifier_precommit"]["payload"]["proposal_sha256"] = "0" * 64
+ altered.append(bad)
+ for candidate in altered:
+ with self.assertRaises((ValueError, InvalidSignature)):
+ audit.validate_signed_bundles(self.case, candidate)
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/research/nor60_authorized_interpreter/test_cohort_integrity.py b/research/nor60_authorized_interpreter/test_cohort_integrity.py
new file mode 100644
index 000000000..5435ef923
--- /dev/null
+++ b/research/nor60_authorized_interpreter/test_cohort_integrity.py
@@ -0,0 +1,42 @@
+"""Toy content hashing and sealing tests, independent of the NOR60 cohort."""
+import copy
+import unittest
+from unittest.mock import patch
+from research.nor60_authorized_interpreter import cohort
+
+
+class PublicInputIntegrityTests(unittest.TestCase):
+ def test_content_hash_is_independent_of_experiment_metadata(self):
+ old = {"length": 5, "source_coefficients_decimal": ["1", "0", "-2", "0", "3"],
+ "source_schema": "old", "source_sha256": "a" * 64, "profile": "alpha"}
+ new = {"full_length": 5, "public_query_coefficients_decimal": ["1", "0", "-2", "0", "3"],
+ "case_schema": "new", "source_sha256": "b" * 64, "program_profile": 7}
+ self.assertEqual(cohort.query_content_sha256(old), cohort.query_content_sha256(new))
+ edited = copy.deepcopy(new)
+ edited["public_query_coefficients_decimal"][4] = "4"
+ self.assertNotEqual(cohort.query_content_sha256(old), cohort.query_content_sha256(edited))
+ for key, value in (("full_length", 6), ("public_query_coefficients_decimal", ["1", "00", "-2", "0", "3"]),
+ ("public_query_coefficients_decimal", ["1", 0, "-2", "0", "3"])):
+ with self.assertRaises((ValueError, TypeError)):
+ cohort.query_content_sha256(dict(new, **{key: value}))
+ with self.assertRaises(ValueError):
+ cohort.query_content_sha256({"length": 3, "unknown_vector": ["1", "0", "1"]})
+
+ def test_all_historical_rows_are_accounted_for_without_new_source_generation(self):
+ history = cohort.historical_evidence()
+ self.assertEqual(history["source_row_count"], 588)
+ self.assertEqual(len(history["source_ids"]), 588)
+ self.assertEqual(len(history["query_content_ids"]), 588)
+ self.assertEqual(len(history["program_input_ids"]), 60)
+ self.assertEqual(len(history["archive_records"]), 10)
+
+ def test_generation_is_sealed_without_registration_marker(self):
+ with patch.object(cohort, "registration_sha", side_effect=ValueError("sealed")):
+ with self.assertRaisesRegex(ValueError, "sealed"):
+ cohort.make_fixture()
+ with self.assertRaisesRegex(ValueError, "sealed"):
+ cohort.source_series(512, 4, 0, 0)
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/research/nor60_authorized_interpreter/test_optimized_execution.py b/research/nor60_authorized_interpreter/test_optimized_execution.py
new file mode 100644
index 000000000..d725c0e33
--- /dev/null
+++ b/research/nor60_authorized_interpreter/test_optimized_execution.py
@@ -0,0 +1,140 @@
+"""Source-free algebra and signed boundary controls. No NOR60 cohort is read."""
+from __future__ import annotations
+import copy
+import itertools
+import random
+import unittest
+from unittest.mock import patch
+
+from research.nor45_authorized_program import independent_execution_verifier as nor45
+from research.nor59_authorized_merkle.test_authorized_root import program, signed_bundle, source
+from research.nor60_authorized_interpreter import optimized_execution as optimized
+
+
+class ExactInterpreterTests(unittest.TestCase):
+ def test_finite_inverse_matches_independent_convolution_and_original(self):
+ rng = random.Random(606001)
+ for length, stride in itertools.product((1, 2, 3, 7, 8, 9, 16, 19, 33), (1, 4, 8)):
+ query = tuple([1] + [rng.randrange(-7, 8) if i % stride == 0 else 0
+ for i in range(1, length)])
+ result = optimized.supported_inverse(query)
+ self.assertEqual(result, nor45.unary(query, "R"))
+ self.assertEqual(len(result), length)
+ for n in range(length):
+ self.assertEqual(sum(query[k] * result[n-k] for k in range(n+1)), int(n == 0))
+ self.assertTrue(all(result[i] == 0 for i in range(length) if i % stride))
+
+ def test_original_indices_sign_doubling_hidden_shift_and_truncation(self):
+ for degree, stride, profile in itertools.product((512, 1024), (1, 4, 8), range(5)):
+ query = source(degree, stride, 1)
+ p = program(profile)
+ actual = optimized.execute_authorized_program(p, query, degree)
+ expected = nor45.execute_authorized_program(p, query, degree)
+ self.assertEqual(actual, expected)
+ self.assertEqual(nor45.independently_computed_root(actual),
+ nor45.independently_computed_root(expected))
+ if stride > 1:
+ self.assertEqual(nor45.unary(query, "N"), query)
+
+ def test_every_grammar_operator_combination_with_sparse_toy(self):
+ query = source(512, 8, 1)
+ for base, left, right in itertools.product(nor45.OPS, repeat=3):
+ p = program(0)
+ p.update(base=base, u=left, v=right)
+ self.assertEqual(optimized.execute_authorized_program(p, query, 512),
+ nor45.execute_authorized_program(p, query, 512))
+
+ def test_unary_reuse_is_one_invocation_and_query_sensitive(self):
+ p, q1 = program(4), source(512, 8, 1)
+ q2 = list(q1)
+ q2[8] += 3
+ original = optimized.supported_inverse
+ with patch.object(optimized, "supported_inverse", wraps=original) as call:
+ first = optimized.execute_authorized_program(p, q1, 512)
+ second = optimized.execute_authorized_program(p, q2, 512)
+ again = optimized.execute_authorized_program(p, q1, 512)
+ self.assertEqual(call.call_count, 3)
+ self.assertEqual(first, again)
+ self.assertNotEqual(first, second)
+ self.assertEqual(second, nor45.execute_authorized_program(p, q2, 512))
+ structure = optimized.execution_structure(p, q1, 512)
+ self.assertEqual(structure["original_R_call_count"], 3)
+ self.assertEqual(structure["optimized_R_call_count"], 1)
+ self.assertEqual(structure["R_calls_eliminated"], 2)
+
+ def test_reject_nonunit_types_geometry_and_unsigned_program_grammar(self):
+ p, q = program(0), source(512, 8, 1)
+ for bad in ((), (0, 1), (True, 0), (1, False), (1, 1.0), (1, "2"), iter(q)):
+ with self.assertRaises((ValueError, TypeError)):
+ optimized.supported_inverse(bad)
+ for bad in (q[:-1], q + (0,), q * 2, list(q[:1]) + [False] + list(q[2:])):
+ with self.assertRaises(ValueError):
+ optimized.execute_authorized_program(p, bad, 512)
+ for degree in (True, 513, 2048):
+ with self.assertRaises(ValueError):
+ optimized.execute_authorized_program(p, q, degree)
+ for field, value in (("delay", 65), ("spacing", 25), ("base", "callback"),
+ ("amplitude", True), ("hidden_transform", "R")):
+ badp = dict(p, **{field: value})
+ with self.assertRaises(ValueError):
+ optimized.execute_authorized_program(badp, q, 512)
+
+
+class SignedBoundaryTests(unittest.TestCase):
+ def test_all_fixed_interpreter_root_policies_share_signed_output(self):
+ for stride, profile in ((1, 0), (4, 1), (8, 2), (4, 3), (8, 4)):
+ kwargs, expected = signed_bundle(source(512, stride, 1), profile=profile)
+ baseline = nor45.verify_authorized_execution(**kwargs)
+ self.assertEqual(baseline["values"], expected)
+ for root_policy in ("original", "warm", "cold"):
+ actual = nor45.verify_authorized_execution(**kwargs,
+ _root_policy=root_policy, _interpreter_policy=optimized.POLICY)
+ self.assertEqual(actual, baseline)
+ with self.assertRaises(ValueError):
+ nor45.verify_authorized_execution(**kwargs, _interpreter_policy="caller_callback")
+
+ def test_authentication_failures_happen_before_optimized_execution(self):
+ q = source(512, 8, 1)
+ kwargs, _ = signed_bundle(q, profile=1)
+ changed_source = list(q)
+ changed_source[1] = 1
+ bad_context = copy.deepcopy(kwargs["session_context"])
+ bad_context["nonce_hex"] = "ff" * 32
+ bad_certificate = copy.deepcopy(kwargs["certificate"])
+ bad_certificate["signature_hex"] = "00" * 64
+ bad_program = copy.deepcopy(kwargs["certificate"])
+ bad_program["statement"]["program"]["base"] = "R"
+ bad_precommit = copy.deepcopy(kwargs["precommit_receipt"])
+ bad_precommit["signature_hex"] = "00" * 64
+ bad_provider = copy.deepcopy(kwargs["provider_reference"])
+ bad_provider["signature_hex"] = "00" * 64
+ swaps = (("query", changed_source), ("session_context", bad_context),
+ ("certificate", bad_certificate), ("certificate", bad_program),
+ ("precommit_receipt", bad_precommit), ("provider_reference", bad_provider),
+ ("pinned_program_authority_key", b"0" * 32),
+ ("pinned_verifier_public_key", b"1" * 32),
+ ("pinned_provider_public_key", b"2" * 32), ("now_epoch", 101))
+ with patch.object(optimized, "execute_authorized_program") as execute:
+ for root_policy, (field, value) in itertools.product(("original", "warm", "cold"), swaps):
+ with self.assertRaises((ValueError, TypeError)):
+ nor45.verify_authorized_execution(**dict(kwargs, **{field: value}),
+ _root_policy=root_policy, _interpreter_policy=optimized.POLICY)
+ execute.assert_not_called()
+
+ def test_cross_session_bundles_and_false_signed_provider_root_rejected(self):
+ q = source(512, 8, 1)
+ first, _ = signed_bundle(q, profile=1, nonce=b"a" * 32)
+ second, _ = signed_bundle(q, profile=1, nonce=b"b" * 32)
+ false, _ = signed_bundle(q, profile=1, nonce=b"c" * 32, provider_output=q)
+ for root_policy in ("original", "warm", "cold"):
+ for field in ("certificate", "precommit_receipt", "provider_reference"):
+ with self.assertRaises(ValueError):
+ nor45.verify_authorized_execution(**dict(first, **{field: second[field]}),
+ _root_policy=root_policy, _interpreter_policy=optimized.POLICY)
+ with self.assertRaises(ValueError):
+ nor45.verify_authorized_execution(**false, _root_policy=root_policy,
+ _interpreter_policy=optimized.POLICY)
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/research/nor60_authorized_interpreter/test_reporting.py b/research/nor60_authorized_interpreter/test_reporting.py
new file mode 100644
index 000000000..c7e5c1e62
--- /dev/null
+++ b/research/nor60_authorized_interpreter/test_reporting.py
@@ -0,0 +1,58 @@
+"""Source-free checks for first-failure preservation and reporter provenance."""
+import json
+import tempfile
+import unittest
+from hashlib import sha256
+from pathlib import Path
+from unittest.mock import patch
+from research.nor60_authorized_interpreter import benchmark_cpu as benchmark
+
+
+class FirstEvidenceReportingTests(unittest.TestCase):
+ def test_journal_chain_and_exclusive_creation(self):
+ with tempfile.TemporaryDirectory() as directory:
+ path = Path(directory) / "progress.jsonl"
+ journal = benchmark.Journal(path)
+ journal.write("source_started", source_ordinal=1)
+ journal.write("timed_arm_completed", elapsed_ms=3.5)
+ journal.close()
+ records = [json.loads(line) for line in path.read_text().splitlines()]
+ previous = "0" * 64
+ for ordinal, record in enumerate(records):
+ digest = record.pop("event_sha256")
+ self.assertEqual(record["ordinal"], ordinal)
+ self.assertEqual(record["previous_sha256"], previous)
+ self.assertEqual(sha256(benchmark.canonical(record)).hexdigest(), digest)
+ previous = digest
+ before = path.read_bytes()
+ with self.assertRaises(FileExistsError):
+ benchmark.Journal(path)
+ self.assertEqual(path.read_bytes(), before)
+
+ def test_fatal_report_keeps_partial_evidence_and_blocks_same_path_retry(self):
+ def toy_failure(public_file, journal, repeats):
+ journal.write("timed_arm_completed", source_ordinal=1,
+ repetition=0, arm=benchmark.ARMS[0], elapsed_ms=3.5)
+ raise RuntimeError("deliberate source-free reporting probe")
+ with tempfile.TemporaryDirectory() as directory:
+ output = Path(directory) / "toy.json"
+ argv = ["benchmark", "--public-file", str(Path(directory) / "unused.json"), "--out", str(output)]
+ with patch("sys.argv", argv), patch.object(benchmark, "run", side_effect=toy_failure) as run:
+ with self.assertRaisesRegex(RuntimeError, "source-free"):
+ benchmark.main()
+ self.assertEqual(run.call_count, 1)
+ with self.assertRaisesRegex(ValueError, "overwrite"):
+ benchmark.main()
+ self.assertEqual(run.call_count, 1)
+ journal = output.with_suffix(".progress.jsonl")
+ failure = json.loads(output.with_suffix(".failure.json").read_text())
+ self.assertFalse(output.exists())
+ self.assertFalse(failure["first_original_engineering_pass"])
+ self.assertEqual(failure["progress_journal_sha256"], sha256(journal.read_bytes()).hexdigest())
+ self.assertTrue(failure["rerun_is_not_original_first_attempt"])
+ self.assertEqual([json.loads(line)["event"] for line in journal.read_text().splitlines()],
+ ["timed_arm_completed", "experiment_fatal_failure"])
+
+
+if __name__ == "__main__":
+ unittest.main()
diff --git a/research/nor_line_capstone/README.md b/research/nor_line_capstone/README.md
new file mode 100644
index 000000000..1b0b941b5
--- /dev/null
+++ b/research/nor_line_capstone/README.md
@@ -0,0 +1,28 @@
+# NOR research capstone
+
+The [paper](../../papers/authorized-exact-computation/paper.md) consolidates the exact-computation branch of the Numerical Orbit Research series and its information/authority background. Its archived results remain attached to their original studies. NOR-60 closes the registered execution sequence with all five gates passed and a combined signed-verifier workload ratio of 0.563961. All 60 exact output vectors and indexed roots are preserved.
+
+## Read the evidence
+
+The [evidence ledger](evidence_ledger.json) records the historical source pin, study-level timing scopes, selected ratios, first outcomes, and SHA-256 locks for every referenced report and archive. [CSV](evidence_ledger.csv) gives a compact analysis table. The [claim map](claims.json) states the evidence type and assumptions for each central claim.
+
+The historical reports through NOR-59 are pinned to commit `714a7f5e1203289ef053dfa5becaa3537d1b946b`. NOR-60 is bound separately to registration `363ef19abeba68e2897c593697ad56e2aaf4fefc`, trigger `a7edfa6850206fc01a9a67650e09ddd31d198766`, and first run 44327994013. Ratio denominators differ between studies, so the selected values describe their own matched comparisons. Original failures and the unscored NOR-57 first run remain in the ledger.
+
+## Audit without generating a new experiment
+
+From the repository root:
+
+```bash
+python research/nor_line_capstone/audit_evidence.py --out /tmp/nor_capstone_byte_audit.json
+python research/nor59_authorized_merkle/original_archive_audit.py
+python research/nor60_authorized_interpreter/original_archive_audit.py
+python research/nor57_authenticated_router/original_failure_audit.py
+```
+
+The capstone audit checks the byte locks in its ledger and exits nonzero on a mismatch. The study-specific auditors reconstruct their archived checks from the original raw receipts. Each writes only its requested audit output and leaves the first-run evidence intact.
+
+The recorded seed streams and signing keys are public test fixtures. The measurements concern finite synthetic exact-integer workloads. Existing MathCan proofs are conditional on declared execution and cryptographic assumptions; the concrete support-compression and static-tree correspondence arguments in the paper retain their stated proof status.
+
+## Reusable implementations
+
+[Authorized Exact Gym](../authorized_exact_gym/README.md) packages the signed verifier task and public development fixtures. [Method transfer](method_transfer.json) records the source-pinned EvalMath FRE-01 auditor and Control-Harness adapter, with their finite test evidence. Their authority and timing premises remain explicit.
diff --git a/research/nor_line_capstone/audit_evidence.py b/research/nor_line_capstone/audit_evidence.py
new file mode 100644
index 000000000..e4c4bb3b3
--- /dev/null
+++ b/research/nor_line_capstone/audit_evidence.py
@@ -0,0 +1,71 @@
+"""Read-only byte audit for the NOR capstone's historical evidence ledger.
+
+This checks the documented source files. It neither generates timings nor
+replaces any original registered decision. Use each study's own archived
+auditor to reconstruct its detailed arithmetic and gate checks.
+"""
+from __future__ import annotations
+
+import argparse
+import hashlib
+import json
+from pathlib import Path
+
+
+def audit(repository: Path, ledger_path: Path) -> dict:
+ repository = repository.resolve()
+ ledger_bytes = ledger_path.read_bytes()
+ ledger = json.loads(ledger_bytes)
+ if ledger.get("schema") != "nor.capstone.evidence-ledger.v1":
+ raise ValueError("unsupported capstone evidence ledger")
+ checks = []
+ studies = set()
+ seen_files = set()
+ for study in ledger["studies"]:
+ label = study["study"]
+ if label in studies:
+ raise ValueError(f"duplicate study: {label}")
+ studies.add(label)
+ for item in study["files"]:
+ relative = item["path"]
+ target = (repository / relative).resolve()
+ if not target.is_relative_to(repository) or Path(relative).is_absolute():
+ raise ValueError(f"evidence path escapes repository: {relative}")
+ if relative in seen_files:
+ raise ValueError(f"duplicate evidence path: {relative}")
+ seen_files.add(relative)
+ raw = target.read_bytes()
+ digest = hashlib.sha256(raw).hexdigest()
+ good = len(raw) == item["bytes"] and digest == item["sha256"]
+ checks.append({"study": label, "path": relative, "bytes": len(raw),
+ "sha256": digest, "matches_ledger": good})
+ return {
+ "schema": "nor.capstone.evidence-audit.v1",
+ "historical_commit": ledger["historical_commit"],
+ "ledger_sha256": hashlib.sha256(ledger_bytes).hexdigest(),
+ "study_count": len(studies),
+ "file_count": len(checks),
+ "all_file_hashes_match": bool(checks) and all(c["matches_ledger"] for c in checks),
+ "scope": "read-only evidence bytes; original timings and verdicts preserved",
+ "checks": checks,
+ }
+
+
+def main() -> int:
+ parser = argparse.ArgumentParser(description=__doc__)
+ parser.add_argument("--repository", type=Path, default=Path(__file__).resolve().parents[2])
+ parser.add_argument("--out", type=Path)
+ args = parser.parse_args()
+ ledger_path = Path(__file__).with_name("evidence_ledger.json")
+ result = audit(args.repository, ledger_path)
+ data = json.dumps(result, indent=2, sort_keys=True) + "\n"
+ if args.out:
+ args.out.parent.mkdir(parents=True, exist_ok=True)
+ args.out.write_text(data)
+ else:
+ print(data, end="")
+ return 0 if result["all_file_hashes_match"] else 1
+
+
+if __name__ == "__main__":
+ raise SystemExit(main())
diff --git a/research/nor_line_capstone/claims.json b/research/nor_line_capstone/claims.json
new file mode 100644
index 000000000..b4b2da108
--- /dev/null
+++ b/research/nor_line_capstone/claims.json
@@ -0,0 +1,235 @@
+{
+ "schema": "nor.capstone.claims.v1",
+ "claims": [
+ {
+ "id": "C01",
+ "claim": "Common public observation with different targets limits exact prediction on the constructed paired worlds.",
+ "status": "mathematical argument; prior Lean companion",
+ "evidence": [
+ "paper.md section 3.1",
+ "research/nor42_paired_program_ood/prospective/README.md"
+ ],
+ "premises": [
+ "declared observation map",
+ "target inequality",
+ "equal pair prior only for the randomized average bound"
+ ]
+ },
+ {
+ "id": "C02",
+ "claim": "Signed verification and exact recomputation certify the output of the authorized program.",
+ "status": "conditional implementation evidence and existing Lean composition",
+ "evidence": [
+ "NOR45",
+ "LEAN45"
+ ],
+ "premises": [
+ "key provisioning",
+ "signature authorization",
+ "root/opening binding",
+ "correct execution semantics",
+ "source and chronology binding"
+ ]
+ },
+ {
+ "id": "C03",
+ "claim": "An authorized program may disagree with external target truth.",
+ "status": "executable counterexample; existing conditional Lean statement",
+ "evidence": [
+ "NOR45 dishonest authority controls",
+ "LEAN45"
+ ],
+ "premises": [
+ "authority can sign a semantically false program"
+ ]
+ },
+ {
+ "id": "C04",
+ "claim": "Support-compressed inverse with exact expansion preserves all coefficients.",
+ "status": "written finite proof; executable parity tests",
+ "evidence": [
+ "paper.md section 3.2",
+ "NOR52"
+ ],
+ "premises": [
+ "full source unit and stride check",
+ "exact integer arithmetic",
+ "correct truncation length"
+ ],
+ "concrete_Lean_correspondence_proved": false
+ },
+ {
+ "id": "C05",
+ "claim": "Original NOR45 grammar preserves verified strides 1,4,8.",
+ "status": "written closure proof; executable source/output checks",
+ "evidence": [
+ "paper.md section 3.3",
+ "NOR59 authorized_root.py"
+ ],
+ "premises": [
+ "closed original program grammar",
+ "all shifts divisible by source stride"
+ ],
+ "concrete_Lean_correspondence_proved": false
+ },
+ {
+ "id": "C06",
+ "claim": "Pure unary results may be reused within one invocation without changing program output.",
+ "status": "written extensional proof; executable parity tests",
+ "evidence": [
+ "paper.md section 3.4",
+ "NOR50"
+ ],
+ "premises": [
+ "fixed immutable source",
+ "pure operator implementation",
+ "local cache lifecycle"
+ ]
+ },
+ {
+ "id": "C07",
+ "claim": "Geometry-only static subtrees reproduce the full indexed Merkle root.",
+ "status": "written induction; executable parity tests",
+ "evidence": [
+ "paper.md section 3.5",
+ "NOR58",
+ "NOR59"
+ ],
+ "premises": [
+ "exact original domain tags and indexed encodings",
+ "verified source/output support",
+ "every output-dependent node recomputed"
+ ],
+ "concrete_Lean_correspondence_proved": false
+ },
+ {
+ "id": "C08",
+ "claim": "NOR57B timing-only two-backend oracle has workload ratio 0.964067 on the archived panel.",
+ "status": "post hoc finite-panel arithmetic bound",
+ "evidence": [
+ "NOR57B"
+ ],
+ "premises": [
+ "fixed measured source medians",
+ "zero overhead",
+ "choice only between two unchanged measured arms"
+ ]
+ },
+ {
+ "id": "C09",
+ "claim": "NOR59 root-only median ratio 0.309528 coexists with complete-workload ratio 0.991555.",
+ "status": "first registered engineering evidence plus descriptive aggregate interval",
+ "evidence": [
+ "NOR59"
+ ],
+ "premises": [
+ "fixed 60-case panel",
+ "five same-host interleaved repetitions",
+ "timing boundaries recorded"
+ ],
+ "interval95_workload": [
+ 0.9840724142617785,
+ 1.0003030285950016
+ ]
+ },
+ {
+ "id": "C10",
+ "claim": "Durable nonce consumption, real key custody, and semantically justified authority are additional deployment obligations.",
+ "status": "scope boundary",
+ "evidence": [
+ "NOR44",
+ "NOR45",
+ "NOR59"
+ ],
+ "premises": []
+ },
+ {
+ "id": "C11",
+ "claim": "Existing NOR46 Lean theorem proves uniqueness of a supplied causal recurrence and conditional trace/root composition.",
+ "status": "source inspected; historical report records successful kernel check",
+ "evidence": [
+ "https://github.com/patrickdugan/MathCan/blob/9b2e9f5a258b2a0bfa31489333e1e5b9b86b7566/MathCan/NOR46ExactIntegerTrace.lean"
+ ],
+ "premises": [
+ "causal update",
+ "same initial coefficient",
+ "traceExact for composition",
+ "abstract cryptographic binding"
+ ],
+ "concrete_packed_integer_checker_proved": false
+ },
+ {
+ "id": "C12",
+ "claim": "AEG-01 fixed symbolic verifier policies solve every case in the 14-case public development panel.",
+ "status": "finite deterministic implementation smoke",
+ "evidence": [
+ "research/authorized_exact_gym/README.md",
+ "research/authorized_exact_gym/results/aeg01_development_smoke.json"
+ ],
+ "premises": [
+ "public deterministic fixture keys and source generator",
+ "original full NOR45 interpreter as grading reference",
+ "four built-in fixed symbolic policies"
+ ],
+ "learned_model_evaluation": false,
+ "sealed_test_generated": false,
+ "boundary_tests_passed": 10
+ },
+ {
+ "id": "C13",
+ "claim": "EvalMath FRE-01 detects altered original bytes and exact operative-input reuse through renamed wrappers, preserving the original declared outcome through diagnostic lineage.",
+ "status": "finite adversarial tests and eight-check deterministic receipt",
+ "evidence": [
+ "https://github.com/MoralityLabAI/EvalMath/blob/9fc4f39e3bc4e614a54f674e7ea2281ee0a45725/paper/frozen_evidence_audit.md",
+ "https://github.com/MoralityLabAI/EvalMath/blob/9fc4f39e3bc4e614a54f674e7ea2281ee0a45725/output/evaluation_frozen_evidence/fre01_v1.json"
+ ],
+ "premises": [
+ "independently retained trusted anchor",
+ "domain adapter selects all operative fields",
+ "truthful timing boundaries"
+ ],
+ "benchmark_specific_gate_formula_recomputed": false
+ },
+ {
+ "id": "C14",
+ "claim": "Control-Harness loads the EvalMath auditor only after checking its pinned byte digest and publishes an audit without replacing existing output.",
+ "status": "offline adapter, nine regression tests",
+ "evidence": [
+ "https://github.com/MoralityLabAI/Control-Harness/blob/07d4b3a0a1a9749830a4473edc6c34fa4b383437/docs/frozen_evidence_FRE01.md"
+ ],
+ "premises": [
+ "supplied evidence and external anchor",
+ "trusted vendor-lock provisioning"
+ ],
+ "model_performance_evidence": false
+ },
+ {
+ "id": "C15",
+ "claim": "NOR60 first complete signed workload ratio is 0.5639610500187702 with exact full-vector and indexed-root parity for all 60 sources.",
+ "status": "First prospectively registered finite CPU engineering result; all five gates passed; original artifact independently replayed.",
+ "evidence": [
+ "NOR60 registration 363ef19abeba68e2897c593697ad56e2aaf4fefc",
+ "First run 44327994013",
+ "research/nor60_authorized_interpreter/results/nor60_first_receipt.json"
+ ],
+ "premises": [
+ "Declared synthetic program grammar",
+ "Exact content-disjoint fixed 60-case panel",
+ "Five interleaved repetitions and identical signed bundles within paired arms",
+ "Public test keys; semantic authority and cryptographic assumptions"
+ ],
+ "interval95_descriptive_ten_block": [
+ 0.3696560495538314,
+ 0.7976679828112877
+ ],
+ "cpu_sha256": "fba38d6346d35b371464c1d811360879918aeccc0a8932538b6f3206cc4bc52d",
+ "program_and_query_content_disjointness": {
+ "prior_query_vectors": 588,
+ "prior_program_inputs": 60
+ },
+ "standalone_compression_effect_identified_by_four_arms": false,
+ "standalone_memoization_effect_identified_by_four_arms": false,
+ "secondary_dense_P4_interpreter_ratio": 0.3779104278756591
+ }
+ ]
+}
diff --git a/research/nor_line_capstone/evidence_ledger.csv b/research/nor_line_capstone/evidence_ledger.csv
new file mode 100644
index 000000000..dedddbc82
--- /dev/null
+++ b/research/nor_line_capstone/evidence_ledger.csv
@@ -0,0 +1,18 @@
+study,cases,cohort_status,first_verdict,registered_gates_passed,registered_gates_total,selected_endpoint,aggregation,reported_ratio,strict_threshold_below,count_result,timed_scope,report_url
+NOR45,64,historical,PASS,,,authorized full output/root parity,exact_count,,,64/64,full signed authorized execution,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor45_authorized_program/RESULTS.md
+NOR46,16,historical,FAIL,,,Python full trace / original direct,median_sourcewise,3.28,,,arithmetic plus full root; signatures excluded,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor46_exact_integer_trace/RESULTS.md
+NOR47,16,historical,PASS,2,2,GMP full trace / original direct on 12 reciprocal cases,median_sourcewise,0.4966,,,arithmetic plus full root; signatures excluded,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor47_gmp_exact_convolution/RESULTS.md
+NOR48,16,historical,FAIL,4,5,R-aware dispatcher / original direct,median_sourcewise,0.818287,0.75,,arithmetic plus full root; signatures excluded,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor48_program_dispatch/RESULTS.md
+NOR49,48,previously untimed historical,FAIL,3,5,count-R selector / original direct,median_sourcewise,0.9995949312,0.75,,arithmetic plus full root; signatures excluded,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor49_reciprocal_count_dispatch/RESULTS.md
+NOR50,64,new prospective source identities,FAIL,4,5,GMP / memoized native on 19 repeated-R sources,median_sourcewise,1.183263,0.9,,arithmetic plus full root; signatures excluded,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor50_memoized_exact/RESULTS.md
+NOR51,48,new prospective source identities,FAIL,2,5,GMP witness verification / direct native on m3073,median_sourcewise,2.797903,0.75,,single inverse plus full root; witness generation separate,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor51_exact_r_crossover/RESULTS.md
+NOR52,60,new prospective source identities,PASS,5,5,compressed native / full native on 16 sparse m3073,median_sourcewise,0.163421,0.5,,single inverse plus full root,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor52_sparse_inverse/RESULTS.md
+NOR53,60,new prospective source identities,PASS,5,5,fast full GMP / original full GMP on 60 sources,median_sourcewise,0.143451,0.7,,single-inverse witness verification plus full root,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor53_native_pack/RESULTS.md
+NOR54,60,new prospective source identities,FAIL,4,5,produce + JSON roundtrip + fast verify / compressed native on 16 sparse m3073,median_sourcewise,1.711785,1.5,,local production and transport serialization plus verification/root,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor54_matched_frontier/RESULTS.md
+NOR55,60,new prospective source identities,FAIL,4,5,signed compact / signed JSON on 16 sparse m3073,median_sourcewise,0.851483,0.85,,signed envelope validation and supplied inverse verification/full root,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor55_compact_witness/RESULTS.md
+NOR56,60,new prospective source identities,FAIL,3,5,signed batch-table v2 / signed compact v1 on 16 sparse m3073,median_sourcewise,0.978214,0.92,,signed envelope validation and supplied inverse verification/full root,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor56_batch_codec/RESULTS.md
+NOR57,60,new prospective source identities,UNSCORED_ENGINEERING_FAIL,,5,fixed selector / always GMP,ratio_of_sums_source_medians,,0.95,,final first CPU JSON absent; five first gates unscored,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor57_authenticated_router/RESULTS.md
+NOR57B,60,fresh prospective successor cohort,FAIL,4,5,fixed selector / always GMP on 60 sources,ratio_of_sums_source_medians,0.989961,0.95,,identical signed v2 envelope acceptance and complete root,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor57b_independent/RESULTS.md
+NOR58,60,new prospective source identities,PASS,5,5,warm static / original Merkle on 60 sources,ratio_of_sums_source_medians,0.911459,0.95,,signed inverse-witness verifier and complete root,https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor58_static_merkle/RESULTS.md
+NOR59,60,new prospective source/program identities,PASS,5,5,warm static / original Merkle on 40 sparse authorized programs,median_sourcewise,0.9591404063964948,1.02,,"complete NOR45 signatures, program execution, full root",https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor59_authorized_merkle/RESULTS.md
+NOR60,60,new prospective full-query and program-input content-disjoint source/program identities,PASS,5,5,combined optimized interpreter and warm static root / original complete signed verifier on 60 sources,ratio_of_sums_source_medians,0.5639610500187702,0.8,60/60 exact vectors and roots; 300 signed session bundles; 1200 primary samples,"complete NOR45 authority, precommit, provider and query/session checks; full exact program execution and complete indexed root",https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44327994013
diff --git a/research/nor_line_capstone/evidence_ledger.json b/research/nor_line_capstone/evidence_ledger.json
new file mode 100644
index 000000000..1066bd33a
--- /dev/null
+++ b/research/nor_line_capstone/evidence_ledger.json
@@ -0,0 +1,667 @@
+{
+ "schema": "nor.capstone.evidence-ledger.v1",
+ "historical_repository": "MoralityLabAI/Compactification-Theory",
+ "historical_commit": "714a7f5e1203289ef053dfa5becaa3537d1b946b",
+ "created_date": "2026-11-18",
+ "interpretation": [
+ "Study ratios have different comparators, cohorts, hardware and timing boundaries; they cannot be multiplied into cumulative speedups.",
+ "Reported gate counts are engineering decisions, not independent significance tests.",
+ "NOR57 has no original complete first CPU JSON; stdout cannot reconstruct the first final gates.",
+ "Cross-study record-hash exclusion does not alone establish query-vector or isomorphism disjointness.",
+ "A signature authenticates a key holder; semantic correctness remains a premise about program authority.",
+ "The historical base commit covers NOR45-NOR59. NOR60 has its own registration, trigger commit, original hosted run, artifact identities and raw member hashes."
+ ],
+ "studies": [
+ {
+ "study": "NOR45",
+ "cases": 64,
+ "cohort_status": "historical",
+ "first_verdict": "PASS",
+ "registered_gates_passed": null,
+ "registered_gates_total": null,
+ "selected_endpoint": "authorized full output/root parity",
+ "aggregation": "exact_count",
+ "reported_ratio": null,
+ "strict_threshold_below": null,
+ "count_result": "64/64",
+ "timed_scope": "full signed authorized execution",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor45_authorized_program/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor45_authorized_program/RESULTS.md",
+ "sha256": "85f34b44b7839b22c0648b830fdb0f2df6131dffd8866750c07575689f50616c",
+ "bytes": 8578
+ },
+ {
+ "path": "research/nor45_authorized_program/results/nor45_first_archived_64_programs.json",
+ "sha256": "c4b1197b87b43c4cb4e32e0c2708c4a070742244d7cc05639e22353af78d5536",
+ "bytes": 112573
+ }
+ ]
+ },
+ {
+ "study": "NOR46",
+ "cases": 16,
+ "cohort_status": "historical",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": null,
+ "registered_gates_total": null,
+ "selected_endpoint": "Python full trace / original direct",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 3.28,
+ "strict_threshold_below": null,
+ "count_result": null,
+ "timed_scope": "arithmetic plus full root; signatures excluded",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor46_exact_integer_trace/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor46_exact_integer_trace/RESULTS.md",
+ "sha256": "6122d028ac258902eb9cf6efb8bd3a876ecd76e17ff6f9e54b6166d338b166b0",
+ "bytes": 9005
+ },
+ {
+ "path": "research/nor46_exact_integer_trace/results/nor46_first_historical_16.json",
+ "sha256": "d24bb2fec989a5cbe7422d3aae6e2e2779a9d780268f25f0f23ccf28f56db052",
+ "bytes": 19583
+ },
+ {
+ "path": "research/nor46_exact_integer_trace/results/nor46_first_historical_cpu_cost.json",
+ "sha256": "4e9695f89aaa8acf42c09c6fe7aea9ee47ca0f86f74f6131d3e108e587454a64",
+ "bytes": 11884
+ }
+ ]
+ },
+ {
+ "study": "NOR47",
+ "cases": 16,
+ "cohort_status": "historical",
+ "first_verdict": "PASS",
+ "registered_gates_passed": 2,
+ "registered_gates_total": 2,
+ "selected_endpoint": "GMP full trace / original direct on 12 reciprocal cases",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.4966,
+ "strict_threshold_below": null,
+ "count_result": null,
+ "timed_scope": "arithmetic plus full root; signatures excluded",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor47_gmp_exact_convolution/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor47_gmp_exact_convolution/RESULTS.md",
+ "sha256": "70097e3ac68e720fe8ee4700505970dcc9234119443c617ebebbb313c04843cb",
+ "bytes": 8070
+ },
+ {
+ "path": "research/nor47_gmp_exact_convolution/results/nor47_first_receipt.json",
+ "sha256": "b6b57e12fb10017f2cb5ff172898235cb239db857af5593436759995ce2eeb27",
+ "bytes": 1736
+ },
+ {
+ "path": "research/nor47_gmp_exact_convolution/results/nor47_first_original_cpu.json",
+ "sha256": "809fd5d18cfb61e4e6d771c4e402b31e3fec99889774f4305ddfa3d6c793f530",
+ "bytes": 34928
+ }
+ ]
+ },
+ {
+ "study": "NOR48",
+ "cases": 16,
+ "cohort_status": "historical",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 4,
+ "registered_gates_total": 5,
+ "selected_endpoint": "R-aware dispatcher / original direct",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.818287,
+ "strict_threshold_below": 0.75,
+ "count_result": null,
+ "timed_scope": "arithmetic plus full root; signatures excluded",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor48_program_dispatch/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor48_program_dispatch/RESULTS.md",
+ "sha256": "a9f95d3024db9edbce464826431306a6aa5bd14d42a1d334223e44a151d2728a",
+ "bytes": 8677
+ },
+ {
+ "path": "research/nor48_program_dispatch/results/nor48_first_receipt.json",
+ "sha256": "551d8c4b99b4cf384e73ce3651a4baf0a00c7d7b189f30c0258b5ad2ff4a7d5c",
+ "bytes": 2339
+ },
+ {
+ "path": "research/nor48_program_dispatch/results/nor48_first_original_cpu.json",
+ "sha256": "d5cf4b0e3860907eb58c2a37b84ff631f023caf2b69e6e0d0e5a322e2f0b2b99",
+ "bytes": 27609
+ }
+ ]
+ },
+ {
+ "study": "NOR49",
+ "cases": 48,
+ "cohort_status": "previously untimed historical",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 3,
+ "registered_gates_total": 5,
+ "selected_endpoint": "count-R selector / original direct",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.9995949312,
+ "strict_threshold_below": 0.75,
+ "count_result": null,
+ "timed_scope": "arithmetic plus full root; signatures excluded",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor49_reciprocal_count_dispatch/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor49_reciprocal_count_dispatch/RESULTS.md",
+ "sha256": "c071945fbeb906d93b1a10305e98f081c5a476ef9d05344869c27aef9d83f6e0",
+ "bytes": 3334
+ },
+ {
+ "path": "research/nor49_reciprocal_count_dispatch/results/nor49_first_receipt.json",
+ "sha256": "5ef2170a51cc775a17b2e5a9e1d288ce83966dcdd1eaa1c77a60a325b7fc22d4",
+ "bytes": 2661
+ },
+ {
+ "path": "research/nor49_reciprocal_count_dispatch/results/nor49_first_original_cpu.json",
+ "sha256": "c3f4a67b20df4504461c65168f6006041f2cc839aabdda054032a6f89bd24e4b",
+ "bytes": 84469
+ },
+ {
+ "path": "research/nor49_reciprocal_count_dispatch/results/nor49_first_original_source_roster.json",
+ "sha256": "40929d52abddc5a15e82ec8e8101fba265d39e28239172c7e9fcaca4f6f0d2ae",
+ "bytes": 13081
+ }
+ ]
+ },
+ {
+ "study": "NOR50",
+ "cases": 64,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 4,
+ "registered_gates_total": 5,
+ "selected_endpoint": "GMP / memoized native on 19 repeated-R sources",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 1.183263,
+ "strict_threshold_below": 0.9,
+ "count_result": null,
+ "timed_scope": "arithmetic plus full root; signatures excluded",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor50_memoized_exact/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor50_memoized_exact/RESULTS.md",
+ "sha256": "68d20c114c8b331328023504952854364889cb5af54eddefaf383c7f02ef4718",
+ "bytes": 4111
+ },
+ {
+ "path": "research/nor50_memoized_exact/results/nor50_first_receipt.json",
+ "sha256": "2356ad8340e63db33cbad20e3b7de081da242b44d93f384d85193e42f44af5cc",
+ "bytes": 2298
+ },
+ {
+ "path": "research/nor50_memoized_exact/results/nor50_first_original_hosted.zip",
+ "sha256": "a6cb35c57cc7bd742cdb40d1a87066c6276b45a48a8107e7b870c2563adc424c",
+ "bytes": 2989300
+ }
+ ]
+ },
+ {
+ "study": "NOR51",
+ "cases": 48,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 2,
+ "registered_gates_total": 5,
+ "selected_endpoint": "GMP witness verification / direct native on m3073",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 2.797903,
+ "strict_threshold_below": 0.75,
+ "count_result": null,
+ "timed_scope": "single inverse plus full root; witness generation separate",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor51_exact_r_crossover/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor51_exact_r_crossover/RESULTS.md",
+ "sha256": "6a8fc8f9335dfea421f206f30bc10bcde74ec5fc0e15d60abba58896974d48dd",
+ "bytes": 5651
+ },
+ {
+ "path": "research/nor51_exact_r_crossover/results/nor51_first_receipt.json",
+ "sha256": "ce76ac15b6c3aa8a96c241b14023341dadf2ef3122d0b76392d7c1f4cb43b3ef",
+ "bytes": 5395
+ },
+ {
+ "path": "research/nor51_exact_r_crossover/results/nor51_first_original_hosted.zip",
+ "sha256": "b8771c20b24b7868ff467f9559cba6c551021042943db8d308c204d0d75e39d9",
+ "bytes": 69120
+ }
+ ]
+ },
+ {
+ "study": "NOR52",
+ "cases": 60,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "PASS",
+ "registered_gates_passed": 5,
+ "registered_gates_total": 5,
+ "selected_endpoint": "compressed native / full native on 16 sparse m3073",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.163421,
+ "strict_threshold_below": 0.5,
+ "count_result": null,
+ "timed_scope": "single inverse plus full root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor52_sparse_inverse/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor52_sparse_inverse/RESULTS.md",
+ "sha256": "aea9a649ab392eed2db5284e5987bd96eb947b9b81484b5544462fbae5355ed6",
+ "bytes": 6032
+ },
+ {
+ "path": "research/nor52_sparse_inverse/results/nor52_first_receipt.json",
+ "sha256": "aed7169a387d7d3388e83641558f6a958f153ed8f4c8888e4fa2e793682da64c",
+ "bytes": 5801
+ },
+ {
+ "path": "research/nor52_sparse_inverse/results/nor52_first_original_hosted.zip",
+ "sha256": "1905b3835ed6dea870994a154d8a56942fce0b0fcf83d4058417abc543e206a6",
+ "bytes": 84100
+ }
+ ]
+ },
+ {
+ "study": "NOR53",
+ "cases": 60,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "PASS",
+ "registered_gates_passed": 5,
+ "registered_gates_total": 5,
+ "selected_endpoint": "fast full GMP / original full GMP on 60 sources",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.143451,
+ "strict_threshold_below": 0.7,
+ "count_result": null,
+ "timed_scope": "single-inverse witness verification plus full root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor53_native_pack/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor53_native_pack/RESULTS.md",
+ "sha256": "4586a459edf2d53543c4b1782c26082334284bbae785f3a3c08d77469d2f7dd5",
+ "bytes": 5480
+ },
+ {
+ "path": "research/nor53_native_pack/results/nor53_first_receipt.json",
+ "sha256": "9faf73088991ee5c97c17b914f39821a334b97a43e0c60440c38e2860524dd4a",
+ "bytes": 7904
+ },
+ {
+ "path": "research/nor53_native_pack/results/nor53_first_original_hosted.zip",
+ "sha256": "a44856da93943c82a5265bceadad06374f2ccb6050626f10477b6470d6bcd0ff",
+ "bytes": 80827
+ }
+ ]
+ },
+ {
+ "study": "NOR54",
+ "cases": 60,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 4,
+ "registered_gates_total": 5,
+ "selected_endpoint": "produce + JSON roundtrip + fast verify / compressed native on 16 sparse m3073",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 1.711785,
+ "strict_threshold_below": 1.5,
+ "count_result": null,
+ "timed_scope": "local production and transport serialization plus verification/root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor54_matched_frontier/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor54_matched_frontier/RESULTS.md",
+ "sha256": "6831c68691244aaf4564225af340814db9a100bda9a18b19e79fb710999de53c",
+ "bytes": 6115
+ },
+ {
+ "path": "research/nor54_matched_frontier/results/nor54_first_receipt.json",
+ "sha256": "d30ada2c48e4bda0d906e5ac35fcf89a0c0b29bcba843ce7f591f7ced456fc62",
+ "bytes": 8618
+ },
+ {
+ "path": "research/nor54_matched_frontier/results/nor54_first_original_hosted.zip",
+ "sha256": "8d5b5745127a5086910f2d4c73b69eb039a6b81e3417060868894366a3129656",
+ "bytes": 85438
+ }
+ ]
+ },
+ {
+ "study": "NOR55",
+ "cases": 60,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 4,
+ "registered_gates_total": 5,
+ "selected_endpoint": "signed compact / signed JSON on 16 sparse m3073",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.851483,
+ "strict_threshold_below": 0.85,
+ "count_result": null,
+ "timed_scope": "signed envelope validation and supplied inverse verification/full root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor55_compact_witness/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor55_compact_witness/RESULTS.md",
+ "sha256": "ed6288be98c03000f3fdf6eddb9db5b5ea2f27a189e4789c459bb212339475f4",
+ "bytes": 7357
+ },
+ {
+ "path": "research/nor55_compact_witness/results/nor55_first_receipt.json",
+ "sha256": "c1847c57932834212e14d872c64d0f6e7f3bc8406ffe2732d05b523fea271aed",
+ "bytes": 9934
+ },
+ {
+ "path": "research/nor55_compact_witness/results/nor55_first_original_hosted.zip",
+ "sha256": "f16ed7e1397b863c0dd00175f64a31a15ba61fbfc0667cf002990f732f7d946a",
+ "bytes": 114163
+ }
+ ]
+ },
+ {
+ "study": "NOR56",
+ "cases": 60,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 3,
+ "registered_gates_total": 5,
+ "selected_endpoint": "signed batch-table v2 / signed compact v1 on 16 sparse m3073",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.978214,
+ "strict_threshold_below": 0.92,
+ "count_result": null,
+ "timed_scope": "signed envelope validation and supplied inverse verification/full root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor56_batch_codec/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor56_batch_codec/RESULTS.md",
+ "sha256": "b7ea883c32f09981af503dec201db8353df2d53b466049f88c3cced959669065",
+ "bytes": 5952
+ },
+ {
+ "path": "research/nor56_batch_codec/results/nor56_first_receipt.json",
+ "sha256": "75cae1f95474eac38f0794995a23d4279a2ee01f96b7acef840b479faafa206e",
+ "bytes": 12205
+ },
+ {
+ "path": "research/nor56_batch_codec/results/nor56_first_original_hosted.zip",
+ "sha256": "73a0822822594e1229b4fababee1400b22bddb4e5a06ae87d57e1385788833c3",
+ "bytes": 133874
+ }
+ ]
+ },
+ {
+ "study": "NOR57",
+ "cases": 60,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "UNSCORED_ENGINEERING_FAIL",
+ "registered_gates_passed": null,
+ "registered_gates_total": 5,
+ "selected_endpoint": "fixed selector / always GMP",
+ "aggregation": "ratio_of_sums_source_medians",
+ "reported_ratio": null,
+ "strict_threshold_below": 0.95,
+ "count_result": null,
+ "timed_scope": "final first CPU JSON absent; five first gates unscored",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor57_authenticated_router/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor57_authenticated_router/RESULTS.md",
+ "sha256": "e47b7e51d4495b708ec2e15dfe06ccb9186a1617557c01f6c74736921a3284ea",
+ "bytes": 3903
+ },
+ {
+ "path": "research/nor57_authenticated_router/results/nor57_first_failure_receipt.json",
+ "sha256": "2cdcead79eb6b692ffdcc737010cd311ceb78aeaa4e67f3d6d1ddefc543d7d49",
+ "bytes": 1409
+ },
+ {
+ "path": "research/nor57_authenticated_router/results/nor57_first_original_failure_hosted.zip",
+ "sha256": "d6feae134d340a4f15535b4bcc14e9800da3d559213f51203895c1c0c70b72c5",
+ "bytes": 64842
+ }
+ ]
+ },
+ {
+ "study": "NOR57B",
+ "cases": 60,
+ "cohort_status": "fresh prospective successor cohort",
+ "first_verdict": "FAIL",
+ "registered_gates_passed": 4,
+ "registered_gates_total": 5,
+ "selected_endpoint": "fixed selector / always GMP on 60 sources",
+ "aggregation": "ratio_of_sums_source_medians",
+ "reported_ratio": 0.989961,
+ "strict_threshold_below": 0.95,
+ "count_result": null,
+ "timed_scope": "identical signed v2 envelope acceptance and complete root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor57b_independent/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor57b_independent/RESULTS.md",
+ "sha256": "60655a94e7fdff71220e29647e37054d5881061228a20548acf7b01222c5c7e4",
+ "bytes": 8672
+ },
+ {
+ "path": "research/nor57b_independent/results/nor57b_first_receipt.json",
+ "sha256": "7cc7c66b2143b308200069f4c8a0fe2cb787ec02e19636d4a17f470f2a75054c",
+ "bytes": 6692
+ },
+ {
+ "path": "research/nor57b_independent/results/nor57b_first_original_hosted.zip",
+ "sha256": "ec8476d8fae5831a2338e779b4d1e0c1fd2175dc341cb5478975c4f6d3a79e1a",
+ "bytes": 91545
+ }
+ ]
+ },
+ {
+ "study": "NOR58",
+ "cases": 60,
+ "cohort_status": "new prospective source identities",
+ "first_verdict": "PASS",
+ "registered_gates_passed": 5,
+ "registered_gates_total": 5,
+ "selected_endpoint": "warm static / original Merkle on 60 sources",
+ "aggregation": "ratio_of_sums_source_medians",
+ "reported_ratio": 0.911459,
+ "strict_threshold_below": 0.95,
+ "count_result": null,
+ "timed_scope": "signed inverse-witness verifier and complete root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor58_static_merkle/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor58_static_merkle/RESULTS.md",
+ "sha256": "ee07e784c7355d96a3d9392752e11e5bc117a0a1ee6054a72f092360c4d3a5f6",
+ "bytes": 6739
+ },
+ {
+ "path": "research/nor58_static_merkle/results/nor58_first_receipt.json",
+ "sha256": "ed2e5da92b07d941ef0d5af23135dfccc2f04bdc691c4698fec4a82f22c58d61",
+ "bytes": 14319
+ },
+ {
+ "path": "research/nor58_static_merkle/results/nor58_first_original_hosted.zip",
+ "sha256": "5b0c2b18004cb6f04e29283a8b4dd4342e43705f4c65c09df80df767950d218d",
+ "bytes": 95197
+ }
+ ]
+ },
+ {
+ "study": "NOR59",
+ "cases": 60,
+ "cohort_status": "new prospective source/program identities",
+ "first_verdict": "PASS",
+ "registered_gates_passed": 5,
+ "registered_gates_total": 5,
+ "selected_endpoint": "warm static / original Merkle on 40 sparse authorized programs",
+ "aggregation": "median_sourcewise",
+ "reported_ratio": 0.9591404063964948,
+ "strict_threshold_below": 1.02,
+ "count_result": null,
+ "timed_scope": "complete NOR45 signatures, program execution, full root",
+ "ratio_precision": "as printed in RESULTS.md, except NOR59 full archived precision",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/blob/714a7f5e1203289ef053dfa5becaa3537d1b946b/research/nor59_authorized_merkle/RESULTS.md",
+ "files": [
+ {
+ "path": "research/nor59_authorized_merkle/RESULTS.md",
+ "sha256": "4b454b3727eca48bdf05d7eedbbb8899e049e7d8cbc0e2cb8a6e2d3a1da90d0e",
+ "bytes": 6722
+ },
+ {
+ "path": "research/nor59_authorized_merkle/results/nor59_first_receipt.json",
+ "sha256": "e46e272c4cc1a9859071c1a9d6fe6a88aeca5193b89ac9c50f7c7c2dac430734",
+ "bytes": 12680
+ },
+ {
+ "path": "research/nor59_authorized_merkle/results/nor59_first_original_hosted.zip",
+ "sha256": "3249ffb69ebd0eba11669609a79e3e52f3d43b176c6320254a469cdb057e3e0b",
+ "bytes": 109861
+ }
+ ]
+ },
+ {
+ "study": "NOR60",
+ "cases": 60,
+ "cohort_status": "new prospective full-query and program-input content-disjoint source/program identities",
+ "first_verdict": "PASS",
+ "registered_gates_passed": 5,
+ "registered_gates_total": 5,
+ "selected_endpoint": "combined optimized interpreter and warm static root / original complete signed verifier on 60 sources",
+ "aggregation": "ratio_of_sums_source_medians",
+ "reported_ratio": 0.5639610500187702,
+ "strict_threshold_below": 0.8,
+ "count_result": "60/60 exact vectors and roots; 300 signed session bundles; 1200 primary samples",
+ "timed_scope": "complete NOR45 authority, precommit, provider and query/session checks; full exact program execution and complete indexed root",
+ "ratio_precision": "full archived floating-point summary recomputed from original five-repeat samples",
+ "report_url": "https://github.com/MoralityLabAI/Compactification-Theory/actions/runs/44327994013",
+ "registration_commit": "363ef19abeba68e2897c593697ad56e2aaf4fefc",
+ "source_commit": "a7edfa6850206fc01a9a67650e09ddd31d198766",
+ "first_run_id": 44327994013,
+ "first_source_artifact_id": 14438371253,
+ "first_cpu_artifact_id": 14436529899,
+ "original_raw_members": [
+ {
+ "member_name": "nor60_first_original_cpu.json",
+ "sha256": "fba38d6346d35b371464c1d811360879918aeccc0a8932538b6f3206cc4bc52d",
+ "bytes": 27720732
+ },
+ {
+ "member_name": "nor60_first_original_60_public_only.json",
+ "sha256": "b44655796bdc4c9ed47fade2cd9cd563985d0b40ca1177856bb45f36d17185fd",
+ "bytes": 1021038
+ },
+ {
+ "member_name": "nor60_first_original_progress.jsonl",
+ "sha256": "48828148a4dbce8d53e86002f5029902f4e80857ec6f53eddd25c09b3fe21dea",
+ "bytes": 898921
+ }
+ ],
+ "primary_gates": {
+ "all60_combined_ratio_of_sums_under_0p80": true,
+ "all60_exact_signed_output_root_and_security": true,
+ "first_source_and_evidence_integrity": true,
+ "profile4_12_interpreter_ratio_median_under_0p65": true,
+ "sparse40_interpreter_ratio_median_under_0p70": true
+ },
+ "original_full_workload_ms": {
+ "optimized_interpreter_full_root": 4751.423296,
+ "optimized_interpreter_warm_root": 4673.229136,
+ "original_interpreter_full_root": 8286.439526,
+ "original_interpreter_warm_root": 8166.188945
+ },
+ "original_workload_ratios": {
+ "optimized_interpreter_full_root": 0.5733974502669894,
+ "optimized_interpreter_warm_root": 0.5639610500187702,
+ "original_interpreter_full_root": 1.0,
+ "original_interpreter_warm_root": 0.9854882690421266
+ },
+ "sparse_40_interpreter_median": 0.20419599493475604,
+ "profile4_12_interpreter_median": 0.11972620591979487,
+ "secondary_dense_profile4_4_interpreter_median": 0.3779104278756591,
+ "secondary_descriptive_bootstrap": {
+ "block_count": 10,
+ "bootstrap_repeats": 4096,
+ "descriptive_intervals": {
+ "optimized_interpreter_full_root": {
+ "descriptive_95pct_ten_block_interval": [
+ 0.3749902143445089,
+ 0.8158813800839209
+ ]
+ },
+ "optimized_interpreter_warm_root": {
+ "descriptive_95pct_ten_block_interval": [
+ 0.3696560495538314,
+ 0.7976679828112877
+ ]
+ },
+ "original_interpreter_warm_root": {
+ "descriptive_95pct_ten_block_interval": [
+ 0.9658067791747034,
+ 0.9988467409726622
+ ]
+ }
+ }
+ },
+ "files": [
+ {
+ "path": "research/nor60_authorized_interpreter/REGISTRATION.md",
+ "sha256": "6c943d776bea442783d30028def1fbe4a824270bf8fdda541169448f548df5aa",
+ "bytes": 12002
+ },
+ {
+ "path": "research/nor60_authorized_interpreter/REGISTRATION_SHA.txt",
+ "sha256": "e9f3043b46a88e873fb6bb8e767fd6b65d41ac1aec6aaa17942f4b4fdba9fbb9",
+ "bytes": 41
+ },
+ {
+ "path": "research/nor60_authorized_interpreter/optimized_execution.py",
+ "sha256": "e5e854f7dec5afd74772bb332c08bd97a4cf7932a669cc0fb7d0ee8b52789ead",
+ "bytes": 4388
+ },
+ {
+ "path": "research/nor60_authorized_interpreter/cohort.py",
+ "sha256": "771ac196943c1bfa2b0bbaaa24872908bd6ae527df138fff9e3930a9081219f1",
+ "bytes": 9380
+ },
+ {
+ "path": "research/nor60_authorized_interpreter/benchmark_cpu.py",
+ "sha256": "497d37f8b7b9f19ba0df0662577f48dd65552cca261facab98a76feafd925011",
+ "bytes": 24589
+ },
+ {
+ "path": "research/nor60_authorized_interpreter/results/nor60_first_original_hosted.zip",
+ "sha256": "c92e2c4e3bfcfd8e1371d1504c89d6812ac263ef270fc9d62e89d335f23da53c",
+ "bytes": 12310423
+ },
+ {
+ "path": "research/nor60_authorized_interpreter/results/nor60_first_receipt.json",
+ "sha256": "0bc8cdbe1c50737a12863186620d7ef40faa96509e4347392a66bad58ae471cb",
+ "bytes": 2571
+ }
+ ]
+ }
+ ],
+ "final_experiment_registration_commit": "363ef19abeba68e2897c593697ad56e2aaf4fefc",
+ "final_experiment_trigger_commit": "a7edfa6850206fc01a9a67650e09ddd31d198766"
+}
diff --git a/research/nor_line_capstone/method_transfer.json b/research/nor_line_capstone/method_transfer.json
new file mode 100644
index 000000000..9a4ca4bcb
--- /dev/null
+++ b/research/nor_line_capstone/method_transfer.json
@@ -0,0 +1,42 @@
+{
+ "schema": "nor.capstone.method-transfer.v1",
+ "evidence_scope": "finite deterministic fixtures and adversarial software tests",
+ "integrations": [
+ {
+ "repository": "MoralityLabAI/EvalMath",
+ "pr": 54,
+ "source_commit": "9fc4f39e3bc4e614a54f674e7ea2281ee0a45725",
+ "module": "src/spiral_ln/evaluation_frozen_evidence.py",
+ "module_sha256": "87e8388cb9185448c57c4f314cf96ba8e1646fb51c388a7b4abdbf3831f9cda7",
+ "adversarial_tests_passed": 32,
+ "receipt_checks_passed": 8,
+ "receipt_checks_total": 8,
+ "pr_url": "https://github.com/MoralityLabAI/EvalMath/pull/54",
+ "status": "merged",
+ "merge_commit": "bed334f032d31d777bad0e5152e732f57252092b",
+ "fast_receipts_passed": 27,
+ "fast_receipts_total": 27
+ },
+ {
+ "repository": "MoralityLabAI/Control-Harness",
+ "pr": 70,
+ "source_commit": "07d4b3a0a1a9749830a4473edc6c34fa4b383437",
+ "cli": "scripts/audit_frozen_evidence.py",
+ "vendor_module_sha256": "87e8388cb9185448c57c4f314cf96ba8e1646fb51c388a7b4abdbf3831f9cda7",
+ "adapter_tests_passed": 9,
+ "workflow_python_versions": [
+ "3.11",
+ "3.13"
+ ],
+ "pr_url": "https://github.com/MoralityLabAI/Control-Harness/pull/70",
+ "status": "merged",
+ "merge_commit": "43d01c2c8f084ea0086a24a3056139cdad2d3d3b"
+ }
+ ],
+ "limits": [
+ "Synthetic fixture clocks and trusted anchors exercise finite code paths.",
+ "The caller supplies independently retained anchors and evidence of registration chronology.",
+ "The generic auditor preserves a first declared gate outcome; benchmark-specific graders remain responsible for its correctness.",
+ "Exact content hashes do not establish semantic isomorphism, source independence, or real authority honesty."
+ ]
+}