Gather all top-level expressions from a vl-delayoreventcontrol-p.
(vl-delayoreventcontrol-allexprs x) → exprs
Function:
(defun vl-delayoreventcontrol-allexprs (x) (declare (xargs :guard (vl-delayoreventcontrol-p x))) (let ((__function__ 'vl-delayoreventcontrol-allexprs)) (declare (ignorable __function__)) (mbe :logic (b* ((x (vl-delayoreventcontrol-fix x))) (case (tag x) (:vl-delaycontrol (vl-delaycontrol-allexprs x)) (:vl-eventcontrol (vl-eventcontrol-allexprs x)) (otherwise (vl-repeateventcontrol-allexprs x)))) :exec (with-local-nrev (vl-delayoreventcontrol-allexprs-nrev x nrev)))))
Theorem:
(defthm vl-exprlist-p-of-vl-delayoreventcontrol-allexprs (b* ((exprs (vl-delayoreventcontrol-allexprs x))) (vl-exprlist-p exprs)) :rule-classes :rewrite)
Theorem:
(defthm true-listp-of-vl-delayoreventcontrol-allexprs (true-listp (vl-delayoreventcontrol-allexprs x)) :rule-classes :type-prescription)
Theorem:
(defthm vl-delayoreventcontrol-allexprs-nrev-removal (equal (vl-delayoreventcontrol-allexprs-nrev x nrev) (append nrev (vl-delayoreventcontrol-allexprs x))))
Theorem:
(defthm vl-delayoreventcontrol-allexprs-of-vl-delayoreventcontrol-fix-x (equal (vl-delayoreventcontrol-allexprs (vl-delayoreventcontrol-fix x)) (vl-delayoreventcontrol-allexprs x)))
Theorem:
(defthm vl-delayoreventcontrol-allexprs-vl-delayoreventcontrol-equiv-congruence-on-x (implies (vl-delayoreventcontrol-equiv x x-equiv) (equal (vl-delayoreventcontrol-allexprs x) (vl-delayoreventcontrol-allexprs x-equiv))) :rule-classes :congruence)