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 / seed / qualification / om2 / oracle / s0s2 / PROVENANCE.txt

37 lines · 2688 bytes Raw Blame History
1SPDX-License-Identifier: Apache-2.0
2Oracle for seed/qualification/om2/sec/s0s2 (L836 Phase B, lane FixLex, 2026-10-25).
3
4Tool: Python 3.12.3 (/usr/bin/python3). No compiler is run by the oracle.
5Command (worktree root): python3 seed/qualification/om2/oracle/s0s2/oracle.py
6Writes: seed/qualification/om2/sec/s0s2/exp/*
7
8Inputs: contract spec/omegese-om2.md sha256 245bb74e940c811ab325e6fabb33f0599ad46aaf6b9064fd2750c43980040881;
9errata spec/omegese-om2-errata.md on aien-dev om2/contract at fd9e05a29ef8ee1f670a2e802e9dcd805c97c9b8
10(E4 col/span/found and the fmt "rest"; E6 Q2 expect classes and spans, E6 Q4 formatter edge cases);
11OMEGESE.md 9.3/9.4 (number range, text escapes).
12
13What it computes and how:
14- names-fn.out, names-var.out: Python re-implementation of the user functions/variables in
15 s0/names-*.om (64-bit unsigned wrap, 32-bit for uint).
16- hex-max.out, hex-places.out: int(digits, 16) of each literal, asserted equal to the stated maxima
17 (2^8-1 .. 2^64-1, 2^7-1 .. 2^63-1); hex-places exit status 10 from the put of 0xa.
18- x1..x5.fmt: the canonical formatter of contract 2 lines 63-72 + E4 + E6 Q4, applied to the bytes
19 of s2fmt/x*.om (the rest after "om2 fmt\n"): a line whose first token is note is unchanged;
20 a whitespace-only line becomes empty; otherwise leading spaces/tabs kept, tokens (a text literal
21 "..." is one token, escapes skipped) joined by one space except that a whitespace run next to
22 ( or ) is kept as written, trailing whitespace dropped, LF only, one final LF; asserts no CR, no
23 trailing blank line, idempotence and unchanged line count.
24- x1.out, x5.out: the bytes of the program's text literal decoded per OMEGESE 9.4 escapes;
25 exits 42 = 2 * 0x15 and 9.
26- d-*.err / d-mid-short.tok: human line "omc: line N: error E" and omc-diag record; span A-B located
27 in the exact fixture bytes (offending token as a whole space-separated word, or the LF for
28 d-mid-short), col = A - line start + 1, found = hex of the first <= 32 span bytes, '-' and
29 len-len at end of input (E4); expect per E6 Q2 (number, end, name) or the class wanted next
30 (newline after a complete expression, value inside one).
31
32Not from the oracle: OM-1 error codes and lines (and the C2 sha256 values in c2-extra.txt) are the
33definition of OM-1 itself (contract 0 line 11: the pinned omc 734f0a39), observed with
34 seed/out/omc < FILE (exit status, stderr), sha256 of stdout for accepted units,
35and re-verified by sec/s0s2/pinned.cases (evidence/phaseB/s0s2-pinned.log). The OM-1 decimal twins
36s2hex/dec-*.om were made from the hex fixtures by replacing each 0x literal with Python's
37str(int(lit, 16)); their pinned runs reproduce the oracle's expected stdout.