Proof using.
intros. unfold doGenericServer in *.
repeat break_match; find_inversion; simpl in *;
subst; auto.
Qed.

(* Specifications: *)
Theorem handleAppendEntries_not_append_entries :
forall h st t n pli plt es ci st' m,
handleAppendEntries h st t n pli plt es ci = (st', m) ->
~ is_append_entries m.