Proof using lmi.
intros.
find_apply_lem_hyp log_matching_invariant.
unfold log_matching, log_matching_hosts in *.
intuition.
unfold contiguous_range_exact_lo.
intuition eauto.
find_apply_hyp_hyp. intuition.
Qed.

Lemma entries_gt_0 :
forall net p es e,
raft_intermediate_reachable net ->
In p (nwPackets net) ->
mEntries (pBody p) = Some es ->
In e es ->
0 < eIndex e.