Proof using cei cci.
start.
intro_refined_invariant candidate_entries_invariant.
eapply candidateEntries_ext; eauto.
subst.
repeat find_higher_order_rewrite.
find_rewrite_lem update_fun_comm. simpl in *.
update_destruct; rewrite_update.
- find_eapply_lem_hyp leaderLogs_update_elections_data_RVR; eauto.
intuition.
+ eapply handleRequestVoteReply_preserves_candidate_entries; eauto.
+ subst. find_erewrite_lem handleRequestVoteReply_log.
eapply handleRequestVoteReply_preserves_candidate_entries; eauto.
- eapply handleRequestVoteReply_preserves_candidate_entries; eauto.
Qed.

Lemma leaderLogs_candidateEntries_do_leader :
refined_raft_net_invariant_do_leader leaderLogs_candidateEntries.