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