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