Proof using.
intros.
unfold handleRequestVote, advanceCurrentTerm in *.
repeat break_match; try find_inversion; subst; simpl in *; intuition;
do_bool; intuition; try solve [break_exists; congruence];
in_crush; eauto using removeAfterIndex_in.
Qed.

Lemma no_entries_past_current_term_request_vote :
raft_net_invariant_request_vote no_entries_past_current_term.