Recognizer for vl-dpiexport structures.
(vl-dpiexport-p x) → *
Function:
(defun vl-dpiexport-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-dpiexport-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-dpiexport) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-car (cdr x))) (std::prod-consp (std::prod-cdr (std::prod-car (cdr x)))) (std::prod-consp (std::prod-cdr (cdr x))) (std::prod-consp (std::prod-cdr (std::prod-cdr (cdr x)))) (b* ((name (std::prod-car (std::prod-car (cdr x)))) (c-name (std::prod-car (std::prod-cdr (std::prod-car (cdr x))))) (spec (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x))))) (fntask (std::prod-car (std::prod-cdr (cdr x)))) (atts (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (loc (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (and (stringp name) (stringp c-name) (vl-dpispec-p spec) (vl-dpifntask-p fntask) (vl-atts-p atts) (vl-location-p loc))))))
Theorem:
(defthm consp-when-vl-dpiexport-p (implies (vl-dpiexport-p x) (consp x)) :rule-classes :compound-recognizer)