Gather lvalue-position expressions from a vl-gateinst-p.
(vl-gateinst-lvalexprs x) → exprs
Function:
(defun vl-gateinst-lvalexprs (x) (declare (xargs :guard (vl-gateinst-p x))) (let ((__function__ 'vl-gateinst-lvalexprs)) (declare (ignorable __function__)) (mbe :logic (b* ((x (vl-gateinst-fix x))) (vl-plainarglist-lvalexprs (vl-gateinst->args x))) :exec (with-local-nrev (vl-gateinst-lvalexprs-nrev x nrev)))))
Theorem:
(defthm vl-exprlist-p-of-vl-gateinst-lvalexprs (b* ((exprs (vl-gateinst-lvalexprs x))) (vl-exprlist-p exprs)) :rule-classes :rewrite)
Theorem:
(defthm vl-gateinst-lvalexprs-nrev-removal (equal (vl-gateinst-lvalexprs-nrev x nrev) (append nrev (vl-gateinst-lvalexprs x))))
Theorem:
(defthm true-listp-of-vl-gateinst-lvalexprs (true-listp (vl-gateinst-lvalexprs x)) :rule-classes :type-prescription)
Theorem:
(defthm vl-exprlist-lvaluesp-of-vl-gateinst-lvalexprs (vl-exprlist-lvaluesp (vl-gateinst-lvalexprs x)))
Theorem:
(defthm vl-gateinst-lvalexprs-of-vl-gateinst-fix-x (equal (vl-gateinst-lvalexprs (vl-gateinst-fix x)) (vl-gateinst-lvalexprs x)))
Theorem:
(defthm vl-gateinst-lvalexprs-vl-gateinst-equiv-congruence-on-x (implies (vl-gateinst-equiv x x-equiv) (equal (vl-gateinst-lvalexprs x) (vl-gateinst-lvalexprs x-equiv))) :rule-classes :congruence)