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