interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / native / control / evidence / 659 / README.md

117 lines · 5801 bytes Raw Blame History Source

Issue 659 evidence

Evidence class: EMULATED. The host is x86_64 Linux. QEMU executes both the AArch64 seeded compiler and the AArch64 test programs. No performance timing, Spark/GB10 execution, production dispatch or power-loss qualification is claimed.

Functional source is recorded separately from evidence-only follow-up commits. The final source-bound run is in qualified/receipt.json when present. Files directly in this directory are chronological development evidence and do not independently bind a clean source commit. They are preserved, including the initial failing controls and the later delegation rights-profile correction.

Tools

The seed reconstruction starts with the existing seed/rung0/load0.sh, then runs seed0 -> hex1 -> asm2 -> om4 -> omc stage1 -> stage2 -> stage3 under QEMU. Each reconstructed rung matches the pinned published binary. All three omc stages match one another and seed/out/omc. seed-rebuild.sha256 records the actual output hashes. This checks the reconstruction and fixed point; it is not diverse-double-compilation proof.

Replay commands

The source and tools must be pinned before replay. qemu-aarch64-static below is the executable with the hash above, and OMC is the verified compiler. Use a private output directory; never replace the source compiler or evidence.

OMC=/absolute/path/to/verified/omc
QEMU=/absolute/path/to/qemu-aarch64-static
OUT=/absolute/path/to/private-output
mkdir -p "$OUT"
cat native/control/src/action.om native/control/tests/action.om > "$OUT/action.om"
"$QEMU" "$OMC" < "$OUT/action.om" > "$OUT/action.elf"
chmod +x "$OUT/action.elf"
"$QEMU" "$OUT/action.elf"

cat native/control/src/delegate.om native/control/tests/delegate.om > "$OUT/delegate.om"
"$QEMU" "$OMC" < "$OUT/delegate.om" > "$OUT/delegate.elf"
chmod +x "$OUT/delegate.elf"
"$QEMU" "$OUT/delegate.elf"

cat native/control/src/reuse.om native/control/tests/reuse.om > "$OUT/reuse.om"
"$QEMU" "$OMC" < "$OUT/reuse.om" > "$OUT/reuse.elf"
chmod +x "$OUT/reuse.elf"
"$QEMU" "$OUT/reuse.elf"

Expected final output of the 2026-10-23 source, respectively (the tests have since gained assertions; the current counts are in ../replay-20261116/README.md):

action checks=219 000
delegate checks=074 000
reuse checks=074 000

Each program returns 0 on those results, 1 on a failed assertion and 2 on failed report output. Each assertion is executed in Om. The reporting counters are not host-calculated. Source concatenation and process invocation are external build/test transport, not a shipped foreign test implementation.

For the three baseline negative controls, replace src/MODULE.om in the same commands with tests/negative/MODULE-stub.om. Each must compile with exit 0, run with exit 1 and print failed assertions. The original RED tests were run before writing each real implementation; the final-source replay repeats the controls against the current tests.

For the ten guard mutants, apply the corresponding qualified/*.diff with git apply --unidiff-zero in an isolated scratch checkout to a scratch copy of the production module, then compile it with the unchanged Om tests. Every mutant must compile successfully and fail assertions with exit 1. A compiler error, signal or timeout does not count as detecting a mutant.

The three compile-refusal inputs are concatenated after the named production module and compiled in the same way:

Input under tests/negative/ModuleExpected compiler exit
wrong-action-size.omaction7
aliased-action.omaction19
wrong-payload-size.omreuse7

No test binary should be run from a refused compilation. Aliasing a mutable record as its own independent authority-facts argument must remain refused.

What remains

2026-10-23 final functional source: baa1587fc1542177595b90dccf36f98b1e294b0a. The clean-source replay in qualified/receipt.json records 367 passing assertions, three detected always-accept stubs, ten detected compiled guard mutants and three expected compiler refusals. Each mutant ran and failed assertions; none was counted from a compiler error.