Recognizer for ienv structures.
(ienvp x) → *
Function:
(defun ienvp (x) (declare (xargs :guard t)) (let ((__function__ 'ienvp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(char+short+int+long+llong-format))) :exec (fty::alist-with-carsp x '(char+short+int+long+llong-format))) (b* ((char+short+int+long+llong-format (cdr (std::da-nth 0 x)))) (and (char+short+int+long+llong-formatp char+short+int+long+llong-format) (char+short+int+long+llong-format-wfp char+short+int+long+llong-format))))))
Theorem:
(defthm consp-when-ienvp (implies (ienvp x) (consp x)) :rule-classes :compound-recognizer)