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