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/sovereign-intelligence/blob/main/harness/examples/contracts_ok.om # sovereign-intelligence Front door to Drake Stapleton's sovereign stack. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `sovereign-intelligence / harness / examples / contracts_ok.om` 15 lines ยท 271 bytes Raw Blame History 1 note contracts_ok: requires and ensures form a function's prefix; invariant opens a loop body 2 om2 3 fn step x uint to uint 4 requires lt x 10 5 ensures eq result add x 1 6 ret add x 1 7 end 8 fn main to int 9 i = uint 0 10 while lt i 3 11 invariant le i 3 12 i = step i 13 end 14 ret int sub i 3 15 end