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