Proof using.
unfold handleRequestVote.
intros.
repeat (break_match; try discriminate; repeat (find_inversion; simpl in *));
auto using advanceCurrentTerm_same_lastApplied.
Qed.

(* Specifications: *)
Lemma handleRequestVoteReply_same_lastApplied :
forall n st src t v,
lastApplied (handleRequestVoteReply n st src t v) = lastApplied st.