Recognizer for vl-immdeps structures.
(vl-immdeps-p x) → *
Function:
(defun vl-immdeps-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-immdeps-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-immdeps) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-cdr (cdr x))) (b* ((all-okp (std::prod-car (cdr x))) (deps (std::prod-car (std::prod-cdr (cdr x)))) (warnings (std::prod-cdr (std::prod-cdr (cdr x))))) (and (booleanp all-okp) (string-listp deps) (vl-warninglist-p warnings))))))
Theorem:
(defthm consp-when-vl-immdeps-p (implies (vl-immdeps-p x) (consp x)) :rule-classes :compound-recognizer)