Recognizer for vl-eventcontrol structures.
(vl-eventcontrol-p x) → *
Function:
(defun vl-eventcontrol-p (x) (declare (xargs :guard t)) (let ((__function__ 'vl-eventcontrol-p)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :vl-eventcontrol) (std::prod-consp (cdr x)) (b* ((starp (std::prod-car (cdr x))) (atoms (std::prod-cdr (cdr x)))) (and (booleanp starp) (vl-evatomlist-p atoms))))))
Theorem:
(defthm consp-when-vl-eventcontrol-p (implies (vl-eventcontrol-p x) (consp x)) :rule-classes :compound-recognizer)