Proof using.
red. unfold votesReceived_moreUpToDate. intros. simpl in *.
find_copy_apply_lem_hyp handleRequestVote_votesReceived.
find_copy_apply_lem_hyp handleRequestVote_log_term_type.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto;
intuition; try congruence; repeat find_rewrite; eauto;
copy_eapply_prop_hyp In In; eauto;
try rewrite <- plus_n_O in *;
break_exists_exists; intuition;
eauto using update_elections_data_request_vote_votesWithLog_old.
Qed.

(* Specifications: *)
Lemma votesReceived_moreUpToDate_request_vote_reply :
refined_raft_net_invariant_request_vote_reply votesReceived_moreUpToDate.