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