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 / bridge.om

11 lines · 142 bytes Raw Blame History
1om2
2fn check x long to long
3requires ge x 0
4ensures le result 10
5i = long 0
6while lt i x bound 20
7invariant le i 10
8i = add i 1
9end
10ret i
11end