Recognizer for attrib-name structures.
(attrib-namep x) → *
Function:
(defun attrib-namep (x) (declare (xargs :guard t)) (and (consp x) (cond ((or (atom x) (eq (car x) :ident)) (and (b* ((ident (cdr x))) (identp ident)))) (t (and (eq (car x) :keyword) (and) (b* ((keyword (cdr x))) (stringp keyword)))))))
Theorem:
(defthm consp-when-attrib-namep (implies (attrib-namep x) (consp x)) :rule-classes :compound-recognizer)