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