Proof using.
intros.
unfold handleAppendEntries in *.
repeat break_match; simpl in *; do_bool; repeat find_inversion; auto; try omega;
simpl in *;
unfold advanceCurrentTerm in *; repeat break_match; do_bool; auto.
Qed.

Lemma log_all_entries_append_entries :
refined_raft_net_invariant_append_entries log_all_entries.