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