Get the lvalue field from a vl-assign.
(vl-assign->lvalue x) → lvalue
This is an ordinary field accessor created by defprod.
Function:
(defun vl-assign->lvalue$inline (x) (declare (xargs :guard (vl-assign-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-assign->lvalue)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (vl-expr-fix (std::prod-car (std::prod-car (cdr x))))) :exec (std::prod-car (std::prod-car (cdr x))))))
Theorem:
(defthm vl-expr-p-of-vl-assign->lvalue (b* ((lvalue (vl-assign->lvalue$inline x))) (vl-expr-p lvalue)) :rule-classes :rewrite)
Theorem:
(defthm vl-assign->lvalue$inline-of-vl-assign-fix-x (equal (vl-assign->lvalue$inline (vl-assign-fix x)) (vl-assign->lvalue$inline x)))
Theorem:
(defthm vl-assign->lvalue$inline-vl-assign-equiv-congruence-on-x (implies (vl-assign-equiv x x-equiv) (equal (vl-assign->lvalue$inline x) (vl-assign->lvalue$inline x-equiv))) :rule-classes :congruence)