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 / sec / s5s7 / f5-n64.om

20 lines · 422 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note contract 5 fresh, line 120: N = 64 is the upper bound and is accepted; 4 line 87: unroll 64.
3note stdout: len 64, then 1+..+64 = 2080 (oracle exp/f5-n64.out).
4om2
5fn f s edit uchar 64 fresh to ulong
6for i ulong 64 unroll
7put s i uchar add i 1
8end
9t = ulong 0
10for j ulong 64
11t = add t ulong get s j
12end
13putd len s
14ret t
15end
16fn main to int
17a = new uchar 64 0
18putd f a
19ret 0
20end