Proof using.
intros. unfold handleAppendEntriesReply, advanceCurrentTerm in *.
repeat (break_match; try find_inversion; simpl in *; do_bool; auto).
Qed.

(* Specifications: *)
Lemma allEntries_log_append_entries_reply :
refined_raft_net_invariant_append_entries_reply allEntries_log.