Proof using.
red. unfold terms_and_indices_from_one_log_ind. split; red; simpl in *; intuition.
- find_higher_order_rewrite. update_destruct; subst; rewrite_update; auto.
find_apply_lem_hyp handleAppendEntriesReply_log. find_rewrite. auto.
- find_apply_hyp_hyp. intuition; eauto. do_in_map.
find_apply_lem_hyp handleAppendEntriesReply_packets; eauto. subst. contradiction.
Qed.

Lemma terms_and_indices_from_one_log_ind_request_vote :
raft_net_invariant_request_vote terms_and_indices_from_one_log_ind.