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 lifted_advanceCommitIndex_lifted_committed : forall h net, msg_refined_raft_intermediate_reachable net -> type (snd (nwState net h)) = Leader -> (forall e, In e (log (snd (nwState net h))) -> eIndex e <= commitIndex (snd (nwState net h)) -> lifted_committed net e (currentTerm (snd (nwState net h)))) -> (forall e, In e (log (snd (nwState net h))) -> eIndex e <= commitIndex (advanceCommitIndex (snd (nwState net h)) h) -> lifted_committed net e (currentTerm (snd (nwState net h)))).