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