Proof using.
ctsc_start_update. simpl in *.
find_eapply_lem_hyp leaderLogs_update_elections_data_RVR; [|auto].
intuition.
- find_copy_apply_lem_hyp handleRequestVoteReply_type. intuition.
+ find_rewrite. find_apply_hyp_hyp. omega.
+ find_contradiction.
+ find_contradiction.
- subst. unfold raft_data in *. simpl in *. find_contradiction.
Qed.

(* Specifications: *)
Lemma leaderLogs_currentTerm_sanity_candidate_do_leader :
refined_raft_net_invariant_do_leader leaderLogs_currentTerm_sanity_candidate.