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/aienos.com/blob/main/om/omega-reference/vendor/examples/contract_invariant.om # aienos.com Source of www.aienos.com, served from my own hardware 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 `aienos.com / om / omega-reference / vendor / examples / contract_invariant.om` 12 lines ยท 241 bytes Raw Blame History 1 note contract_invariant: a false loop invariant traps 10, exit 110, at the top of the failing pass 2 om2 3 text before "before\n" 4 fn main to int 5 k = write 1 before 0 len before 6 i = uint 0 7 while lt i 10 8 invariant lt i 5 9 i = add i 1 10 end 11 ret 0 12 end