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