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