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