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