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