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