Recognizer for fun-spec structures.
(fun-specp x) → *
Function:
(defun fun-specp (x) (declare (xargs :guard t)) (and (consp x) (cond ((or (atom x) (eq (car x) :inline)) (and (b* ((uscores (cdr x))) (keyword-uscores-p uscores)))) (t (and (eq (car x) :noreturn) (and (eq (cdr x) nil)) (b* nil t))))))
Theorem:
(defthm consp-when-fun-specp (implies (fun-specp x) (consp x)) :rule-classes :compound-recognizer)