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