Proof using.
red. unfold requestVote_maxIndex_maxTerm. intros. simpl in *.
find_copy_apply_lem_hyp handleClientRequest_packets.
subst. simpl in *.
find_apply_hyp_hyp. break_or_hyp.
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.
intuition.
Qed.

(* Specifications: *)
Lemma requestVote_maxIndex_maxTerm_do_leader :
refined_raft_net_invariant_do_leader requestVote_maxIndex_maxTerm.