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

Lemma terms_and_indices_from_one_ll_invariant :
forall net,
refined_raft_intermediate_reachable net ->
terms_and_indices_from_one_ll net.