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