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