free c:channel.
free d:channel [private].

fun h(bitstring):bitstring.

const a,b:bitstring.

event A(bitstring).
event B(bitstring).

const ok,ko,k:bitstring[private].

axiom x:bitstring,y:bitstring; event(A(x)) ==> event(B(x)) && x = a [fullSat].


query x:bitstring; attacker(ok) ==> event(A(x)) && x <> a.

process
  (in(c,x:bitstring);
   event A(x);
   out(d,k))
  | in(d,x:bitstring); out(c,ok)

(* EXPECTPV
Error: False axiom.
xtime: error in child process (status : 2)
END *)
