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

Lemma handleRequestVoteReply_stateMachine :
forall n st src t v,
stateMachine (handleRequestVoteReply n st src t v) = stateMachine st.