Recognizer for vl-operandinfo structures.
(vl-operandinfo-p x) → *
Function:
(defun vl-operandinfo-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-operandinfo-p)) (declare (ignorable __function__)) (and (std::prod-consp x) (std::prod-consp (std::prod-car x)) (std::prod-consp (std::prod-car (std::prod-car x))) (std::prod-consp (std::prod-cdr (std::prod-car x))) (std::prod-consp (std::prod-cdr x)) (std::prod-consp (std::prod-car (std::prod-cdr x))) (std::prod-consp (std::prod-cdr (std::prod-cdr x))) (std::prod-consp (std::prod-cdr (std::prod-cdr (std::prod-cdr x)))) (b* ((orig-expr (std::prod-car (std::prod-car (std::prod-car x)))) (context (std::prod-cdr (std::prod-car (std::prod-car x)))) (prefixname (std::prod-car (std::prod-cdr (std::prod-car x)))) (declname (std::prod-cdr (std::prod-cdr (std::prod-car x)))) (hidtrace (std::prod-car (std::prod-car (std::prod-cdr x)))) (hidtype (std::prod-cdr (std::prod-car (std::prod-cdr x)))) (seltrace (std::prod-car (std::prod-cdr (std::prod-cdr x)))) (part (std::prod-car (std::prod-cdr (std::prod-cdr (std::prod-cdr x))))) (type (std::prod-cdr (std::prod-cdr (std::prod-cdr (std::prod-cdr x)))))) (and (vl-expr-p orig-expr) (vl-scopecontext-p context) (vl-scopeexpr-p prefixname) (stringp declname) (vl-hidtrace-p hidtrace) (vl-datatype-p hidtype) (vl-seltrace-p seltrace) (vl-partselect-p part) (vl-datatype-p type))))))
Theorem:
(defthm consp-when-vl-operandinfo-p (implies (vl-operandinfo-p x) (consp x)) :rule-classes :compound-recognizer)