Definition ghost_log_entries_match_nw (net : network) : Prop :=
    forall p p',
      In p (nwPackets net) ->
      In p' (nwPackets net) ->
      entries_match (fst (pBody p)) (fst (pBody p')).Definition ghost_log_entries_match (net : network) : Prop :=
    ghost_log_entries_match_host net /\
    ghost_log_entries_match_nw net.Definition lifted_entries_contiguous net :=
    forall h,
      contiguous_range_exact_lo (log (snd (nwState net h))) 0.Definition lifted_entries_sorted net :=
    forall h,
      sorted (log (snd (nwState net h))).

Lemma lifted_entries_sorted_invariant : forall (net : @network _ raft_msg_refined_multi_params), msg_refined_raft_intermediate_reachable net -> lifted_entries_sorted net.