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