Recognizer for fun-declon structures.
(fun-declonp x) → *
Function:
(defun fun-declonp (x) (declare (xargs :guard t)) (let ((__function__ 'fun-declonp)) (declare (ignorable __function__)) (and (consp x) (eq (car x) :fun-declon) (mbe :logic (and (alistp (cdr x)) (equal (strip-cars (cdr x)) '(tyspec declor))) :exec (fty::alist-with-carsp (cdr x) '(tyspec declor))) (b* ((tyspec (cdr (std::da-nth 0 (cdr x)))) (declor (cdr (std::da-nth 1 (cdr x))))) (and (tyspecseqp tyspec) (fun-declorp declor))))))
Theorem:
(defthm consp-when-fun-declonp (implies (fun-declonp x) (consp x)) :rule-classes :compound-recognizer)