interplane.Get Omega
Read in your language

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

branch main Branches Tags History

omega-mv / tests / one_layer / generalization / corpus / specs / sum4.spec

5 lines · 302 bytes Raw Blame History
1desc sum of the four unsigned 32-bit values of a 4-value sequence, as unsigned 64-bit (never wraps)
2pre true
3post 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
4example 1 2 3 4 -> 10
5limit fixed length 4; every value has weight 1