Proof using.
unfold refined_raft_net_invariant_do_leader, 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.

(* Specifications: *)
Lemma terms_and_indices_from_one_ll_do_generic_server :
refined_raft_net_invariant_do_generic_server terms_and_indices_from_one_ll.