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

9 lines · 158 bytes Raw Blame History
1om2
2note Runtime-valued for bounds must check invariants again at the final false head.
3fn main to int
4n = uint 2
5for i uint n
6invariant lt i n
7end
8ret 0
9end