Proof using.
red. unfold requestVoteReply_moreUpToDate. intros. simpl in *.
find_copy_apply_lem_hyp handleClientRequest_packets.
subst. simpl in *.
find_apply_hyp_hyp. intuition.
repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto;
try rewrite votesWithLog_same_client_request; eauto;
find_apply_lem_hyp handleClientRequest_candidate; subst; eauto.
Qed.

(* Specifications: *)
Lemma requestVoteReply_moreUpToDate_do_leader :
refined_raft_net_invariant_do_leader requestVoteReply_moreUpToDate.