interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / seed / ng / front / cases / contract-release-noeval.om

14 lines · 193 bytes Raw Blame History
1om2 release
2global a int 1
3fn f x int to int
4requires eq div x 0 0
5ensures eq get a add ulong x 2 result
6ret x
7end
8fn main to int
9z = ulong 9
10while false
11invariant eq get a z 0
12end
13ret f 0
14end