Proof using.
unfold handleRequestVoteReply.
intros.
repeat break_match; repeat find_inversion; do_bool; subst; simpl; intuition.
Qed.

(* Specifications: *)
Lemma match_index_all_entries_request_vote_reply :
refined_raft_net_invariant_request_vote_reply match_index_all_entries_inv.
Lemma update_elections_data_RVR_ascending_leaderLog :
forall h src t1 v st,
type (snd st) = Candidate ->
type (handleRequestVoteReply h (snd st) src t1 v) = Leader ->
exists ll,
In (currentTerm (snd st), ll) (leaderLogs (update_elections_data_requestVoteReply h src t1 v st)).