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