Recognizer for struct-dinfo structures.
(struct-dinfop x) → *
Function:
(defun struct-dinfop (x) (declare (xargs :guard t)) (let ((__function__ 'struct-dinfop)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :struct-dinfo) (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-dinfop (implies (struct-dinfop x) (consp x)) :rule-classes :compound-recognizer)