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 doLeader_replicaMessage : forall h st os st' ms m, doLeader st h = (os, st', ms) -> In m ms -> type st = Leader /\ exists h', m = replicaMessage st' h h'.