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 / tests / one_layer / generalization / corpus / specs / sum4.spec
| 1 | desc sum of the four unsigned 32-bit values of a 4-value sequence, as unsigned 64-bit (never wraps) |
| 2 | pre true |
| 3 | post and and and and ge res ulong get v 0 ge res ulong get v 1 ge res ulong get v 2 ge res ulong get v 3 le res 17179869180 |
| 4 | example 1 2 3 4 -> 10 |
| 5 | limit fixed length 4; every value has weight 1 |