Definition lifted_no_entries_past_current_term_host net :=
    forall (h : name) e,
      In e (log (snd (nwState net h))) ->
      eTerm e <= currentTerm (snd (nwState net h)).

Lemma ghost_log_sorted : forall net p, msg_refined_raft_intermediate_reachable net -> In p (nwPackets net) -> sorted (fst (pBody p)).