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