omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / evidence / SEED-0 / benchmark-parity / README.md
| 1 | # Benchmark parity audit (rung R15) |
| 2 | |
| 3 | Question: does the current `seed/out/omc` compile and run the real benchmark workspace exactly as the |
| 4 | benchmark-pinned compiler does? |
| 5 | |
| 6 | Reference compiler: rebuilt from `seed/omc/omc.om` at commit `f0499f41` with `seed/rung4/om4.bin`; |
| 7 | SHA-256 `e5d60db892c8f21cc8c9128af26d8bded0e96d7f92946f5a549397c43a872649`, matching the pin in |
| 8 | `benchmarks-om/docs/OMEGA_REWRITE.md`. |
| 9 | |
| 10 | ## 1. Every authored source (103 files) |
| 11 | |
| 12 | Every `.om` under `benchmarks-om/om/` and `benchmarks-om/tests/om/` was compiled by both compilers and |
| 13 | the exit status and output bytes compared: **103 files, 0 differences, 0 crashes**. |
| 14 | |
| 15 | ## 2. Every build-plan target (53 targets) |
| 16 | |
| 17 | Each line of `benchmarks-om/om/build.plan` names a target and its ordered source units. For each |
| 18 | target the units were concatenated (the workspace's supported composition mechanism today) and |
| 19 | compiled by both compilers: **53 targets, 0 differences, 0 crashes**. This covers `om-build`, |
| 20 | `prime-reference`, `prime_race`, the JSON/data tools, the stream and measure tools and every test |
| 21 | target, including multi-thousand-line concatenations. |
| 22 | |
| 23 | ## 3. Runtime behaviour (`prime-reference`) |
| 24 | |
| 25 | `prime-reference` was built from `om/prime/reference.om` + `om/prime/main.om` with the current |
| 26 | compiler and compared with the pinned `build/om/prime-reference` on requests |
| 27 | `p 97`, `p 1000000007`, `p 561` (pseudoprime), `c 1000`, `c 100000`, `b 64`: |
| 28 | **identical stdout, stderr and exit status on all six**, including raw bitmap bytes. |
| 29 | |
| 30 | ## Limits |
| 31 | |
| 32 | This is evidence about the benchmark workspace at the time of the audit, not a permanent gate: the |
| 33 | corpus is external. The properties it protects that live in-tree are gate11 (reserved-word |
| 34 | compatibility) and the om4/omc corpus in `seed/host/check.sh`. |