Recognizer for uninterpreted structures.
(uninterpreted-p x) → *
Function:
(defun uninterpreted-p (x) (declare (xargs :guard t)) (let ((acl2::__function__ 'uninterpreted-p)) (declare (ignorable acl2::__function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(returns more-returns))) :exec (fty::alist-with-carsp x '(returns more-returns))) (b* ((returns (cdr (std::da-nth 0 x))) (more-returns (cdr (std::da-nth 1 x)))) (and (hint-pair-listp returns) (hint-pair-listp more-returns))))))
Theorem:
(defthm consp-when-uninterpreted-p (implies (uninterpreted-p x) (consp x)) :rule-classes :compound-recognizer)