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