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_getNextIndex : forall h h' st os st' ms, doLeader st h = (os, st', ms) -> getNextIndex st' h' = getNextIndex st h'.