Recognizer for vl-genblob structures.
(vl-genblob-p x) → *
Function:
(defun vl-genblob-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-genblob-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-genblob) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-car (cdr x))) (std::prod-consp (std::prod-car (std::prod-car (cdr x)))) (std::prod-consp (std::prod-car (std::prod-car (std::prod-car (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-car (std::prod-car (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-car (cdr x)))) (std::prod-consp (std::prod-car (std::prod-cdr (std::prod-car (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x)))))) (std::prod-consp (std::prod-cdr (cdr x))) (std::prod-consp (std::prod-car (std::prod-cdr (cdr x)))) (std::prod-consp (std::prod-car (std::prod-car (std::prod-cdr (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x)))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (cdr x)))) (std::prod-consp (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x))))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (b* ((portdecls (std::prod-car (std::prod-car (std::prod-car (std::prod-car (cdr x)))))) (assigns (std::prod-cdr (std::prod-car (std::prod-car (std::prod-car (cdr x)))))) (aliases (std::prod-car (std::prod-cdr (std::prod-car (std::prod-car (cdr x)))))) (vardecls (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-car (cdr x)))))) (paramdecls (std::prod-car (std::prod-car (std::prod-cdr (std::prod-car (cdr x)))))) (fundecls (std::prod-cdr (std::prod-car (std::prod-cdr (std::prod-car (cdr x)))))) (taskdecls (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x)))))) (modinsts (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x))))))) (gateinsts (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x))))))) (alwayses (std::prod-car (std::prod-car (std::prod-car (std::prod-cdr (cdr x)))))) (initials (std::prod-cdr (std::prod-car (std::prod-car (std::prod-cdr (cdr x)))))) (typedefs (std::prod-car (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x)))))) (imports (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x))))))) (fwdtypedefs (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x))))))) (modports (std::prod-car (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x)))))) (genvars (std::prod-cdr (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x)))))) (generates (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (ports (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x))))))) (name (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))))) (and (vl-portdecllist-p portdecls) (vl-assignlist-p assigns) (vl-aliaslist-p aliases) (vl-vardecllist-p vardecls) (vl-paramdecllist-p paramdecls) (vl-fundecllist-p fundecls) (vl-taskdecllist-p taskdecls) (vl-modinstlist-p modinsts) (vl-gateinstlist-p gateinsts) (vl-alwayslist-p alwayses) (vl-initiallist-p initials) (vl-typedeflist-p typedefs) (vl-importlist-p imports) (vl-fwdtypedeflist-p fwdtypedefs) (vl-modportlist-p modports) (vl-genvarlist-p genvars) (vl-genelementlist-p generates) (vl-portlist-p ports) (maybe-stringp name))))))
Theorem:
(defthm consp-when-vl-genblob-p (implies (vl-genblob-p x) (consp x)) :rule-classes :compound-recognizer)