Proof using.
start.
find_copy_apply_lem_hyp doLeader_type.
find_copy_apply_lem_hyp doLeader_log.
intuition. repeat find_rewrite. eauto.
Qed.

(* Specifications: *)
Lemma candidate_term_gt_log_do_generic_server :
raft_net_invariant_do_generic_server candidate_term_gt_log.