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