Proof using.
red. unfold votesReceived_moreUpToDate. intros. simpl in *.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto;
try rewrite votesWithLog_same_client_request;
try solve [ find_apply_lem_hyp handleClientRequest_candidate; subst; eauto];
eauto.
Qed.

(* Specifications: *)
Lemma votesReceived_moreUpToDate_do_leader :
refined_raft_net_invariant_do_leader votesReceived_moreUpToDate.