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