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