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 / qualification / security673 / game / fixtures-v3.om
| 1 | note SC1-G-v3 frozen fixture IDs, compiled into the checker and used by witnesses. |
| 2 | note 0 initial,1 losing,2 early,3 stale,4 uncertain,5 eager,6 serialized,7 final,8 BAD. |
| 3 | fn fixture id uint to uint |
| 4 | if eq id 0 |
| 5 | ret 0 |
| 6 | end |
| 7 | if eq id 1 |
| 8 | ret 15 |
| 9 | end |
| 10 | if eq id 2 |
| 11 | ret 16 |
| 12 | end |
| 13 | if eq id 3 |
| 14 | ret 331 |
| 15 | end |
| 16 | if eq id 4 |
| 17 | ret 11 |
| 18 | end |
| 19 | if eq id 5 |
| 20 | ret 20 |
| 21 | end |
| 22 | if eq id 6 |
| 23 | ret 32 |
| 24 | end |
| 25 | if eq id 7 |
| 26 | ret 266 |
| 27 | end |
| 28 | if eq id 8 |
| 29 | ret 2592 |
| 30 | end |
| 31 | exit 90 |
| 32 | end |