Recognizer for vl-udpline structures.
(vl-udpline-p x) → *
Function:
(defun vl-udpline-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-udpline-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-udpline) (std::prod-consp (cdr x)) (std::prod-consp (std::prod-cdr (cdr x))) (b* ((inputs (std::prod-car (cdr x))) (output (std::prod-car (std::prod-cdr (cdr x)))) (current (std::prod-cdr (std::prod-cdr (cdr x))))) (and (vl-udpentrylist-p inputs) (vl-udpsymbol-p output) (vl-maybe-udpsymbol-p current))))))
Theorem:
(defthm consp-when-vl-udpline-p (implies (vl-udpline-p x) (consp x)) :rule-classes :compound-recognizer)