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 / bench / omc_efficiency / PROTOCOL-3.md

79 lines · 4759 bytes Raw Blame History Source

OMC-EFF-3: OM-2 source profile for the candidate A/B (additive, before any candidate measurement)

Status: frozen in the commit that adds this file. This file is additive. PROTOCOL.md (sha256 ae1d1b2a…033a) and PROTOCOL-2.md (sha256 28e8d773…dac5) and their evidence are not edited. Their arms, rounds, warm-ups, metrics, statistics, validity rules and the PROTOCOL-2 section 4 verdict thresholds apply unchanged. This file adds one choice, the source profile.

1. Why

The compiler owner's candidate changes code generation only for OM-2 units: it adds a bounded cache of loop constants in callee-saved registers and saves and restores exactly the registers it uses. OM-1 output is declared byte-for-byte unchanged. The suite kernels are OM-1 units, so on them the candidate cannot differ from the baseline. The candidate A/B therefore runs both arms on the same OM-2 sources.

2. The OM-2 sources (committed; never generated at run time)

kernels/om2/CASE.om holds one file per case. Each file is kernels/CASE.om with exactly two differences:

  1. One line om2 is placed before the first line that is not a note. This is the opt-in, OMEGESE.md 9.13.
  2. The global out, an OM-2 reserved word that is error 16 in an OM-2 unit, is spelled obuf everywhere.

The C twins, want/ and the mutant edits are unchanged. run.sh --profile om2 refuses to run, exiting 70, unless every om2 file has exactly one om2 line, that line is the first non-note line, and the file minus that line equals sed 's/\bout\b/obuf/g' kernels/CASE.om byte for byte. The script checks this relation and never produces a source.

Before the freeze I observed with the baseline omc befb8199…a1d:

The OMC-EFF-1 and OMC-EFF-2 numbers therefore do not describe OM-2 builds. No OM-2 timing was read before this freeze.

3. Rows and provenance

4. Candidate A/B (the owner declares the candidate sha and the seed before the run)

Run sh bench/omc_efficiency/run.sh --profile om2 --ab BASE CAND SEED OUTDIR 19, with BASE = omc befb8199db8c4bca188a494dfaac2a6f0ee5c36fcea11188c75666c55fce8a1d. The verdict per case om2/CASE follows PROTOCOL-2 section 4 unchanged:

The interval is x(6)..x(16) of 21 paired ratios. Each ratio is written with its direction (below 1 = faster).

Additional record: with --ab --profile om2, om1-identity.txt states for each OM-1 kernel whether BASE and CAND emit identical bytes. Any differs contradicts the candidate's OM-1 claim. In that case the OM-2 verdict is reported together with that finding, and an --profile om1 A/B is owed before the candidate is described as neutral on OM-1.

5. Null control (declared here, run once after this freeze, before any candidate)

Run run.sh --profile om2 --ab with BASE = CAND = befb8199…a1d and seed 20261029. Every case must be NO_CHANGE, every instruction ratio must be exactly 1, and om1-identity.txt must say same seven times. Any other outcome is reported before any candidate verdict, and the thresholds are not widened.

6. Disclosures