Proof using.
red. unfold requestVoteReply_term_sanity. intros. simpl in *.
subst. repeat find_higher_order_rewrite.
destruct_update; simpl in *; eauto.
find_apply_hyp_hyp.
assert (In p0 (nwPackets net)) by (repeat find_rewrite; in_crush).
repeat find_rewrite.
eauto using handleRequestVoteReply_currentTerm.
Qed.

Lemma requestVoteReply_term_sanity_timeout :
refined_raft_net_invariant_timeout requestVoteReply_term_sanity.