Proof using.
unfold raft_net_invariant_reboot. intros.
unfold reboot in *. subst. simpl in *.
eapply log_matching_state_same_packet_subset; eauto;
intros; repeat find_higher_order_rewrite; try break_if; subst;
simpl in *; auto.
Qed.

Lemma handleAppendEntriesReply_doesn't_send_AE :
forall n st src t es b st' l,
handleAppendEntriesReply n st src t es b = (st', l) ->
forall x,
In x l ->
~ is_append_entries (snd x).