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