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/ce-sized-oob-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 / ce-sized-oob-om1.om` 14 lines ยท 590 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note OM-1 TWIN of ce-sized-oob.om (unroll removed, om2 line made a note) for the pinned compiler `734f0a39`. 3 note Contract section 4 lines 105-106: after unrolling, get a4 i with i = 4 is a constant index outside 4 note the 4-element SIZED array a4: error 21 at compile time (line 10, the get). Without unroll 5 note (ce-sized-oob-rolled.om) the index is a run-time value and OM-1 traps 3 at run time instead. 6 note OM-1 unit: this line replaces the om2 line 7 fn main to int 8 a4 = new ulong 4 7 9 s = ulong 0 10 for i ulong 5 11 s = add s get a4 i 12 end 13 ret int s 14 end