Proof using.
intros. unfold handleRequestVoteReply, advanceCurrentTerm.
repeat break_match; subst; simpl in *; auto; try omega.
do_bool. omega.
Qed.

Lemma handleRequestVote_reply_true':
forall (h : name)
(h' : fin N)
(st : RaftState.raft_data term name entry logIndex serverType data clientId output)
(t lli llt : nat) (st' : raft_data) (t' : term),
handleRequestVote h st t h' lli llt = (st', RequestVoteReply t' true) ->
t' = t /\ currentTerm st' = t.