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