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/blob/main/seed/qualification/om2/sec/s5s7/a5-swap.om # 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 branch `main` Branches Tags History `omega-mv / seed / qualification / om2 / sec / s5s7 / a5-swap.om` 15 lines ยท 471 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note contract 5 abstract lines 145-149: the body must be EXACTLY `or shl ulong x 32 ulong x`; the 3 note commuted body is a different body, so the check is kept, but it holds for every x: exit 0, 4 note stdout deadbeefdeadbeef (exp/a5-swap.out). 5 om2 6 abstract dup32 ulong ops rotr xor 7 holds dup32 dup32 8 fn dup32mk x uint to dup32 9 ret seal dup32 or ulong x shl ulong x 32 10 end 11 fn main to int 12 d = dup32mk 0xdeadbeef 13 puth open d 14 ret 0 15 end