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