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