free c: channel.
free m,n: bitstring[private].
free sk:bitstring [private].

channel d.

query attacker(sk).


process
    (
        in(c,x:bitstring);
        if x =sk then
        sync 2;
        out(c,n)
    )|(
        sync 2;
        out(c,sk)
    )

(* EXPECTPV
RESULT not attacker(sk[]) is true.
0.004s (user 0.004s + system 0.000s), max rss 7408K
END *)
