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