Proof using.
unfold refined_raft_net_invariant_do_generic_server, 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_state_same_packet_subset :
refined_raft_net_invariant_state_same_packet_subset terms_and_indices_from_one_vwl.