Proof using.
intros.
unfold handleRequestVote in *.
repeat (break_match; repeat (find_inversion; simpl in *));
intro; break_exists; discriminate.
Qed.

(* Specifications: *)
Lemma handleAppendEntriesReply_doesn't_send_AE :
forall n st src t es b st' l,
handleAppendEntriesReply n st src t es b = (st', l) ->
forall x,
In x l ->
~ is_append_entries (snd x).
Lemma handleRequestVote_log_matching :
raft_net_invariant_request_vote log_matching.