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