Get the name field from a jparam.
This is an ordinary field accessor created by fty::defprod.
Function:
(defun jparam->name$inline (x) (declare (xargs :guard (jparamp x))) (declare (xargs :guard t)) (let ((__function__ 'jparam->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-jparam->name (b* ((name (jparam->name$inline x))) (stringp name)) :rule-classes :rewrite)
Theorem:
(defthm jparam->name$inline-of-jparam-fix-x (equal (jparam->name$inline (jparam-fix x)) (jparam->name$inline x)))
Theorem:
(defthm jparam->name$inline-jparam-equiv-congruence-on-x (implies (jparam-equiv x x-equiv) (equal (jparam->name$inline x) (jparam->name$inline x-equiv))) :rule-classes :congruence)