Recognizer for attrib-spec structures.
(attrib-specp x) → *
Function:
(defun attrib-specp (x) (declare (xargs :guard t)) (let ((__function__ 'attrib-specp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(attribs))) :exec (fty::alist-with-carsp x '(attribs))) (b* ((attribs (cdr (std::da-nth 0 x)))) (attrib-listp attribs)))))
Theorem:
(defthm consp-when-attrib-specp (implies (attrib-specp x) (consp x)) :rule-classes :compound-recognizer)