Proof using.
red. red. intros. simpl in *.
find_apply_hyp_hyp. intuition eauto.
do_in_map.
subst. simpl in *.
find_eapply_lem_hyp doLeader_no_messages_to_self; eauto.
Qed.

Lemma no_append_entries_replies_to_self_do_generic_server :
raft_net_invariant_do_generic_server no_append_entries_replies_to_self.