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