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