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