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