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