Proof using.
ctsc_unchanged.
- find_rewrite. auto.
- find_rewrite. simpl. find_apply_lem_hyp doLeader_type. intuition.
- find_rewrite. simpl. find_apply_lem_hyp doLeader_type. intuition.
Qed.

Lemma leaderLogs_currentTerm_sanity_candidate_do_generic_server :
refined_raft_net_invariant_do_generic_server leaderLogs_currentTerm_sanity_candidate.