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 / checker2 / lrat / p15_bool.osc
| 1 | // prove: band |
| 2 | // expect: holds |
| 3 | // a conjunction implies its first operand. |
| 4 | fn band(a: bool, b: bool) -> bool ensures result == false || a == true { |
| 5 | return a && b; |
| 6 | } |