Recognizer for senv structures.
(senvp x) → *
Function:
(defun senvp (x) (declare (xargs :guard t)) (let ((__function__ 'senvp)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :senv) (mbe :logic (and (alistp (cdr x)) (equal (strip-cars (cdr x)) '(identifiers))) :exec (fty::alist-with-carsp (cdr x) '(identifiers))) (b* ((identifiers (cdr (std::da-nth 0 (cdr x))))) (ident-senvp identifiers)))))
Theorem:
(defthm consp-when-senvp (implies (senvp x) (consp x)) :rule-classes :compound-recognizer)