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

Lemma leaderLogs_currentTerm_sanity_do_generic_server :
refined_raft_net_invariant_do_generic_server leaderLogs_currentTerm_sanity.