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