Get the name field from a tfunction-named.
(tfunction-named->name x) → name
This is an ordinary field accessor created by fty::defprod.
Function:
(defun tfunction-named->name$inline (x) (declare (xargs :guard (tfunctionp x))) (declare (xargs :guard (equal (tfunction-kind x) :named))) (let ((__function__ 'tfunction-named->name)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and (equal (tfunction-kind x) :named) x))) (symbol-value-fix (std::da-nth 0 (cdr x)))) :exec (std::da-nth 0 (cdr x)))))
Theorem:
(defthm symbol-valuep-of-tfunction-named->name (b* ((name (tfunction-named->name$inline x))) (symbol-valuep name)) :rule-classes :rewrite)
Theorem:
(defthm tfunction-named->name$inline-of-tfunction-fix-x (equal (tfunction-named->name$inline (tfunction-fix x)) (tfunction-named->name$inline x)))
Theorem:
(defthm tfunction-named->name$inline-tfunction-equiv-congruence-on-x (implies (tfunction-equiv x x-equiv) (equal (tfunction-named->name$inline x) (tfunction-named->name$inline x-equiv))) :rule-classes :congruence)
Theorem:
(defthm tfunction-named->name-when-wrong-kind (implies (not (equal (tfunction-kind x) :named)) (equal (tfunction-named->name x) (symbol-value-fix nil))))