Proof using.
unfold refined_raft_net_invariant_reboot, terms_and_indices_from_one_vwl.
simpl. intuition. repeat find_higher_order_rewrite. update_destruct; subst; rewrite_update; eauto.
eapply H0. find_higher_order_rewrite. eauto.
Qed.

Lemma terms_and_indices_from_one_vwl_invariant :
forall net,
refined_raft_intermediate_reachable net ->
terms_and_indices_from_one_vwl net.