Get the object field from a expr-value.
(expr-value->object x) → object
This is an ordinary field accessor created by fty::defprod.
Function:
(defun expr-value->object$inline (x) (declare (xargs :guard (expr-valuep x))) (declare (xargs :guard t)) (let ((__function__ 'expr-value->object)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (objdesign-option-fix (cdr (std::da-nth 1 x)))) :exec (cdr (std::da-nth 1 x)))))
Theorem:
(defthm objdesign-optionp-of-expr-value->object (b* ((object (expr-value->object$inline x))) (objdesign-optionp object)) :rule-classes :rewrite)
Theorem:
(defthm expr-value->object$inline-of-expr-value-fix-x (equal (expr-value->object$inline (expr-value-fix x)) (expr-value->object$inline x)))
Theorem:
(defthm expr-value->object$inline-expr-value-equiv-congruence-on-x (implies (expr-value-equiv x x-equiv) (equal (expr-value->object$inline x) (expr-value->object$inline x-equiv))) :rule-classes :congruence)