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