Proof using.
intros. eapply logs_sorted_nw_only_new_packets_matter; eauto.
unfold logs_sorted_nw. intros. simpl in *. find_apply_hyp_hyp.
exfalso. match goal with H : _ |- _ => apply H end.
repeat eexists; eauto.
Qed.

(* Specifications: *)
Theorem logs_sorted_nw_not_append_entries :
forall net ps' p' st',
logs_sorted_nw net ->
(forall p, In p ps' -> In p (nwPackets net) \/ p = p') ->
~ is_append_entries (pBody p') ->
logs_sorted_nw (mkNetwork ps' st').