Get the val field from a lhs-override.
(lhs-override->val x) → val
This is an ordinary field accessor created by defprod.
Function:
(defun lhs-override->val$inline (x) (declare (xargs :guard (lhs-override-p x))) (declare (xargs :guard t)) (let ((__function__ 'lhs-override->val)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (svex-fix (std::prod-cdr (std::prod-cdr x)))) :exec (std::prod-cdr (std::prod-cdr x)))))
Theorem:
(defthm svex-p-of-lhs-override->val (b* ((val (lhs-override->val$inline x))) (svex-p val)) :rule-classes :rewrite)
Theorem:
(defthm lhs-override->val$inline-of-lhs-override-fix-x (equal (lhs-override->val$inline (lhs-override-fix x)) (lhs-override->val$inline x)))
Theorem:
(defthm lhs-override->val$inline-lhs-override-equiv-congruence-on-x (implies (lhs-override-equiv x x-equiv) (equal (lhs-override->val$inline x) (lhs-override->val$inline x-equiv))) :rule-classes :congruence)