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

(* Specifications: *)
Lemma update_elections_data_requestVoteReply_leaderLogs :
forall h h' t  st t' ll' r,
In (t', ll') (leaderLogs (fst st)) ->
In (t', ll') (leaderLogs (update_elections_data_requestVoteReply h h' t r st)).
Lemma update_elections_data_requestVoteReply_leaderLogs :
forall h h' t  st t' ll' r,
In (t', ll') (leaderLogs (fst st)) ->
In (t', ll') (leaderLogs (update_elections_data_requestVoteReply h h' t r st)).
Lemma update_elections_data_requestVoteReply_leaderLogs :
forall h h' t  st t' ll' r,
In (t', ll') (leaderLogs (fst st)) ->
In (t', ll') (leaderLogs (update_elections_data_requestVoteReply h h' t r st)).
Lemma update_elections_data_requestVoteReply_leaderLogs :
forall h h' t  st t' ll' r,
In (t', ll') (leaderLogs (fst st)) ->
In (t', ll') (leaderLogs (update_elections_data_requestVoteReply h h' t r st)).
Lemma prefix_within_term_inductive_request_vote :
refined_raft_net_invariant_request_vote prefix_within_term_inductive.
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)).
Lemma advanceCurrentTerm_same_or_type_follower :
forall st t,
advanceCurrentTerm st t = st \/
type (advanceCurrentTerm st t) = Follower.
Lemma advanceCurrentTerm_same_or_type_follower :
forall st t,
advanceCurrentTerm st t = st \/
type (advanceCurrentTerm st t) = Follower.
Lemma leaders_have_leaderLogs_strong_appendEntries :
refined_raft_net_invariant_append_entries leaders_have_leaderLogs_strong.
Lemma update_elections_data_requestVoteReply_leaderLogs :
forall h h' t  st t' ll' r,
In (t', ll') (leaderLogs (fst st)) ->
In (t', ll') (leaderLogs (update_elections_data_requestVoteReply h h' t r st)).
Lemma update_elections_data_client_request_cronies :
forall h st client id c out st' ms,
handleClientRequest h (snd st) client id c = (out, st', ms) ->
cronies (update_elections_data_client_request h st client id c) =
cronies (fst st).
Lemma update_elections_data_appendEntries_preserves_allEntries :
forall net h t n pli plt es ci x,
In x (allEntries (fst (nwState net h))) ->
In x (allEntries (update_elections_data_appendEntries h (nwState net h) t n pli plt es ci)).