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