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