Proof using.
red. unfold requestVote_term_sanity. intros. simpl in *.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
- find_apply_hyp_hyp. intuition.
+ find_apply_lem_hyp handleTimeout_log_term_type.
intuition; repeat find_rewrite; eauto.
+ do_in_map. remember (pSrc p). subst p. simpl in *.
find_eapply_lem_hyp handleTimeout_messages; eauto; intuition.
- find_apply_hyp_hyp. intuition.
+ find_apply_lem_hyp handleTimeout_log_term_type.
intuition; repeat find_rewrite; eauto.
+ do_in_map. remember (pSrc p). subst p. simpl in *.
congruence.
Qed.

Lemma requestVote_term_sanity_client_request :
refined_raft_net_invariant_client_request requestVote_term_sanity.