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