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