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