Get the name field from a svar.
(svar->name x) → fty::x.name
This is an ordinary field accessor created by defprod.
Function:
(defun svar->name$inline (x) (declare (xargs :guard (svar-p x))) (declare (xargs :guard t)) (let ((__function__ 'svar->name)) (declare (ignorable __function__)) (mbe :logic (b* ((x (and t x))) (if (atom x) x (cadr x))) :exec (if (atom x) x (cadr x)))))
Theorem:
(defthm svar->name$inline-of-svar-fix-x (equal (svar->name$inline (svar-fix x)) (svar->name$inline x)))
Theorem:
(defthm svar->name$inline-svar-equiv-congruence-on-x (implies (svar-equiv x x-equiv) (equal (svar->name$inline x) (svar->name$inline x-equiv))) :rule-classes :congruence)