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-cp-token-1.om
| 1 | note sites: found by a one-token change of a tracked program; reaches the omc error site in cp-token (code 30) |
| 2 | om2 debug |
| 3 | fn apply x uint to uint |
| 4 | requires le x aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz |
| 5 | ensures le result 32 |
| 6 | ret add x 1 |
| 7 | end |
| 8 | fn main to int |
| 9 | ret int apply uint 16 |
| 10 | end |