Proof using.
start.
find_apply_lem_hyp doGenericServer_type. intuition; try congruence.
match goal with
| [ H : forall _, _ -> exists _, _, h : name |- _ ] =>
specialize (H h)
end.
repeat find_rewrite. eauto.
Qed.

Lemma leaders_have_leaderLogs_doLeader :
refined_raft_net_invariant_do_leader leaders_have_leaderLogs.