Fixing function for vl-hidnames.
(vl-hidname-fix x) → name
Function:
(defun vl-hidname-fix$inline (x) (declare (xargs :guard (vl-hidname-p x))) (let ((__function__ 'vl-hidname-fix)) (declare (ignorable __function__)) (mbe :logic (if (vl-hidname-p x) x :vl-$root) :exec x)))
Theorem:
(defthm vl-hidname-p-of-vl-hidname-fix (b* ((name (vl-hidname-fix$inline x))) (vl-hidname-p name)) :rule-classes :rewrite)
Theorem:
(defthm vl-hidname-fix-when-vl-hidname-p (implies (vl-hidname-p x) (equal (vl-hidname-fix x) x)))