Recognizer for flatnorm-setup structures.
(flatnorm-setup-p x) → *
Function:
(defun flatnorm-setup-p (x) (declare (xargs :guard t)) (let ((__function__ 'flatnorm-setup-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(monotonify))) :exec (fty::alist-with-carsp x '(monotonify))) (b* ((monotonify (cdr (std::da-nth 0 x)))) (booleanp monotonify)))))
Theorem:
(defthm consp-when-flatnorm-setup-p (implies (flatnorm-setup-p x) (consp x)) :rule-classes :compound-recognizer)