(* Query not event(reach_else) should be false *)

channel c.

table t(bitstring).

const a,b: bitstring.

fun enc(bitstring, bitstring): bitstring.
reduc forall m: bitstring, k: bitstring;
      dec(enc(m,k),k) = m.

event reach_in.
event reach_else.

query event(reach_in).
query event(reach_else).

process
   in(c, (x: bool,y: bitstring,z: bitstring));
   let x = (insert t(dec(a,b)); z) in
      event reach_in
   else
      event reach_else

(* EXPECTPV
RESULT not event(reach_in) is true.
RESULT not event(reach_else) is false.
0.008s (user 0.004s + system 0.004s), max rss 8424K
END *)
