(vl-idscope->name x) → name
Function:
(defun vl-idscope->name (x) (declare (xargs :guard (vl-scopeexpr-p x))) (declare (xargs :guard (vl-idscope-p x))) (let ((__function__ 'vl-idscope->name)) (declare (ignorable __function__)) (vl-hidexpr-end->name (vl-scopeexpr-end->hid x))))
Theorem:
(defthm stringp-of-vl-idscope->name (b* ((name (vl-idscope->name x))) (stringp name)) :rule-classes :type-prescription)
Theorem:
(defthm vl-idscope->name-of-vl-scopeexpr-fix-x (equal (vl-idscope->name (vl-scopeexpr-fix x)) (vl-idscope->name x)))
Theorem:
(defthm vl-idscope->name-vl-scopeexpr-equiv-congruence-on-x (implies (vl-scopeexpr-equiv x x-equiv) (equal (vl-idscope->name x) (vl-idscope->name x-equiv))) :rule-classes :congruence)