Proof using.
intros. unfold handleRequestVote, advanceCurrentTerm in *.
repeat (break_match; try find_inversion; simpl in *; auto);
do_bool; auto; congruence.
Qed.

Lemma handleRequestVote_currentTerm :
forall h st t src lli llt st' m,
handleRequestVote h st t src lli llt = (st', m) ->
currentTerm st <= currentTerm st'.