Recognizer for cgraph-edge structures.
(cgraph-edge-p x) → *
Function:
(defun cgraph-edge-p (x) (declare (xargs :guard t)) (let ((__function__ 'cgraph-edge-p)) (declare (ignorable __function__)) (and (std::prod-consp x) (std::prod-consp (std::prod-cdr x)) (b* ((match-vars (std::prod-car x)) (rule (std::prod-car (std::prod-cdr x))) (subst (std::prod-cdr (std::prod-cdr x)))) (and (pseudo-var-list-p match-vars) (ctrex-rule-p rule) (fgl-object-bindings-p subst))))))