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