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