Get the lhs field from a vl-alias.
(vl-alias->lhs x) → lhs
This is an ordinary field accessor created by defprod.
Function:
(defun vl-alias->lhs$inline (x) (declare (xargs :guard (vl-alias-p x))) (declare (xargs :guard t)) (let ((__function__ 'vl-alias->lhs)) (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-alias->lhs (b* ((lhs (vl-alias->lhs$inline x))) (vl-expr-p lhs)) :rule-classes :rewrite)
Theorem:
(defthm vl-alias->lhs$inline-of-vl-alias-fix-x (equal (vl-alias->lhs$inline (vl-alias-fix x)) (vl-alias->lhs$inline x)))
Theorem:
(defthm vl-alias->lhs$inline-vl-alias-equiv-congruence-on-x (implies (vl-alias-equiv x x-equiv) (equal (vl-alias->lhs$inline x) (vl-alias->lhs$inline x-equiv))) :rule-classes :congruence)