Proof using.
intros.
unfold handleClientRequest in *; repeat break_match;
repeat find_inversion; subst; simpl in *; find_apply_hyp_hyp; intuition.
Qed.

(* Specifications: *)
Lemma handleTimeout_rvr :
forall h net ps out d l p t v,
handleTimeout h (snd (nwState net h)) = (out, d, l) ->
(forall p' : packet,
In p' ps ->
In p' (nwPackets net) \/
In p' (send_packets h l)) ->
pBody p = RequestVoteReply t v ->
In p ps ->
In p (nwPackets net).