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