Recognizer for vl-parse-temps structures.
(vl-parse-temps-p x) → *
Function:
(defun vl-parse-temps-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-parse-temps-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(ansi-p ansi-ports paramports imports loaditems))) :exec (fty::alist-with-carsp x '(ansi-p ansi-ports paramports imports loaditems))) (b* ((ansi-p (cdr (std::da-nth 0 x))) (ansi-ports (cdr (std::da-nth 1 x))) (paramports (cdr (std::da-nth 2 x))) (imports (cdr (std::da-nth 3 x))) (loaditems (cdr (std::da-nth 4 x)))) (and (booleanp ansi-p) (vl-ansi-portdecllist-p ansi-ports) (vl-paramdecllist-p paramports) (vl-importlist-p imports) (vl-genelementlist-p loaditems))))))
Theorem:
(defthm consp-when-vl-parse-temps-p (implies (vl-parse-temps-p x) (consp x)) :rule-classes :compound-recognizer)