Recognizer for call-dinfo structures.
(call-dinfop x) → *
Function:
(defun call-dinfop (x) (declare (xargs :guard t)) (let ((__function__ 'call-dinfop)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(fun scopes))) :exec (fty::alist-with-carsp x '(fun scopes))) (b* ((fun (cdr (std::da-nth 0 x))) (scopes (cdr (std::da-nth 1 x)))) (and (identifierp fun) (vcscope-dinfo-listp scopes))))))
Theorem:
(defthm consp-when-call-dinfop (implies (call-dinfop x) (consp x)) :rule-classes :compound-recognizer)