Proof using.
unfold refined_raft_net_invariant_request_vote_reply, votesWithLog_sorted.
intros. subst. simpl in *. find_higher_order_rewrite.
update_destruct_simplify.
- rewrite votesWithLog_update_elections_data_RVR in *.
eauto.
- eauto.
Qed.

(* Specifications: *)
Lemma votesWithLog_sorted_do_leader :
refined_raft_net_invariant_do_leader votesWithLog_sorted.