Recognizer for initdeclor structures.
(initdeclorp x) → *
Function:
(defun initdeclorp (x) (declare (xargs :guard t)) (let ((__function__ 'initdeclorp)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(declor init?))) :exec (fty::alist-with-carsp x '(declor init?))) (b* ((declor (cdr (std::da-nth 0 x))) (init? (cdr (std::da-nth 1 x)))) (and (declorp declor) (initer-optionp init?))))))
Theorem:
(defthm consp-when-initdeclorp (implies (initdeclorp x) (consp x)) :rule-classes :compound-recognizer)