Ltac packet_simpl :=
    first [do_in_map; subst; simpl in *;
           unfold add_ghost_msg in *;
           do_in_map; subst; simpl in *|subst; simpl in *].

Lemma ghost_log_entries_match_do_generic_server : msg_refined_raft_net_invariant_do_generic_server ghost_log_entries_match.