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 / release.om
| 1 | om2 release |
| 2 | fn f x int to int |
| 3 | requires gt x 0 |
| 4 | ensures eq result add x 1 |
| 5 | ret x |
| 6 | end |
| 7 | fn main to int |
| 8 | while false |
| 9 | invariant false |
| 10 | end |
| 11 | ret f 0 |
| 12 | end |