Recognize a scopeexpr that is just a plain identifier.
(vl-idscope-p x) → *
Function:
(defun vl-idscope-p (x) (declare (xargs :guard (vl-scopeexpr-p x))) (let ((__function__ 'vl-idscope-p)) (declare (ignorable __function__)) (vl-scopeexpr-case x :end (vl-hidexpr-case x.hid :end) :otherwise nil)))
Theorem:
(defthm vl-idscope-p-of-vl-scopeexpr-fix-x (equal (vl-idscope-p (vl-scopeexpr-fix x)) (vl-idscope-p x)))
Theorem:
(defthm vl-idscope-p-vl-scopeexpr-equiv-congruence-on-x (implies (vl-scopeexpr-equiv x x-equiv) (equal (vl-idscope-p x) (vl-idscope-p x-equiv))) :rule-classes :congruence)