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