Recognizer for expr-unary-info structures.
(expr-unary-infop x) → *
Function:
(defun expr-unary-infop (x) (declare (xargs :guard t)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(type))) :exec (fty::alist-with-carsp x '(type))) (b* ((type (cdr (std::da-nth 0 x)))) (typep type))))
Theorem:
(defthm consp-when-expr-unary-infop (implies (expr-unary-infop x) (consp x)) :rule-classes :compound-recognizer)