Recognizer for vl-lintresult structures.
(vl-lintresult-p x) → *
Function:
(defun vl-lintresult-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-lintresult-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-lintresult) (mbe :logic (and (alistp (cdr x)) (equal (strip-cars (cdr x)) '(design design0 design-orig sv-modalist reportcard sd-probs))) :exec (fty::alist-with-carsp (cdr x) '(design design0 design-orig sv-modalist reportcard sd-probs))) (b* ((design (cdr (std::da-nth 0 (cdr x)))) (design0 (cdr (std::da-nth 1 (cdr x)))) (design-orig (cdr (std::da-nth 2 (cdr x)))) (sv-modalist (cdr (std::da-nth 3 (cdr x)))) (reportcard (cdr (std::da-nth 4 (cdr x)))) (sd-probs (cdr (std::da-nth 5 (cdr x))))) (and (vl-design-p design) (vl-design-p design0) (vl-design-p design-orig) (sv::modalist-p sv-modalist) (vl-reportcard-p reportcard) (sd-problemlist-p sd-probs))))))
Theorem:
(defthm consp-when-vl-lintresult-p (implies (vl-lintresult-p x) (consp x)) :rule-classes :compound-recognizer)