Proof using.
intros.
unfold handleAppendEntriesReply, 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_append_entries_reply :
raft_net_invariant_append_entries_reply no_entries_past_current_term.