Proof using rri.
ctsc_start_update. subst. simpl in *.
find_rewrite_lem update_elections_data_timeout_leaderLogs.
find_apply_lem_hyp handleTimeout_type_strong. intuition.
- repeat find_reverse_rewrite. find_apply_hyp_hyp. omega.
- find_apply_lem_hyp leaderLogs_currentTerm_sanity_invariant; auto.
repeat find_rewrite. intuition.
Qed.

Lemma leaderLogs_currentTerm_sanity_candidate_append_entries :
refined_raft_net_invariant_append_entries leaderLogs_currentTerm_sanity_candidate.