Recognizer for vl-datatype-or-implicit structures.
(vl-datatype-or-implicit-p x) → *
Function:
(defun vl-datatype-or-implicit-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-datatype-or-implicit-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(type implicitp))) :exec (fty::alist-with-carsp x '(type implicitp))) (b* ((type (cdr (std::da-nth 0 x))) (implicitp (cdr (std::da-nth 1 x)))) (and (vl-datatype-p type) (booleanp implicitp))))))
Theorem:
(defthm consp-when-vl-datatype-or-implicit-p (implies (vl-datatype-or-implicit-p x) (consp x)) :rule-classes :compound-recognizer)