Recognizer for iconst-info structures.
(iconst-infop x) → *
Function:
(defun iconst-infop (x) (declare (xargs :guard t)) (let ((__function__ 'iconst-infop)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(type value))) :exec (fty::alist-with-carsp x '(type value))) (b* ((type (cdr (std::da-nth 0 x))) (value (cdr (std::da-nth 1 x)))) (and (typep type) (natp value))))))
Theorem:
(defthm consp-when-iconst-infop (implies (iconst-infop x) (consp x)) :rule-classes :compound-recognizer)