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 / seed / qualification / om2 / sec / s5s7 / a5-exact-diag.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 5 abstract lines 145-150 and 1 lines 36-38: with om2 diag the exact constructor |
| 3 | note body reports `omc-check 1 erased line=N rule=dup32`, N = the line of `ret seal` (confirmed by erratum E8). |
| 4 | note Function mode (no fn main), entry `entry` returns ulong, so no abstract type crosses the entry. |
| 5 | om2 diag |
| 6 | abstract dup32 ulong ops rotr xor |
| 7 | holds dup32 dup32 |
| 8 | fn dup32mk x uint to dup32 |
| 9 | ret seal dup32 or shl ulong x 32 ulong x |
| 10 | end |
| 11 | fn entry x uint to ulong |
| 12 | ret open dup32mk x |
| 13 | end |