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