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