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