Proof using.
red. unfold votedFor_moreUpToDate. intros. simpl in *.
subst. repeat find_higher_order_rewrite.
find_copy_apply_lem_hyp handleClientRequest_type; intuition.
find_copy_apply_lem_hyp handleClientRequest_term_votedFor; intuition.
destruct_update_hyp; simpl in *; eauto; repeat find_rewrite;
try rewrite votesWithLog_same_client_request;
find_apply_lem_hyp handleClientRequest_log;
intuition; repeat find_rewrite; eauto;
break_exists; intuition; congruence.
Qed.

Lemma votedFor_moreUpToDate_do_leader :
refined_raft_net_invariant_do_leader votedFor_moreUpToDate.