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