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