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/s3s4/unroll-nest-om1.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 / s3s4 / unroll-nest-om1.om` 24 lines ยท 827 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note OM-1 TWIN of unroll-nest.om for the pinned compiler `734f0a39`: same expected stdout. 3 note Contract section 4 lines 87-92 and 105: nested unrolled loops, 8 x 8 = 64 copies of the inner body 4 note with i and j bound to constants; the folded index add mul i 8 j into the 64-element array m is a 5 note constant in range (no error 21). Removing unroll (twin unroll-nest-rolled.om) changes nothing. 6 note Expected stdout: oracle/s3s4/exp/unroll-nest.out (python3, oracle/s3s4/oracle.py). 7 note OM-1 unit: this line replaces the om2 line 8 fn main to int 9 m = new ulong 64 0 10 f = ulong `14695981039346656037` 11 for i ulong 8 12 for j ulong 8 13 f = mul xor f add mul i 8 j `1099511628211` 14 put m add mul i 8 j add mul i 1000 j 15 end 16 end 17 pu f 18 g = ulong 0 19 for k ulong 64 20 g = add mul g 3 get m k 21 end 22 pu g 23 ret 0 24 end