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