Proof using si rri.
intros.
pose proof (lift_prop _ logs_sorted_invariant).
forward_invariant.
unfold log_matching, log_matching_nw, entries_sorted_nw in *. intuition.
find_apply_lem_hyp ghost_packet.
unfold logs_sorted in *. break_and.
unfold logs_sorted_nw in *.
eauto.
Qed.

Lemma entries_gt_0_invariant :
forall net,
refined_raft_intermediate_reachable net ->
entries_gt_0 net.