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