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/inline-depth6-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 / inline-depth6-om1.om` 32 lines ยท 782 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note OM-1 TWIN of inline-depth6-plain.om for the pinned compiler `734f0a39`. 3 note Contract section 4 lines 109-111: inlining at most 4 levels deep, beyond that error 14 4 note (obligation=growth). main calls the inline chain f1 -> ... -> f6: 6 nested inlined bodies, 5 note beyond 4 (erratum E7: the call site in main is depth 1). 6 note OM-1 unit: this line replaces the om2 line 7 fn f1 a ulong to ulong 8 ret add f2 mul a 3 1 9 end 10 fn f2 a ulong to ulong 11 ret add f3 mul a 5 2 12 end 13 fn f3 a ulong to ulong 14 ret add f4 mul a 7 3 15 end 16 fn f4 a ulong to ulong 17 ret add f5 mul a 11 4 18 end 19 fn f5 a ulong to ulong 20 ret add f6 mul a 13 5 21 end 22 fn f6 a ulong to ulong 23 ret add mul a 17 6 24 end 25 fn id v ulong to ulong 26 ret v 27 end 28 fn main to int 29 pu f1 2 30 pu f1 id 1000 31 ret 0 32 end