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