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