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