Proof using.
intros. unfold handleRequestVote, advanceCurrentTerm in *.
repeat break_match; find_inversion;
subst; intuition; break_exists; congruence.
Qed.

(* Specifications: *)
Theorem logs_sorted_request_vote :
raft_net_invariant_request_vote logs_sorted.
Lemma leaderLogs_entries_match_request_vote :
refined_raft_net_invariant_request_vote leaderLogs_entries_match.