Recognizer for vl-shadowcheck-state structures.
(vl-shadowcheck-state-p x) → *
Function:
(defun vl-shadowcheck-state-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-shadowcheck-state-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-shadowcheck-state) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-cdr (cdr x))) (b* ((lexscopes (std::prod-car (cdr x))) (ss (std::prod-car (std::prod-cdr (cdr x)))) (design (std::prod-cdr (std::prod-cdr (cdr x))))) (and (vl-lexscopes-p lexscopes) (vl-scopestack-p ss) (vl-design-p design))))))
Theorem:
(defthm consp-when-vl-shadowcheck-state-p (implies (vl-shadowcheck-state-p x) (consp x)) :rule-classes :compound-recognizer)