Proof using.
unfold update_elections_data_requestVote.
intros.
repeat break_match; auto.
Qed.

Lemma handleRequestVoteReply_spec :
forall h st h' t v st',
st' = handleRequestVoteReply h st h' t v ->
log st' = log st /\
(currentTerm st' = currentTerm st \/
(currentTerm st <= currentTerm st' /\
type st' = Follower)).