Recognizer for expr-const-info structures.
(expr-const-infop x) → *
Function:
(defun expr-const-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-const-infop (implies (expr-const-infop x) (consp x)) :rule-classes :compound-recognizer)