Proof using.
red. unfold requestVote_term_sanity. intros. simpl in *.
find_copy_apply_lem_hyp handleClientRequest_packets.
subst. simpl in *.
find_apply_hyp_hyp. intuition.
repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
find_apply_lem_hyp handleClientRequest_term_votedFor.
intuition; repeat find_rewrite; eauto.
Qed.

(* Specifications: *)
Lemma requestVote_term_sanity_do_leader :
refined_raft_net_invariant_do_leader requestVote_term_sanity.