Recognizer for vl-unparam-signature structures.
(vl-unparam-signature-p x) → *
Function:
(defun vl-unparam-signature-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-unparam-signature-p)) (declare (ignorable __function__)) (and (std::prod-consp x) (std::prod-consp (std::prod-car x)) (std::prod-consp (std::prod-cdr x)) (b* ((modname (std::prod-car (std::prod-car x))) (newname (std::prod-cdr (std::prod-car x))) (final-params (std::prod-car (std::prod-cdr x))) (final-ports (std::prod-cdr (std::prod-cdr x)))) (and (stringp modname) (stringp newname) (vl-paramdecllist-p final-params) (vl-portlist-p final-ports))))))
Theorem:
(defthm consp-when-vl-unparam-signature-p (implies (vl-unparam-signature-p x) (consp x)) :rule-classes :compound-recognizer)