Recognizer for te-args structures.
(te-args-p x) → *
Function:
(defun te-args-p (x) (declare (xargs :guard t)) (let ((acl2::__function__ 'te-args-p)) (declare (ignorable acl2::__function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(expr-lst fn-lst fty-info symbol-index symbol-list avoid-list symbol-map))) :exec (fty::alist-with-carsp x '(expr-lst fn-lst fty-info symbol-index symbol-list avoid-list symbol-map))) (b* ((expr-lst (cdr (std::da-nth 0 x))) (fn-lst (cdr (std::da-nth 1 x))) (fty-info (cdr (std::da-nth 2 x))) (symbol-index (cdr (std::da-nth 3 x))) (symbol-list (cdr (std::da-nth 4 x))) (avoid-list (cdr (std::da-nth 5 x))) (symbol-map (cdr (std::da-nth 6 x)))) (and (pseudo-term-listp expr-lst) (func-alistp fn-lst) (fty-info-alist-p fty-info) (natp symbol-index) (string-listp symbol-list) (symbol-listp avoid-list) (symbol-string-alistp symbol-map))))))
Theorem:
(defthm consp-when-te-args-p (implies (te-args-p x) (consp x)) :rule-classes :compound-recognizer)