Recognizer for vl-clkdecl structures.
(vl-clkdecl-p x) → *
Function:
(defun vl-clkdecl-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-clkdecl-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-clkdecl) (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-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 (cdr x))) (std::prod-consp (std::prod-car (std::prod-cdr (cdr x)))) (std::prod-consp (std::prod-cdr (std::prod-cdr (cdr x)))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x))))) (b* ((defaultp (std::prod-car (std::prod-car (std::prod-car (cdr x))))) (name (std::prod-cdr (std::prod-car (std::prod-car (cdr x))))) (event (std::prod-car (std::prod-cdr (std::prod-car (cdr x))))) (iskew (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x)))))) (oskew (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-car (cdr x)))))) (clkassigns (std::prod-car (std::prod-car (std::prod-cdr (cdr x))))) (properties (std::prod-cdr (std::prod-car (std::prod-cdr (cdr x))))) (sequences (std::prod-car (std::prod-cdr (std::prod-cdr (cdr x))))) (loc (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x)))))) (atts (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr (cdr x))))))) (and (booleanp defaultp) (maybe-stringp name) (vl-evatomlist-p event) (vl-maybe-clkskew-p iskew) (vl-maybe-clkskew-p oskew) (vl-clkassignlist-p clkassigns) (vl-propertylist-p properties) (vl-sequencelist-p sequences) (vl-location-p loc) (vl-atts-p atts))))))
Theorem:
(defthm consp-when-vl-clkdecl-p (implies (vl-clkdecl-p x) (consp x)) :rule-classes :compound-recognizer)