Proof using.
induction l; intros; simpl in *; intuition.
break_if; intuition.
- f_equal. auto.
- do_bool. specialize (H a); intuition; omega.
Qed.

Lemma entries_gt_0 :
forall net h e,
refined_raft_intermediate_reachable net ->
In e (log (snd (nwState net h))) ->
eIndex e > 0.