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 / checker2 / lrat / p09_roundtrip.osc

7 lines · 192 bytes Raw Blame History
1// prove: rt
2// expect: holds
3// widening then narrowing a byte is the identity and never traps CAST.
4fn rt(x: u8) -> u8 ensures result == x {
5 let y: i16 = x as i16;
6 return y as u8;
7}