Recognizer for deftreeops-numrange-info structures.
(deftreeops-numrange-infop x) → *
Function:
(defun deftreeops-numrange-infop (x) (declare (xargs :guard t)) (let ((__function__ 'deftreeops-numrange-infop)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(get-nat-fn bounds-thm))) :exec (fty::alist-with-carsp x '(get-nat-fn bounds-thm))) (b* ((get-nat-fn (cdr (std::da-nth 0 x))) (bounds-thm (cdr (std::da-nth 1 x)))) (and (common-lisp::symbolp get-nat-fn) (common-lisp::symbolp bounds-thm))))))
Theorem:
(defthm consp-when-deftreeops-numrange-infop (implies (deftreeops-numrange-infop x) (consp x)) :rule-classes :compound-recognizer)