Proof using.
ctsc_unchanged.
- apply update_elections_data_appendEntries_leaderLogs.
- find_apply_lem_hyp handleAppendEntries_type_term. intuition.
- find_apply_lem_hyp handleAppendEntries_type_term. intuition. right. congruence.
Qed.

Lemma leaderLogs_currentTerm_sanity_candidate_append_entries_reply :
refined_raft_net_invariant_append_entries_reply leaderLogs_currentTerm_sanity_candidate.