Proof using.
start_update; simpl in *; try find_erewrite_lem handleTimeout_log_same; eauto;
try find_erewrite_lem update_elections_data_timeout_allEntries; eauto;
find_apply_hyp_hyp; intuition; eauto;
exfalso; do_in_map; subst; simpl in *;
find_eapply_lem_hyp handleTimeout_not_is_append_entries; eauto;
intuition; repeat find_rewrite; find_false; repeat eexists; eauto.
Qed.

(* Specifications: *)
Lemma appendEntries_haveNewEntries_false :
forall net p t n pli plt es ci h e,
refined_raft_intermediate_reachable net ->
In p (nwPackets net) ->
pBody p = AppendEntries t n pli plt es ci ->
haveNewEntries (snd (nwState net h)) es = false ->
In e es ->
In e (log (snd (nwState net h))).