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