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