Proof using.
red. unfold requestVote_term_sanity. intros. simpl in *. subst.
assert (In p0 (nwPackets net)) by
(repeat find_rewrite; find_apply_hyp_hyp; intuition; try solve [in_crush];
exfalso; subst; simpl in *; subst;
unfold handleRequestVote in *;
repeat break_match; find_inversion; congruence).
repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
find_copy_apply_lem_hyp handleRequestVote_currentTerm_leaderId.
intuition; repeat find_rewrite; eauto;
eapply_prop_hyp pBody pBody; eauto; omega.
Qed.

(* Specifications: *)
Lemma requestVote_term_sanity_request_vote_reply :
refined_raft_net_invariant_request_vote_reply requestVote_term_sanity.