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