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