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