Proof using.
intros.
find_apply_lem_hyp Prefix_exists_rest.
break_exists. subst.
eauto using output_correct_monotonic.
Qed.

(* Specifications: *)
Lemma entries_contiguous :
forall net,
raft_intermediate_reachable net ->
(forall h, contiguous_range_exact_lo (log (nwState net h)) 0).