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