Recognizer for expr-value structures.
(expr-valuep x) → *
Function:
(defun expr-valuep (x) (declare (xargs :guard t)) (let ((__function__ 'expr-valuep)) (declare (ignorable __function__)) (and (mbe :logic (and (alistp x) (equal (strip-cars x) '(value object))) :exec (fty::alist-with-carsp x '(value object))) (b* ((value (cdr (std::da-nth 0 x))) (object (cdr (std::da-nth 1 x)))) (and (valuep value) (objdesign-optionp object))))))
Theorem:
(defthm consp-when-expr-valuep (implies (expr-valuep x) (consp x)) :rule-classes :compound-recognizer)