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