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_invariant : forall net, msg_refined_raft_intermediate_reachable net -> ghost_log_entries_match net.