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].

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
RESULT attacker(ok) ==> event(A(x_2)) && x_2 ≠ a is false.
0.008s (user 0.008s + system 0.000s), max rss 7344K
END *)
