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
omega-mv / seed / omc / contracts / forvalfinal.om
| 1 | om2 |
| 2 | note Runtime-valued for bounds must check invariants again at the final false head. |
| 3 | fn main to int |
| 4 | n = uint 2 |
| 5 | for i uint n |
| 6 | invariant lt i n |
| 7 | end |
| 8 | ret 0 |
| 9 | end |