Definition lifted_entries_sorted_nw' (net : ghost_log_network) :=
    forall p t n pli plt es ci,
      In p (nwPackets net) ->
      snd (pBody p) = AppendEntries t n pli plt es ci ->
      sorted es.

Lemma and_imp_2 : forall P Q : Prop, P /\ (P -> Q) -> P /\ Q.