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 / omc / contracts / release.om

12 lines · 141 bytes Raw Blame History
1om2 release
2fn f x int to int
3requires gt x 0
4ensures eq result add x 1
5ret x
6end
7fn main to int
8while false
9invariant false
10end
11ret f 0
12end