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 / seed / omc / sites / found-cp-token-1.om

10 lines · 302 bytes Raw Blame History
1note sites: found by a one-token change of a tracked program; reaches the omc error site in cp-token (code 30)
2om2 debug
3fn apply x uint to uint
4requires le x aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaz
5ensures le result 32
6ret add x 1
7end
8fn main to int
9ret int apply uint 16
10end