(sv::svex-constval acl2::x) → sv::val
Function:
(defun sv::svex-constval (acl2::x) (declare (xargs :guard (sv::svex-p acl2::x))) (let ((__function__ 'sv::svex-constval)) (declare (ignorable __function__)) (sv::svex-case acl2::x :quote sv::x.val :otherwise nil)))
Theorem:
(defthm sv::maybe-4vec-p-of-svex-constval (b* ((sv::val (sv::svex-constval acl2::x))) (sv::maybe-4vec-p sv::val)) :rule-classes :rewrite)
Theorem:
(defthm sv::svex-constval-of-svex-fix-x (equal (sv::svex-constval (sv::svex-fix acl2::x)) (sv::svex-constval acl2::x)))
Theorem:
(defthm sv::svex-constval-svex-equiv-congruence-on-x (implies (sv::svex-equiv acl2::x sv::x-equiv) (equal (sv::svex-constval acl2::x) (sv::svex-constval sv::x-equiv))) :rule-classes :congruence)