Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/issues/8ad02118e55118af # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers # [OM-AUTHOR A4] Qualify compact checked SHA from source through native consumers Open · #748 · open 2026-10-25 15:37 UTC Imported from GitHub aien-dev/omega-mv#748, by drakestapleton drakestapleton wrote on 2026-10-25 15:37 UTC ## Bounded integration milestone Under #599, integrate #745 literals/tooling, #746 invariants/initialization/layout, #655 diagnostics, #665 transformations, #747 slice ABI, #625 semantics and #623/#624 verification. This is a finite consumer qualification, not another master plan. Protocol can begin immediately; implementation follows contracts and compiler prerequisites. PROPOSED / NOT_RUN. ## Acceptance - Pin current baseline: `acb3f15` source reports GB10 host SHA 248.7 MB/s vs C202.7 and .28us vs .34us for 32B; these are historical recorded measurements, not promised outcomes or GPU results. Reproduce or mark NOT_RUN. - One compact round/schedule source using checked constructs, no manual hundreds-line unrolling; named external layout, checked initialization and declared representation invariants. Consumer ABI transition preserves specified behavior including post-final context policy. - Independent FIPS vectors, boundary lengths/splits/random cases, wrong constant/rotation/round ordering, weakened guard, missing initialization, stale artifact/profile and corrupted compiler transform mutants. Reference historical C can be independently retrieved as oracle outside delivered closure; no retained project-owned foreign test/runtime dependency. - Paired interleaved measurements on same pinned host: tiny/large streaming inputs, cold/warm, latency distributions, throughput, generated size, stack, memory and compile time. Predeclare regression policy; correct but slower is reported, not hidden by different flags/workloads. Claims limited to tested workload. - Existing consumers and full affected gates pass; clean reproducible builds and independent final-source/binary review. Demonstrate meaningful failures, not treating every crash as successful mutant detection. - Publish source-to-check-to-machine tutorial and supported/unknown guarantee matrix. Functional, bounds, initialization, module/FFI and timing-leak guarantees are separately stated. ## Wolfram-derived golden obligations For integer 0<=x<2^32, d=(2^32+1)x is in u64 range and low32(d)=high32(d)=x. Validate emitted finite-width constructors independently, not just algebra. For slices require o<=n and k<=n-o before pointer formation. At n=2^64-1,o=2^64-2,k=4, wrapped (o+k)<=n is TRUE but k<=n-o is FALSE: include this overflow mutant. Wolfram checked the bounded arithmetic; it did not prove the implementation. ## Delivery contract Approved bounded language evolution under #599, not a replacement master plan. Baseline inspected: omega main `acb3f15cdc691b1b046b48b0dad0f9255a12ba4b`, seed/omc/omc.om and om/sha256/sha256.om. Reconcile latest source, issue comments, active branches/PRs and file owners before editing. Read plan authority/current execution plan, doctrine, applicable ADRs, AGENTS.md and .crumb. Existing compiler/IR/checker/ABI owners retain authority; one writer per shared file. Final first-party logic/tests/automation use seeded handwritten .om, no parallel compiler or retained legacy fallback. Qualify then cut over consumers and delete retired active implementations, preserving history. Pin compiler/source/target/config/fixtures and raw evidence; independent review and negative controls required. Host/simulator/device results remain distinct; unrun is NOT_RUN. Preserve live 27B/35B service and reserved hardware coordination; no deployment or driver changes authorized by this issue. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:21 UTC Recovered GitHub comment. Original comment `6404130144` ## #748 protocol, integrated qualification and tutorial are published; the issue stays open (L835) ### Independent qualification protocol (L836, not the author) `om2/qualification` (PR #752): `gate.om`, a `.om` harness that pins `omc` by an in-`.om` SHA-256; tool-computed K/IV and 158 vectors; `manifest-c2.txt` (5,876 entries); section fixtures `s0s2`/`s3s4`/`s5s7`; mutant registry B1–B22; `leak/leakscan.om`. Every verdict in this workstream comes from that lane, not from the compiler lane. Item Result C2 manifest 5,876/5,876 at every slice commit §0–§2 / §3–§4 / §5–§6 at the S4 head `f6a6492f` 161 PASS, 0 FAIL, 2 NOT_RUN / 202 PASS, 0 FAIL / 99 PASS, 0 FAIL, 48 NOT_RUN (ABI driver + SHA rows, covered by the SHA run) Compiler mutants killed 22/22 (plus the lane's own suites per commit) Fuel fixtures (E14/E16) 8/8 at the predicted lines OM-2 SHA unit 158 vectors vs `sha256sum` 9.4 and hashlib/OpenSSL 3.0.13; 631 binding checks; E1; E3/§7 receipts incl. `hash(d,32,d)` for every offset −31..31, copy-after-k, reuse-after-final, one 2^32+1,000,003-byte update, 3,200 seeded random messages; 19 status-32 refusals; 17/17 unit mutants Layout oracle `layout shactx 104` image == gcc 13.3.0 `offsetof` image from `src/sha256.h` (`cmp` exit 0) ### Wolfram-derived obligations from this issue - `d = (2^32+1)x` with `low32 = high32 = x` for `0 <= x < 2^32`: the `holds dup32` predicate. The constructor check is erased only for the exact body `ret seal NAME or shl ulong x 32 ulong x`, and `om2 diag` prints `omc-check 1 kept|erased …` so erasure is observed, not assumed. Emitted finite-width constructors are checked by fixtures, not by algebra. - Slice bounds: `o <= n` then `k <= n - o`, the wrapped sum never formed. The issue's overflow mutant is built: at `n = 2^64-1`, `o = 2^64-2`, `k = 4` the wrapped test is TRUE, and OM-2 traps 3. L836 wrote its own wrapped-sum mutant independently of the compiler lane and both were killed. ### Tutorial and supported/unknown guarantee matrix PR #777 (`om2/tutorial` @ `ae094a944`): `docs/one_layer/OM2-TUTORIAL.md` plus `examples/om2-tour.om` (sha256 `856c541d…315f`). Separate tables for functional, bounds, initialization, module/FFI and timing-leakage guarantees, each row labelled with the strongest claim the evidence supports, and the load-bearing "no claim" rows kept explicit — `update`/`final` static scan NOT_RUN, no constant-time guarantee, arbitrary OM-2 programs NOT ESTABLISHED, stack-exhaustion UNSUPPORTED as a status. ### Deliberately not closed - The compiler stack (#750/#753/#754/#764), the cutover (#776) and the tutorial (#777) are drafts and unmerged; `main` still compiles OM-1 and still ships `src/sha256.c`. - No independent final source/binary review of the merged result has happened, because nothing is merged. Existing `evidence/**` is untouched. - Nothing here is GB10 or device qualification, and no deployment follows. Sign in to comment