Recognizer for op/en-p structures.
(op/en-p-p x) → *
Function:
(defun op/en-p-p (x) (declare (xargs :guard t)) (let ((__function__ 'op/en-p-p)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(src1 src2 src3 src4))) :exec (fty::alist-with-carsp x '(src1 src2 src3 src4))) (b* ((src1 (cdr (std::da-nth 0 x))) (src2 (cdr (std::da-nth 1 x))) (src3 (cdr (std::da-nth 2 x))) (src4 (cdr (std::da-nth 3 x)))) (and (acl2::keyword-listp src1) (acl2::keyword-listp src2) (acl2::keyword-listp src3) (acl2::keyword-listp src4))))))
Theorem:
(defthm consp-when-op/en-p-p (implies (op/en-p-p x) (consp x)) :rule-classes :compound-recognizer)