blob: 9a29fe1377c5d86ae0d9e0e92354002d24e2d057 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
default Order dec
$include <prelude.sail>
$property
function prop(x: int, y: int(32), z: int) -> bool = {
let mul_comm = x * y == y * x;
let mul_zero1 = x * 0 == 0;
let mul_zero2 = y * 0 == 0;
mul_comm & mul_zero1 & mul_zero2
}
|