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 / sites / found-s-else-1.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in s-else (code 15) |
| 2 | om2 |
| 3 | fn f x int to int |
| 4 | ensures eq result 1 |
| 5 | b eq x 0 |
| 6 | ret 0 |
| 7 | else |
| 8 | ret 1 |
| 9 | end |
| 10 | end |
| 11 | fn main to int |
| 12 | ret f 0 |
| 13 | end |