(vl-hidstep->svex-index x) → index
Function:
(defun vl-hidstep->svex-index (x) (declare (xargs :guard (vl-hidstep-p x))) (declare (xargs :guard (vl-hidstep-resolved-p x))) (let ((__function__ 'vl-hidstep->svex-index)) (declare (ignorable __function__)) (b* (((vl-hidstep x))) (and x.index (vl-resolved->val x.index)))))
Theorem:
(defthm return-type-of-vl-hidstep->svex-index (b* ((index (vl-hidstep->svex-index x))) (implies index (sv::name-p index))) :rule-classes :rewrite)
Theorem:
(defthm vl-hidstep->svex-index-of-vl-hidstep-fix-x (equal (vl-hidstep->svex-index (vl-hidstep-fix x)) (vl-hidstep->svex-index x)))
Theorem:
(defthm vl-hidstep->svex-index-vl-hidstep-equiv-congruence-on-x (implies (vl-hidstep-equiv x x-equiv) (equal (vl-hidstep->svex-index x) (vl-hidstep->svex-index x-equiv))) :rule-classes :congruence)