free c:channel.

event Test(nat,nat).

query i:nat, j:nat;
  event(Test(i,j)) ==> i = j + 3.

process
  in(c,i:nat);
  in(c,j:nat);
  if j + 4 >= i then
  if i >= j + 3 then
  if i <> j + 4 then
  event Test(i,j)

(* EXPECTPV
RESULT event(Test(i_1,j_1)) ==> i_1 = j_1 + 3 is true.
0.008s (user 0.000s + system 0.008s), max rss 7300K
END *)
