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