Recognizer for funtab+vartab+tagenv structures.
(funtab+vartab+tagenv-p x) → *
Function:
(defun funtab+vartab+tagenv-p (x) (declare (xargs :guard t)) (let ((__function__ 'funtab+vartab+tagenv-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(funs vars tags))) :exec (fty::alist-with-carsp x '(funs vars tags))) (b* ((funs (cdr (std::da-nth 0 x))) (vars (cdr (std::da-nth 1 x))) (tags (cdr (std::da-nth 2 x)))) (and (fun-tablep funs) (var-tablep vars) (tag-envp tags))))))
Theorem:
(defthm consp-when-funtab+vartab+tagenv-p (implies (funtab+vartab+tagenv-p x) (consp x)) :rule-classes :compound-recognizer)