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