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-swap-diag.om
| 1 | note SPDX-License-Identifier: Apache-2.0 |
| 2 | note contract 5 abstract lines 145-150: the commuted body is not exact, so diag reports |
| 3 | note `omc-check 1 kept line=N rule=-` (confirmed by erratum E8). Function mode. |
| 4 | om2 diag |
| 5 | abstract dup32 ulong ops rotr xor |
| 6 | holds dup32 dup32 |
| 7 | fn dup32mk x uint to dup32 |
| 8 | ret seal dup32 or ulong x shl ulong x 32 |
| 9 | end |
| 10 | fn entry x uint to ulong |
| 11 | ret open dup32mk x |
| 12 | end |