summaryrefslogtreecommitdiff
path: root/test/smt/arith_FFL_1.unsat.sail
blob: d6ba31e36637bebcadd336adc70ebe8567dd2026 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
default Order dec

$include <prelude.sail>

$property
function prop forall 'n 'm, 0 <= 'n <= 128 & 0 <= 'm <= 64. (x: int('m), y: int('n), z: int) -> bool = {
  let add_comm  = x + y == y + x;
  let add_assoc = (x + y) + z == x + (y + z);
  let add_id  = x + 0 == x;

  add_comm & add_assoc & add_id
}