Checks that the index, if any, is resolved, and that the item has a name.
(vl-hidstep-resolved-p x) → *
Function:
(defun vl-hidstep-resolved-p (x) (declare (xargs :guard (vl-hidstep-p x))) (let ((__function__ 'vl-hidstep-resolved-p)) (declare (ignorable __function__)) (b* (((vl-hidstep x))) (or (not x.index) (vl-expr-resolved-p x.index)))))
Theorem:
(defthm vl-hidstep-resolved-p-of-vl-hidstep-fix-x (equal (vl-hidstep-resolved-p (vl-hidstep-fix x)) (vl-hidstep-resolved-p x)))
Theorem:
(defthm vl-hidstep-resolved-p-vl-hidstep-equiv-congruence-on-x (implies (vl-hidstep-equiv x x-equiv) (equal (vl-hidstep-resolved-p x) (vl-hidstep-resolved-p x-equiv))) :rule-classes :congruence)