Proof using.
unfold refined_raft_net_invariant_append_entries, terms_and_indices_from_one_ll.
simpl. intuition. repeat find_higher_order_rewrite. update_destruct; subst; rewrite_update; eauto.
simpl in *. find_rewrite_lem update_elections_data_appendEntries_leaderLogs. eauto.
Qed.

Lemma terms_and_indices_from_one_ll_append_entries_reply :
refined_raft_net_invariant_append_entries_reply terms_and_indices_from_one_ll.