Proof using.
red. unfold log_all_entries. intros.
match goal with
| H : nwState ?net ?h = (?gd, ?d) |- _ =>
replace gd with (fst (nwState net h)) in * by (rewrite H; reflexivity);
replace d with (snd (nwState net h)) in * by (rewrite H; reflexivity);
clear H
end.
simpl in *. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto;
copy_eapply_prop_hyp In In; repeat find_rewrite; auto.
Qed.

Lemma log_all_entries_init :
refined_raft_net_invariant_init log_all_entries.