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