Proof using lmi rri.
intros.
pose proof (lift_prop _ log_matching_invariant).
forward_invariant.
unfold log_matching, log_matching_nw, entries_gt_0_nw in *. intuition.
find_apply_lem_hyp ghost_packet.
forward_nw_invariant. break_and.
find_apply_hyp_hyp. omega.
Qed.

(* Specifications: *)
Lemma entries_sorted_nw_invariant :
forall net,
refined_raft_intermediate_reachable net ->
entries_sorted_nw net.